|
|
@@ -1604,18 +1604,19 @@ public class PlayerController : MoveCharacter
|
|
|
{
|
|
|
AttackInfo attackInfo = attackController.attackMethod_summon[i].attackInfo;
|
|
|
attackInfo.damage += (int)(attackInfo.damage * demonicDic[0].Count * GameManager.instance.attackRate);
|
|
|
- Debug.Log("飞行兵的数量是:" + demonicDic[0].Count + ",增加的伤害为" + (int)(attackInfo.damage * demonicDic[0].Count * GameManager.instance.attackRate));
|
|
|
+ //Debug.Log("飞行兵的数量是:" + demonicDic[0].Count + ",增加的起手式伤害为" + (int)(attackInfo.damage * demonicDic[0].Count * GameManager.instance.attackRate));
|
|
|
}
|
|
|
for (int i = 0; i < attackController.attackMethod_march.Length; i++)
|
|
|
{
|
|
|
AttackInfo attackInfo = attackController.attackMethod_march[i].attackInfo;
|
|
|
attackInfo.damage += (int)(attackInfo.damage * demonicDic[0].Count * GameManager.instance.attackRate);
|
|
|
+ //Debug.Log("飞行兵的数量是:" + demonicDic[0].Count + ",增加的行军式伤害为" + (int)(attackInfo.damage * demonicDic[0].Count * GameManager.instance.attackRate));
|
|
|
}
|
|
|
}
|
|
|
- else if (GameManager.instance.isGroundEnable)
|
|
|
+ if (GameManager.instance.isGroundEnable)
|
|
|
{
|
|
|
int num = demonicDic[1].Count + demonicDic[2].Count;
|
|
|
- Debug.Log("地面兵的数量是:" + num + ",增加的血量为" + (int)(demonic.totalHp * num * GameManager.instance.hpRate));
|
|
|
+ //Debug.Log("地面兵的数量是:" + num + ",增加的血量为" + (int)(demonic.totalHp * num * GameManager.instance.hpRate));
|
|
|
demonic.totalHp += (int)(demonic.totalHp * num * GameManager.instance.hpRate);
|
|
|
demonic.hp = demonic.totalHp;
|
|
|
demonic.uiHp.Show(demonic.hp, demonic.totalHp);
|