Mhalicot 392 Posted September 29, 2013 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. Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted September 29, 2013 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. 2 Mhalicot and Mumbles reacted to this Quote Share this post Link to post Share on other sites
0 Mhalicot 392 Posted September 29, 2013 +1 what if I want to add duel mode? Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted September 29, 2013 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. Quote Share this post Link to post Share on other sites
0 Mhalicot 392 Posted September 29, 2013 okay got it Quote Share this post Link to post Share on other sites
0 kerbiii 5 Posted September 29, 2013 (edited) ive been looking for this since woe sets are working outside pvp and woe maps Edited September 29, 2013 by kerbiii Quote Share this post Link to post Share on other sites
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