Core/Scripts: Fixed build zone_* scripts
This commit is contained in:
1 parent
48deb443f9
commit
5ac62d9ca3
33 files changed
+187
-204
No files matched your search
@@ -299,7 +299,7 @@ public:
|
||||
{
|
||||
corki->GetMotionMaster()->MovePoint(1, go->GetPositionX()+5, go->GetPositionY(), go->GetPositionZ());
|
||||
if (player)
|
||||
player->KilledMonsterCredit(NPC_CORKI_CREDIT_1, 0);
|
||||
player->KilledMonsterCredit(NPC_CORKI_CREDIT_1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -309,7 +309,7 @@ public:
|
||||
{
|
||||
corki->GetMotionMaster()->MovePoint(1, go->GetPositionX()-5, go->GetPositionY(), go->GetPositionZ());
|
||||
if (player)
|
||||
player->KilledMonsterCredit(NPC_CORKI_2, 0);
|
||||
player->KilledMonsterCredit(NPC_CORKI_2);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -319,7 +319,7 @@ public:
|
||||
{
|
||||
corki->GetMotionMaster()->MovePoint(1, go->GetPositionX()+4, go->GetPositionY(), go->GetPositionZ());
|
||||
if (player)
|
||||
player->KilledMonsterCredit(NPC_CORKI_CREDIT_3, 0);
|
||||
player->KilledMonsterCredit(NPC_CORKI_CREDIT_3);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
@@ -594,7 +594,7 @@ class go_warmaul_prison : public GameObjectScript
|
||||
|
||||
if (Creature* prisoner = go->FindNearestCreature(NPC_MAGHAR_PRISONER, 5.0f))
|
||||
{
|
||||
player->KilledMonsterCredit(NPC_MAGHAR_PRISONER, 0);
|
||||
player->KilledMonsterCredit(NPC_MAGHAR_PRISONER);
|
||||
|
||||
prisoner->AI()->Talk(SAY_FREE, player);
|
||||
prisoner->DespawnOrUnsummon(6000);
|
||||
|
||||
Reference in new issue
Block a user