Hi. So, I added status effect icons for the dancer and bard songs. I noticed that when a player enters the song, the status icon timer is the time the song would last. So, Poem of Bragi has a status icon that says it will last for 3 minutes, regardless of when the player entered the song. I'm trying to change it so that the timer will now say 20 seconds, and refresh every second, as it does for when a player is in the song effect. Since I can't find a timer in general on status.c, I'm not exactly sure where to start. Can someone help me? )X
Some additional information: It seems that when the player relogs while under the effects of Poem of Bragi, the timer is correct when they log back in. Showing a timer less than 20 seconds.
Question
Dragonis1701
Hi. So, I added status effect icons for the dancer and bard songs. I noticed that when a player enters the song, the status icon timer is the time the song would last. So, Poem of Bragi has a status icon that says it will last for 3 minutes, regardless of when the player entered the song. I'm trying to change it so that the timer will now say 20 seconds, and refresh every second, as it does for when a player is in the song effect. Since I can't find a timer in general on status.c, I'm not exactly sure where to start. Can someone help me? )X
Some additional information: It seems that when the player relogs while under the effects of Poem of Bragi, the timer is correct when they log back in. Showing a timer less than 20 seconds.
Edited by Dragonis1701Link to comment
Share on other sites
3 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.