Golem1988 Posted October 12, 2012 Posted October 12, 2012 When Players use elemental weapon enchants the icon with timer won't show. How to fix this? So, I just want players can see how much time left till elemental enchantment will end. Quote
Bin4ry Posted October 12, 2012 Posted October 12, 2012 I thought Emistry answered you here: http://rathena.org/board/topic/71703-aspersion-scroll-wont-show-when-used/ Quote
Golem1988 Posted October 13, 2012 Author Posted October 13, 2012 (edited) Whoops, thanks )) But, this didn't help (( Edited October 13, 2012 by Golem1988 Quote
Bin4ry Posted October 13, 2012 Posted October 13, 2012 Alright, first you have to prepare your .TGA files (24bit/pixel) and put it in /data/texture/effect/ Open up status.c and add these line before line 761. StatusIconChangeTable[sC_ENCHANTARMS] = SI_ENCHANTARMS; StatusIconChangeTable[sC_ARMOR_ELEMENT] = SI_ARMOR_ELEMENT; StatusIconChangeTable[sC_ARMOR_RESIST] = SI_ARMOR_RESIST; Then open up status.h and add these line after line 1348. SI_ENCHANTARMS = 900, // Elemental Converter SI_ARMOR_ELEMENT = 901, // Resist Potion SI_ARMOR_RESIST = 902, // Undead Scroll Now you will need a clean stateiconinfo.lua, efstids.lua and stateiconimginfo.lua from here. For efstids.lua EFST_ENCHANTARMS = 900, EFST_ARMOR_ELEMENT = 901, EFST_ARMOR_RESIST = 902, Now stateiconinfo.lua StateIconList[EFST_IDs.EFST_ENCHANTARMS] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { {"Enchant Weapon", COLOR_TITLE_BUFF}, {"%s", COLOR_TIME}, {"Temporarily enchants property to the user's weapon."}, } } StateIconList[EFST_IDs.EFST_ARMOR_ELEMENT] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { {"Enchant Armor", COLOR_TITLE_BUFF}, {"%s", COLOR_TIME}, {"Temporarily enchants property to the user's armor."} } } StateIconList[EFST_IDs.EFST_ARMOR_RESIST] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { {"Enchant Resistance", COLOR_TITLE_BUFF}, {"%s", COLOR_TIME}, {"Temporarily grants resistance to Fire/Water/Wind/Earth property attack."} } } Now is stateiconimginfo.lua [EFST_IDs.EFST_ENCHANTARMS] = "ENCHANTARMS.TGA", [EFST_IDs.EFST_ARMOR_ELEMENT] = "ARMOR_ELEMENT.TGA", [EFST_IDs.EFST_ARMOR_RESIST] = "ARMOR_RESIST.TGA", P/S: Not sure why it has to be added in stateiconimginfo.lua but last time I tested without adding field into it the images wouldn't show. 2 Quote
nanakiwurtz Posted October 19, 2012 Posted October 19, 2012 +1 darristan for this new knowledge, thanks Quote
Bin4ry Posted October 19, 2012 Posted October 19, 2012 I do have drew some icons for these 3 skills, might release later Quote
nanakiwurtz Posted October 19, 2012 Posted October 19, 2012 Until then, I'll just copy and edit the an existing tga file. Quote
Bin4ry Posted October 19, 2012 Posted October 19, 2012 I'm not home, maybe 2 hours later I will upload if I got home Quote
Question
Golem1988
When Players use elemental weapon enchants the icon with timer won't show. How to fix this?
So, I just want players can see how much time left till elemental enchantment will end.
8 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.