Exemplo n.º 1
0
 public int GetPermaBuffAmount(StatusEffect.PermaBuffType buffType)
 {
     switch (buffType)
     {
     case StatusEffect.PermaBuffType.HandSize:
         return(handSizePermaBuff);
     }
     return(0);
 }
Exemplo n.º 2
0
 public void GainPermaBuff(StatusEffect.PermaBuffType buffType, int amount)
 {
     switch (buffType)
     {
     case StatusEffect.PermaBuffType.HandSize:
         handSizePermaBuff += amount;
         break;
     }
 }
 private void GainPermaBuff(StatusEffect.PermaBuffType buffType, int amount)
 {
     FindObjectOfType <Enemy>().GainPermaBuff(buffType, amount);
 }