Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as Diff by Hundekuchen ( 16 years ago )
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index bc86747..e59895f 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -2603,6 +2613,25 @@ void Spell::EffectPersistentAA(SpellEffectIndex eff_idx)
dynObj->SetUInt32Value(OBJECT_FIELD_TYPE, 65);
dynObj->SetUInt32Value(GAMEOBJECT_DISPLAYID, 368003);
dynObj->SetUInt32Value(DYNAMICOBJECT_BYTES, 0x01eeeeee);
+
switch (m_spellInfo->SpellFamilyName)
+ {
+ case SPELLFAMILY_GENERIC:
+ switch(m_spellInfo->Id)
+ {
+ //burning ground Nightbane-Spell-Kara
+ case 30129: dynObj->SetFloatValue(OBJECT_FIELD_SCALE_X, 2.8f);
+ break;
+ //bone rain Nightbane-Spell-Kara
+ case 37091: dynObj->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.1f);
+ break;
+ }
+ break;
+ case SPELLFAMILY_PALADIN:
+ // Consecration animation radius fix
+ if (m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000000000000020))
+ dynObj->SetFloatValue(OBJECT_FIELD_SCALE_X, 1.5f);
+ break;
+ }
m_caster->AddDynObject(dynObj);
m_caster->GetMap()->Add(dynObj);
}
Revise this Paste
Parent: 18412
Children: 18414