preventing a spell cast
Is there anyway to prevent a specific spell or set of spells from being cast without trashing normal spell function. Basicly I want to stop players from casting any gate or teleportation spell while in a specific zone so that they have to complete a quest before leaving. I was thinking something along the lines of the following.
player.pl Code:
sub EVENT_CAST { |
I think your best bet is to add those spells to the blocked_spells table for that zone and then use the quest to add a teleporter npc.
|
That certainly would be alot easier than what I was trying to do. I can't believe I forgot about that table.
|
All times are GMT -4. The time now is 11:01 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.