Critical Hit gives magic damage bonus?

Protagonist7

Veteran
Veteran
Joined
Sep 14, 2015
Messages
85
Reaction score
9
First Language
English
Primarily Uses
I'd like to make it so that in my game, if you manage to get a critical hit, it increases only magic damage (or at least increases it more than normal damage). Essentially, there will be some weapons with a high magic damage, and essentially these have a low "minimum damage" but a high "maximum damage".

Is anyone aware of how I'd go about doing this?
 

FDSuprema

Villager
Member
Joined
Nov 8, 2015
Messages
12
Reaction score
12
First Language
English
One possibility is to use http://yanfly.moe/2016/10/17/tips-tricks-critical-hit-effects-rpg-maker-mv/ as a basis for this. You could, rather than using it to create buffs, have the effect stack the damage with a second more magical effect.


Alternatively, and possibly easier, would be to rather than use specifically critical hits, use http://yanfly.moe/2015/12/26/yep-51-weapon-unleash/ to create a secondary strike that has X% chance of happening that instead deals magical damage, which would allow your weapon to deal extra damage if you're lucky.
 

lolshtar

Master of Magic thatknow nospell
Veteran
Joined
Apr 13, 2013
Messages
694
Reaction score
101
First Language
French
Primarily Uses
RMMV
l don't know what magic damage is, I'm guessing it's an element


<Post-damage eval>


if (result.critical && value >= 1) {


target.gainHp(Math.floor((-value * 0.50) * target.elementRate(X))) }


</Post-damage eval>


will do 50% more "magic" damage when it's a critical strike
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,050
Messages
1,018,548
Members
137,835
Latest member
yetisteven
Top