[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:
Fryguy
2024-01-07 02:08:16 -05:00
committed by GitHub
parent 70a4b6a2b1
commit d6e1c3f187
2 changed files with 6 additions and 2 deletions
+5 -2
View File
@@ -681,8 +681,11 @@ void Client::CompleteConnect()
break;
}
case SE_SummonHorse: {
SummonHorse(buffs[j1].spellid);
//hasmount = true; //this was false, is that the correct thing?
if (RuleB(Character, PreventMountsFromZoning)) {
BuffFadeByEffect(SE_SummonHorse);
} else {
SummonHorse(buffs[j1].spellid);
}
break;
}
case SE_Silence: