fix(fight): 修正空变更导致的潜在逻辑问题
This commit is contained in:
@@ -24,7 +24,7 @@ func (e *NewSel28) Damage_ADD(t *info.DamageZone) bool {
|
||||
if e.Ctx().SkillEntity.Type != int(e.Args()[0]) {
|
||||
return true
|
||||
}
|
||||
t.Damage = t.Damage.Add(t.Damage.Mul(decimal.NewFromInt(int64(e.Args()[1]))))
|
||||
t.Damage = t.Damage.Add(t.Damage.Mul(decimal.NewFromInt(int64(e.Args()[1])).Div(decimal.NewFromInt(100))))
|
||||
return true
|
||||
}
|
||||
func init() {
|
||||
|
||||
Reference in New Issue
Block a user