Jump to content
  • 0
Sign in to follow this  
Mhalicot

Is it possible?

Question

Is it possible to add a function to the items/weapon/equip to disable bonus/skills when WoE start?

if possible, how come?

 

Item ID: 18113, Vellum arbalest Description "*Stats During WoE and PVP Decrease Target SP by 4% with every Hit"

 

I don't think it is working, if so how can I set up my own stats during WoE and PVP.

 

Thanks in advance.

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

I don't like myself the EVERY hit part, but you could try this as your item script:

 

{ if(getmapflag(strcharinfo(3),mf_pvp) || getmapflag(strcharinfo(3),mf_gvg)) { bonus bSPVanishRate,1000,4; } }

That is supposed to do that, in every hit in PvP or GvG (this includes WoE), target's SP will be reduced by 4% (this effect won't work on things such as @duel on a non-pvp map for example). If you want to reduce 4% SP with each hit regardless of where (remember monsters usually have 0 SP, they cast without SP restrictions), just make its script like this:

 

{ bonus bSPVanishRate,1000,4; }

 

P.S.: Documentation says that for this bonus, 1000 means 100% (of hits in this particular case), but I'm not completely sure since in other things 100% is 10000. This is just matter of trial and error I think.

Share this post


Link to post
Share on other sites
  • 0

Use the second script, which is the same than the first except that it doesn't check for mapflags. That way any players who gets hit will get its SP deducted when hit by that weapon regardless of the environment.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.