Item_db.conf

2020 Ragnarok

New member
Messages
19
Points
0
Github
2020Ragnarok
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:

Code:
[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!

307ol4x.jpg


 
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

 
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!
default_thx.gif
 
Back
Top