mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-01 07:26:36 +00:00
[Rules] Add Rules to disable various item functionalities and cleanup data types. (#2225)
- Noticed some data types were unsigned when they should be signed based on Live items having these stats as negatives. - Loregroup was uint32 and should be int32 for Loregroup -1, fixed any references to -1 as 0xFFFFFFFF. - Attack was uint32 and should be int32. - DamageShield was uint32 and should be int32. - DotShielding was uint32 and should be int32. - Endurance was uint32 and should be int32. - EnduranceRegen was uint32 and should be int32. - Haste was uint32 and should be int32. - ManaRegen was uint32 and should be int32. - Regen was uint32 and should be int32. - RULE_BOOL(Items, DisableAttuneable, false, "Enable this to disable Attuneable Items") - RULE_BOOL(Items, DisableBardFocusEffects, false, "Enable this to disable Bard Focus Effects on Items") - RULE_BOOL(Items, DisableLore, false, "Enable this to disable Lore Items") - RULE_BOOL(Items, DisableNoDrop, false, "Enable this to disable No Drop Items") - RULE_BOOL(Items, DisableNoPet, false, "Enable this to disable No Pet Items") - RULE_BOOL(Items, DisableNoRent, false, "Enable this to disable No Rent Items") - RULE_BOOL(Items, DisableNoTransfer, false, "Enable this to disable No Transfer Items") - RULE_BOOL(Items, DisablePotionBelt, false, "Enable this to disable Potion Belt Items") - RULE_BOOL(Items, DisableSpellFocusEffects, false, "Enable this to disable Spell Focus Effects on Items")
This commit is contained in:
+9
-9
@@ -370,7 +370,7 @@ namespace EQ
|
||||
uint32 Slots; // Bitfield for which slots this item can be used in
|
||||
uint32 Price; // Item cost (?)
|
||||
uint32 Icon; // Icon Number
|
||||
uint32 LoreGroup; // Later items use LoreGroup instead of LoreFlag. we might want to see about changing this to int32 since it is commonly -1 and is constantly being cast from signed (-1) to unsigned (4294967295)
|
||||
int32 LoreGroup; // Later items use LoreGroup instead of LoreFlag. we might want to see about changing this to int32 since it is commonly -1 and is constantly being cast from signed (-1) to unsigned (4294967295)
|
||||
bool LoreFlag; // This will be true if LoreGroup is non-zero
|
||||
bool PendingLoreFlag;
|
||||
bool ArtifactFlag;
|
||||
@@ -473,14 +473,14 @@ namespace EQ
|
||||
uint32 LDoNSold;
|
||||
uint32 BaneDmgRaceAmt;
|
||||
uint32 AugRestrict;
|
||||
uint32 Endur;
|
||||
uint32 DotShielding;
|
||||
uint32 Attack;
|
||||
uint32 Regen;
|
||||
uint32 ManaRegen;
|
||||
uint32 EnduranceRegen;
|
||||
uint32 Haste;
|
||||
uint32 DamageShield;
|
||||
int32 Endur;
|
||||
int32 DotShielding;
|
||||
int32 Attack;
|
||||
int32 Regen;
|
||||
int32 ManaRegen;
|
||||
int32 EnduranceRegen;
|
||||
int32 Haste;
|
||||
int32 DamageShield;
|
||||
uint32 RecastDelay;
|
||||
int RecastType;
|
||||
uint32 AugDistiller;
|
||||
|
||||
Reference in New Issue
Block a user