示例#1
0
 private void SetAbility(Ability newAbility)
 {
     currentAbility = newAbility;
     npcController.SetCurrentAbility(currentAbility);
     characterCombat.SetAbility(currentAbility);
     attackRange = currentAbility.GetAbilityRange() == 0 ? 3 : currentAbility.GetAbilityRange();
 }