fix(DB/Core): Throwing spells for Instructor Razuvious and Drakkari Battle Riders (#2109)
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1563489887082454533');
|
||||||
|
|
||||||
|
-- Equip a throwing knife for Instructor Razuvious to use with his ability "Jagged Knife"
|
||||||
|
UPDATE `creature_equip_template` SET `ItemID3` = 29010 WHERE `CreatureID` = 16061;
|
||||||
|
|
||||||
|
-- Ensure that the Drakkari Battle Riders can use their ability "Poisoned Spear" (otherwise they would constantly use "Throw")
|
||||||
|
UPDATE `smart_scripts` SET `action_param2` = 1 WHERE `entryorguid` = 29836 AND `source_type` = 0 AND `id` IN (2,3);
|
||||||
@@ -4548,6 +4548,10 @@ void SpellMgr::LoadDbcDataCorrections()
|
|||||||
case 29125:
|
case 29125:
|
||||||
spellInfo->EffectImplicitTargetB[0] = TARGET_UNIT_SRC_AREA_ENTRY;
|
spellInfo->EffectImplicitTargetB[0] = TARGET_UNIT_SRC_AREA_ENTRY;
|
||||||
break;
|
break;
|
||||||
|
// Jagged Knife
|
||||||
|
case 55550:
|
||||||
|
spellInfo->Attributes |= SPELL_ATTR0_REQ_AMMO;
|
||||||
|
break;
|
||||||
|
|
||||||
//////////////////////////////////////////
|
//////////////////////////////////////////
|
||||||
////////// Gundrak
|
////////// Gundrak
|
||||||
@@ -4556,6 +4560,12 @@ void SpellMgr::LoadDbcDataCorrections()
|
|||||||
case 55098:
|
case 55098:
|
||||||
spellInfo->InterruptFlags |= SPELL_INTERRUPT_FLAG_INTERRUPT;
|
spellInfo->InterruptFlags |= SPELL_INTERRUPT_FLAG_INTERRUPT;
|
||||||
break;
|
break;
|
||||||
|
case 55521: // Poisoned Spear (Normal)
|
||||||
|
case 58967: // Poisoned Spear (Heroic)
|
||||||
|
case 55348: // Throw (Normal)
|
||||||
|
case 58966: // Throw (Heroic)
|
||||||
|
spellInfo->Attributes |= SPELL_ATTR0_REQ_AMMO;
|
||||||
|
break;
|
||||||
|
|
||||||
//////////////////////////////////////////
|
//////////////////////////////////////////
|
||||||
////////// The Nexus: Nexus
|
////////// The Nexus: Nexus
|
||||||
|
|||||||
Reference in New Issue
Block a user