Any way to give a party member a magic hit rate? I have one's hit rate set to 0 and he nails magic attacks every time.
I'm looking for a way to make it so that I can give him a hit rate for magic attacks without changing the magic attack's success %.
Magic Hit Rate?
● ARCHIVED · READ-ONLY
-
-
Code:The code above will make all magical attack have hit rate.
class Game_Battler def item_hit(user, item) rate = item.success_rate * 0.01 rate *= user.hit if item.physical? || item.magical? return rate end end -
thank you!Code:The code above will make all magical attack have hit rate.
class Game_Battler def item_hit(user, item) rate = item.success_rate * 0.01 rate *= user.hit if item.physical? || item.magical? return rate end end