EC: thorn / debuff timer

ForeverFunForeverFun Posts: 888
edited April 2023 in General Discussions
In EC (enhanced client), if you'd like a timer countdown for the next green thorn usage:

textparsing.lua

Add the below just above the "Anh Mi Sah Ko" case, in TextParsing.TimersNbuff()

		if ( SystemData.TextID == 1061914 ) then 				-- * You push the strange green thorn into the ground *
			WindowData.BuffDebuffSystem.CurrentBuffId = 1139	-- use magnus debuff icon.
			WindowData.BuffDebuff.NameVectorSize = 0
			WindowData.BuffDebuff.ToolTipVectorSize = 0
			BuffDebuff.Timers[1139] = 180						-- 3 minutes.
			BuffDebuff.ShouldCreateNewBuff()			
			return
		end

Comments

  • TimStTimSt Posts: 1,863
    Nice.  Thanks for the code.
  • poppspopps Posts: 4,013
    In EC (enhanced client), if you'd like a timer countdown for the next green thorn usage:

    textparsing.lua

    Add the below just above the "Anh Mi Sah Ko" case, in TextParsing.TimersNbuff()

    		if ( SystemData.TextID == 1061914 ) then 				-- * You push the strange green thorn into the ground *
    			WindowData.BuffDebuffSystem.CurrentBuffId = 1139	-- use magnus debuff icon.
    			WindowData.BuffDebuff.NameVectorSize = 0
    			WindowData.BuffDebuff.ToolTipVectorSize = 0
    			BuffDebuff.Timers[1139] = 180						-- 3 minutes.
    			BuffDebuff.ShouldCreateNewBuff()			
    			return
    		end

    May I ask a question ?

    If it was this easy, why this was not added by default, in both the EC and CC Clients, by the developers ?
  • GrimbeardGrimbeard Posts: 2,200
    popps said:
    In EC (enhanced client), if you'd like a timer countdown for the next green thorn usage:

    textparsing.lua

    Add the below just above the "Anh Mi Sah Ko" case, in TextParsing.TimersNbuff()

    		if ( SystemData.TextID == 1061914 ) then 				-- * You push the strange green thorn into the ground *
    			WindowData.BuffDebuffSystem.CurrentBuffId = 1139	-- use magnus debuff icon.
    			WindowData.BuffDebuff.NameVectorSize = 0
    			WindowData.BuffDebuff.ToolTipVectorSize = 0
    			BuffDebuff.Timers[1139] = 180						-- 3 minutes.
    			BuffDebuff.ShouldCreateNewBuff()			
    			return
    		end

    May I ask a question ?

    If it was this easy, why this was not added by default, in both the EC and CC Clients, by the developers ?
    They don't care 
  • keven2002keven2002 Posts: 2,253
    edited April 2023
    popps said:

    If it was this easy, why this was not added by default, in both the EC and CC Clients, by the developers ?

    That couldn't be added to CC because it doesn't operate the same way as EC. CC is pretty bad at displaying timers in general. If you have a buff like Enemy of One you have to hover over the icon in the buff bar (which takes you away from moving around) to get the timer instead of it just being a small number in the icon like I've seen in EC.

    I also wouldn't say it was "that easy" because half of us wouldn't have known to do that. Part of the reason it wasn't added by default is likely because the Dev team isn't actually playing the content (ie don't play the game) so a small QoL improvements like this aren't obvious.

  • gaygay Posts: 377
    Oh gee. Oh wow. Oh boy. Doing things in the EC that people cry is unfair to do on the CC.
  • ForeverFunForeverFun Posts: 888
    Had a chance to use this during the luck statue hour today, one change below, to allow the debuff icon to keep appearing (otherwise, it may only appear once if you're only doing eggs).

    		if ( SystemData.TextID == 1061914 ) then 				-- * You push the strange green thorn into the ground *
    			WindowData.BuffDebuffSystem.CurrentBuffId = 1139	-- use magnus debuff icon.
    			WindowData.BuffDebuff.NameVectorSize = 0
    			WindowData.BuffDebuff.ToolTipVectorSize = 0
    			WindowData.BuffDebuff.IsBeingRemoved = false
    			BuffDebuff.Timers[1139] = 180						-- 3 minutes.
    			BuffDebuff.ShouldCreateNewBuff()			
    			return
    		end
Sign In or Register to comment.