Jump to content
  • 0

Status Icon without timer


WhiteEagle

Question


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  461
  • Reputation:   61
  • Joined:  08/28/12
  • Last Seen:  

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,

 

Pneuma.PNG

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  141
  • Reputation:   45
  • Joined:  08/14/12
  • Last Seen:  

Add it to the list of permanent effects in source, status.cpp:status_change_start::L9347. The tick has to be -1.

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  141
  • Reputation:   45
  • Joined:  08/14/12
  • Last Seen:  

in the StateIconList, remove the references to time.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  461
  • Reputation:   61
  • Joined:  08/28/12
  • Last Seen:  

I have already tested that. Only the description of the time display is removed.

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  141
  • Reputation:   45
  • Joined:  08/14/12
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  461
  • Reputation:   61
  • Joined:  08/28/12
  • Last Seen:  

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." }
    }
}
 

 

 

Pneuma.PNG

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  141
  • Reputation:   45
  • Joined:  08/14/12
  • Last Seen:  

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 by Nitrous
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  461
  • Reputation:   61
  • Joined:  08/28/12
  • Last Seen:  

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" }
    }
}

 

Pneuma.PNG

Edited by WhiteEagle
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  461
  • Reputation:   61
  • Joined:  08/28/12
  • Last Seen:  

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. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...