mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-31 02:02:26 +00:00
[Rule] Mounts will wear off on zone (#3865)
* [Rule] Mounts will wear off on zone Allows server admins to toggle if they want to prevent players from retaining mounts on zone. false is default to maintain current feature set. * Added Date for mount zoning added
This commit is contained in:
parent
70a4b6a2b1
commit
d6e1c3f187
@ -217,6 +217,7 @@ RULE_BOOL(Character, LeaveCursorMoneyOnCorpse, false, "Enable or disable leaving
|
|||||||
RULE_BOOL(Character, ItemExtraSkillDamageCalcAsPercent, false, "If enabled, apply Item Extra Skill Damage as Percentage-based modifiers")
|
RULE_BOOL(Character, ItemExtraSkillDamageCalcAsPercent, false, "If enabled, apply Item Extra Skill Damage as Percentage-based modifiers")
|
||||||
RULE_BOOL(Character, UseForageCommonFood, true, "If enabled, use the common foods specified in the code.")
|
RULE_BOOL(Character, UseForageCommonFood, true, "If enabled, use the common foods specified in the code.")
|
||||||
RULE_INT(Character, ClearXTargetDelay, 10, "Seconds between uses of the #clearxtargets command (Set to 0 to disable)")
|
RULE_INT(Character, ClearXTargetDelay, 10, "Seconds between uses of the #clearxtargets command (Set to 0 to disable)")
|
||||||
|
RULE_BOOL(Character, PreventMountsFromZoning, false, "Enable to prevent mounts from zoning - Prior to December 15, 2004 this is enabled.")
|
||||||
RULE_CATEGORY_END()
|
RULE_CATEGORY_END()
|
||||||
|
|
||||||
RULE_CATEGORY(Mercs)
|
RULE_CATEGORY(Mercs)
|
||||||
|
|||||||
@ -681,8 +681,11 @@ void Client::CompleteConnect()
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case SE_SummonHorse: {
|
case SE_SummonHorse: {
|
||||||
SummonHorse(buffs[j1].spellid);
|
if (RuleB(Character, PreventMountsFromZoning)) {
|
||||||
//hasmount = true; //this was false, is that the correct thing?
|
BuffFadeByEffect(SE_SummonHorse);
|
||||||
|
} else {
|
||||||
|
SummonHorse(buffs[j1].spellid);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case SE_Silence:
|
case SE_Silence:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user