alias sailcat_skill_effect skill_effect def skill_effect(u, s) if r = sailcat_skill_effect(u, s) and self.damage.is_a?(Numeric) and u.state?(N) and s.element_set.include?(A) self.hp -= self.damage >> 1 self.damage += self.damage >> 1 end return r end
SailCat 发表于 2020-8-16 16:30
后半句在状态里对那个属性打个勾就行了
前半句
alias sailcat_skill_effect skill_effect
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |