Orgasmator Posted June 24, 2012 Posted June 24, 2012 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 Quote
en_dev Posted June 24, 2012 Posted June 24, 2012 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;}},{},{} Quote
Question
Orgasmator
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:
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.