mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-24 13:57:16 +00:00
invis updates (#2004)
This commit is contained in:
1 parent
615f4a5304
commit
677d595c9d
3 files changed
+9
-16
No files matched your search
+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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user