|
@@ -1620,13 +1620,13 @@ public class PlayerController : MoveCharacter
|
|
|
for (int i = 0; i < attackController.attackMethod_summon.Length; i++)
|
|
for (int i = 0; i < attackController.attackMethod_summon.Length; i++)
|
|
|
{
|
|
{
|
|
|
AttackInfo attackInfo = attackController.attackMethod_summon[i].attackInfo;
|
|
AttackInfo attackInfo = attackController.attackMethod_summon[i].attackInfo;
|
|
|
- attackInfo.damage += (int)(demonicDic[0].Count * GameManager.instance.attackRate);
|
|
|
|
|
|
|
+ attackInfo.damage += (int)(attackInfo.damage * demonicDic[0].Count * GameManager.instance.attackRate);
|
|
|
Debug.Log("飞行兵的数量是:" + demonicDic[0].Count + ",增加的伤害为" + (int)(demonicDic[0].Count * GameManager.instance.attackRate));
|
|
Debug.Log("飞行兵的数量是:" + demonicDic[0].Count + ",增加的伤害为" + (int)(demonicDic[0].Count * GameManager.instance.attackRate));
|
|
|
}
|
|
}
|
|
|
for (int i = 0; i < attackController.attackMethod_march.Length; i++)
|
|
for (int i = 0; i < attackController.attackMethod_march.Length; i++)
|
|
|
{
|
|
{
|
|
|
AttackInfo attackInfo = attackController.attackMethod_march[i].attackInfo;
|
|
AttackInfo attackInfo = attackController.attackMethod_march[i].attackInfo;
|
|
|
- attackInfo.damage += (int)(demonicDic[0].Count * GameManager.instance.attackRate);
|
|
|
|
|
|
|
+ attackInfo.damage += (int)(attackInfo.damage * demonicDic[0].Count * GameManager.instance.attackRate);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
else if (GameManager.instance.isGroundEnable && !demonic.canFly)
|
|
else if (GameManager.instance.isGroundEnable && !demonic.canFly)
|