void Start()
 {
     EffectsModule             = GetComponent <SpellInstance>().spellCaster.GetComponent <EffectsModule>();
     AttackModule              = EffectsModule.gameObject.GetComponent <AttackModule>();
     AttackModule.OnAttackEnd += LoseBoost;
     EffectsModule.ApplyTemporaryEffect(Effect);
 }
Exemple #2
0
 void Start()
 {
     EffectsModule = GetComponent <SpellInstance>().spellCaster.GetComponent <EffectsModule>();
     EffectsModule.ApplyTemporaryEffect(Effect);
     StartCoroutine(LoseBoost());
 }