Jump to content
  • 0

item scripting help (noob)


Question

Posted (edited)

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

3 answers to this question

Recommended Posts

Posted

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.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...