PDA

View Full Version : PVP enabling from item


Nydosa
11-07-2013, 10:39 PM
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

Kingly_Krab
11-07-2013, 10:47 PM
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.