mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 07:38:36 +00:00
[Client] Remove unimplemented Client Insight Method. (#2663)
* [Cleanup] Remove unused Insight Method, and cleanup Magic Numbers * change emu->NPC back to 0, not Doug
This commit is contained in:
@@ -4057,37 +4057,6 @@ void Mob::SetNextIncHPEvent( int inchpevent )
|
||||
nextinchpevent = inchpevent;
|
||||
}
|
||||
|
||||
int16 Mob::GetResist(uint8 type) const
|
||||
{
|
||||
if (IsNPC())
|
||||
{
|
||||
if (type == 1)
|
||||
return MR + spellbonuses.MR + itembonuses.MR;
|
||||
else if (type == 2)
|
||||
return FR + spellbonuses.FR + itembonuses.FR;
|
||||
else if (type == 3)
|
||||
return CR + spellbonuses.CR + itembonuses.CR;
|
||||
else if (type == 4)
|
||||
return PR + spellbonuses.PR + itembonuses.PR;
|
||||
else if (type == 5)
|
||||
return DR + spellbonuses.DR + itembonuses.DR;
|
||||
}
|
||||
else if (IsClient())
|
||||
{
|
||||
if (type == 1)
|
||||
return CastToClient()->GetMR();
|
||||
else if (type == 2)
|
||||
return CastToClient()->GetFR();
|
||||
else if (type == 3)
|
||||
return CastToClient()->GetCR();
|
||||
else if (type == 4)
|
||||
return CastToClient()->GetPR();
|
||||
else if (type == 5)
|
||||
return CastToClient()->GetDR();
|
||||
}
|
||||
return 25;
|
||||
}
|
||||
|
||||
uint32 Mob::GetLevelHP(uint8 tlevel)
|
||||
{
|
||||
int multiplier = 0;
|
||||
|
||||
Reference in New Issue
Block a user