mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[8349] Include offhand weapon part and aply proper dagger bonus for spell 51723.
This commit is contained in:
parent
0d9fba971d
commit
cb29748467
3 changed files with 16 additions and 1 deletions
|
|
@ -2362,6 +2362,14 @@ void Spell::cast(bool skipCheck)
|
|||
}
|
||||
break;
|
||||
}
|
||||
case SPELLFAMILY_ROGUE:
|
||||
// Fan of Knives (main hand)
|
||||
if (m_spellInfo->Id == 51723 && m_caster->GetTypeId() == TYPEID_PLAYER &&
|
||||
((Player*)m_caster)->haveOffhandWeapon())
|
||||
{
|
||||
AddTriggeredSpell(52874); // Fan of Knives (offhand)
|
||||
}
|
||||
break;
|
||||
case SPELLFAMILY_PALADIN:
|
||||
{
|
||||
// Divine Shield, Divine Protection or Hand of Protection
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue