战斗修改
This commit is contained in:
@@ -20,12 +20,14 @@ type Input struct {
|
||||
// info.BattleActionI
|
||||
Effects *utils.OrderedMap[int, Effect] //effects 实际上全局就是effect无限回合 //effects容器 技能的
|
||||
DamageZone struct {
|
||||
Damage decimal.Decimal //伤害
|
||||
BeforeADD decimal.Decimal //攻击伤害
|
||||
BeforeMul decimal.Decimal
|
||||
BeforeDiv decimal.Decimal
|
||||
BeforeSUB decimal.Decimal
|
||||
BeforeLock decimal.Decimal //锁伤 先锁受击方,再锁攻击方 受击方免疫也是这么锁 免疫等于锁0
|
||||
Damage decimal.Decimal //伤害
|
||||
BeforeADD decimal.Decimal //攻击伤害
|
||||
BeforeMul decimal.Decimal
|
||||
BeforeFloor decimal.Decimal
|
||||
BeforeDiv decimal.Decimal
|
||||
BeforeSUB decimal.Decimal
|
||||
BeforeLock decimal.Decimal //锁伤 先锁受击方,再锁攻击方 受击方免疫也是这么锁 免疫等于锁0
|
||||
BeforeLocked decimal.Decimal
|
||||
//BeforePost decimal.Decimal
|
||||
|
||||
//OldAttack int //攻击伤害被挡前伤害记录
|
||||
|
||||
Reference in New Issue
Block a user