WhiteEagle Posted March 3, 2018 Group: Members Topic Count: 79 Topics Per Day: 0.02 Content Count: 480 Reputation: 67 Joined: 08/28/12 Last Seen: 4 hours ago Share Posted March 3, 2018 Hey, All works perfect, but I don't want to have the timer. Anyone an idea to add the Pneuma Status Icon without a timer? stateiconinfo.lub Spoiler StateIconList[EFST_IDs.EFST_PNEUMA] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { { "PNEUMA", COLOR_TITLE_BUFF }, { "%s", COLOR_TIME }, { "Reduce variable cast time by 80%" } } } stateiconimginfo.lub Spoiler [PRIORITY_WHITE] = { [EFST_IDs.EFST_PNEUMA] = "PNEUMA.TGA", efstids.lub Spoiler EFST_PNEUMA = 997, Quote Link to comment Share on other sites More sharing options...
0 nitrous Posted March 3, 2018 Group: Developer Topic Count: 4 Topics Per Day: 0.00 Content Count: 141 Reputation: 46 Joined: 08/14/12 Last Seen: Saturday at 07:07 AM Share Posted March 3, 2018 Add it to the list of permanent effects in source, status.cpp:status_change_start::L9347. The tick has to be -1. 1 Quote Link to comment Share on other sites More sharing options...
0 nitrous Posted March 3, 2018 Group: Developer Topic Count: 4 Topics Per Day: 0.00 Content Count: 141 Reputation: 46 Joined: 08/14/12 Last Seen: Saturday at 07:07 AM Share Posted March 3, 2018 in the StateIconList, remove the references to time. Quote Link to comment Share on other sites More sharing options...
0 WhiteEagle Posted March 3, 2018 Group: Members Topic Count: 79 Topics Per Day: 0.02 Content Count: 480 Reputation: 67 Joined: 08/28/12 Last Seen: 4 hours ago Author Share Posted March 3, 2018 I have already tested that. Only the description of the time display is removed. Quote Link to comment Share on other sites More sharing options...
0 nitrous Posted March 3, 2018 Group: Developer Topic Count: 4 Topics Per Day: 0.00 Content Count: 141 Reputation: 46 Joined: 08/14/12 Last Seen: Saturday at 07:07 AM Share Posted March 3, 2018 StateIconList[EFST_IDs.EFST_PNEUMA] = { descript = { { "PNEUMA", COLOR_TITLE_BUFF }, { "Reduce variable cast time by 80%" } } } This should work, it's the same as one without time. Quote Link to comment Share on other sites More sharing options...
0 WhiteEagle Posted March 3, 2018 Group: Members Topic Count: 79 Topics Per Day: 0.02 Content Count: 480 Reputation: 67 Joined: 08/28/12 Last Seen: 4 hours ago Author Share Posted March 3, 2018 11 minutes ago, Nitrous said: StateIconList[EFST_IDs.EFST_PNEUMA] = { descript = { { "PNEUMA", COLOR_TITLE_BUFF }, { "Reduce variable cast time by 80%" } } } This should work, it's the same as one without time. This is what i've now set: Spoiler StateIconList[EFST_IDs.EFST_PNEUMA] = { descript = { { "Pneuma", COLOR_TITLE_BUFF }, { "Prevents any ranged combat damage." } } } Quote Link to comment Share on other sites More sharing options...
0 nitrous Posted March 3, 2018 Group: Developer Topic Count: 4 Topics Per Day: 0.00 Content Count: 141 Reputation: 46 Joined: 08/14/12 Last Seen: Saturday at 07:07 AM Share Posted March 3, 2018 (edited) Interesting, can you show having EFST_BLESSING And EFST_WEIGHTOVER50, and what they look like in stateiconinfo.lub What's the full path of stateiconinfo.lub What's your client date ------------------------- I'm sure you can get around this by sending the duration of the SI as -1 to the client. Edited March 3, 2018 by Nitrous Quote Link to comment Share on other sites More sharing options...
0 WhiteEagle Posted March 3, 2018 Group: Members Topic Count: 79 Topics Per Day: 0.02 Content Count: 480 Reputation: 67 Joined: 08/28/12 Last Seen: 4 hours ago Author Share Posted March 3, 2018 (edited) Full path: data\luafiles514\lua files\stateicon\ Client Date: 2018-02-07 status.cpp Spoiler set_sc( AL_PNEUMA , SC_PNEUMA , SI_PNEUMA , SCB_NONE); Blessing: Spoiler StateIconList[EFST_IDs.EFST_BLESSING] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { { "Blessing", COLOR_TITLE_BUFF }, { "%s", COLOR_TIME }, { "Increases DEX, INT, STR" }, { "Recover from Curse and Stone Curse status" } } } Weight: Spoiler StateIconList[EFST_IDs.EFST_WEIGHTOVER50] = { descript = { { "Weight over 50%", COLOR_TITLE_DEBUFF }, { "Disables natural HP and SP regeneration" } } } Edited March 3, 2018 by WhiteEagle Quote Link to comment Share on other sites More sharing options...
0 WhiteEagle Posted March 3, 2018 Group: Members Topic Count: 79 Topics Per Day: 0.02 Content Count: 480 Reputation: 67 Joined: 08/28/12 Last Seen: 4 hours ago Author Share Posted March 3, 2018 6 minutes ago, Nitrous said: Add it to the list of permanent effects in source, status.cpp:status_change_start::L9347. The tick has to be -1. Omg. I love you. Thanks man. Quote Link to comment Share on other sites More sharing options...
Question
WhiteEagle
Hey,
All works perfect, but I don't want to have the timer.
Anyone an idea to add the Pneuma Status Icon without a timer?
stateiconinfo.lub
StateIconList[EFST_IDs.EFST_PNEUMA] = {
haveTimeLimit = 1,
posTimeLimitStr = 2,
descript = {
{ "PNEUMA", COLOR_TITLE_BUFF },
{ "%s", COLOR_TIME },
{ "Reduce variable cast time by 80%" }
}
}
stateiconimginfo.lub
[PRIORITY_WHITE] = {
[EFST_IDs.EFST_PNEUMA] = "PNEUMA.TGA",
efstids.lub
EFST_PNEUMA = 997,
Link to comment
Share on other sites
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.