[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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user