public override void Initialize() { OrchidModGamblerHelper.clearGamblerCards(player, this); OrchidModAlchemistHelper.onRespawnAlchemist(player, this, mod); OrchidModShamanHelper.onRespawnShaman(player, this, mod); OrchidModGamblerHelper.onRespawnGambler(player, this); this.alchemistKnownReactions = new List <string>(); this.alchemistKnownHints = new List <string>(); this.alchemistPotionBag = new Item[16]; for (int i = 0; i < 16; i++) { this.alchemistPotionBag[i] = new Item(); this.alchemistPotionBag[i].SetDefaults(0, true); } }
public override void OnRespawn(Player player) { OrchidModAlchemistHelper.onRespawnAlchemist(player, this, mod); OrchidModShamanHelper.onRespawnShaman(player, this, mod); OrchidModGamblerHelper.onRespawnGambler(player, this); }
public override void Kill(double damage, int hitDirection, bool pvp, PlayerDeathReason damageSource) { OrchidModAlchemistHelper.onRespawnAlchemist(player, this, mod); OrchidModShamanHelper.onRespawnShaman(player, this, mod); OrchidModGamblerHelper.onRespawnGambler(player, this); }