mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
invis updates (#2004)
This commit is contained in:
+1
-15
@@ -3983,21 +3983,7 @@ void Client::Handle_OP_CastSpell(const EQApplicationPacket *app)
|
||||
return;
|
||||
}
|
||||
|
||||
if (invisible) {
|
||||
ZeroInvisibleVars(InvisType::T_INVISIBLE);
|
||||
BuffFadeByEffect(SE_Invisibility);
|
||||
BuffFadeByEffect(SE_Invisibility2);
|
||||
}
|
||||
|
||||
// Hack for broken RoF2 which allows casting after a zoned IVU/IVA
|
||||
if (invisible_undead) {
|
||||
BuffFadeByEffect(SE_InvisVsUndead);
|
||||
BuffFadeByEffect(SE_InvisVsUndead2);
|
||||
}
|
||||
if (invisible_animals) {
|
||||
BuffFadeByEffect(SE_InvisVsAnimals);
|
||||
BuffFadeByEffect(SE_ImprovedInvisAnimals);
|
||||
}
|
||||
BreakInvisibleSpells();
|
||||
|
||||
CastSpell_Struct* castspell = (CastSpell_Struct*)app->pBuffer;
|
||||
|
||||
|
||||
@@ -3239,6 +3239,12 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial, int level_ove
|
||||
case SE_FFItemClass:
|
||||
case SE_SpellEffectResistChance:
|
||||
case SE_SeeInvis:
|
||||
case SE_Invisibility:
|
||||
case SE_Invisibility2:
|
||||
case SE_InvisVsAnimals:
|
||||
case SE_ImprovedInvisAnimals:
|
||||
case SE_InvisVsUndead:
|
||||
case SE_InvisVsUndead2:
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user