nelsontyh Posted February 2, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 43 Reputation: 1 Joined: 01/20/12 Last Seen: August 31, 2012 Share 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 Link to comment Share on other sites More sharing options...
Nipsino Posted February 2, 2012 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 218 Reputation: 16 Joined: 01/24/12 Last Seen: May 24, 2015 Share 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 Link to comment Share on other sites More sharing options...
nelsontyh Posted February 2, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 43 Reputation: 1 Joined: 01/20/12 Last Seen: August 31, 2012 Author Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted February 2, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share 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 Link to comment Share on other sites More sharing options...
nelsontyh Posted February 2, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 43 Reputation: 1 Joined: 01/20/12 Last Seen: August 31, 2012 Author Share Posted February 2, 2012 Ah thanks, I got it working now. Btw isn't getarg(2) be getarg(1)? Quote Link to comment Share on other sites More sharing options...
Emistry Posted February 3, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share 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 Link to comment Share on other sites More sharing options...
redge25 Posted June 4, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 30 Reputation: 0 Joined: 04/21/12 Last Seen: June 22, 2012 Share 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 Link to comment Share on other sites More sharing options...
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 ._.
Link to comment
Share on other sites
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.