public void ThrowItem(InventoryItem item, int invNum) { Combat.BattleSetup setup = new Combat.BattleSetup(); setup.Attacker = GetActiveRecruit(); Scripting.ScriptManager.InvokeSub("ThrewItem", setup, item, invNum); Combat.BattleProcessor.FinalizeAction(setup); }
public void UseItem(InventoryItem item, int invNum) { if (Dead) { return; } Combat.BattleSetup setup = new Combat.BattleSetup(); setup.Attacker = GetActiveRecruit(); Combat.BattleProcessor.HandleItemUse(item, invNum, setup); Combat.BattleProcessor.FinalizeAction(setup); }
public void UseItem(InventoryItem item, int invNum) { if (Dead) { return; } Combat.BattleSetup setup = new Combat.BattleSetup(); setup.Attacker = GetActiveRecruit(); Combat.BattleProcessor.HandleItemUse(item, invNum, setup); Combat.BattleProcessor.FinalizeAction(setup); }
public void ThrowItem(InventoryItem item, int invNum) { Combat.BattleSetup setup = new Combat.BattleSetup(); setup.Attacker = GetActiveRecruit(); Scripting.ScriptManager.InvokeSub("ThrewItem", setup, item, invNum); Combat.BattleProcessor.FinalizeAction(setup); }