[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
+1 -1
View File
@@ -359,7 +359,7 @@ void OPvPCapturePoint::SendObjectiveComplete(uint32 id,uint64 guid)
// send to all players present in the area
for(PlayerSet::iterator itr = m_activePlayers[team].begin(); itr != m_activePlayers[team].end(); ++itr)
(*itr)->KilledMonster(id, guid);
(*itr)->KilledMonsterCredit(id, guid);
}
void OutdoorPvP::HandleKill(Player *killer, Unit * killed)