[8190] Update killing quest objectives base at creature_template KillCredit fields. Author: GriffonHeart

Note: for avoid double counting must be removed C++ scripts and EventAI scripts that do same thing in old way.

    Signed-off-by: VladimirMangos <[email protected]>

    Also implement KillCreditN field check at loading.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-07-20 12:30:37 +08:00
parent 80b7b3c1fc
commit ffcbd11b2c
26 changed files with 72 additions and 42 deletions
+2 -1
View File
@@ -1229,7 +1229,8 @@ class TRINITY_DLL_SPEC Player : public Unit
void GroupEventHappens( uint32 questId, WorldObject const* pEventObject );
void ItemAddedQuestCheck( uint32 entry, uint32 count );
void ItemRemovedQuestCheck( uint32 entry, uint32 count );
void KilledMonster( uint32 entry, uint64 guid );
void KilledMonster( CreatureInfo const* cInfo, uint64 guid );
void KilledMonsterCredit( uint32 entry, uint64 guid );
void CastedCreatureOrGO( uint32 entry, uint64 guid, uint32 spell_id );
void TalkedToCreature( uint32 entry, uint64 guid );
void MoneyChanged( uint32 value );