mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-25 10:47:16 +00:00
Revert "Spell Fizzle for < LDON expansions via lua_mod (#1118)"
This reverts commit e9d312fa86.
This commit is contained in:
1 parent
62efae2e00
commit
ee7ef97506
8 files changed
-259
No files matched your search
@@ -82,7 +82,6 @@ Copyright (C) 2001-2002 EQEMu Development Team (http://eqemu.org)
|
||||
#include "string_ids.h"
|
||||
#include "worldserver.h"
|
||||
#include "fastmath.h"
|
||||
#include "lua_parser.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
@@ -735,16 +734,6 @@ bool Mob::CheckFizzle(uint16 spell_id)
|
||||
|
||||
bool Client::CheckFizzle(uint16 spell_id)
|
||||
{
|
||||
#ifdef LUA_EQEMU
|
||||
bool ignoreDefault = false;
|
||||
bool fizzle = LuaParser::Instance()->CheckFizzle(this, spell_id, spells[spell_id], ignoreDefault);
|
||||
|
||||
if (!fizzle) {
|
||||
return false;
|
||||
} else if (ignoreDefault) {
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
// GMs don't fizzle
|
||||
if (GetGM()) return(true);
|
||||
|
||||
|
||||
Reference in new issue
Block a user