public int GetPermaBuffAmount(StatusEffect.PermaBuffType buffType) { switch (buffType) { case StatusEffect.PermaBuffType.HandSize: return(handSizePermaBuff); } return(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); }