|
@@ -232,7 +232,7 @@ public class MoveCharacter : Character
|
|
|
base.BeHit(damage);
|
|
base.BeHit(damage);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- //¶à´«ÁËÒ»¸öattackfrom
|
|
|
|
|
|
|
+ //±ÈBeHit(int damage)¶à´«Ò»¸öattackFrom
|
|
|
public void BeHit(int damage, Character attackFrom)
|
|
public void BeHit(int damage, Character attackFrom)
|
|
|
{
|
|
{
|
|
|
if (invincibleTime > 0)
|
|
if (invincibleTime > 0)
|
|
@@ -240,7 +240,7 @@ public class MoveCharacter : Character
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
BeHit(damage);
|
|
BeHit(damage);
|
|
|
-
|
|
|
|
|
|
|
+ beHitTrigger.JudgeTurnWhite(isBeHitBySummonAttack, attackFrom);
|
|
|
if (hp <= 0)
|
|
if (hp <= 0)
|
|
|
{
|
|
{
|
|
|
killer = attackFrom;
|
|
killer = attackFrom;
|