Jump to content
  • 0

Weapon Element Buff


Werdio

Question


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  248
  • Reputation:   1
  • Joined:  06/27/12
  • Last Seen:  

Hello again x')

My weapon element Buffer didn't work ;/

Script:

mymap,45,56,4 script Buffer 794,{

percentheal 100,100;
sc_start SC_PRESERVE,760000,10;
sc_start SC_WINDWALK,760000,5;
sc_start SC_ENDURE,760000,10;
sc_start SC_ANGELUS,760000,10;
sc_start SC_CONCENTRATE,760000,10;
sc_start SC_MAGNIFICAT,760000,5;
sc_start SC_GLORIA,760000,5;
sc_start SC_IMPOSITIO,760000,5;
sc_start SC_BLESSING,760000,10;
sc_start SC_INCREASEAGI,760000,10;
sc_start SC_CONCENTRATION,760000,5;
sc_start SC_CP_ARMOR,760000,5;
sc_start SC_CP_HELM,760000,5;
sc_start SC_CP_WEAPON,760000,5;
sc_start SC_CP_SHIELD,760000,5;
sc_start SC_TRUESIGHT,760000,5;
sc_start SC_ASSUMPTIO,760000,5;
percentheal 100,100;
mes "[buffer]";
mes "Which weaponelement you want?";
switch(select("Earth,"Wind","Water","Fire","Ghost","Shadow","Holy","Nothing")) {
case 1:
sc_start SC_WARM_WIND,760000,1;
close;
case 2:
sc_start SC_WARM_WIND,760000,2;
close;
case 3:
sc_start SC_WARM_WIND,760000,3;
close;
case 4:
sc_start SC_WARM_WIND,760000,4;
close;
case 5:
sc_start SC_WARM_WIND,760000,5;
close;
case 6:
sc_start SC_WARM_WIND,760000,6;
close;
case 7:
sc_start SC_WARM_WIND,760000,7;
case 8:
close; }
}

soFar~

Edited by Nochii
Link to comment
Share on other sites

10 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  713
  • Reputation:   70
  • Joined:  11/08/11
  • Last Seen:  

have you noticed that you are missing a " after Earth?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  248
  • Reputation:   1
  • Joined:  06/27/12
  • Last Seen:  

*facepalm*

But it dont work, I stuck and cant move if I select one element, then I have to make @die ;/

Script (Edited):

mymap,45,56,4 script Buffer 794,{
percentheal 100,100;
sc_start SC_PRESERVE,760000,10;
sc_start SC_WINDWALK,760000,5;
sc_start SC_ENDURE,760000,10;
sc_start SC_ANGELUS,760000,10;
sc_start SC_CONCENTRATE,760000,10;
sc_start SC_MAGNIFICAT,760000,5;
sc_start SC_GLORIA,760000,5;
sc_start SC_IMPOSITIO,760000,5;
sc_start SC_BLESSING,760000,10;
sc_start SC_INCREASEAGI,760000,10;
sc_start SC_CONCENTRATION,760000,5;
sc_start SC_CP_ARMOR,760000,5;
sc_start SC_CP_HELM,760000,5;
sc_start SC_CP_WEAPON,760000,5;
sc_start SC_CP_SHIELD,760000,5;
sc_start SC_TRUESIGHT,760000,5;
sc_start SC_ASSUMPTIO,760000,5;
percentheal 100,100;
mes "[buffer]";
mes "Which weaponelement you want?";
switch(select("Earth","Wind","Water","Fire","Ghost","Shadow","Holy","Nothing")) {
case 1:
sc_start SC_WARM_WIND,760000,1;
close;
case 2:
sc_start SC_WARM_WIND,760000,2;
close;
case 3:
sc_start SC_WARM_WIND,760000,3;
close;
case 4:
sc_start SC_WARM_WIND,760000,4;
close;
case 5:
sc_start SC_WARM_WIND,760000,5;
close;
case 6:
sc_start SC_WARM_WIND,760000,6;
close;
case 7:
sc_start SC_WARM_WIND,760000,7;
case 8:
close; }
}

Edited by Nochii
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

Sorry, I had to. x.x

setarray .@SC[0],35,40,41,72,73,74,75,110,115,120,121,21,23,29,30,32,151;
for(set .@i,0; .@i<getarraysize(.@SC); set .@i,.@i+1)
sc_start .@SC[.@i],760000,(.@i>10)?10:5;
percentheal 100,100;
set .@i, select("Earth:Wind:Water:Fire:Ghost:Shadow:Holy:Cancel")-1;
if (.@i<7) {
setarray .@SC[0],99,98,97,96,146,144,37;
sc_start .@SC[.@i],760000,1; }
close;

"SC_WARM_WIND" doesn't exist, therefore defaulting to 0, or "SC_STONE" (Stone Curse). You did have me fooled for a minute, though~ (The correct status is "SC_SEVENWIND", but it's not as straightforward to use.)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  248
  • Reputation:   1
  • Joined:  06/27/12
  • Last Seen:  

