Hello there I've been trying to fix the spell of the Druids of Eclipse for the ArcEmu Core in C++.
The problem is this is my first attempt on fixing it and it didn't work I tried 20 times basically, with no success. so what am I missing here? is there something with knowledge who maybe of assistants?
ArcEmu self wasn't any help so I'm asking you guys maybe you guys might know something.
This should be in the hackfixes.cpp
Code:
//Druid - Eclipse rank 1
sp = dbcSpell.LookupEntryForced( 48516 );
if( sp != NULL )
{
sp->Effect[0]=6;
sp->EffectApplyAuraName[0] = SPELL_AURA_PROC_TRIGGER_SPELL;
sp->EffectTriggerSpell[0]=48518;
sp->procFlags = PROC_ON_SPELL_CRIT_HIT;
sp->procChance = 33;
sp->Effect[1]=6;
sp->EffectApplyAuraName[1] = SPELL_AURA_PROC_TRIGGER_SPELL;
sp->EffectTriggerSpell[1]=48517;
sp->procFlags = PROC_ON_SPELL_CRIT_HIT;
sp->procChance = 20;
}
//Druid - Eclipse rank 2
sp = dbcSpell.LookupEntryForced( 48521 );
if( sp != NULL )
{
sp->Effect[0]=6;
sp->EffectApplyAuraName[0] = SPELL_AURA_PROC_TRIGGER_SPELL;
sp->EffectTriggerSpell[0]=48518;
sp->procFlags = PROC_ON_SPELL_CRIT_HIT;
sp->procChance = 66;
sp->Effect[1]=6;
sp->EffectApplyAuraName[1] = SPELL_AURA_PROC_TRIGGER_SPELL;
sp->EffectTriggerSpell[1]=48517;
sp->procFlags = PROC_ON_SPELL_CRIT_HIT;
sp->procChance = 40;
}
//Druid - Eclipse rank 3
sp = dbcSpell.LookupEntryForced( 48525 );
if( sp != NULL )
{
sp->Effect[0]=6;
sp->EffectApplyAuraName[0] = SPELL_AURA_PROC_TRIGGER_SPELL;
sp->EffectTriggerSpell[0]=48518;
sp->procFlags = PROC_ON_SPELL_CRIT_HIT;
sp->procChance = 100;
sp->Effect[1]=6;
sp->EffectApplyAuraName[1] = SPELL_AURA_PROC_TRIGGER_SPELL;
sp->EffectTriggerSpell[1]=48517;
sp->procFlags = PROC_ON_SPELL_CRIT_HIT;
sp->procChance = 60;
}
+Rep for anyone who could fix this