Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {['playSoundWhen'] = "Any",['iconScale'] = 2.7999999523163,['iconEnabled'] = true,['iconSprite'] = "icon_Circle",['iconSound'] = 166,['iconPosition'] = {['left'] = -221,['top'] = -229,},['SimpleMode'] = false,['onlyInCombat'] = false,['iconName'] = "IA tracker for: Dreadphage Ohmna",['showWhen'] = "Any",['iconText'] = {[1] = {['textFont'] = "Subtitle",['textAnchor'] = "C",['textString'] = "{stacks}",['textFontColor'] = {[1] = 1,[2] = 1,[3] = 1,[4] = 1,},},[2] = {['textFont'] = "CRB_FloaterSmall",['textAnchor'] = "OB",['textString'] = "{time}",['textFontColor'] = {[1] = 1,[2] = 1,[3] = 1,[4] = 1,},},},['iconBackground'] = true,['Triggers'] = {[1] = {['Type'] = "Scriptable",['Name'] = "Trigger 1",['TriggerDetails'] = {['Script'] = "if not trigger.Loaded then\
- local name = trigger.Icon:GetName()\
- name = name:sub(16)\
- if name:sub(0,1) == \" \" then name = name:sub(2) end -- handle at lest one whitespace\
- trigger.tMyData = {}\
- trigger.Loaded = true\
- trigger.OnUnitCreated = (function(self, unit)\
- -- if you change the name of the aura to track another mob you need to reloadui\
- if unit:GetName() == name then\
- trigger.tMyData.unit = unit\
- end\
- end)\
- Apollo.RegisterEventHandler(\"UnitCreated\", \"OnUnitCreated\", trigger)\
- end\
- \
- local unit = trigger.tMyData.unit\
- if unit then\
- local nIA = unit:GetInterruptArmorMax()\
- if nIA then\
- trigger.Stacks = nIA\
- return nIA > 0\
- end\
- end\
- \
- ",},['TriggerEffects'] = {},['Behaviour'] = "Pass",},},['iconOverlay'] = {['overlayColor'] = {[1] = 1,[2] = 0,[3] = 0,[4] = 0.75,},['overlayStyle'] = "Radial",['overlayShape'] = "Solid",},['iconColor'] = {[1] = 1,[2] = 0,[3] = 0,[4] = 1,},['actionSets'] = {[1] = true,[2] = true,[3] = true,[4] = true,},['iconBorder'] = true,}
Advertisement