aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/scripts')
-rw-r--r--src/server/scripts/Northrend/isle_of_conquest.cpp11
-rwxr-xr-xsrc/server/scripts/World/achievement_scripts.cpp2
2 files changed, 7 insertions, 6 deletions
diff --git a/src/server/scripts/Northrend/isle_of_conquest.cpp b/src/server/scripts/Northrend/isle_of_conquest.cpp
index b70f8de4b4c..2a351e3441a 100644
--- a/src/server/scripts/Northrend/isle_of_conquest.cpp
+++ b/src/server/scripts/Northrend/isle_of_conquest.cpp
@@ -39,17 +39,18 @@ class npc_four_car_garage : public CreatureScript
switch(me->GetEntry())
{
case NPC_DEMOLISHER:
- spellId = 68365;
+ spellId = SPELL_DRIVING_CREDIT_DEMOLISHER;
break;
- case NPC_GLAIVE_THROWER:
- spellId = 68363;
+ case NPC_GLAIVE_THROWER_A:
+ case NPC_GLAIVE_THROWER_H:
+ spellId = SPELL_DRIVING_CREDIT_GLAIVE;
break;
case NPC_SIEGE_ENGINE_H:
case NPC_SIEGE_ENGINE_A:
- spellId = 68364;
+ spellId = SPELL_DRIVING_CREDIT_SIEGE;
break;
case NPC_CATAPULT:
- spellId = 68362;
+ spellId = SPELL_DRIVING_CREDIT_CATAPULT;
break;
default:
return;
diff --git a/src/server/scripts/World/achievement_scripts.cpp b/src/server/scripts/World/achievement_scripts.cpp
index 385e973ee78..fe3b29ee815 100755
--- a/src/server/scripts/World/achievement_scripts.cpp
+++ b/src/server/scripts/World/achievement_scripts.cpp
@@ -140,7 +140,7 @@ class achievement_bg_ic_glaive_grave : public AchievementCriteriaScript
{
if (Creature* vehicle = source->GetVehicleCreatureBase())
{
- if (vehicle->GetEntry() == 35273 || vehicle->GetEntry() == 34802)
+ if (vehicle->GetEntry() == NPC_GLAIVE_THROWER_H || vehicle->GetEntry() == NPC_GLAIVE_THROWER_A)
return true;
}