verythaiguy
New Member
- Joined
- Jan 15, 2010
- Messages
- 119
Couple other issues: First, shamanisticrage no longer restores mana... so I think we can remove the if statements before casting shamanisticrage in combatmelee() functioN: Also, it was not setting totems before casting stormstrike, earthshock(), etc. I think it has something to do with combatchecks(), but not sure. Here's my followign revised code with everything working perfectly. One other thing.. why don't we just use CombatMeleePVP() instead of combatmelee(). It seems to have all the below fixed and working....:
// use Shamanistic Rage when our mana is low and mob we are fighting has
// .. a lot of health left. Since it gives mana back for
//if (_me.ManaPercent < _cfg.ShamanisticRagePercent )
//{
// if (IsFightStressful() || (countEnemy > 1) || (_me.GotTarget && _me.CurrentTarget.HealthPercent >= 75))
// {
ShamanisticRage();
//}
//}
// for Enhancement: make first set of totems high priority
// if (!TotemsWereSet() && combatChecks() && AllowNonHealSpells())
if (!TotemsWereSet())
{
SetTotemsAsNeeded();
}
// use Shamanistic Rage when our mana is low and mob we are fighting has
// .. a lot of health left. Since it gives mana back for
//if (_me.ManaPercent < _cfg.ShamanisticRagePercent )
//{
// if (IsFightStressful() || (countEnemy > 1) || (_me.GotTarget && _me.CurrentTarget.HealthPercent >= 75))
// {
ShamanisticRage();
//}
//}
// for Enhancement: make first set of totems high priority
// if (!TotemsWereSet() && combatChecks() && AllowNonHealSpells())
if (!TotemsWereSet())
{
SetTotemsAsNeeded();
}