mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-02 08:12:25 +00:00
Inline a few functions that should be
This commit is contained in:
parent
fc721b8ec8
commit
4707e0f858
16
zone/mob.cpp
16
zone/mob.cpp
@ -2753,22 +2753,6 @@ void Mob::Warp( float x, float y, float z )
|
|||||||
SendPosition();
|
SendPosition();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Mob::DivineAura() const
|
|
||||||
{
|
|
||||||
if (spellbonuses.DivineAura)
|
|
||||||
return true;
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool Mob::Sanctuary() const
|
|
||||||
{
|
|
||||||
if (spellbonuses.Sanctuary)
|
|
||||||
return true;
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
int16 Mob::GetResist(uint8 type) const
|
int16 Mob::GetResist(uint8 type) const
|
||||||
{
|
{
|
||||||
if (IsNPC())
|
if (IsNPC())
|
||||||
|
|||||||
@ -818,8 +818,8 @@ public:
|
|||||||
inline int& GetNextIncHPEvent() { return nextinchpevent; }
|
inline int& GetNextIncHPEvent() { return nextinchpevent; }
|
||||||
void SetNextIncHPEvent( int inchpevent );
|
void SetNextIncHPEvent( int inchpevent );
|
||||||
|
|
||||||
bool DivineAura() const;
|
inline bool DivineAura() const { return spellbonuses.DivineAura; }
|
||||||
bool Sanctuary() const;
|
inline bool Sanctuary() const { return spellbonuses.Sanctuary; }
|
||||||
|
|
||||||
bool HasNPCSpecialAtk(const char* parse);
|
bool HasNPCSpecialAtk(const char* parse);
|
||||||
int GetSpecialAbility(int ability);
|
int GetSpecialAbility(int ability);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user