Okay I'll try to use it :D

You forgot to use a " } "

Right script

map,45,56,4 script Buffer 794,{
setarray .@SC[0],35,40,41,72,73,74,75,110,115,120,121,21,23,29,30,32,151;
for(set .@i,0; .@i<getarraysize(.@SC); set .@i,.@i+1)
	sc_start .@SC[.@i],760000,(.@i>10)?10:5;
percentheal 100,100;
set .@i, select("Earth:Wind:Water:Fire:Ghost:Shadow:Holy:Cancel")-1;
if (.@i<7) {
	setarray .@SC[0],99,98,97,96,146,144,37;
	sc_start .@SC[.@i],760000,1; }
close; } //<----- Here 

But I would add poison element too :D

HELP ME x_X

Edited by Nochii
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

You forgot to use a " } "

I didn't even add a header. o_o

SC_ENCPOISON    26

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  248
  • Reputation:   1
  • Joined:  06/27/12
  • Last Seen:  

Holy weapon didn't work :/

Whats the number for Aspersio? .. Solve this script please x')

Script:

whatever,45,56,4 script Buffer 794,{
setarray .@SC[0],35,40,41,72,73,74,75,110,115,120,121,21,23,29,30,32,151;
for(set .@i,0; .@i<getarraysize(.@SC); set .@i,.@i+1)
    sc_start .@SC[.@i],760000,(.@i>10)?10:5;
percentheal 100,100;
mes "^ff0000[buffer]^000000";
mes "blaaaaaaah";
set .@i, select("Fire Weapon:Ice Weapon:Thunder Weapon:Earth Weapon:^F0F8FFGhost Weapon000000:Shadow Weapon:^8B008BPoison^000000 Weapon:Holy Weapon:Nothing")-1;
if (.@i<7) {
    setarray .@SC[0],96,97,98,99,146,144,26,37;
    sc_start .@SC[.@i],760000,5; }
mes "Have a nice day ~";
close; }

soFar~

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:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  248
  • Reputation:   1
  • Joined:  06/27/12
  • Last Seen:  

Thank you but ...

still it don't work with Aspersio ;<

here my Script :

blaa,45,56,4 script Buffer 794,{
setarray .@SC[0],35,40,41,72,73,74,75,110,115,120,121,21,23,29,30,32,151;
for(set .@i,0; .@i<getarraysize(.@SC); set .@i,.@i+1)
	sc_start .@SC[.@i],760000,(.@i>10)?10:5;
percentheal 100,100;
mes "^8B0000[buffer]^000000";
mes "Welche Waffenverzauberung möchtest du?";
set .@i, select("Feuer Waffe:Eis Waffe:Blitz Waffe:Erd Waffe:^F0F8FFGhost Waffe^000000:Unlicht Waffe:^8B008BGift^000000 Waffe:Holy Waffe:Keine")-1;
if (.@i<7) {
	setarray .@SC[0],96,97,98,99,146,144,26,37;
	sc_start .@SC[.@i],760000,5; }
mes "Ich wünsche dir einen angenehmen Aufenthalt.";
close; }

Edited by Nochii
Merged. Please refrain from creating a new topic when you already have a discussion going on here.
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  29
  • Reputation:   0
  • Joined:  04/23/13
  • Last Seen:  

http://rathena.org/board/topic/69323-buffer-%C2%A7-identifier/

 

 

post from Pysk

Edited by Bayne
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

The problem was because of

if (.@i<7) {

but .@i value for holy element in the menu was 7

 

 

-> Must be

if (.@i<8) {
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...