Hi rAthena,
Just recently I added 2 custom weapons, but then it gave me errors in console. it say's insufficient columns with item id 0 but there is item id 0. there's also invalid format.
here are my entries :
1633,Custom Staff,Custom Staff,5,20,,1000,200,,1,4,0x00818314,63,2,2,4,80,1,10,{ if(BaseClass == Job_Sage) { bonus2 bSkillAtk,"MG_FIREBOLT",10; bonus2 bSkillAtk,"MG_LIGHTNINGBOLT",10; bonus2 bSkillAtk,"MG_COLDBOLT",10; bonus bMatkRate,10; bonus bInt,10; if(getrefine()>=7) { bonus2 bSkillAtk,"MG_FIREBOLT",5; bonus2 bSkillAtk,"MG_LIGHTNINGBOLT",5; bonus2 bSkillAtk,"MG_COLDBOLT",5; if(getrefine()>=9) { bonus2 bSkillAtk,"MG_FIREBOLT",10; bonus2 bSkillAtk,"MG_LIGHTNINGBOLT",10; bonus2 bSkillAtk,"MG_COLDBOLT",10; bonus bMatkRate,5; bonus bInt,10; } } } if(BaseClass == Job_Wizard) { bonus bInt,10; bonus bMatkRate,10; bonus2 bSkillAtk,"WZ_STORMGUST",5; bonus2 bSkillAtk,"WZ_METEOR",5; bonus2 bSkillAtk,"WZ_VERMILION",5; if(getrefine()>=7) { bonus bInt,5; bonus bMatkRate,10; if(getrefine()>=9) { bonus bInt,10; bonus bMatkRate,10; bonus2 bSkillAtk,"WZ_STORMGUST",10; bonus2 bSkillAtk,"WZ_METEOR",10; bonus2 bSkillAtk,"WZ_VERMILION",10; } } } if(BaseClass == Job_Acolyte) { bonus bHealPower,20; bonus2 bSkillAtk,"AL_HOLYLIGHT",20; bonus bInt,5; bonus bVit,5; if(getrefine()>=7) { bonus2 bSkillAtk,"AL_HOLYLIGHT",5; bonus2 bSubRace,RC_DemiHuman,5; if(getrefine()>=9) { bonus2 bSkillAtk,"AL_HOLYLIGHT",10; bonus2 bSubRace,RC_DemiHuman,10; bonus bInt,5; bonus bVit,5; } } } },{},{}
1482,Custom Spear,Custom Spear,5,20,,1000,200,,3,4,0x00004082,63,2,34,4,80,1,5,{ bonus bVit,10; bonus2 bSubRace,RC_DemiHuman,10; bonus2 bSkillAtk,"CR_DEVOTION",10; if(getrefine()>=7) { bonus bVit,5; bonus bStr,5; bonus2 bSubRace,RC_DemiHuman,5; if(getrefine()>=9) { bonus bVit,5; bonus2 bSubRace,RC_DemiHuman,10; bonus bDefRate,-50; bonus bDef2Rate,-50; } } },{},{}
here's the error :
hope somebody could help me thanks in advance !
SlashGeeGee
BUMP. actually only this entry is causing error (modified it actually still not working) :
1633,Epsilon_Lite_Staff,Epsilon Lite Staff,5,20,,1000,200,,1,4,0x00818314,63,2,2,4,80,1,10,{ if(BaseClass == Job_Mage) { bonus2 bSkillAtk,"MG_FIREBOLT",10; bonus2 bSkillAtk,"MG_LIGHTNINGBOLT",10; bonus2 bSkillAtk,"MG_COLDBOLT",10; bonus bMatkRate,10; bonus bInt,10; bonus2 bSkillAtk,"WZ_STORMGUST",5; bonus2 bSkillAtk,"WZ_METEOR",5; bonus2 bSkillAtk,"WZ_VERMILION",5; if(getrefine()>=7) { bonus2 bSkillAtk,"MG_FIREBOLT",5; bonus2 bSkillAtk,"MG_LIGHTNINGBOLT",5; bonus2 bSkillAtk,"MG_COLDBOLT",5; bonus bInt,5; bonus bMatkRate,10; } if(getrefine()>=9) { bonus2 bSkillAtk,"MG_FIREBOLT",10; bonus2 bSkillAtk,"MG_LIGHTNINGBOLT",10; bonus2 bSkillAtk,"MG_COLDBOLT",10; bonus bMatkRate,10; bonus bInt,10; bonus2 bSkillAtk,"WZ_STORMGUST",10; bonus2 bSkillAtk,"WZ_METEOR",10; bonus2 bSkillAtk,"WZ_VERMILION",10; } } else if(BaseClass == Job_Acolyte) { bonus bHealPower,20; bonus2 bSkillAtk,"AL_HOLYLIGHT",20; bonus bInt,5; bonus bVit,5; if(getrefine()>=7) { bonus2 bSkillAtk,"AL_HOLYLIGHT",5; bonus2 bSubRace,RC_DemiHuman,5; } if(getrefine()>=9) { bonus2 bSkillAtk,"AL_HOLYLIGHT",10; bonus2 bSubRace,RC_DemiHuman,10; bonus bInt,5; bonus bVit,5; } } },{},{}
SlashGeeGee