nelsontyh Posted February 2, 2012 Posted February 2, 2012 I've made 3rd job skills not usable in PvP/Woe/Battleground maps by manually adding them into nocast_db. This however, does not prevent the buffs from being removed in PvP/WoE/Battleground at the moment. I'm wondering if it is possible to remove 3rd job buffs by script or is it most probably a source modification? I'm posting it in here because I'm guessing it's most probably a source modification ._. Quote
Nipsino Posted February 2, 2012 Posted February 2, 2012 (edited) The only way I could think of right now. Is have it dispel all of the buffs with this code. "SC_END_ALL" Add it before they are warped to the map, and add it at the entrance of castles with an OnTouch Label. Examples. Warping to PvP or whatever. SC_END_ALL; warp "map",0,0; OnTouch Label prtg_cas01,x,y,0 script Dispel -1,{ end; OnTouch: SC_END_ALL; setwarg,0; // I use setwarg,0 so rangers wouldn't have their wargs. } Edited February 2, 2012 by Eden Quote
nelsontyh Posted February 2, 2012 Author Posted February 2, 2012 I thought of that as well but that would be quite troublesome for the players as they would have to rebuff inside the castle or in pvp, is there anyway round this to only remove the 3rd job buffs itself and leave the 2nd jobs on? Quote
Emistry Posted February 2, 2012 Posted February 2, 2012 function script Dispell { for( set .@i,getarg(0); .@i <= getarg(1); set .@i,.@i + 1 ) sc_end .@i; return; } use this function.. callfunc "Dispell",<Start No.>,<End No.>; choose the Buff to start cancel from which number and end with which number.. number you can check here.. https://rathena.svn....nk/db/const.txt Quote
nelsontyh Posted February 2, 2012 Author Posted February 2, 2012 Ah thanks, I got it working now. Btw isn't getarg(2) be getarg(1)? Quote
Emistry Posted February 3, 2012 Posted February 3, 2012 Ah thanks, I got it working now. Btw isn't getarg(2) be getarg(1)? ah...thx for correcting it..xD Quote
redge25 Posted June 4, 2012 Posted June 4, 2012 question please... is it possible to dispel the skill that i want to dispel? ex. harmonize, etc buffs agi, bless, some 3rd job imba buffs. etc. etc. how to edit that script ? is this working? prtg_cas01,x,y,0 script Dispel -1,{ end; OnTouch: SC_HARMONIZE; setwarg,0; // I use setwarg,0 so rangers wouldn't have their wargs. } Quote
Question
nelsontyh
I've made 3rd job skills not usable in PvP/Woe/Battleground maps by manually adding them into nocast_db.
This however, does not prevent the buffs from being removed in PvP/WoE/Battleground at the moment.
I'm wondering if it is possible to remove 3rd job buffs by script or is it most probably a source modification?
I'm posting it in here because I'm guessing it's most probably a source modification ._.
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.