public virtual void OnSpellGrabNPC(GameObject nPC) { caster = nPC; isPlayer = false; hasEnemies = false; curCast = MyCastState.Held; }
public virtual void OnSpellGrab() { //find out if holder is GameObject.FindGameObjectWithTag("Player") somehow caster = GameObject.FindGameObjectWithTag("Player"); isPlayer = true; hasEnemies = false; curCast = MyCastState.Held; }