EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Custom (https://www.eqemulator.org/forums/forumdisplay.php?f=671)
-   -   PVP enabling from item (https://www.eqemulator.org/forums/showthread.php?t=37485)

Nydosa 11-07-2013 10:39 PM

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

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.


All times are GMT -4. The time now is 03:18 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.