I am a developer and creator of ApexEmu, and i'm here to share my work.
I admit i'm not the best coder out there, but no flaming please.
Add these to your "Hackfixes.cpp" if your using ArcEmu, or
to your "Spellfixes.cpp" if your using Sandshroud or ApexEmu.
Slowfall
Code:
+ //Slowfall
+ sp = dbcSpell.LookupEntryForced( 130 );
+ if( sp != NULL )
+ {
+ sp->EffectApplyAuraName[0] = SPELL_AURA_SAFE_FALL;
+
+ }
Shattered Barrier
Code:
+ sp = dbcSpell.LookupEntryForced( 55080 );
+ if( sp != NULL )
+ {
+ sp->MechanicsType = MECHANIC_FROZEN;
+
+ }
Frostbite
Code:
+ //Frostbite
+ sp = dbcSpell.LookupEntryForced( 12494 );
+ if( sp != NULL )
+ {
+ sp->MechanicsType = MECHANIC_FROZEN;
+
+ }
Summon Water Elemental
Code:
+ sp = dbcSpell.LookupEntryForced( 31687 );
+ if( sp != NULL )
+ {
+ sp->Effect[0] = SPELL_EFFECT_SUMMON;
+ sp->Effect[1] = 0;
+ sp->EffectApplyAuraName[0] = sp->EffectApplyAuraName[1] = 0;
+ sp->EffectMiscValueB[0] = 0;
+ sp->EffectMiscValue[0] = 510;
+ }
Improved Drain Soul
Code:
+ //Improved Drain Soul
+ sp = dbcSpell.LookupEntryForced(18213);
+ sp = dbcSpell.LookupEntryForced(18372);
+ if(sp != NULL)
+ {
+ sp->procFlags = PROC_ON_TARGET_DIE | PROC_TARGET_SELF;
+ sp->procChance = 100;
+ sp->Effect[0] = SPELL_EFFECT_APPLY_AURA;
+ sp->EffectApplyAuraName[0] = SPELL_AURA_PROC_TRIGGER_SPELL;
+ sp->EffectTriggerSpell[0] = 18371;
+ sp->EffectImplicitTargetA[0] = EFF_TARGET_SELF;
+ sp->Effect[2] = 0;
+ }
Burning Determination
Code:
+ // Burning Determination
+ sp = dbcSpell.LookupEntryForced( 54747 );
+ sp = dbcSpell.LookupEntryForced( 54749 );
+ if( sp != NULL )
+ sp->procFlags = PROC_ON_SPELL_LAND_VICTIM;
+
Firestarter
Code:
+ //Firestarter
+ sp = dbcSpell.LookupEntryForced( 44442 );
+ sp = dbcSpell.LookupEntryForced( 44443 );
+ if( sp != NULL )
+ sp->procFlags = PROC_ON_CAST_SPELL;
Damage Shield
Code:
+ // Damage Shield
+ sp = dbcSpell.LookupEntryForced( 2246 );
+ if( sp != NULL )
+ {
+ sp->procFlags = PROC_ON_MELEE_ATTACK_VICTIM; // I know this isn't correct, should proc when attacked
+ }
Prowl
Code:
+
+ // Prowl
+ sp = dbcSpell.LookupEntryForced( 5215 );
+ if( sp != NULL )
+ sp->AttributesEx |= ATTRIBUTESEX_NOT_BREAK_STEALTH;