Ukiram Posted April 17, 2019 Group: Members Topic Count: 45 Topics Per Day: 0.02 Content Count: 291 Reputation: 27 Joined: 12/16/17 Last Seen: December 19, 2023 Share Posted April 17, 2019 Good Day, Can i Request Item Effect Script?? Here's my lua file description Quote [2357] = { unidentifiedDisplayName = "Armor", unidentifiedResourceName = "¾Æ¸Ó", unidentifiedDescriptionName = { "Unknown Item, can be identified by using a ^6666CCMagnifier^000000." }, identifiedDisplayName = "Valkyrie Armor", identifiedResourceName = "¹ß۸®Àǰ©¿Ê", identifiedDescriptionName = { "A set of shining white armor worn by Valkyries, the battle maidens that serve the god Odin.", "All Stats + 3", "Indestructible (^009900except in upgrade attempts^000000).", "[^009900Combo with Valkyrie Manteau,Valkyrie Shoes^000000]", "Max HP&SP +10%", "Atk&Matk +3%", "2*per Refine Level increases hp by 1%", "Class:^6666CC Armor ^000000", "Defense:^0000FF 6 ^000000", "Weight:^009900 280 ^000000", "Jobs:^6666CC All Transcendent classes except Novice ^000000", }, slotCount = 1, ClassNum = 0 }, [2524] = { unidentifiedDisplayName = "Garment", unidentifiedResourceName = "Èĵå", unidentifiedDescriptionName = { "Unknown Item, can be identified by using a ^6666CCMagnifier^000000." }, identifiedDisplayName = "Valkyrie Manteau", identifiedResourceName = "¹ß۸®ÀǸÁÅä", identifiedDescriptionName = { "A manteau that is worn by the Valkyries, Odin's battle maidens.", "Indestructible (^009900except in upgrade attempts^000000).", "[^009900Mage,Acolyte,Archer,Gunslinger^000000]", "Perfect Dodge + 3", "Increases Perfect Dodge by (^009900upgrade level*2^000000).", "[^009900Swordsman,Thief,Merchant,Taekwon,Nina^000000]", "Reflect 3% melee damage back to enemies.", "Increases percentage reflect damage by (^009900upgrade level*2^000000).", "Class:^6666CC Garment ^000000", "Defense:^0000FF 3 ^000000", "Weight:^009900 50 ^000000", "Jobs:^6666CC All Transcendent classes except Novice ^000000", }, slotCount = 1, ClassNum = 0 }, [2421] = { unidentifiedDisplayName = "Shoes", unidentifiedResourceName = "½´Áî", unidentifiedDescriptionName = { "Unknown Item, can be identified by using a ^6666CCMagnifier^000000." }, identifiedDisplayName = "Valkyrie Shoes", identifiedResourceName = "¹ß۸®Àǽ´Áî", identifiedDescriptionName = { "A pair of shoes worn by the Valkyries, Odin's battle maidens.", "These shoes grow more powerful as the wearer improves his own abilities.", "Gain immunity to ^009900Sleep^000000 status.", "MDEF +5", "HP&SP +15%", "[^009900Refine Rate 6-10^000000]", "Additional 2% HP&SP per refine level.", "Enables faster walking speed (^009900Moonlight Card Effect^000000)", "Indestructible (^009900except in upgrade attempts^000000).", "Class:^6666CC Footgear ^000000", "Defense:^0000FF 4 ^000000", "Weight:^009900 50 ^000000", "Jobs:^6666CC All Transcendent classes except Novice ^000000", }, slotCount = 1, ClassNum = 0 }, }, [2115] = { unidentifiedDisplayName = "Shield", unidentifiedResourceName = "°¡µå", unidentifiedDescriptionName = { "Unknown Item, can be identified by using a ^6666CCMagnifier^000000." }, identifiedDisplayName = "Valkyrie Shield", identifiedResourceName = "¹ß۸®¾Æ½¯µå", identifiedDescriptionName = { "A shield used by Gna, the messenger of Freyja, when she served as a Valkyrie.", "Add a 10% resistance against Water, Fire, Shadow and Undead Property.", "MDEF +5", "Adds a 5% Resistance against Neutral Property", "Class:^6666CC Shield ^000000", "Defense:^0000FF 3 ^000000", "Weight:^009900 50 ^000000", "Level Requirement:^009900 65 ^000000", "Jobs:^6666CC All Transcendent classes except Novice ^000000", }, slotCount = 1, ClassNum = 4 }, Thankyou Quote Link to comment Share on other sites More sharing options...
0 Ukiram Posted April 17, 2019 Group: Members Topic Count: 45 Topics Per Day: 0.02 Content Count: 291 Reputation: 27 Joined: 12/16/17 Last Seen: December 19, 2023 Author Share Posted April 17, 2019 Can you make me script item effecto of that in item_db.txt? Quote Link to comment Share on other sites More sharing options...
0 Athan17 Posted April 17, 2019 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 57 Reputation: 16 Joined: 09/26/16 Last Seen: August 16, 2020 Share Posted April 17, 2019 (edited) Untested, basically this is the idea taken from the current rathena docs and item_db.txt If something doesn't work, you can easily check which one didn't work. item_db 2357 { bonus bAllStats,3; bonus bUnbreakableArmor; } 2524 { bonus bUnbreakableGarment; if(BaseClass==Job_Mage||BaseClass==Job_Archer||BaseClass==Job_Acolyte) bonus bFlee2,3+(getequiprefinerycnt(EQI_GARMENT)*2); else if(BaseClass==Job_Swordman||BaseClass==Job_Merchant||BaseClass==Job_Thief) bonus bShortWeaponDamageReturn,3+(getequiprefinerycnt(EQI_GARMENT)*2); } 2421 { bonus2 bResEff,Eff_Sleep,100; bonus bMaxHPrate,15; bonus bMaxSPrate,15; bonus bMdef,5; .@r = getequiprefinerycnt(EQI_SHOES); if(.@r > 5) bonus bMaxHPrate,2*.@r; if(.@r > 5) bonus bMaxSPrate,2*.@r; bonus bSpeedRate,25; bonus bUnbreakableShoes; } 2115 { bonus2 bSubEle,Ele_Water,10; bonus2 bSubEle,Ele_Fire,10; bonus2 bSubEle,Ele_Dark,10; bonus2 bSubEle,Ele_Undead,10; bonus bMdef,5; bonus2 bSubEle,Ele_Neutral,5; } item_combo_db 2357:2524:2421, { bonus bMaxHPrate,10; bonus bMaxSPrate,10; bonus bAtkRate,3; bonus bMatkRate,3; bonus bMaxHPrate,(getequiprefinerycnt(EQI_ARMOR)/2); } Source: https://raw.githubusercontent.com/rathena/rathena/master/db/re/item_db.txt https://github.com/rathena/rathena/blob/master/db/re/item_combo_db.txt Docs: https://github.com/rathena/rathena/blob/master/doc/item_db.txt https://github.com/rathena/rathena/blob/master/doc/item_bonus.txt Edited April 17, 2019 by Athan17 update2 Quote Link to comment Share on other sites More sharing options...
Question
Ukiram
Good Day, Can i Request Item Effect Script??
Here's my lua file description
Thankyou
Link to comment
Share on other sites
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.