• 0

    posted a message on Deus Vox Encounters
    Hi, my guild is currently working on Heroic Sindragosa and we modified the Encounters.lua phase 2 positions to match our strategy. The base file was from v471, but comparing the Sindragosa portion to v477 there doesn't appear to be any changes aside from a small Instability modification.

    Our problem is that half the time the arrows and "MOVE XX XX" notifications do not show up even though all 6 symbols are correctly assigned. I'm wondering if it has anything to do with this line?

    "scheduletimer",{"checkbeacon",0.2}, -- allow time for raid icon to set


    We plan on changing 0.2 to 1 before we go back at it. Anyways, any assistance you can give me would be appreciated. The Encounters.lua I am using is located at http://www.woodle.org/files/Encounters.lua (except we modified the version number to 35 to distribute it)

    Sindragosa Encounter:

    ---------------------------------
    -- SINDRAGOSA
    ---------------------------------
    
    do
    	local data = {
    		version = 33,
    		key = "sindragosa",
    		zone = L.zone["Icecrown Citadel"],
    		category = L.zone["Citadel"],
    		name = L.npc_citadel["Sindragosa"],
    		triggers = {
    			scan = {36853}, -- Sindragosa
    		},
    		onactivate = {
    			tracerstart = true,
    			combatstop = true,
    			tracing = {36853}, -- Sindragosa
    			defeat = 36853, -- Sindragosa
    		},
    		userdata = {
    			chilledtext = "",
    			airtime = {50,110,loop = false, type = "series"},
    			phase = "1",
    			instabilitytext = "",
    			unchainedtime = 30,
    			frostbeacontext = "",
    			icygriptime = {33.8,67.2, loop = false, type = "series"},
    			bombcount = "1",
    			instabilitytime = 8,
    		},
    		onstart = {
    			{
    				"alert","enragecd",
    				"alert","aircd",
    			},
    			{
    				"expect",{"&difficulty&",">=","3"},
    				"set",{instabilitytime = 5},
    			},
    		},
    		alerts = {
    			enragecd = {
    				varname = L.alert["Enrage"],
    				type = "dropdown",
    				text = L.alert["Enrage"],
    				time = 600,
    				flashtime = 10,
    				color1 = "RED",
    				icon = ST[12317],
    			},
    			icetombwarn = {
    				varname = format(L.alert["%s Casting"],SN[69712]),
    				type = "centerpopup",
    				text = format(L.alert["%s Casting"],SN[69712]),
    				time = 1,
    				flashtime = 1,
    				color1 = "INDIGO",
    				sound = "ALERT1",
    				icon = ST[69712],
    			},
    			frostbeacondur = {
    				varname = format(L.alert["%s Duration"],SN[70126]),
    				type = "centerpopup",
    				text = "<frostbeacontext>",
    				time = 7,
    				flashtime = 7,
    				color1 = "GOLD",
    				throttle = 2,
    				icon = ST[70126],
    			},
    			frostbeaconself = {
    				varname = format(L.alert["%s on self"],SN[70126]),
    				type = "simple",
    				text = format("%s: %s!",SN[70126],L.alert["YOU"]).."!",
    				time = 3,
    				icon = ST[70126],
    				sound = "ALERT7",
    				flashscreen = true,
    			},
    			icygripcd = {
    				varname = format(L.alert["%s Cooldown"],SN[70117]),
    				type = "dropdown",
    				text = format(L.alert["%s Cooldown"],SN[70117]),
    				time = "<icygriptime>",
    				flashtime = 10,
    				color1 = "GREY",
    				icon = ST[70117],
    			},
    			blisteringcoldwarn = {
    				varname = format(L.alert["%s Casting"],SN[71047]),
    				type = "centerpopup",
    				text = format(L.alert["%s Casting"],SN[71047]),
    				time = 5,
    				flashtime = 5,
    				color1 = "ORANGE",
    				sound = "ALERT2",
    				icon = ST[71047],
    			},
    			unchainedself = {
    				varname = format(L.alert["%s on self"],SN[69762]),
    				type = "centerpopup",
    				text = format("%s: %s! %s!",SN[69762],L.alert["YOU"],L.alert["CAREFUL"]),
    				time = 30,
    				flashtime = 30,
    				color1 = "TURQUOISE",
    				flashscreen = true,
    				sound = "ALERT3",
    				icon = ST[69762],
    			},
    			unchainedcd = {
    				varname = format(L.alert["%s Cooldown"],SN[69762]),
    				type = "dropdown",
    				text = format(L.alert["%s Cooldown"],SN[69762]),
    				time = "<unchainedtime>",
    				flashtime = 10,
    				color1 = "WHITE",
    				sound = "ALERT5",
    				icon = ST[69762],
    			},
    			instabilityself = {
    				varname = format(L.alert["%s on self"],SN[69766]),
    				type = "centerpopup",
    				text = "<instabilitytext>",
    				time = "<instabilitytime>",
    				flashtime = 4,
    				color1 = "VIOLET",
    				icon = ST[69766],
    			},
    			chilledstackself = {
    				varname = format(L.alert["%s Stacks"],L.alert["Chilled"]).." == 4",
    				type = "simple",
    				text = format("%d "..L.alert["%s Stacks"].."! %s!",4,L.alert["Chilled"],L.alert["CAREFUL"]),
    				time = 3,
    				color1 = "CYAN",
    				icon = ST[70106],
    				flashscreen = true,
    			},
    			chilledself = {
    				varname = format(L.alert["%s on self"],L.alert["Chilled"]),
    				type = "centerpopup",
    				text = "<chilledtext>",
    				time = 8,
    				flashtime = 8,
    				color1 = "CYAN",
    				icon = ST[70106],
    			},
    			aircd = {
    				varname = format(L.alert["%s Cooldown"],L.alert["Air Phase"]),
    				type = "dropdown",
    				text = format("Next %s",L.alert["Air Phase"]),
    				time = "<airtime>",
    				flashtime = 10,
    				color1 = "YELLOW",
    				icon = "Interface\\Icons\\INV_Misc_Toy_09",
    			},
    			airdur = {
    				varname = format(L.alert["%s Duration"],L.alert["Air Phase"]),
    				type = "dropdown",
    				text = L.alert["Air Phase"],
    				time = 47,
    				flashtime = 10,
    				color1 = "MAGENTA",
    				icon = "Interface\\Icons\\INV_Misc_Toy_09",
    			},
    			frostbombwarn = {
    				varname = format(L.alert["%s ETA"],SN[71053]),
    				type = "centerpopup",
    				text = format(L.alert["%s Hits"],SN[71053]).." <bombcount>",
    				time = 5.85, -- average: ranges from 5.3 to 6.5
    				flashtime = 5.85,
    				color1 = "BLUE",
    				sound = "ALERT5",
    				icon = ST[71053],
    				throttle = 3,
    			},
    			-- 6.4 until frost bomb is summoned
    			frostbreathwarn = {
    				varname = format(L.alert["%s Casting"],SN[71056]),
    				type = "centerpopup",
    				text = format(L.alert["%s Casting"],SN[71056]),
    				time = 1.5,
    				flashtime = 1.5,
    				color1 = "BROWN",
    				sound = "ALERT4",
    				icon = ST[71056],
    			},
    			mysticbuffetcd = {
    				varname = format(L.alert["%s Timer"],SN[72528]),
    				type = "centerpopup",
    				text = format(L.alert["Next %s"],SN[72528]),
    				time = 6,
    				color1 = "PINK",
    				icon = ST[72528],
    				throttle = 4,
    			},
    		},
    		windows = {
    			proxwindow = true,
    		},
    		raidicons = {
    			frostbeaconmark = {
    				varname = SN[70126],
    				type = "MULTIFRIENDLY",
    				persist = 7,
    				reset = 2,
    				unit = "#5#",
    				icon = 1,
    				total = 6,
    			},
    		},
    		arrows = {
    			frontcenterarrow = {
    				varname = format(L.alert["%s Beacon Position"],L.alert["Front"].." "..L.alert["Center"]),
    				unit = "player",
    				persist = 7,
    				action = "TOWARD",
    				msg = L.alert["MOVE FRONT CENTER"],
    				spell = L.alert["Front"].." "..L.alert["Center"],
    				fixed = true,
    				xpos = 0.366,
    				ypos = 0.174,
    			},
    			frontrightarrow = {
    				varname = format(L.alert["%s Beacon Position"],L.alert["Front"].." "..L.alert["Right"]),
    				unit = "player",
    				persist = 7,
    				action = "TOWARD",
    				msg = L.alert["MOVE FRONT RIGHT"],
    				spell = L.alert["Front"].." "..L.alert["Right"],
    				fixed = true,
    				xpos = 0.353,
    				ypos = 0.174,
    			},
    			backcenterarrow = {
    				varname = format(L.alert["%s Beacon Position"],L.alert["Back"].." "..L.alert["Center"]),
    				unit = "player",
    				persist = 7,
    				action = "TOWARD",
    				msg = L.alert["MOVE BACK CENTER"],
    				spell = L.alert["Back"].." "..L.alert["Center"],
    				fixed = true,
    				xpos = 0.366,
    				ypos = 0.161,
    			},
    			frontleftarrow = {
    				varname = format(L.alert["%s Beacon Position"],L.alert["Front"].." "..L.alert["Left"]),
    				unit = "player",
    				persist = 7,
    				action = "TOWARD",
    				msg = L.alert["MOVE FRONT LEFT"],
    				spell = L.alert["Front"].." "..L.alert["Left"],
    				fixed = true,
    				xpos = 0.379,
    				ypos = 0.174,
    			},
    			backleftarrow = {
    				varname = format(L.alert["%s Beacon Position"],L.alert["Back"].." "..L.alert["Left"]),
    				unit = "player",
    				persist = 7,
    				action = "TOWARD",
    				msg = L.alert["MOVE BACK LEFT"],
    				spell = L.alert["Back"].." "..L.alert["Left"],
    				fixed = true,
    				xpos = 0.379,
    				ypos = 0.161,
    			},
    			backrightarrow = {
    				varname = format(L.alert["%s Beacon Position"],L.alert["Back"].." "..L.alert["Right"]),
    				unit = "player",
    				persist = 7,
    				action = "TOWARD",
    				msg = L.alert["MOVE BACK RIGHT"],
    				spell = L.alert["Back"].." "..L.alert["Right"],
    				fixed = true,
    				xpos = 0.353,
    				ypos = 0.161,
    			},
    			beaconarrow = {
    				varname = format("%s %s",SN[70126],L.alert["Phase Three"]),
    				unit = "#5#",
    				persist = 7,
    				action = "AWAY",
    				msg = L.alert["MOVE AWAY"],
    				spell = SN[70126],
    			},
    		},
    		timers = {
    			checkbeacon = {
    				{
    					-- This is dependent on multi raid icons being set and consistent across all users
    					-- "Front" and "Back" assumes the player is looking from the North towards the South.
    					-- Icon positioning is the following:
    					-- 2    3    1
    					--
    					-- 5    4    6
    					"expect",{"&playerdebuff|"..SN[70126].."&","==","true"},
    					"invoke",{
    						{
    							"expect",{"&hasicon|player|1&","==","true"}, -- Skull
    							"arrow","frontrightarrow",
    						},
    						{
    							"expect",{"&hasicon|player|2&","==","true"}, -- Cross
    							"arrow","frontleftarrow",
    						},
    						{
    							"expect",{"&hasicon|player|3&","==","true"}, -- Square
    							"arrow","frontcenterarrow",
    						},
    						{
    							"expect",{"&hasicon|player|4&","==","true"}, -- Moon
    							"arrow","backcenterarrow",
    						},
    						{
    							"expect",{"&hasicon|player|5&","==","true"}, -- Triangle
    							"arrow","backleftarrow",
    						},
    						{
    							"expect",{"&hasicon|player|6&","==","true"}, -- Diamond
    							"arrow","backrightarrow",
    						},
    					},
    				},
    			},
    			firefrostbomb = {
    				{
    					"set",{bombcount = "INCR|1"},
    					"alert","frostbombwarn",
    					"expect",{"<bombcount>","<","4"},
    					"scheduletimer",{"firefrostbomb",6.4},
    				},
    			},
    		},
    		events = {
    			-- Mystic Buffet
    			{
    				type = "combatevent",
    				eventtype = "SPELL_AURA_APPLIED",
    				spellid = {
    					72529,
    					70127,
    					72528, -- 25
    					72530, -- 25h
    				},
    				execute = {
    					{
    						"expect",{"&timeleft|mysticbuffetcd&","<","3"},
    						"quash","mysticbuffetcd",
    					},
    					{
    						"alert","mysticbuffetcd",
    					},
    				},
    			},
    			-- Mystic Buffet
    			{
    				type = "combatevent",
    				eventtype = "SPELL_AURA_APPLIED_DOSE",
    				spellid = {
    					72529,
    					70127,
    					72528, -- 25
    					72530, -- 25h
    				},
    				execute = {
    					{
    						"expect",{"&timeleft|mysticbuffetcd&","<","3"},
    						"quash","mysticbuffetcd",
    					},
    					{
    						"alert","mysticbuffetcd",
    					},
    				},
    			},
    			{
    				type = "event",
    				event = "YELL",
    				execute = {
    					-- Air phase
    					{
    						"expect",{"#1#","find",L.chat_citadel["^Your incursion ends here"]},
    						"quash","aircd",
    						"quash","unchainedcd",
    						"set",{unchainedtime = 55},
    						"alert","unchainedcd",
    						"set",{unchainedtime = 30},
    						"alert","aircd",
    						"alert","airdur",
    					},
    					-- Last Phase
    					{
    						"expect",{"#1#","find",L.chat_citadel["^Now, feel my master's limitless power"]},
    						"set",{phase = "2", unchainedtime = 80},
    						"quash","aircd",
    						"alert","icygripcd",
    						"tracing",{36853,36980}, -- Sindragosa, Ice Tomb
    					},
    				},
    			},
    			-- Ice Tomb
    			{
    				type = "combatevent",
    				eventtype = "SPELL_CAST_START",
    				spellid = {
    					69712, -- 10,25,25h
    				},
    				execute = {
    					{
    						"alert","icetombwarn",
    					},
    				},
    			},
    			-- Ice Tomb app
    			{
    				type = "combatevent",
    				eventtype = "SPELL_AURA_APPLIED",
    				spellid = 70157, -- 25,25h
    				execute = {
    					{
    						-- fires 2 to 5 times within 0.1 seconds
    						"expect",{"<phase>","==","1"},
    						"set",{bombcount = "1"},
    						"alert","frostbombwarn",
    						"scheduletimer",{"firefrostbomb",6.4},
    					},
    				},
    			},
    			-- Frost Beacon
    			{
    				type = "combatevent",
    				eventtype = "SPELL_AURA_APPLIED",
    				spellid = {
    					70126, -- 10,25,25h
    				},
    				execute = {
    					{
    						"expect",{"<phase>","==","1"},
    						"set",{frostbeacontext = format(L.alert["%s Duration"],SN[70126])},
    					},
    					{
    						"expect",{"<phase>","==","2"},
    						"invoke",{
    							{
    								"expect",{"#4#","~=","&playerguid&"},
    								"set",{frostbeacontext = format("%s: #5#!",SN[70126])},
    								"arrow","beaconarrow",
    							},
    							{
    								"expect",{"#4#","==","&playerguid&"},
    								"set",{frostbeacontext = format("%s: %s!",SN[70126],L.alert["YOU"])},
    							},
    						}
    					},
    					{
    						"raidicon","frostbeaconmark",
    						"alert","frostbeacondur",
    					},
    					{
    						"expect",{"#4#","==","&playerguid&"},
    						"alert","frostbeaconself",
    						"expect",{"<phase>","==","1"},
    						"invoke",{
    							{
    								"expect",{"&difficulty&","==","4"}, -- 25h
    								"scheduletimer",{"checkbeacon",0.2}, -- allow time for raid icon to set
    							},
    							{
    								"expect",{"&difficulty&","==","2"}, -- 25
    								"scheduletimer",{"checkbeacon",0.2}, -- allow time for raid icon to set
    							},
    						},
    					},
    				},
    			},
    			-- Frost Beacon removal
    			{
    				type = "combatevent",
    				eventtype = "SPELL_AURA_REMOVED",
    				spellid = {
    					70126, -- 10,25,25h
    				},
    				execute = {
    					{
    						"removeraidicon","#5#",
    					},
    				},
    			},
    			-- Icy Grip
    			{
    				type = "combatevent",
    				eventtype = "SPELL_CAST_SUCCESS",
    				spellid = {
    					70117, -- 10,25,25h
    				},
    				execute = {
    					{
    						"expect",{"<phase>","==","2"},
    						"alert","icygripcd",
    					},
    				},
    			},
    			-- Blistering Cold
    			{
    				type = "combatevent",
    				eventtype = "SPELL_CAST_START",
    				spellid = {
    					70123, -- 10
    					71048, -- 10h
    					71047, -- 25
    					71049, -- 25h
    				},
    				execute = {
    					{
    						"alert","blisteringcoldwarn",
    					},
    				},
    			},
    			-- Unchained Magic
    			{
    				type = "combatevent",
    				eventtype = "SPELL_CAST_SUCCESS",
    				spellid = {
    					69762, -- 10,25,25h
    				},
    				execute = {
    					{
    						"alert","unchainedcd",
    					},
    				},
    			},
    			-- Unchained Magic application
    			{
    				type = "combatevent",
    				eventtype = "SPELL_AURA_APPLIED",
    				spellid = {
    					69762, -- 10,25,25h
    				},
    				execute = {
    					{
    						"expect",{"#4#","==","&playerguid&"},
    						"alert","unchainedself",
    					},
    				},
    			},
    			-- Instability
    			{
    				type = "combatevent",
    				eventtype = "SPELL_AURA_APPLIED",
    				spellid = {
    					69766, -- 10,25,25h
    				},
    				execute = {
    					{
    						"expect",{"#4#","==","&playerguid&"},
    						"set",{instabilitytext = format("%s: %s!",SN[69766],L.alert["YOU"])},
    						"alert","instabilityself",
    					},
    				},
    			},
    			-- Instability applications
    			{
    				type = "combatevent",
    				eventtype = "SPELL_AURA_APPLIED_DOSE",
    				spellid = {
    					69766, -- 10,25,25h
    				},
    				execute = {
    					{
    						"expect",{"#4#","==","&playerguid&"},
    						"quash","instabilityself",
    						"set",{instabilitytext = format("%s: %s! %s!",SN[69766],L.alert["YOU"],format(L.alert["%s Stacks"],"#11#"))},
    						"alert","instabilityself",
    					},
    				},
    			},
    			-- Instability removal
    			{
    				type = "combatevent",
    				eventtype = "SPELL_AURA_REMOVED",
    				spellid = {
    					69766, -- 10,25,25h
    				},
    				execute = {
    					{
    						"expect",{"#4#","==","&playerguid&"},
    						"quash","instabilityself",
    					},
    				},
    			},
    			-- Chilled to the Bone
    			{
    				type = "combatevent",
    				eventtype = "SPELL_AURA_APPLIED",
    				spellid = {
    					70106, -- 10,25,25h
    				},
    				execute = {
    					{
    						"expect",{"#4#","==","&playerguid&"},
    						"set",{chilledtext = format("%s: %s!",L.alert["Chilled"],L.alert["YOU"])},
    						"alert","chilledself",
    					},
    				},
    			},
    			-- Chilled to the Bone applications
    			{
    				type = "combatevent",
    				eventtype = "SPELL_AURA_APPLIED_DOSE",
    				spellid = {
    					70106, -- 10,25,25h
    				},
    				execute = {
    					{
    						"expect",{"#4#","==","&playerguid&"},
    						"quash","chilledself",
    						"set",{chilledtext = format("%s: %s! %s!",L.alert["Chilled"],L.alert["YOU"],format(L.alert["%s Stacks"],"#11#"))},
    						"alert","chilledself",
    						"expect",{"#11#","==","4"},
    						"alert","chilledstackself",
    					},
    				},
    			},
    			--[[
    			-- Frost Bomb
    			{
    				type = "combatevent",
    				eventtype = "SPELL_SUMMON",
    				spellid = {
    					69845, -- 10
    					71053, -- 25
    				},
    				execute = {
    					{
    						"alert","frostbombwarn",
    					},
    				},
    			},
    			]]
    			-- Frost Breath
    			{
    				type = "combatevent",
    				eventtype = "SPELL_CAST_START",
    				spellid = {
    					69649, -- 10
    					71056, -- 25
    					71057, -- 10h
    					71058, -- 25h
    				},
    				execute = {
    					{
    						"alert","frostbreathwarn",
    					},
    				},
    			},
    		},
    	}
    
    	DXE:RegisterEncounter(data)
    end
    
    Posted in: Raid AddOns
  • To post a comment, please or register a new account.