[Chasseur] Morsure monstrueuse
Oui,c'est un hack.
[code=diff]
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp
index ef422fa..2040595 100755
--- a/src/server/game/Spells/SpellMgr.cpp
+++ b/src/server/game/Spells/SpellMgr.cpp
@@ -4161,6 +4161,15 @@ void SpellMgr::LoadSpellCustomAttr()
break;
count++;
break;
+ case SPELLFAMILY_HUNTER:
+ // Monstrous Bite target fix
+ // seems we incorrectly handle spell with "no target"
+ if (spellInfo->SpellIconID == 599)
+ spellInfo->EffectImplicitTargetA[1] = TARGET_UNIT_CASTER;
+ else
+ break;
+ count++;
+ break;
case SPELLFAMILY_DRUID:
// Starfall Target Selection
if (spellInfo->SpellFamilyFlags[2] & 0x100)[/code]

src: tobias

Retourner en haut Accueil