mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
[Cleanup] Cleanup magic numbers (#2662)
* [Cleanup] Cleanup magic numbers * renamed RACE_NODE
This commit is contained in:
@@ -1612,6 +1612,7 @@ namespace PlayerAppearance
|
||||
#define RACE_LUCLIN_731 731
|
||||
#define RACE_PEGASUS_732 732
|
||||
#define RACE_INTERACTIVE_OBJECT_2250 2250
|
||||
#define RACE_NODE_2254 2254
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
+3
-1
@@ -76,6 +76,7 @@
|
||||
|
||||
#include "classes.h"
|
||||
#include "spdat.h"
|
||||
#include "../common/rulesys.h"
|
||||
|
||||
#ifndef WIN32
|
||||
#include <stdlib.h>
|
||||
@@ -747,8 +748,9 @@ bool IsCombatSkill(uint16 spell_id)
|
||||
bool IsResurrectionEffects(uint16 spell_id)
|
||||
{
|
||||
// spell id 756 is Resurrection Effects spell
|
||||
if(IsValidSpell(spell_id) && (spell_id == 756 || spell_id == 757))
|
||||
if (IsValidSpell(spell_id) && (spell_id == RuleI(Character, ResurrectionSicknessSpellID) || spell_id == RuleI(Character, OldResurrectionSicknessSpellID))) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user