Jump to content
  • 0

Need a little help..


Musika

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  55
  • Reputation:   0
  • Joined:  08/23/12
  • Last Seen:  

Zup rathena!

Can i please ask for a little help with these item script?..

So it's kinda like this:

 

 

All Stats + 2
ATK + 5%.
Cannot be Knockback.
[^008800Acolyte Class^000000,^008800Magician Class^000000,^008800Archer Class^000000]
Reduces damage from melee neutral attacks of all elements by 5%.
^ff0000[Refining Bonus:]^000000
"Additional 1% reduce damage from melee attacks of all elements on every successful refine."
Indestructible (except in upgrade attempts).
Class :^777777 Armor^000000
Defense :^777777 6^000000
Renewal Def :^777777 55^000000
Weight :^777777 280^000000
Applicable Job :^777777 Every Job^000000
#
 
"3000,Armor,Armor,5,0,,2800,,6,,1,0xFFFFFFFF,2,2,16,,0,1,0,{ bonus bAtkRate,5; bonus bNoKnockback,0; bonus bUnbreakableArmor,0; bonus bAllstats,2; if(BaseClass==Job_Mage||BaseClass==Job_Archer||BaseClass==Job_Acolyte) bonus3 bSubEle,Ele_Neutral,5,BF_SHORT; bonus3 bSubEle,Ele_Water,5,BF_SHORT; bonus3 bSubEle,Ele_Earth,5,BF_SHORT; bonus3 bSubEle,Ele_Fire,5,BF_SHORT; bonus3 bSubEle,Ele_Wind,5,BF_SHORT; bonus3 bSubEle,Ele_Poison,5,BF_SHORT; },{},{}"
 
 
So almost all the script lines are okay except for the "RED COLORED LINE"..
I'm not sure if i'll be using:
 
else if(getrefine()/1) { additional bonus etc.. },{ },{ }
 
or
 
else if (getrefine()>1) { additional bonus etc.. },{ },{ } (althought i'm aware that it will only add on +1, the next refinement will be ignored..)
 
hope someone could help me up with these../thx
(noob scripter here..)
 
 
 
 
 
Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  91
  • Topics Per Day:  0.02
  • Content Count:  263
  • Reputation:   1
  • Joined:  04/25/13
  • Last Seen:  

Dont put "else"

And the additional etc.

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...