Ver Fonte

Rules Global Expansion Flag

Partial code for Issue #104
Image há 4 anos atrás
pai
commit
29a98cfcb5

+ 2 - 0
EQ2/source/WorldServer/Rules/Rules.cpp

@@ -292,6 +292,8 @@ RuleManager::RuleManager() {
 
 	RULE_INIT(R_Spells, NoInterruptBaseChance, "50");
 
+	RULE_INIT(R_Expansion, GlobalExpansionFlag, "0");
+
 	#undef RULE_INIT
 }
 

+ 5 - 2
EQ2/source/WorldServer/Rules/Rules.h

@@ -39,7 +39,8 @@ enum RuleCategory {
 	R_World,
 	R_Zone,
 	R_Loot,
-	R_Spells
+	R_Spells,
+	R_Expansion
 };
 
 enum RuleType {
@@ -158,7 +159,9 @@ enum RuleType {
 	ClientSaveTimer,
 	DefaultZoneShutdownTimer,
 	WeatherTimer,
-	SpawnDeleteTimer
+	SpawnDeleteTimer,
+
+	GlobalExpansionFlag
 };
 
 class Rule {