mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-03 06:23:53 +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();
|
||||
}
|
||||
|
||||
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
|
||||
{
|
||||
if (IsNPC())
|
||||
|
||||
@ -818,8 +818,8 @@ public:
|
||||
inline int& GetNextIncHPEvent() { return nextinchpevent; }
|
||||
void SetNextIncHPEvent( int inchpevent );
|
||||
|
||||
bool DivineAura() const;
|
||||
bool Sanctuary() const;
|
||||
inline bool DivineAura() const { return spellbonuses.DivineAura; }
|
||||
inline bool Sanctuary() const { return spellbonuses.Sanctuary; }
|
||||
|
||||
bool HasNPCSpecialAtk(const char* parse);
|
||||
int GetSpecialAbility(int ability);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user