public void CreateData(Creature creature) { Creature = creature; }
public void CreateData(Creature creature) { Creature = creature; this.Level = Creature.Data.GetLevel(); this.BaseStats = Globals.DataMgr.FindCreatureBaseStats(this.Level); }
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; }