mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-29 16:58:02 +00:00
[Feature] Legacy Manaburn Rule (#3872)
* [Feature] Legacy Manaburn Rule Enabling this rule allows the legacy style Manaburn and LifeBurn early 2003 and earlier. * Requested Changes * Requested Change
This commit is contained in:
@@ -4413,6 +4413,9 @@ bool Mob::SpellOnTarget(
|
||||
LogSpells("Spell [{}] could not apply its effects [{}] -> [{}]\n", spell_id, GetName(), spelltar->GetName());
|
||||
if (casting_spell_aa_id) {
|
||||
MessageString(Chat::SpellFailure, SPELL_NO_HOLD);
|
||||
if (RuleB(Spells, LegacyManaburn) && IsClient() && casting_spell_aa_id == aaManaBurn) {
|
||||
StopCasting();
|
||||
}
|
||||
}
|
||||
safe_delete(action_packet);
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user