mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-27 04:07:39 +00:00
Fixed Bard AE Target Spells
Removed assert for buffs
This commit is contained in:
+10
-10
@@ -2418,15 +2418,15 @@ bool Mob::SpellFinished(uint16 spell_id, Mob *spell_target, CastingSlot slot, ui
|
|||||||
case AECaster:
|
case AECaster:
|
||||||
case AETarget:
|
case AETarget:
|
||||||
{
|
{
|
||||||
#ifdef BOTS
|
//#ifdef BOTS
|
||||||
if(IsBot()) {
|
// if(IsBot()) {
|
||||||
bool StopLogic = false;
|
// bool StopLogic = false;
|
||||||
if(!this->CastToBot()->DoFinishedSpellAETarget(spell_id, spell_target, slot, StopLogic))
|
// if(!this->CastToBot()->DoFinishedSpellAETarget(spell_id, spell_target, slot, StopLogic))
|
||||||
return false;
|
// return false;
|
||||||
if(StopLogic)
|
// if(StopLogic)
|
||||||
break;
|
// break;
|
||||||
}
|
// }
|
||||||
#endif //BOTS
|
//#endif //BOTS
|
||||||
|
|
||||||
// we can't cast an AE spell without something to center it on
|
// we can't cast an AE spell without something to center it on
|
||||||
assert(ae_center != nullptr);
|
assert(ae_center != nullptr);
|
||||||
@@ -3332,7 +3332,7 @@ int Mob::AddBuff(Mob *caster, uint16 spell_id, int duration, int32 level_overrid
|
|||||||
}
|
}
|
||||||
|
|
||||||
// now add buff at emptyslot
|
// now add buff at emptyslot
|
||||||
assert(buffs[emptyslot].spellid == SPELL_UNKNOWN); // sanity check
|
//assert(buffs[emptyslot].spellid == SPELL_UNKNOWN); // sanity check
|
||||||
|
|
||||||
buffs[emptyslot].spellid = spell_id;
|
buffs[emptyslot].spellid = spell_id;
|
||||||
buffs[emptyslot].casterlevel = caster_level;
|
buffs[emptyslot].casterlevel = caster_level;
|
||||||
|
|||||||
Reference in New Issue
Block a user