module Cri_damage
WORD="暴击伤害"
WORD1="必定暴击"
cri=[]
end
class Game_BattlerBase
def item_cri(user, item)
item.damage.critical ? user.cri * (1 - cev) : 0
end
alias :special_skill_item_cri :item_cri
def item_cri(user, item)
return 1 if item.note.include?("<"+Cri_damage::WORD1+">")
special_skill_item_cri(user, item)
end
end
module Cri_damage
WORD="暴击伤害"
WORD1="必定暴击"
cri=[]
end
class Game_BattlerBase
def item_cri(user, item)
item.damage.critical ? user.cri * (1 - cev) : 0
end
alias :special_skill_item_cri :item_cri
def item_cri(user, item)
return 1 if item.note.include?("<"+Cri_damage::WORD1+">")
special_skill_item_cri(user, item)
end
end