Esempio n. 1
0
        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);
            }
        }
Esempio n. 2
0
 public override void OnRespawn(Player player)
 {
     OrchidModAlchemistHelper.onRespawnAlchemist(player, this, mod);
     OrchidModShamanHelper.onRespawnShaman(player, this, mod);
     OrchidModGamblerHelper.onRespawnGambler(player, this);
 }
Esempio n. 3
0
 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);
 }