示例#1
0
 public IEnumerator addBuffToEnemy(Enemy enemy, int time, float mspdValue, float aspdValue)
 {
     yield return new WaitForSeconds(0.3f);
     enemy.addBuff("Skill_GROOT30B_Mspd", time, -(mspdValue / 100.0f), BuffTypes.MSPD);
     enemy.addBuff("Skill_GROOT30B_Aspd", time, -(aspdValue / 100.0f), BuffTypes.ASPD);
 }