Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- ["outline"] = true,
- ["fontSize"] = 25,
- ["xOffset"] = -229.99877929688,
- ["displayText"] = "%n",
- ["yOffset"] = -105.00009155273,
- ["regionType"] = "text",
- ["customTextUpdate"] = "update",
- ["init_completed"] = 1,
- ["actions"] = {
- ["start"] = {
- },
- ["init"] = {
- ["do_custom"] = true,
- ["custom"] = "aura_env.pGUID = UnitGUID(\"player\");\naura_env.counter = 0;\n\naura_env.GetExplosionMultiplier = function()\n for i=13,14 do\n local name, _, _, iLevel = GetItemInfo(GetInventoryItemLink(\"player\", i));\n if name == \"Soul Capacitor\" then\n aura_env.equipped = true;\n aura_env.multiplier = 1 + 0.2677 * 1.15^((iLevel-695)/15);\n return;\n end\n end\n aura_env.equipped = false;\nend\n\naura_env.GetExplosionMultiplier();",
- },
- ["finish"] = {
- },
- },
- ["disjunctive"] = "all",
- ["additional_triggers"] = {
- [1] = {
- ["trigger"] = {
- ["subeventPrefix"] = "SPELL",
- ["type"] = "aura",
- ["spellIds"] = {
- },
- ["subeventSuffix"] = "_CAST_START",
- ["unit"] = "player",
- ["names"] = {
- [1] = "Spirit Shift",
- },
- ["event"] = "Health",
- ["debuffType"] = "HELPFUL",
- },
- ["untrigger"] = {
- },
- },
- },
- ["justify"] = "LEFT",
- ["animation"] = {
- ["start"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["main"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["finish"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- },
- ["trigger"] = {
- ["custom_hide"] = "timed",
- ["type"] = "custom",
- ["unevent"] = "auto",
- ["subeventSuffix"] = "_CAST_START",
- ["subeventPrefix"] = "SPELL",
- ["unit"] = "player",
- ["event"] = "Health",
- ["names"] = {
- [1] = "Spirit Shift",
- },
- ["spellIds"] = {
- },
- ["customName"] = "function()\n if aura_env.counter and aura_env.multiplier then\n local v = aura_env.counter * aura_env.multiplier\n if v < 1e6 then\n return string.format(\"%dk\", v/1e3);\n else\n return string.format(\"%.2fm\", v/1e6)\n end\n end\n return \"0\";\nend",
- ["custom"] = "function(e, _, event, _, src, _, _, _, _, _, _, _, ...)\n if e == \"COMBAT_LOG_EVENT_UNFILTERED\" then\n if aura_env.equipped and src == aura_env.pGUID then\n if event == \"SPELL_ABSORBED\" then\n local aID, amount;\n \n if type(...) == \"number\" then -- spell_damage\n _, _, _, _, _, _, _, aID, _, _, amount = ...;\n else -- swing_damage\n _, _, _, _, aID, _, _, amount = ...;\n end\n \n if aID == 184553 then -- Spirit Shift\n aura_env.counter = aura_env.counter + amount;\n end\n elseif event == \"SPELL_AURA_REMOVED\" and ... == 184293 then\n -- boom\n aura_env.counter = 0;\n end\n end\n else\n aura_env.GetExplosionMultiplier();\n end\n \n return true\nend\n\n\n\n\n\n\n\n\n\n",
- ["events"] = "COMBAT_LOG_EVENT_UNFILTERED, PLAYER_EQUIPMENT_CHANGED",
- ["check"] = "event",
- ["use_unit"] = true,
- ["custom_type"] = "status",
- ["debuffType"] = "HELPFUL",
- },
- ["anchorPoint"] = "CENTER",
- ["frameStrata"] = 1,
- ["width"] = 121.99999237061,
- ["id"] = "Spirit Shift amount",
- ["font"] = "MSBT Transformers",
- ["numTriggers"] = 2,
- ["color"] = {
- [1] = 1,
- [2] = 1,
- [3] = 1,
- [4] = 1,
- },
- ["height"] = 24.999988555908,
- ["selfPoint"] = "BOTTOM",
- ["load"] = {
- ["difficulty"] = {
- ["multi"] = {
- },
- },
- ["race"] = {
- ["multi"] = {
- },
- },
- ["talent"] = {
- ["multi"] = {
- },
- },
- ["faction"] = {
- ["multi"] = {
- },
- },
- ["class"] = {
- ["multi"] = {
- },
- },
- ["spec"] = {
- ["multi"] = {
- },
- },
- ["role"] = {
- ["multi"] = {
- },
- },
- ["size"] = {
- ["multi"] = {
- },
- },
- },
- ["untrigger"] = {
- },
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement