Jump to content
  • 0

[ERROR] Cyclops Eye item_db Custom Script. Help?


Question

Posted

It's the script that I want to do:

[Mage, Gunslinger]

MaxHP+ 20% Flee+ 50

[Lord Knight, Whitesmith]

Add 10% chance of auto casting Lvl 1 Parrying when hit.

[Paladin]

Increase Shield Chain damage by 30%

[Creator]

MaxHP+10%

[sniper]

Reduce received Neutral property damage by 10%

[stalker]

MaxHP+10% Perfect Dodge+ 10

[Acolyte]

Reduce aftercast delay by 10%

[Clown & Dancer]

Deals 25% more damage on Musical Strike

[Assassin Cross]

Flee + 20, Perfect Dodge + 7

I used this script:

{ bonus bAllStats,5; if(BaseClass==Job_Mage||BaseClass==Job_Gunslinger) bonus bMaxHPrate,20; bonus bFlee,50; else if(Class==4008||Class==4014||BaseClass==Job_Merchant) bonus3 bAutoSpellWhenHit,LK_PARRYING,1,100; else if(Class==4015||Class==4022) bonus bMaxHPrate,10; else if(Class==Job_Stalker) bonus bFlee2,10; bonus bMaxHPrate,10; else if(BaseClass==Job_Bard||BaseClass==Job_Dancer) bonus2 bSkillAtk,BA_MUSICALSTRIKE,25; else if(Class==4013) bonus bFlee,20; bonus bFlee2,7;}

But I got an error saying: "parse_line expect command, missing function name or calling undeclared function.

Can anyone help? I can't find what I'm doing wrong.

Peace

2 answers to this question

Recommended Posts

Posted

try this.

{ bonus bAllStats,5; if(BaseClass==Job_Mage||BaseClass==Job_Gunslinger){ bonus bMaxHPrate,20; bonus bFlee,50; } else if(Class==4008||Class==4014||BaseClass==Job_Merchant) {bonus3 bAutoSpellWhenHit,LK_PARRYING,1,100; }else if(Class==4015||Class==4022) {bonus bMaxHPrate,10; }else if(Class==Job_Stalker) {bonus bFlee2,10; bonus bMaxHPrate,10; }else if(BaseClass==Job_Bard||BaseClass==Job_Dancer){ bonus2 bSkillAtk,BA_MUSICALSTRIKE,25; }else if(Class==4013){ bonus bFlee,20; bonus bFlee2,7;}},{},{}

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