Remove mounts when zoning
This is to kick players off their mounts when zoning to indoor zones. As is, they can stay on them but not re-summon when in an zone that forbids them.
In quests/global/global_player.pl Code:
sub EVENT_ENTERZONE { |
And thanks to Akkadius for a much smarter way! This method pulls the 'cancastoutdoor' field from the zone table and removes the mount buff when you enter a zone that disallows outdoor spells.
This will use the MySQL plugins (be sure to get the new one and read about the new JSON loader http://www.eqemulator.org/forums/showthread.php?t=41690) Code:
sub EVENT_ENTERZONE { |
Not all zones on live strip mounts, even if you can't cast a mount in that zone.
|
Then the first option - excluding those zones - would be the way to go. :)
|
Code:
sub EVENT_ENTERZONE { |
All times are GMT -4. The time now is 02:07 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.