Sign in to follow this  
Followers 0
zachrunner3241

[Legion]: Rats!

2 posts in this topic

Title: Rats!
Bugtracker Link:


Patch Content:

 

First making the NPC attackable and acts like normal rats (won't try to attack you if you agro him):

 

UPDATE creature_template
SET `faction` = 31, `speed_run`=0.857143, `BaseAttackTime`=2000, `RangeAttackTime`=2000, `unit_flags2`=2048, `type`=8, `movementId`=100
WHERE  `entry`= 99895;

Adding the quest item loot:

DELETE FROM `creature_loot_template`
WHERE `Entry` ='99895';
INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`)
VALUES (99895,130078,0,40,1,1,0,1,1,'Rats! Loot');

 

 

Edited by zachrunner3241

Share this post


Link to post
Share on other sites

Edit since Firestrom DB is different from TrinityCore's:

DELETE FROM `creature_loot_template`
WHERE `Entry` ='99895';
INSERT INTO `creature_loot_template` (`Entry`,`Item`,`ChanceOrQuestChance`,`LootMode`,`GroupId`,`MinCountOrRef`,`MaxCount`,`RequiredAura`,`difficulityMask`)
VALUES (99895,130078,-40,1,0,1,1,0,0);

 

Edited by zachrunner3241

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0