mirror of
https://github.com/project-redbud/FunGame-Core.git
synced 2025-12-05 00:06:02 +00:00
fix: 确保普通攻击的伤害类型正确
This commit is contained in:
parent
6ebeb53674
commit
774e26240b
@ -1326,7 +1326,7 @@ namespace Milimoe.FunGame.Core.Entity
|
||||
{
|
||||
effect.OnAttributeChanged(this);
|
||||
}
|
||||
NormalAttack.ResolveMagicType();
|
||||
NormalAttack.SetMagicType(null, null, null);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@ -257,7 +257,7 @@ namespace Milimoe.FunGame.Core.Entity
|
||||
character.NormalAttack.ExDamage2 = reference.NormalAttack.ExDamage2;
|
||||
character.NormalAttack.ExHardnessTime = reference.NormalAttack.ExHardnessTime;
|
||||
character.NormalAttack.ExHardnessTime2 = reference.NormalAttack.ExHardnessTime2;
|
||||
character.NormalAttack.SetMagicType(reference.NormalAttack.IsMagic, reference.NormalAttack.MagicType);
|
||||
character.NormalAttack.SetMagicType(null, null, null);
|
||||
if (!recovery)
|
||||
{
|
||||
character.HP = reference.HP;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user