PVP enabling from item
I'm wondering if anyone has a good way or idea to enable a pvp flag when a certain item is equipped by a player? I'd prefer if it wouldn't take the player to zone for the flag to go on/off, and that it could be an instantaneous thing.
As an alternative, is a pvp flag on/off trigger possible to add into a spell? Thank you for your help, Nydosa |
I'm sure you could place '$client->SetPVP()' in the item.pl or spell.pl and do it. There is sub EVENT_ITEM_EQUIP and sub EVENT_ITEM_UNEQUIP as well as sub EVENT_SPELL_EFFECT_CLIENT for spells, so yeah, you could.
|
All times are GMT -4. The time now is 03:18 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.