Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Custom

Quests::Custom Custom Quests here

Reply
 
Thread Tools Display Modes
  #1  
Old 11-07-2013, 10:39 PM
Nydosa's Avatar
Nydosa
Sarnak
 
Join Date: Jan 2013
Posts: 61
Default 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
Reply With Quote
  #2  
Old 11-07-2013, 10:47 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,589
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 11:01 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3