Esempio n. 1
0
 public void CreateData(Creature creature)
 {
     Creature = creature;
 }
Esempio n. 2
0
 public void CreateData(Creature creature)
 {
     Creature = creature;
     this.Level = Creature.Data.GetLevel();
     this.BaseStats = Globals.DataMgr.FindCreatureBaseStats(this.Level);
 }
Esempio n. 3
0
        public float GetReputationPriceDiscount(Creature creature)
        {
            /*   FactionTemplateEntry const* vendor_faction = creature->getFactionTemplateEntry();
               if (!vendor_faction || !vendor_faction->faction)
                   return 1.0f;

               float goblin = 0.0f;

               if (HasAura(69044))
                   goblin = 0.2f;

               ReputationRank rank = GetReputationRank(vendor_faction->faction);
               if (rank <= REP_NEUTRAL)
                   return 1.0f;
                   */
            //return 1.0f - goblin - 0.05f * (rank - REP_NEUTRAL);
            return 1.0f;
        }