Jump to content
  • 0

Removing 3rd job Buffs


nelsontyh

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   1
  • Joined:  01/20/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  218
  • Reputation:   16
  • Joined:  01/24/12
  • Last Seen:  

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 by Eden
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   1
  • Joined:  01/20/12
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   1
  • Joined:  01/20/12
  • Last Seen:  

Ah thanks, I got it working now. Btw isn't getarg(2) be getarg(1)?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

Ah thanks, I got it working now. Btw isn't getarg(2) be getarg(1)?

ah...thx for correcting it..xD

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  30
  • Reputation:   0
  • Joined:  04/21/12
  • Last Seen:  

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.

}

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...