Skip to content

Commit afe40c0

Browse files
committed
Fix a bothersome crash...
1 parent 5648af2 commit afe40c0

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
SET @PRICE := 15;
2+
SET @PRICE2 := 20;
3+
DELETE FROM `zone_difficulty_mythicmode_rewards` WHERE `ContentType` = 18;
4+
INSERT INTO `zone_difficulty_mythicmode_rewards` (`ContentType`, `ItemType`, `Entry`, `Price`, `Enchant`, `EnchantSlot`, `Achievement`, `Enabled`, `Comment`) VALUES
5+
(18, 2, 30913, @PRICE2, 0, 0, 695, 1, 'Robes of Rhonin - Archimonde'),
6+
(18, 2, 30885, @PRICE, 0, 0, 695, 1, 'Archbishop\'s Slippers - Anetheron'),
7+
(18, 2, 30894, @PRICE, 0, 0, 695, 1, 'Blue Suede Shoes - Kazrogal'),
8+
(18, 2, 30912, @PRICE2, 0, 0, 695, 1, 'Leggings of Eternity - Archimonde'),
9+
(18, 2, 30916, @PRICE, 0, 0, 695, 1, 'Leggings of Channeled Elements - Kazrogal'),
10+
(18, 2, 30884, @PRICE, 0, 0, 695, 1, 'Hatefury Mantle - Anetheron'),
11+
(18, 2, 30888, @PRICE, 0, 0, 695, 1, 'Anetheron\'s Noose - Anetheron'),
12+
(18, 2, 30895, @PRICE, 0, 0, 695, 1, 'Angelista\'s Sash - Kazrogal'),
13+
(18, 2, 30870, @PRICE, 0, 0, 695, 1, 'Cuffs of Devastation - Rage Winterchill'),
14+
(18, 2, 30871, @PRICE, 0, 0, 695, 1, 'Bracers of Martyrdom - Rage Winterchill'),
15+
16+
(18, 3, 30905, @PRICE2, 0, 0, 695, 1, 'Midnight Chestguard - Archimonde'),
17+
(18, 3, 30899, @PRICE, 0, 0, 695, 1, 'Don Rodrigo\'s Poncho - Azgalor'),
18+
(18, 3, 30886, @PRICE, 0, 0, 695, 1, 'Enchanted Leather Sandals - Anetheron'),
19+
(18, 3, 30891, @PRICE, 0, 0, 695, 1, 'Black Featherlight Boots - Kazrogal'),
20+
(18, 3, 30898, @PRICE, 0, 0, 695, 1, 'Shady Dealer\'s Pantaloons - Azgalor'),
21+
(18, 3, 30917, @PRICE, 0, 0, 695, 1, 'Razorfury Mantle - Kazrogal'),
22+
(18, 3, 30879, @PRICE, 0, 0, 695, 1, 'Don Alejandro\'s Money Belt - Anetheron'),
23+
(18, 3, 30914, @PRICE, 0, 0, 695, 1, 'Belt of the Crescent Moon - Kazrogal'),
24+
(18, 3, 30863, @PRICE, 0, 0, 695, 1, 'Deadly Cuffs - Rage Winterchill'),
25+
(18, 3, 30868, @PRICE, 0, 0, 695, 1, 'Rejuvenating Bracers - Rage Winterchill');
26+

src/mod_zone_difficulty_scripts.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,8 @@ class mod_zone_difficulty_rewardnpc : public CreatureScript
696696
++i;
697697
}
698698
}
699-
else if (action < 1200)
699+
// Number is too low... ALWAYS remember to check if the number is too low when adding new bracket. Else enjoy crash <3
700+
else if (action < 1900)
700701
{
701702
npcText = NPC_TEXT_ITEM;
702703
uint32 category = 0;

0 commit comments

Comments
 (0)