public override void CommitAction(Battler _user, List <Battler> _targets) { BattleEffectsSpawner newEffects = GameObject.Instantiate(heldItem.useItem.effect.effects); newEffects.Init(BattleManager.main, _user, _targets, heldItem.useItem.effect); heldItem.stack--; }
public override void CommitAction(Battler _user, List <Battler> _targets) { BattleEffectsSpawner newEffects = GameObject.Instantiate(effects); newEffects.Init(BattleManager.main, _user, _targets, this); newEffects.levelMod = skillLevel; _user.MP -= cost; }
protected virtual void Start() { spawner = GetComponent <BattleEffectsSpawner>(); }