Jump to content
  • 0

item scripting help (noob)


Saisho

Question


  • Group:  Members
  • Topic Count:  52
  • Topics Per Day:  0.01
  • Content Count:  185
  • Reputation:   20
  • Joined:  01/06/13
  • Last Seen:  

can someone pls explain me something...

how do i add multiple checking parameters in a item script? i know that when i need to check same type like job i can use || but im not sure about something like this.

like,

bonus. (independent)

bonus. (independent)

if base int >= 90 add A% of B happen.

if base str >= 50 and skill x <= 1 add y% of z happen.

{ if(readparam(bInt)>=90) { bonus3 bAutoSpellWhenHit,"B",lvl,A; } if(readparam(bstr)>=50||(getskilllv("x")<=1) { bonus3 bAutoSpell,z,lvl,y; } bonus; bonus; } { } { }

[solved]

another question, i know theres many bonus options in the athena files but theres any for improve an produce skill like forging or pharmacy? or maybe biocanibalize?

Edited by Saisho
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  188
  • Reputation:   16
  • Joined:  06/12/12
  • Last Seen:  

its form src side i guess

{ "potion_produce_rate",                &battle_config.pp_rate,                         100,    0,      INT_MAX,        },

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  52
  • Topics Per Day:  0.01
  • Content Count:  185
  • Reputation:   20
  • Joined:  01/06/13
  • Last Seen:  

its form src side i guess

{ "potion_produce_rate",				&battle_config.pp_rate,						 100,	0,	  INT_MAX,		},

hmm but aside mess w/ the whole server theres a way to do it using a bonus in a item? i remember eathena never had it so instead we had to add dex/int/luk what also affect other points like cast/damage/crit.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  188
  • Reputation:   16
  • Joined:  06/12/12
  • Last Seen:  

ahh ...i didn't know that....thnx for info!!! /no1

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