feat: 新增多个战斗效果并修复逻辑问题
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
This commit is contained in:
@@ -22,7 +22,7 @@ type Effect467 struct {
|
||||
|
||||
func (e *Effect467) OnSkill() bool {
|
||||
|
||||
if e.Ctx().Our.StatEffect_Exist(info.EnumPetStatus(e.Args()[0].IntPart())) {
|
||||
if e.Ctx().Opp.StatEffect_Exist(info.EnumPetStatus(e.Args()[0].IntPart())) {
|
||||
e.Ctx().Opp.Damage(e.Ctx().Our, &info.DamageZone{
|
||||
Type: info.DamageType.Fixed,
|
||||
Damage: e.Args()[1],
|
||||
|
||||
Reference in New Issue
Block a user