2020 Ragnarok 0 Posted January 18, 2016 Hi ulit mga kababayan! Humihingi nanaman ako ng tulong sainyo. Pasensya na po at nawawala ako tungkol dito sa database na to. Hindi ko alam kung dito o sa script ko dapat ipost since script at database naman talaga ito. { Id: 30133 AegisName: "skuillcap" Name: "Skull Cap" Type: 5 Buy: 20 Weight: 100 Def: 5 Slots: 1 Loc: 256 View: 2130 Script: <" bonus2 bSubRace,RC_Player,10; if(BaseClass==Job_Merchant) bonus2 bSkillAtk,485,10; bonus bAspdRate,5; else if(BaseClass==Job_Thief) bonus2 bAddEle,Ele_Holy,10; bonus bAspdRate,5; else if(BaseJob==Job_Rogue) bonus bDex,8; bonus bInt,12; else if(BaseJob==Job_Ninja) bonus bDex,12; bonus bInt,12; "> }, Hindi umano gumagana ito? Error: [Error]: script error in file 'pre-re/item_db.conf' item ID 30130 parse_line: expect command, missing function name or calling undeclared func tion *30133: *30132: bonus2 bSubRace,RC_Player,10; *30131: if(BaseClass==Job_Merchant) bonus2 bSkillAtk,485,10; bo nus bAspdRate,5; 30130: else if(BaseClass==Job_Thief) bonus2 bAddEle,Ele_Holy,10 ; bonus bAspdRate,5; ~~~~~~~~~~~~~~~~^ *30129: else if(BaseJob==Job_Rogue) bonus bDex,8; bonus bInt,12 ; *30128: else if(BaseJob==Job_Ninja) bonus bDex,12; bonus bInt,12 ; *30127: Dapat po ganto effect nya sana! Maraming salamat! Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted January 18, 2016 Script: <" bonus2 bSubRace,RC_Player,10; if(BaseClass==Job_Merchant){ bonus2 bSkillAtk,485,10; bonus bAspdRate,5; } else if(BaseClass==Job_Thief) { bonus2 bAddEle,Ele_Holy,10; bonus bAspdRate,5; } else if(BaseJob==Job_Rogue) { bonus bDex,8; bonus bInt,12; } else if(BaseJob==Job_Ninja) { bonus bDex,12; bonus bInt,12; } "> You forgot bracketsif works for one statement only, if you want more than one, then use curly brackets 1 2020 Ragnarok reacted to this Quote Share this post Link to post Share on other sites
0 2020 Ragnarok 0 Posted January 18, 2016 Wow thank you very much Dastgir! Last thing i would like to ask about this.i can't seem to find a script for 2 Kiel + 2 Ring Combo Effect 2 Kiel will work only with 2 Ring With out ring Kiel wont work or missing 1 Kiel it wont work. Thanks in advance! Quote Share this post Link to post Share on other sites
Hi ulit mga kababayan! Humihingi nanaman ako ng tulong sainyo. Pasensya na po at nawawala ako tungkol dito sa database na to. Hindi ko alam kung dito o sa script ko dapat ipost since script at database naman talaga ito.
Hindi umano gumagana ito? Error:
Dapat po ganto effect nya sana! Maraming salamat!
Share this post
Link to post
Share on other sites