mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
Implement duration ramp and war cry with new AA system
Rampage also correctly does a full attack round for classes other than monk and ranger
This commit is contained in:
+8
-8
@@ -2280,7 +2280,7 @@ bool Mob::SpellFinished(uint16 spell_id, Mob *spell_target, uint16 slot, uint16
|
||||
if(rank && rank->base_ability) {
|
||||
ExpendAlternateAdvancementCharge(rank->base_ability->id);
|
||||
}
|
||||
}
|
||||
}
|
||||
else if(spell_id == casting_spell_id && casting_spell_timer != 0xFFFFFFFF)
|
||||
{
|
||||
//aa new todo: aa expendable charges here
|
||||
@@ -4124,13 +4124,13 @@ bool Mob::IsImmuneToSpell(uint16 spell_id, Mob *caster)
|
||||
}
|
||||
return true;
|
||||
}
|
||||
//else if (IsClient() && CastToClient()->CheckAAEffect(aaEffectWarcry)) //old aa
|
||||
//{
|
||||
// Message(13, "Your are immune to fear.");
|
||||
// Log.Out(Logs::Detail, Logs::Spells, "Clients has WarCry effect, immune to fear!");
|
||||
// caster->Message_StringID(MT_Shout, IMMUNE_FEAR);
|
||||
// return true;
|
||||
//}
|
||||
else if (CheckAATimer(aaTimerWarcry))
|
||||
{
|
||||
Message(13, "Your are immune to fear.");
|
||||
Log.Out(Logs::Detail, Logs::Spells, "Clients has WarCry effect, immune to fear!");
|
||||
caster->Message_StringID(MT_Shout, IMMUNE_FEAR);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
if(IsCharmSpell(spell_id))
|
||||
|
||||
Reference in New Issue
Block a user