content
stringlengths 5
1.05M
|
|---|
-- ========== THIS IS AN AUTOMATICALLY GENERATED FILE! ==========
PlaceObj('XTemplate', {
group = "Infopanel Sections",
id = "sectionWaterGrid",
PlaceObj('XTemplateTemplate', {
'__context', function (parent, context)
return context:IsKindOfClasses("WaterProducer", "WaterStorage") and context.water and context.water.grid
or context:IsKindOf("LifeSupportGridElement") and context.pillar and context.water and context.water.grid
end,
'__condition', function (parent, context) return context end,
'__template', "InfopanelSection",
'RolloverText', T{733271764708, --[[XTemplate sectionWaterGrid RolloverText]] "<UISectionWaterGridRollover>"},
'Title', T{542, --[[XTemplate sectionWaterGrid Title]] "Water grid"},
'Icon', "UI/Icons/Sections/life_support_grid.tga",
}, {
PlaceObj('XTemplateTemplate', {
'__template', "InfopanelText",
'Text', T{545, --[[XTemplate sectionWaterGrid Text]] "Water production<right><water(current_production)>"},
}),
PlaceObj('XTemplateTemplate', {
'__template', "InfopanelText",
'Text', T{332, --[[XTemplate sectionWaterGrid Text]] "Total demand<right><water(consumption)>"},
}),
PlaceObj('XTemplateTemplate', {
'__template', "InfopanelText",
'Text', T{333, --[[XTemplate sectionWaterGrid Text]] "Stored Water<right><water(current_storage)>"},
}),
}),
})
|
modifier_lich_frost_armor_lua = class({})
--------------------------------------------------------------------------------
-- Classifications
function modifier_lich_frost_armor_lua:IsHidden()
return true
end
function modifier_lich_frost_armor_lua:IsDebuff()
return false
end
function modifier_lich_frost_armor_lua:IsPurgable()
return false
end
--------------------------------------------------------------------------------
-- Initializations
function modifier_lich_frost_armor_lua:OnCreated( kv )
end
function modifier_lich_frost_armor_lua:OnRefresh( kv )
end
function modifier_lich_frost_armor_lua:OnDestroy( kv )
end
--------------------------------------------------------------------------------
-- Modifier Effects
function modifier_lich_frost_armor_lua:DeclareFunctions()
local funcs = {
MODIFIER_EVENT_ON_ATTACKED,
}
return funcs
end
function modifier_lich_frost_armor_lua:OnAttacked( params )
if IsServer() then
-- dont autocast if...
if not self:GetAbility():GetAutoCastState() then return end
if self:GetParent():IsChanneling() then return end
-- filter
local filter = UnitFilter(
params.unit,
DOTA_UNIT_TARGET_TEAM_FRIENDLY,
DOTA_UNIT_TARGET_HERO,
DOTA_UNIT_TARGET_FLAG_INVULNERABLE,
self:GetParent():GetTeamNumber()
)
if filter ~= UF_SUCCESS then return end
-- check if castable
if not self:GetAbility():IsFullyCastable() then return end
-- cast ability
-- self:GetParent():SetCursorCastTarget( params.unit )
self:GetParent():CastAbilityOnTarget( params.unit, self:GetAbility(), self:GetParent():GetPlayerOwnerID() )
end
end
|
-----------------------------------------------
-- SoraMame libraly of BMP for W4.00.03
-- Copyright (c) 2018, Saya
-- Original by max1220/lua-bitmap, Copyright (c) 2017 Max
-- 2019/03/21 rev.0.08 for Part load and udside down
-----------------------------------------------
local BMP = {}
function BMP:readWord(data, offset)
return data:byte(offset+1)*256 + data:byte(offset)
end
function BMP:readDword(data, offset)
return self:readWord(data, offset+2)*65536 + self:readWord(data, offset)
end
function BMP:writeWord(data, offset, value)
local s1 = offset>1 and data:sub(1, offset-1) or ""
local s2 = string.char(bit32.extract(value,0,8), bit32.extract(value,8,8))
local s3 = offset+1<#data and data:sub(offset+2,-1) or ""
return s1 .. s2 .. s3
end
function BMP:writeDword(data, offset, value)
local s = self:writeWord(data, offset+2, bit32.extract(value,16,16))
return self:writeWord(s, offset, bit32.extract(value,0,16))
end
function BMP:loadHeader(path, flat)
local fp = io.open(path, "rb")
if not fp then
return nil, "Can't open file!"
end
local header = fp:read(54)
fp:close()
if not self:readDword(header, 1) == 0x4D42 then -- Bitmap "magic" header
return nil, "Bitmap magic not found"
elseif self:readWord(header, 29) ~= 24
and self:readWord(header, 29) ~= 16
and self:readWord(header, 29) ~= 2 then -- Bits per pixel
return nil, "Only 24bpp or 16bpp or 2bpp bitmaps supported"
elseif self:readDword(header, 31) ~= 0 then -- Compression
return nil, "Only uncompressed bitmaps supported"
end
local bitmap = {}
bitmap.header = header
bitmap.width = self:readDword(header, 19)
bitmap.height = self:readDword(header, 23)
bitmap.bit = self:readWord(header, 29)
bitmap.flat = flat or 0 -- 1:data flat mode, 0:data array mode
return bitmap
end
function BMP:loadFile(path, flat)
local i
local bitmap, mes = BMP:loadHeader(path,flat)
if bitmap==nil then
return bitmap, mes
end
local fp = io.open(path, "rb")
if not fp then
return nil, "Can't open file!"
end
local offset = self:readDword(bitmap.header, 11)
local num = bitmap.width * bitmap.bit / 8
local inc = (-num)%4
local data = {}
fp:seek("set", offset)
for i=1, bitmap.height do
data[i] = fp:read(num)
fp:seek("cur",inc)
collectgarbage()
end
fp:close()
if bitmap.flat==1 then
bitmap.data = table.concat(data)
else
bitmap.data = data
end
collectgarbage()
return bitmap
end
function BMP:saveFile(path, bitmap)
local i
local fp = io.open(path, "wb")
if not fp then
return "Can't open file!"
end
local num = bitmap.width * bitmap.bit / 8
local gap = string.rep("\0", (-num)%4)
fp:write(bitmap.header)
for i=1, bitmap.height do
fp:write(bitmap.data[i])
if gap then fp:write(gap); end
collectgarbage()
end
fp:close()
collectgarbage()
return "OK"
end
function BMP:conv64K(param, ...)
local x, y, w, h, bg
local loadflg, bitmap, mes, path
local xbytes, offset, num, inc, fp
if param.data==nill then
loadflg = true
path = param
else
loadflg = false
bitmap = param
end
if loadflg then
bitmap, mes = BMP:loadHeader(path,0)
if bitmap==nil then
return bitmap, mes
end
end
local x1, x2, y1, y2, ws
local i, j, cx, cy, ch, cl, idx
local data, b, g, r
local bgcol, header, line
local cols = {}
local img = {}
local bw = bitmap.width
local bh = bitmap.height
local bb = bitmap.bit/8
local flat = bitmap.flat
local bx = bit32.extract
local dstData={}
if ...==nil then
x, y, w, h, bg = 0, 0, bw, bh, 0x0000
else
x, y, w, h, bg = ...
end
local ws = w + (-w)%4
bgcol = string.char(bx(bg,8,8), bx(bg,0,8))
header = bitmap.header
header = self:writeDword(header, 3, self:readDword(header,11) + ws*h*2) -- bfSize
header = self:writeDword(header, 29, 16) -- biBitCount
header = self:writeDword(header, 35, ws*h*2) -- biSizeImage
x1 = (x<0) and 0 or x
x2 = (x+w>=bw) and bw-1 or x+w-1
y1 = (y<0) and 0 or y
y2 = (y+h>=bh) and bh-1 or y+h-1
y1,y2 = bh-y2-1,bh-y1-1
if y1>=bh or y2<0 or x1>=bw or x2<0 then
for i=1, h do
dstData[i] = string.rep(bgcol,w)
end
return img
end
if loadflg then
xbytes = bitmap.width * bb
xbytes = xbytes + (-xbytes)%4
offset = self:readDword(bitmap.header, 11) + y1 * xbytes + x1 * bb
num = (x2-x1+1) * bb
inc = xbytes - num
fp = io.open(path, "rb")
if not fp then
return nil, "Can't open file!"
end
fp:seek("set", offset)
end
i = 1
for cy=bh, y+h-1 do
dstData[i] = string.rep(bgcol,w)
i = i+1
end
for cy=y1, y2 do
if x<0 then
line = string.rep(bgcol,-x)
else
line = ""
end
if loadflg then
idx = 1
data = fp:read(num)
fp:seek("cur",inc)
else
idx = 3*x1+1
if flat==0 then
data = bitmap.data[cy+1]
else
data = bitmap.data:sub(cy*bw*bb+1,(cy+1)*bw*bb)
end
end
for i=0, x2-x1 do
b,g,r = data:byte(idx,idx+2)
ch=bx(b,3,5)*8+bx(g,5,3)
cl=bx(g,2,3)*32+bx(r,3,5)
cols[i*2+1],cols[i*2+2]=ch,cl
idx=idx+3
end
line = line .. string.char(table.unpack(cols))
if x2-x+1 < w then
line = line .. string.rep(bgcol,w-(x2-x+1))
end
dstData[i] = line
i = i+1
collectgarbage()
end
for cy=y, -1 do
dstData[i] = string.rep(bgcol,w)
i = i+1
end
if loadflg then
fp:close()
end
collectgarbage()
img.header = header
img.width = w
img.height = h
img.bit = 16
img.flat = flat
if flat==1 then
img.data = table.concat(dstData)
else
img.data = dstData
end
collectgarbage()
return img
end
collectgarbage()
return BMP
|
return {'wopke','wopereis','woppenkamp','wopkes'}
|
return{
name = "alcohol",
description = "Alcohol",
type = "consumable",
MAX_ITEMS = 10,
info = "please drink responsibly",
width = 24,
consumable = {alcohol = true},
}
|
return {
mod_description = {
en = "MaxProperties description"
},
}
|
local ObjectManager = require("managers.object.object_manager")
local QuestManager = require("managers.quest.quest_manager")
VillageJediManagerCommon = ScreenPlay:new {
forceSensitiveBranches = {
"force_sensitive_combat_prowess_ranged_accuracy",
"force_sensitive_combat_prowess_ranged_speed",
"force_sensitive_combat_prowess_melee_accuracy",
"force_sensitive_combat_prowess_melee_speed",
"force_sensitive_enhanced_reflexes_ranged_defense",
"force_sensitive_enhanced_reflexes_melee_defense",
"force_sensitive_enhanced_reflexes_vehicle_control",
"force_sensitive_enhanced_reflexes_survival",
"force_sensitive_crafting_mastery_experimentation",
"force_sensitive_crafting_mastery_assembly",
"force_sensitive_crafting_mastery_repair",
"force_sensitive_crafting_mastery_technique",
"force_sensitive_heightened_senses_healing",
"force_sensitive_heightened_senses_surveying",
"force_sensitive_heightened_senses_persuasion",
"force_sensitive_heightened_senses_luck"
}
}
VILLAGE_PHASE1_SARGUILLO = 1
VILLAGE_PHASE1_QUHAREK = 2
VILLAGE_PHASE1_SIVARRA = 3
VILLAGE_PHASE1_WHIP = 4
VILLAGE_PHASE2_DAGEERIN = 5
VILLAGE_PHASE2_QUHAREK = 6
VILLAGE_PHASE2_WHIP = 7
VILLAGE_PHASE2_SURVEYOR = 8
VILLAGE_PHASE3_DAGEERIN = 9
VILLAGE_PHASE3_QUHAREK = 10
VILLAGE_PHASE3_SARGUILLO = 11
VILLAGE_PHASE3_SURVEYOR = 12
VILLAGE_PHASE4_ENGINEER = 13
VILLAGE_PHASE4_SARGUILLO_CP = 14
VILLAGE_PHASE4_SARGUILLO_ER = 15
VILLAGE_PHASE4_SIVARRA = 16
VILLAGE_JEDI_PROGRESSION_SCREEN_PLAY_STATE_STRING = "VillageJediProgression"
VILLAGE_JEDI_PROGRESSION_GLOWING = 1
VILLAGE_JEDI_PROGRESSION_HAS_CRYSTAL = 2
VILLAGE_JEDI_PROGRESSION_HAS_VILLAGE_ACCESS = 4
VILLAGE_JEDI_PROGRESSION_COMPLETED_VILLAGE = 8
VILLAGE_JEDI_PROGRESSION_ACCEPTED_MELLICHAE = 16
VILLAGE_JEDI_PROGRESSION_DEFEATED_MELLIACHAE = 32
VILLAGE_JEDI_PROGRESSION_COMPLETED_PADAWAN_TRIALS = 64
-- Set the jedi progression screen play state on the player.
-- @param pPlayer pointer to the creature object of the player.
-- @param state the state to set.
function VillageJediManagerCommon.setJediProgressionScreenPlayState(pPlayer, state)
if (pPlayer == nil) then
return
end
CreatureObject(pPlayer):setScreenPlayState(state, VILLAGE_JEDI_PROGRESSION_SCREEN_PLAY_STATE_STRING)
end
function VillageJediManagerCommon.isVillageEligible(pPlayer)
if (pPlayer == nil) then
return false
end
return VillageJediManagerCommon.hasJediProgressionScreenPlayState(pPlayer, VILLAGE_JEDI_PROGRESSION_HAS_VILLAGE_ACCESS) and QuestManager.hasCompletedQuest(pPlayer, QuestManager.quests.FS_VILLAGE_ELDER)
end
-- Check if the player has the jedi progression screen play state.
-- @param pPlayer pointer to the creature object of the player.
-- @param state the state to check if the player has.
-- @return true if the player has the state.
function VillageJediManagerCommon.hasJediProgressionScreenPlayState(pPlayer, state)
if (pPlayer == nil) then
return false
end
return CreatureObject(pPlayer):hasScreenPlayState(state, VILLAGE_JEDI_PROGRESSION_SCREEN_PLAY_STATE_STRING)
end
function VillageJediManagerCommon.unlockBranch(pPlayer, branch)
if (pPlayer == nil) then
return false
end
local questStatusTemp = CreatureObject(pPlayer):getScreenPlayState("VillageUnlockScreenPlay:" .. branch)
if (questStatusTemp == 0) then
CreatureObject(pPlayer):setScreenPlayState(2, "VillageUnlockScreenPlay:" .. branch)
end
local stringTO = "@quest/force_sensitive/utils:" .. branch
local messageString = LuaStringIdChatParameter("@quest/force_sensitive/utils:branch_selected_unlock")
messageString:setTO(stringTO)
CreatureObject(pPlayer):sendSystemMessage(messageString:_getObject())
end
function VillageJediManagerCommon.hasUnlockedBranch(pPlayer, branch)
if (pPlayer == nil) then
return false
end
return CreatureObject(pPlayer):hasScreenPlayState(2, "VillageUnlockScreenPlay:" .. branch)
end
function VillageJediManagerCommon.getUnlockedBranchCount(pPlayer)
if (pPlayer == nil) then
return 0
end
local count = 0
for i = 1, #VillageJediManagerCommon.forceSensitiveBranches, 1 do
if VillageJediManagerCommon.hasUnlockedBranch(pPlayer, VillageJediManagerCommon.forceSensitiveBranches[i]) then
count = count + 1
end
end
return count
end
function VillageJediManagerCommon.hasActiveQuestThisPhase(pPlayer)
if (pPlayer == nil) then
return false
end
if (VillageJediManagerCommon.hasCompletedQuestThisPhase(pPlayer)) then
return false
end
local phaseID = VillageJediManagerTownship:getCurrentPhaseID()
local lastActiveQuest = tonumber(getQuestStatus(SceneObject(pPlayer):getObjectID() .. ":village:lastActiveQuest"))
return phaseID == lastActiveQuest
end
function VillageJediManagerCommon.setActiveQuestThisPhase(pPlayer, questId)
if (pPlayer == nil) then
return
end
local playerID = SceneObject(pPlayer):getObjectID()
local phaseID = VillageJediManagerTownship:getCurrentPhaseID()
VillageJediManagerCommon.addToActiveQuestList(pPlayer)
setQuestStatus(playerID .. ":village:lastActiveQuest", phaseID)
if (questId ~= nil and questId ~= "") then
setQuestStatus(playerID .. ":village:activeQuestName", questId)
end
CreatureObject(pPlayer):sendSystemMessage("@quest/force_sensitive/utils:quest_accepted")
end
function VillageJediManagerCommon.getActiveQuestIdThisPhase(pPlayer)
if (pPlayer == nil) then
return -1
end
local playerID = SceneObject(pPlayer):getObjectID()
local questId = getQuestStatus(playerID .. ":village:activeQuestName")
if (not VillageJediManagerCommon.hasActiveQuestThisPhase(pPlayer)) then
removeQuestStatus(playerID .. ":village:activeQuestName")
return -1
end
if (questId == "") then
printLuaError("VillageJediManagerCommon.getActiveQuestIdThisPhase unable to grab active questid for player")
return -1
end
return tonumber(questId)
end
function VillageJediManagerCommon.hasCompletedQuestThisPhase(pPlayer)
if (pPlayer == nil) then
return false
end
local phaseID = VillageJediManagerTownship:getCurrentPhaseID()
local lastCompletedQuest = tonumber(getQuestStatus(SceneObject(pPlayer):getObjectID() .. ":village:lastCompletedQuest"))
return phaseID == lastCompletedQuest
end
function VillageJediManagerCommon.setCompletedQuestThisPhase(pPlayer)
if (pPlayer == nil) then
return
end
local phaseID = VillageJediManagerTownship:getCurrentPhaseID()
VillageJediManagerCommon.removeFromActiveQuestList(pPlayer)
removeQuestStatus(SceneObject(pPlayer):getObjectID() .. ":village:activeQuestName")
setQuestStatus(SceneObject(pPlayer):getObjectID() .. ":village:lastCompletedQuest", phaseID)
end
function VillageJediManagerCommon.createNewActiveQuestList()
local phaseID = VillageJediManagerTownship:getCurrentPhaseID()
return createQuestVectorMap("VillageActiveQuestsPhaseID" .. phaseID)
end
function VillageJediManagerCommon.removeActiveQuestList(phaseID)
removeQuestVectorMap("VillageActiveQuestsPhaseID" .. phaseID)
end
function VillageJediManagerCommon.getActiveQuestList(phaseID)
return getQuestVectorMap("VillageActiveQuestsPhaseID" .. phaseID)
end
function VillageJediManagerCommon.addToActiveQuestList(pPlayer)
local phaseID = VillageJediManagerTownship:getCurrentPhaseID()
local pMap = VillageJediManagerCommon.getActiveQuestList(phaseID)
if (pMap == nil) then
pMap = VillageJediManagerCommon.createNewActiveQuestList()
end
local questMap = LuaQuestVectorMap(pMap)
local playerID = tostring(SceneObject(pPlayer):getObjectID())
if (not questMap:hasMapRow(playerID)) then
questMap:addMapRow(playerID, tostring(os.time()))
else
printLuaError("VillageJediManagerCommon.addToActiveQuestList, attempting to add existing player " .. SceneObject(pPlayer):getCustomObjectName() .. " to active quest list.")
end
end
function VillageJediManagerCommon.removeFromActiveQuestList(pPlayer)
local phaseID = VillageJediManagerTownship:getCurrentPhaseID()
local pMap = VillageJediManagerCommon.getActiveQuestList(phaseID)
if (pMap == nil) then
return
end
local questMap = LuaQuestVectorMap(pMap)
local playerID = tostring(SceneObject(pPlayer):getObjectID())
if (questMap:hasMapRow(playerID)) then
questMap:deleteMapRow(playerID)
end
end
function VillageJediManagerCommon.getLearnedForceSensitiveBranches(pPlayer)
if (pPlayer == nil) then
return 0
end
local branchesLearned = 0
for i = 1, #VillageJediManagerCommon.forceSensitiveBranches, 1 do
if (CreatureObject(pPlayer):hasSkill(VillageJediManagerCommon.forceSensitiveBranches[i] .. "_04")) then
branchesLearned = branchesLearned + 1
end
end
return branchesLearned
end
return VillageJediManagerCommon
|
--- Useful little helpers for things
-- @module howl.lib.utils
local assert = require "howl.lib.assert"
local matches = {
["^"] = "%^",
["$"] = "%$",
["("] = "%(",
[")"] = "%)",
["%"] = "%%",
["."] = "%.",
["["] = "%[",
["]"] = "%]",
["*"] = "%*",
["+"] = "%+",
["-"] = "%-",
["?"] = "%?",
["\0"] = "%z",
}
--- Escape a string for using in a pattern
-- @tparam string pattern The string to escape
-- @treturn string The escaped pattern
local function escapePattern(pattern)
return (pattern:gsub(".", matches))
end
local basicMatches = {
["^"] = "%^",
["$"] = "%$",
["("] = "%(",
[")"] = "%)",
["%"] = "%%",
["."] = "%.",
["["] = "%[",
["]"] = "%]",
["+"] = "%+",
["-"] = "%-",
["?"] = "%?",
["\0"] = "%z",
}
--- A resulting pattern
-- @table Pattern
-- @tfield string Type `Pattern` or `Normal`
-- @tfield string Text The resulting pattern
--- Parse a series of patterns
-- @tparam string text Pattern to parse
-- @tparam boolean invert If using a wildcard, invert it
-- @treturn Pattern
local function parsePattern(text, invert)
local beginning = text:sub(1, 5)
if beginning == "ptrn:" or beginning == "wild:" then
local text = text:sub(6)
if beginning == "wild:" then
if invert then
local counter = 0
-- Escape the pattern and then replace wildcards with the results of the capture %1, %2, etc...
text = ((text:gsub(".", basicMatches)):gsub("(%*)", function()
counter = counter + 1
return "%" .. counter
end))
else
-- Escape the pattern and replace wildcards with (.*) capture
text = "^" .. ((text:gsub(".", basicMatches)):gsub("(%*)", "(.*)")) .. "$"
end
end
return { Type = "Pattern", Text = text }
else
return { Type = "Normal", Text = text }
end
end
--- Create a lookup table from a list of values
-- @tparam table tbl The table of values
-- @treturn The same table, with lookups as well
local function createLookup(tbl)
for _, v in ipairs(tbl) do
tbl[v] = true
end
return tbl
end
--- Checks if two tables are equal
-- @tparam table a
-- @tparam table b
-- @treturn boolean If they match
local function matchTables(a, b)
local length = #a
if length ~= #b then return false end
for i = 1, length do
if a[i] ~= b[i] then return false end
end
return true
end
local function startsWith(string, text)
if string:sub(1, #text) == text then
return string:sub(#text + 1)
else
return false
end
end
--- Format a template string with data.
-- Anything of the form `${var}` will be replaced with the appropriate variable in the table.
-- @tparam string template The template to format
-- @tparam table data The data to replace with
-- @treturn string The formatted template
local function formatTemplate(template, data)
return (template:gsub("${([^}]+)}", function(str)
local res = data[str]
if res == nil then
return "${" .. str .. "}"
else
return tostring(res)
end
end))
end
--- Mark a function as deprecated
-- @tparam string name The name of the function
-- @tparam function function The function to delegate to
-- @tparam string|nil msg Additional message to print
local function deprecated(name, func, msg)
assert.argType(name, "string", "deprecated", 1)
assert.argType(func, "function", "deprecated", 2)
if msg ~= nil then
assert.argType(msg, "string", "msg", 4)
msg = " " .. msg
else
msg = ""
end
local doneDeprc = false
return function(...)
if not doneDeprc then
local _, callee = pcall(error, "", 3)
callee = callee:gsub(":%s*$", "")
print(name .. " is deprecated (called at " .. callee .. ")." .. msg)
doneDeprc = true
end
return func(...)
end
end
--- @export
return {
escapePattern = escapePattern,
parsePattern = parsePattern,
createLookup = createLookup,
matchTables = matchTables,
startsWith = startsWith,
formatTemplate = formatTemplate,
deprecated = deprecated,
}
|
--
-- created with TexturePacker (http://www.codeandweb.com/texturepacker)
--
-- $TexturePacker:SmartUpdate:86c25f97e1ada0886d2ce27489541abc:31d42bfebf626147dd01adbc2a1a2d08:cf8ab4992190eb44f97f06311ef326d7$
--
-- local sheetInfo = require("mysheet")
-- local myImageSheet = graphics.newImageSheet( "mysheet.png", sheetInfo:getSheet() )
-- local sprite = display.newSprite( myImageSheet , {frames={sheetInfo:getFrameIndex("sprite")}} )
--
local SheetInfo = {}
SheetInfo.sheet =
{
frames = {
{
-- 1
x=1,
y=1027,
width=48,
height=46,
sourceX = 348,
sourceY = 500,
sourceWidth = 960,
sourceHeight = 672
},
{
-- 2
x=51,
y=1027,
width=64,
height=26,
sourceX = 199,
sourceY = 481,
sourceWidth = 960,
sourceHeight = 672
},
{
-- 3
x=385,
y=999,
width=60,
height=30,
sourceX = 326,
sourceY = 449,
sourceWidth = 960,
sourceHeight = 672
},
{
-- 4
x=263,
y=975,
width=94,
height=88,
sourceX = 126,
sourceY = 240,
sourceWidth = 960,
sourceHeight = 672
},
{
-- 5
x=459,
y=423,
width=38,
height=50,
sourceX = 464,
sourceY = 148,
sourceWidth = 960,
sourceHeight = 672
},
{
-- 6
x=455,
y=791,
width=26,
height=32,
sourceX = 552,
sourceY = 241,
sourceWidth = 960,
sourceHeight = 672
},
{
-- 7
x=387,
y=335,
width=16,
height=22,
sourceX = 690,
sourceY = 418,
sourceWidth = 960,
sourceHeight = 672
},
{
-- 8
x=455,
y=741,
width=56,
height=48,
sourceX = 546,
sourceY = 164,
sourceWidth = 960,
sourceHeight = 672
},
{
-- 9
x=137,
y=777,
width=66,
height=62,
sourceX = 626,
sourceY = 233,
sourceWidth = 960,
sourceHeight = 672
},
{
-- 10
x=205,
y=777,
width=58,
height=66,
sourceX = 446,
sourceY = 40,
sourceWidth = 960,
sourceHeight = 672
},
{
-- 11
x=459,
y=475,
width=42,
height=32,
sourceX = 202,
sourceY = 309,
sourceWidth = 960,
sourceHeight = 672
},
{
-- 12
x=373,
y=769,
width=80,
height=74,
sourceX = 615,
sourceY = 277,
sourceWidth = 960,
sourceHeight = 672
},
{
-- 13
x=367,
y=423,
width=90,
height=108,
sourceX = 666,
sourceY = 431,
sourceWidth = 960,
sourceHeight = 672
},
{
-- 14
x=447,
y=999,
width=54,
height=74,
sourceX = 603,
sourceY = 453,
sourceWidth = 960,
sourceHeight = 672
},
{
-- 15
x=443,
y=663,
width=66,
height=76,
sourceX = 511,
sourceY = 205,
sourceWidth = 960,
sourceHeight = 672
},
{
-- 16
x=133,
y=975,
width=128,
height=84,
sourceX = 330,
sourceY = 541,
sourceWidth = 960,
sourceHeight = 672
},
{
-- 17
x=137,
y=335,
width=228,
height=230,
sourceX = 107,
sourceY = 317,
sourceWidth = 960,
sourceHeight = 672
},
{
-- 18
x=133,
y=857,
width=250,
height=116,
sourceX = 133,
sourceY = 462,
sourceWidth = 960,
sourceHeight = 672
},
{
-- 19
x=1,
y=1,
width=402,
height=332,
sourceX = 18,
sourceY = 314,
sourceWidth = 960,
sourceHeight = 672
},
{
-- 20
x=367,
y=335,
width=18,
height=42,
sourceX = 560,
sourceY = 219,
sourceWidth = 960,
sourceHeight = 672
},
{
-- 21
x=373,
y=533,
width=68,
height=234,
sourceX = 510,
sourceY = 271,
sourceWidth = 960,
sourceHeight = 672
},
{
-- 22
x=137,
y=567,
width=148,
height=208,
sourceX = 559,
sourceY = 261,
sourceWidth = 960,
sourceHeight = 672
},
{
-- 23
x=489,
y=791,
width=22,
height=68,
sourceX = 589,
sourceY = 444,
sourceWidth = 960,
sourceHeight = 672
},
{
-- 24
x=359,
y=975,
width=24,
height=46,
sourceX = 648,
sourceY = 463,
sourceWidth = 960,
sourceHeight = 672
},
{
-- 25
x=287,
y=567,
width=84,
height=288,
sourceX = 672,
sourceY = 235,
sourceWidth = 960,
sourceHeight = 672
},
{
-- 26
x=405,
y=1,
width=106,
height=420,
sourceX = 444,
sourceY = 88,
sourceWidth = 960,
sourceHeight = 672
},
{
-- 27
x=443,
y=533,
width=64,
height=128,
sourceX = 489,
sourceY = 62,
sourceWidth = 960,
sourceHeight = 672
},
{
-- 28
x=1,
y=335,
width=134,
height=498,
sourceX = 369,
sourceY = 20,
sourceWidth = 960,
sourceHeight = 672
},
{
-- 29
x=385,
y=845,
width=102,
height=152,
sourceX = 280,
sourceY = 260,
sourceWidth = 960,
sourceHeight = 672
},
{
-- 30
x=1,
y=835,
width=130,
height=190,
sourceX = 254,
sourceY = 86,
sourceWidth = 960,
sourceHeight = 672
},
},
sheetContentWidth = 512,
sheetContentHeight = 1074
}
SheetInfo.frameIndex =
{
["1"] = 1,
["2"] = 2,
["3"] = 3,
["4"] = 4,
["5"] = 5,
["6"] = 6,
["7"] = 7,
["8"] = 8,
["9"] = 9,
["10"] = 10,
["11"] = 11,
["12"] = 12,
["13"] = 13,
["14"] = 14,
["15"] = 15,
["16"] = 16,
["17"] = 17,
["18"] = 18,
["19"] = 19,
["20"] = 20,
["21"] = 21,
["22"] = 22,
["23"] = 23,
["24"] = 24,
["25"] = 25,
["26"] = 26,
["27"] = 27,
["28"] = 28,
["29"] = 29,
["30"] = 30,
}
function SheetInfo:getSheet()
return self.sheet;
end
function SheetInfo:getFrameIndex(name)
return self.frameIndex[name];
end
return SheetInfo
|
modifier_lich_chain_frost_lua_thinker = class({})
local tempTable = require( "util/tempTable" )
--------------------------------------------------------------------------------
-- Classifications
function modifier_lich_chain_frost_lua_thinker:IsHidden()
return false
end
function modifier_lich_chain_frost_lua_thinker:IsPurgable()
return false
end
function modifier_lich_chain_frost_lua_thinker:RemoveOnDeath()
return false
end
function modifier_lich_chain_frost_lua_thinker:GetAttributes()
return MODIFIER_ATTRIBUTE_MULTIPLE
end
--------------------------------------------------------------------------------
-- Initializations
function modifier_lich_chain_frost_lua_thinker:OnCreated( kv )
if IsServer() then
self.key = kv.key
end
end
function modifier_lich_chain_frost_lua_thinker:OnRefresh( kv )
end
function modifier_lich_chain_frost_lua_thinker:OnDestroy( kv )
if IsServer() then
local castTable = tempTable:GetATValue( self.key )
-- update values
if not castTable.scepter then
castTable.jump = castTable.jump + 1
end
if castTable.jump>castTable.jumps then
-- stop bouncing
castTable = tempTable:RetATValue( self.key )
return
end
-- add temporary FOV
AddFOWViewer( castTable.projectile.iVisionTeamNumber, self:GetParent():GetOrigin(), castTable.projectile.iVisionRadius, 0.3, false)
-- find enemies
local enemies = FindUnitsInRadius(
self:GetCaster():GetTeamNumber(), -- int, your team number
self:GetParent():GetOrigin(), -- point, center point
nil, -- handle, cacheUnit. (not known)
castTable.jump_range, -- float, radius. or use FIND_UNITS_EVERYWHERE
DOTA_UNIT_TARGET_TEAM_ENEMY, -- int, team filter
DOTA_UNIT_TARGET_HERO + DOTA_UNIT_TARGET_BASIC, -- int, type filter
0, -- int, flag filter
0, -- int, order filter
false -- bool, can grow cache
)
-- get random enemy
local target = nil
for _,enemy in pairs(enemies) do
if enemy~=self:GetParent() then
target = enemy
break
end
end
if not target then
-- stop bouncing
castTable = tempTable:RetATValue( self.key )
return
end
-- bounce to enemy
castTable.projectile.Target = target
castTable.projectile.Source = self:GetParent()
castTable.projectile.EffectName = "particles/econ/items/lich/lich_ti8_immortal_arms/lich_ti8_chain_frost.vpcf"
castTable.projectile = self:PlayProjectile( castTable.projectile )
ProjectileManager:CreateTrackingProjectile( castTable.projectile )
end
end
--------------------------------------------------------------------------------
-- Graphics & Effects
function modifier_lich_chain_frost_lua_thinker:PlayProjectile( info )
local tracker = info.Target:AddNewModifier(
info.Source, -- player source
self:GetAbility(), -- ability source
"modifier_generic_tracking_projectile", -- modifier name
{ duration = 4 } -- kv
)
local effect_cast = tracker:PlayTrackingProjectile( info )
ParticleManager:SetParticleControlEnt(
effect_cast,
0,
info.Source,
PATTACH_POINT_FOLLOW,
"attach_hitloc",
Vector(0,0,0), -- unknown
true -- unknown, true
)
info.EffectName = nil
if not info.ExtraData then info.ExtraData = {} end
info.ExtraData.tracker = tempTable:AddATValue( tracker )
return info
end
|
return {
version = "1.1",
luaversion = "5.1",
orientation = "orthogonal",
width = 64,
height = 64,
tilewidth = 16,
tileheight = 16,
properties = {},
tilesets = {
{
name = "ground",
firstgid = 1,
filename = "../../../../tools/tiled/dont_starve/ground.tsx",
tilewidth = 64,
tileheight = 64,
spacing = 0,
margin = 0,
image = "../../../../tools/tiled/dont_starve/tiles.png",
imagewidth = 512,
imageheight = 256,
properties = {},
tiles = {}
}
},
layers = {
{
type = "tilelayer",
name = "BG_TILES",
x = 0,
y = 0,
width = 64,
height = 64,
visible = true,
opacity = 1,
properties = {},
encoding = "lua",
data = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
12, 0, 0, 0, 12, 0, 0, 0, 12, 0, 0, 0, 12, 0, 0, 0, 13, 0, 0, 0, 13, 0, 0, 0, 13, 0, 0, 0, 13, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 22, 0, 0, 0, 22, 0, 0, 0, 22, 0, 0, 0, 22, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
12, 0, 0, 0, 18, 0, 0, 0, 18, 0, 0, 0, 12, 0, 0, 0, 13, 0, 0, 0, 19, 0, 0, 0, 19, 0, 0, 0, 13, 0, 0, 0, 14, 0, 0, 0, 20, 0, 0, 0, 20, 0, 0, 0, 14, 0, 0, 0, 22, 0, 0, 0, 23, 0, 0, 0, 23, 0, 0, 0, 22, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
12, 0, 0, 0, 18, 0, 0, 0, 18, 0, 0, 0, 12, 0, 0, 0, 13, 0, 0, 0, 19, 0, 0, 0, 19, 0, 0, 0, 13, 0, 0, 0, 14, 0, 0, 0, 20, 0, 0, 0, 20, 0, 0, 0, 14, 0, 0, 0, 22, 0, 0, 0, 23, 0, 0, 0, 23, 0, 0, 0, 22, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
12, 0, 0, 0, 12, 0, 0, 0, 12, 0, 0, 0, 12, 0, 0, 0, 13, 0, 0, 0, 13, 0, 0, 0, 13, 0, 0, 0, 13, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 22, 0, 0, 0, 22, 0, 0, 0, 22, 0, 0, 0, 22, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
21, 0, 0, 0, 21, 0, 0, 0, 21, 0, 0, 0, 21, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0, 4, 0, 0, 0, 4, 0, 0, 0, 4, 0, 0, 0, 4, 0, 0, 0, 8, 0, 0, 0, 8, 0, 0, 0, 8, 0, 0, 0, 8, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
21, 0, 0, 0, 18, 0, 0, 0, 18, 0, 0, 0, 21, 0, 0, 0, 3, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 3, 0, 0, 0, 4, 0, 0, 0, 16, 0, 0, 0, 16, 0, 0, 0, 4, 0, 0, 0, 8, 0, 0, 0, 17, 0, 0, 0, 17, 0, 0, 0, 8, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
21, 0, 0, 0, 18, 0, 0, 0, 18, 0, 0, 0, 21, 0, 0, 0, 3, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 3, 0, 0, 0, 4, 0, 0, 0, 16, 0, 0, 0, 16, 0, 0, 0, 4, 0, 0, 0, 8, 0, 0, 0, 17, 0, 0, 0, 17, 0, 0, 0, 8, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
21, 0, 0, 0, 21, 0, 0, 0, 21, 0, 0, 0, 21, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0, 4, 0, 0, 0, 4, 0, 0, 0, 4, 0, 0, 0, 4, 0, 0, 0, 8, 0, 0, 0, 8, 0, 0, 0, 8, 0, 0, 0, 8, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0, 11, 0, 0, 0
}
},
{
type = "objectgroup",
name = "FG_OBJECTS",
visible = true,
opacity = 1,
properties = {},
objects = {
{
name = "",
type = "spawnpoint",
shape = "rectangle",
x = 509,
y = 725,
width = 0,
height = 0,
visible = true,
properties = {}
},
{
name = "",
type = "cave_entrance",
shape = "rectangle",
x = 461,
y = 773,
width = 0,
height = 0,
visible = true,
properties = {}
},
{
name = "",
type = "treasurechest",
shape = "rectangle",
x = 413,
y = 822,
width = 0,
height = 0,
visible = true,
properties = {
["scenario"] = "chest_cave"
}
},
{
name = "",
type = "researchlab2",
shape = "rectangle",
x = 413,
y = 726,
width = 0,
height = 0,
visible = true,
properties = {}
},
{
name = "",
type = "cookpot",
shape = "rectangle",
x = 509,
y = 822,
width = 0,
height = 0,
visible = true,
properties = {}
}
}
}
}
}
|
-- ========== THIS IS AN AUTOMATICALLY GENERATED FILE! ==========
PlaceObj('XTemplate', {
group = "Infopanel Sections",
id = "sectionWarning",
PlaceObj('XTemplateTemplate', {
'__context_of_kind', "InfopanelObj",
'__template', "InfopanelSection",
'OnContextUpdate', function (self, context, ...)
self:SetVisible(ResolveValue(context, "UIWarning") and true)
end,
'Title', T(47, --[[XTemplate sectionWarning Title]] "<red>Warning</red>"),
'Icon', "UI/Icons/Sections/warning.tga",
}, {
PlaceObj('XTemplateTemplate', {
'__template', "InfopanelText",
'HAlign', "left",
'Text', T(584, --[[XTemplate sectionWarning Text]] "<UIWarning>"),
}),
PlaceObj('XTemplateCode', {
'run', function (self, parent, context)
local background = parent.parent.idBackground
background:SetImage("UI/CommonNew/warning.tga")
background:SetFrameBox(box(0,3,0,3))
background:SetMargins(box(0,0,0,0))
end,
}),
}),
})
|
function getIdentity(source)
local identifier = GetPlayerIdentifiers(source)[1]
local result =
MySQL.Sync.fetchAll("SELECT * FROM users WHERE identifier = @identifier", {["@identifier"] = identifier})
if result[1] ~= nil then
local identity = result[1]
return {
identifier = identity["identifier"],
name = identity["name"],
firstname = identity["firstname"],
lastname = identity["lastname"],
dateofbirth = identity["dateofbirth"],
sex = identity["sex"],
height = identity["height"],
job = identity["job"],
group = identity["group"]
}
else
return nil
end
end
function stringsplit(inputstr, sep)
if sep == nil then
sep = "%s"
end
local t = {}
i = 1
for str in string.gmatch(inputstr, "([^" .. sep .. "]+)") do
t[i] = str
i = i + 1
end
return t
end
TriggerEvent("es:addCommand", "sc", function(source, args, user)
local grupos = getIdentity(source)
local nome = getIdentity(source)
if grupos.group == "mod" or grupos.group == "admin" or grupos.group == "superadmin" then
TriggerClientEvent("sendMessageAdmin", -1, source, nome.name, table.concat(args, " "))
end
end, {help = "Staff Chat."})
|
-- Some glue to make STI and checkpoint.lua stick together
-- Overall not very nice code
checkpointInit = {}
-- Create checkpoint objects from Tiled stuff
function checkpointInit.initLayer(map, layer, _, player)
local objects = map.layers[layer].objects
local checkpointList = {}
for _, object in pairs(objects) do
local checkpoint = love.filesystem.load("checkpoint.lua")()
checkpoint.name = object.name
checkpoint:load(player, object.x + map.tilewidth/2,
object.y - map.tileheight/2, object.width, object.height)
checkpointList[#checkpointList +1] = checkpoint
if object.name then
checkpointList[object.name] = checkpoint
end
end
-- Tell STI that we're handling stuff
map:convertToCustomLayer(layer)
return checkpointList
end
return checkpointInit
|
project "Valiance"
kind "StaticLib"
language "C++"
cppdialect "C++17"
targetdir ("%{wks.location}/bin/" .. outputdir .. "/%{prj.name}")
objdir ("%{wks.location}/bin-int/" .. outputdir .. "/%{prj.name}")
files
{
"src/*.h",
"src/*/**.h",
"src/*/**.cpp",
"vendor/glm/glm/**.hpp",
"vendor/glm/glm/**.inl",
"vendor/stb_image/**.cpp",
"vendor/stb_image/**.h",
}
includedirs
{
"src",
"vendor/GLFW/include",
"vendor/Glad/include",
"vendor/glm",
"vendor/imgui",
"vendor/stb_image"
}
libdirs
{
"vendor/GLFW/lib"
}
links
{
"glfw3",
"Glad",
"ImGui"
}
defines
{
"GLFW_INCLUDE_NONE"
}
filter "configurations:Debug"
defines { "DEBUG" }
symbols "On"
filter "configurations:Release"
defines { "NDEBUG" }
optimize "On"
|
--let the hijacking begin
--credit to EPOE for most of the redirects
--https://github.com/Metastruct/EPOE/
function ToStringTableInfo(t)
local num=0
local nonnum=0
local tables
local meta=getmetatable(t)
local str=tostring(t)
str=str:gsub("table: ","table:( ")
for k,v in pairs(t) do
local ktype=type(k)
if ktype=="number" then
num=num+1
elseif ktype=="table" then
nonnum=nonnum+1
tables=true
else
nonnum=nonnum+1
end
if type(v) == "table" then
tables=true
end
end
if nonnum>0 then
str=str..', !#'..nonnum
end
if num>0 then
local nums=#t
if nums==num then
str=str..', #'..num
else
str=str..', #'..num..'/'..nums
end
end
/*if num>0 and nonnum>0 then
str=str..', count='..(num+nonnum)
end*/
if meta then
str=str..', meta'
end
if tables then
str=str..', subtables'
end
str=str..' )'
return str
end
function ToStringEx(delim,...)
local res=""
local count=select('#',...)
count=count==0 and 1 or count
for n=1,count do
local e = select(n,...)
if type(e)=="table" then
e=ToStringTableInfo(e)
elseif e == nil then
e=type(select(n,...))
else
e=tostring(e)
end
res = res .. (n==1 and "" or delim) .. e
end
return res
end
oldPrint = oldPrint or print
oldMsgC = oldMsgC or MsgC
oldMsgN = oldMsgN or MsgN
oldMsg = oldMsg or Msg
olderror = olderror or error
function print(...)
oldPrint(...)
local ok,str=pcall(ToStringEx," ",...)
if not ok then oldPrint(str) end
if not str then return end
if str == "no value" then str = "" end
if IsValid(console2) and IsValid(console2.log) then
console2.log:InsertColorChange(255,255,255,255)
console2.log:AppendText(str.."\n")
end
end
function Msg(...)
oldMsg(...)
local ok,str=pcall(ToStringEx,"",...)
if not ok then oldPrint(str or "") end
if not str then return end
if str == "no value" then str = "" end
if IsValid(console2) and IsValid(console2.log) then
console2.log:InsertColorChange(255,150,0,255)
console2.log:AppendText(str)
end
end
function MsgN(...)
oldMsgN(...)
local ok,str=pcall(ToStringEx,"",...)
if not ok then oldPrint(str or "") end
if not str then return end
if str == "no value" then str = "" end
if IsValid(console2) and IsValid(console2.log) then
console2.log:InsertColorChange(255,150,0,255)
console2.log:AppendText(str.."\n")
end
end
local function _MsgC(col,...)
oldMsgC(col,...)
if not col or not col.r then return end
local ok,str=pcall(ToStringEx,"",...)
if not ok then oldPrint(str or "") end
if not str then return end
if str == "no value" then str = "" end
if IsValid(console2) and IsValid(console2.log) then
console2.log:InsertColorChange(col.r,col.b,col.g,col.a)
console2.log:AppendText(str)
end
end
function MsgC(...)
local last_col = Color(255,255,255,255)
local vals={} -- todo: use unpack(n,a,b)
for i=1,select('#',...) do
local v=select(i,...)
if IsColor(v) then
if next(vals) then _MsgC(last_col,unpack(vals)) end
vals={}
last_col=v
else
table.insert(vals,v)
end
end
if next(vals) then
_MsgC(last_col,unpack(vals))
end
end
function error(...)
local ok,str=pcall(ToStringEx," ",...)
if not ok then oldPrint(str or "") end
if not str then return end
if IsValid(console2) and IsValid(console2.log) then
console2.log:InsertColorChange(200,100,100,255)
console2.log:AppendText("ERROR: "..str.."\n")
console2.log:AppendText(debug.traceback().."\n")
end
return olderror(...)
end
--file hack for "LUA" for menu state
oldFileRead = oldFileRead or file.Read
oldFileExists = oldFileExists or file.Exists
function file.Read(f,d)
if d == "LUA" then
return oldFileRead("lua/"..f,"GAME")
else
return oldFileRead(f,d)
end
end
function file.Exists(f,d)
if d == "LUA" then
return oldFileExists("lua/"..f,"GAME")
else
return oldFileExists(f,d)
end
end
function m2_interstate()
_G.console2 = vgui.Create("DFrame")
console2:SetSize(800,300)
console2:SetPos(ScrW()-800,ScrH()-300)
console2:SetTitle("Console2")
console2:SetIcon("icon16/application_xp_terminal.png")
console2:SetSizable(true)
console2:MakePopup()
console2.lblTitle:SetFont("BudgetLabel")
console2.lblTitle:SetColor(slimenu_config.AccentColor)
console2.btnMinim:SetDisabled(false)
console2.btnMaxim:SetVisible(false)
console2.btnClose:SetVisible(false)
console2.btnMinim.DoClick = function() console2:SetVisible(false) end
function console2.btnMinim:Paint(w,h)
draw.RoundedBox(0,0,0,w,h,slimenu_config.AccentColor)
draw.DrawText("u","Marlett",10,2,Color(0,0,0),TEXT_ALIGN_CENTER)
end
function console2:PerformLayout()
local titlePush = 0
if ( IsValid( self.imgIcon ) ) then
self.imgIcon:SetPos( 5, 5 )
self.imgIcon:SetSize( 16, 16 )
titlePush = 16
end
self.btnClose:SetPos(0,0)
self.btnClose:SetSize(0,0)
self.btnMaxim:SetPos(0,0)
self.btnMaxim:SetSize(0,0)
self.btnMinim:SetPos( self:GetWide() - 31 - 4, 4 )
self.btnMinim:SetSize( 32, 18 )
self.lblTitle:SetPos( 8 + titlePush, 2 )
self.lblTitle:SetSize( self:GetWide() - 25 - titlePush, 20 )
end
function console2:Paint(w,h)
draw.RoundedBox(0,0,0,w,h,Color(0,0,0,220))
end
console2.log = vgui.Create("RichText",console2)
local log = console2.log
log:Dock(FILL)
log:SetVerticalScrollbarEnabled(true)
function log:PerformLayout()
self:SetBGColor(Color(0,0,0))
self:SetFontInternal("BudgetLabel")
end
local function logHelp()
log:InsertColorChange(0,150,130,255)
log:AppendText("Welcome to Console2\n")
log:InsertColorChange(255,255,255,255)
log:AppendText("Console2 is NOT a full console replacement, only a log for prints and lua execution.\n")
log:AppendText("Here are some quick start tips:\n")
log:InsertColorChange(0,150,130,255)
log:AppendText(".m ")
log:InsertColorChange(255,255,255,255)
log:AppendText(" - Runs on menu state\n")
log:InsertColorChange(0,150,130,255)
log:AppendText(".c ")
log:InsertColorChange(255,255,255,255)
log:AppendText(" - Runs on client state\n")
log:InsertColorChange(0,150,130,255)
log:AppendText(".help ")
log:InsertColorChange(255,255,255,255)
log:AppendText(" - This message\n")
log:InsertColorChange(0,150,130,255)
log:AppendText(".reload ")
log:InsertColorChange(255,255,255,255)
log:AppendText(" - Reloads Console2\n")
log:InsertColorChange(0,150,130,255)
log:AppendText(".clear ")
log:InsertColorChange(255,255,255,255)
log:AppendText(" - Clears the log\n")
log:AppendText("Enjoy Console2, I guess.")
end
logHelp()
local function logMenu(str)
log:InsertColorChange(100,200,100,255)
log:AppendText("[Menu] ")
log:InsertColorChange(255,255,255,255)
log:AppendText((str or "") .. "\n")
end
local function logClient(str)
log:InsertColorChange(100,200,200,255)
log:AppendText("[Client] ")
log:InsertColorChange(255,255,255,255)
log:AppendText((str or "") .. "\n")
end
local input_box = vgui.Create("EditablePanel",console2)
input_box:Dock(BOTTOM)
input_box:SetTall(24)
local inp = vgui.Create("DTextEntry",input_box)
inp:Dock(FILL)
inp:SetHistoryEnabled(true)
inp:SetFont("BudgetLabel")
inp.HistoryPos = 0
function inp:Paint(w,h)
draw.RoundedBox(0,0,0,w,h,Color(30,30,30))
self:DrawTextEntryText(slimenu_config.AccentColor,self:GetHighlightColor(),slimenu_config.AccentColor)
return false
end
local send = vgui.Create("DButton",input_box)
send:Dock(RIGHT)
send:SetWide(32)
send:SetText("Send")
function inp:OnKeyCodeTyped(key)
if key == KEY_ENTER then
local str = inp:GetValue()
if str == "" then return end
inp:AddHistory(str)
inp:SetText("")
inp.HistoryPos = 0
MsgC(Color(182,182,182),"\n$ " .. str .. "\n")
local cmd = str:match("%.(.-) ") or str:match("%.(.+)") or ""
local args = str:match("%..- (.+)")
if cmd == "m" then
if not args or args == "" then logMenu("Incorrect arguments!\n") return end
logMenu(args)
local a = CompileString(args,"interstate_menu",false)
if isfunction(a) then a() else error(a, 2) end
elseif cmd == "c" then
if not args or args == "" then logClient("Incorrect arguments!\n") return end
logClient(args)
local a = CompileString("interstate.RunOnClient(\""..(args):gsub("\"","\\\"").."\")","interstate_client",false)
if isfunction(a) then a() else error(a, 2) end
elseif cmd == "help" then
logHelp()
elseif cmd == "reload" then
console2:Close()
m2_interstate()
elseif cmd == "clear" then
console2.log:SetText("")
console2.log:GotoTextEnd()
else
MsgC(Color(128,128,128),"\nUnknown command.\n")
end
end
--print(key == KEY_UP, key == KEY_DOWN)
if key == KEY_UP then
inp.HistoryPos = inp.HistoryPos - 1
inp:UpdateFromHistory()
end
if key == KEY_DOWN then
inp.HistoryPos = inp.HistoryPos + 1
inp:UpdateFromHistory()
end
end
send.DoClick = function() inp:OnKeyCodeTyped(KEY_ENTER) end
end
hook.Add( "OnLuaError", "Console2", function( str, realm, addontitle, addonid )
if IsValid(console2) and IsValid(console2.log) then
console2.log:InsertColorChange(200,100,100,255)
console2.log:AppendText("Error: ")
console2.log:InsertColorChange(255,255,255,255)
console2.log:AppendText(str)
console2.log:InsertColorChange(100,200,100,255)
console2.log:AppendText("\nRealm: ")
console2.log:InsertColorChange(255,255,255,255)
console2.log:AppendText(realm)
console2.log:InsertColorChange(200,200,100,255)
console2.log:AppendText("\nStack: ")
console2.log:InsertColorChange(255,255,255,255)
console2.log:AppendText(debug.traceback())
end
end)
|
-- Use this to test sequential loop on https://www.lua.org/cgi-bin/demo
sequence = {
PreMacro = {
"Pre1",
"Pre2",
},
"main1",
"main2",
"main3",
"main4",
"main5",
"main6",
PostMacro = {
"Post1",
"Pos2",
},
looplimit = 2,
}
local step = 1
local loopstart = 3
local loopiter = 1
local looplimit = 2
local macros = {}
for k,v in ipairs(sequence.PreMacro) do
table.insert(macros, v)
end
for k,v in ipairs(sequence) do
table.insert(macros, v)
end
local loopstop = #macros
for k,v in ipairs(sequence.PostMacro) do
table.insert(macros, v)
end
print ("LoopStart: " .. loopstart)
print ("LoopStop: " .. loopstop)
print ("LoopLimit: " .. looplimit)
print ("Number of Macros: " .. #macros)
local function click(step)
if step < loopstart then
step = step + 1
elseif step > loopstop and loopstop == #macros then
if step >= #macros then
loopiter = 1
step = loopstart
if looplimit > 0 then
step = 1
limit = loopstart
end
else
step = step + 1
end
elseif step == loopstop then
if looplimit > 0 then
if loopiter >= looplimit then
if loopstop >= #macros then
step = 1
limit = loopstart
else
step = step + 1
loopiter = 1
end
else
step = loopstart
loopiter = loopiter + 1
end
else
step = loopstart
end
elseif step >= #macros then
loopiter = 1
step = loopstart
if looplimit > 0 then
step = 1
limit = loopstart
end
else
limit = limit or loopstart
if step == limit then
limit = limit % loopstop + 1
step = loopstart
if limit == loopiter then
loopiter = loopiter + 1
end
else
step = step + 1
end
end
return step
end
print ("starting")
for i=1, 50 do
print(step .. " " .. macros[step])
step = click(step)
end
|
local Clockwork = Clockwork;
local COMMAND = Clockwork.command:New("CharSetHealth");
COMMAND.tip = "Sets a character's health.";
COMMAND.text = "<string Name> [int Amount]";
COMMAND.access = "o";
COMMAND.arguments = 1;
COMMAND.optionalArguments = 1;
-- Called when the command has been run.
function COMMAND:OnRun(player, arguments)
local target = Clockwork.player:FindByID(arguments[1]);
if (target) then
if (target:Alive()) then
local amount = tonumber(arguments[2]);
if (!amount) then
amount = target:GetMaxHealth();
else
amount = math.Clamp(math.Round(amount), 1, target:GetMaxHealth());
end;
local icon = "add";
if (amount < target:Health()) then
icon = "delete";
end;
target:SetHealth(amount);
if (target != player) then
if (Clockwork.config:Get("global_echo"):Get()) then
for k, v in pairs(_player.GetAll()) do
if (v != player and v != target) then
v:CPNotify(player:Name().." has set "..target:Name().."'s health to "..amount..".", icon);
end;
end;
end;
player:CPNotify("You have set "..target:Name().."'s health to "..amount..".", icon);
target:CPNotify(player:Name().." has set your health to "..amount..".", icon);
else
if (Clockwork.config:Get("global_echo"):Get()) then
for k, v in pairs(_player.GetAll()) do
if (v != player) then
v:CPNotify(player:Name().." has set their health to "..amount..".", icon);
end;
end;
end;
player:CPNotify("You have set your health to "..amount..".", icon);
end;
else
player:CPNotify(target:Name().." is dead!", Clockwork.option:GetKey("cannot_do_icon"));
end;
else
player:CPNotify(arguments[1].." is not a valid player!", Clockwork.option:GetKey("invalid_target_icon"));
end;
end;
COMMAND:Register();
|
local treesitter_ok, treesitter = pcall(require, "nvim-treesitter.configs")
if not treesitter_ok then
return
end
treesitter.setup({
ensure_installed = "maintained",
sync_install = false,
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
},
})
|
local util = {}
util.SMALL_RUIN_HALF_SIZE = 8 / 2
util.MEDIUM_RUIN_HALF_SIZE = 16 / 2
util.LARGE_RUIN_HALF_SIZE = 32 / 2
local function clear_area(half_size, center, surface)
local area = {{center.x-half_size, center.y-half_size}, {center.x+half_size, center.y+half_size}}
--exclude tiles that we shouldn't spawn on
if surface.count_tiles_filtered{ area = area, limit = 1, collision_mask = "item-layer" } == 1 then
return false
end
for index, entity in pairs(surface.find_entities_filtered({area = area, type={"resource", "tree"}, invert = true})) do
entity.destroy({do_cliff_correction=true})
end
return true
end
util.spawn_ruin = function(ruins, half_size, center, surface)
if clear_area(half_size, center, surface) then
ruins[math.random(#ruins)](center, surface) --call a random function
end
end
return util
|
require "Framework/Array"
require "Framework/Color"
require "Framework/String"
local Color = EsoAddonFramework_Framework_Color
local String = EsoAddonFramework_Framework_String
EsoAddonFramework_Framework_Console = { } -- Console mock
-- EndsWith
do
local str = "Abcdef"
local endsWith = String.EndsWith(str, "def")
assert(endsWith == true)
endsWith = String.EndsWith(str, "Def")
assert(endsWith == false)
end
-- Format
do
local str = "Abc"
local format = String.Format(str)
assert(format == "|ceeeeeeAbc|r")
str = "Abc {1} {2} {1}"
format = String.Format(str, "one", "two")
assert(format == "|ceeeeeeAbc |c00ff00one|ceeeeee |c00ff00two|ceeeeee |c00ff00one|ceeeeee|r")
str = "Abc"
format = String.Format(str, "one", "two")
assert(format == "|ceeeeeeAbc|r ; one ; two")
str = "Abc {1} {2}"
format = String.Format(str, "one")
assert(format == "|ceeeeeeAbc |c00ff00one|ceeeeee {2}|r ; {2} missing")
str = "Abc {1:Red}"
format = String.Format(str, "one")
assert(format == "|ceeeeeeAbc |cff2222one|ceeeeee|r")
str = "Abc {Def} {1}"
format = String.Format(str, "one")
assert(format == "|ceeeeeeAbc |c00ff00Def|ceeeeee |c00ff00one|ceeeeee|r")
str = "Abc {Def:Red} {1}"
format = String.Format(str, "one")
assert(format == "|ceeeeeeAbc |cff2222Def|ceeeeee |c00ff00one|ceeeeee|r")
str = "Abc {Def Ghi:Red} {1}"
format = String.Format(str, "one")
assert(format == "|ceeeeeeAbc |cff2222Def Ghi|ceeeeee |c00ff00one|ceeeeee|r")
str = "Abc {Def-Ghi /Jkl}"
format = String.Format(str)
assert(format == "|ceeeeeeAbc |c00ff00Def-Ghi /Jkl|ceeeeee|r")
str = "Abc {Def-Ghi /Jkl:Red}"
format = String.Format(str)
assert(format == "|ceeeeeeAbc |cff2222Def-Ghi /Jkl|ceeeeee|r")
end
-- Join
do
-- Empty
local array = { }
local join = String.Join(array, ",")
assert(join == "")
join = String.Join(array, ",", "and")
assert(join == "")
-- Single
array = { "a" }
join = String.Join(array, ",")
assert(join == "a")
join = String.Join(array, ",", "and")
assert(join == "a")
-- Duo
array = { "a", "b" }
join = String.Join(array, ", ")
assert(join == "a, b")
join = String.Join(array, ", ", " and ")
assert(join == "a and b")
-- Multi
array = { "a", "b", "c", "d" }
join = String.Join(array, ", ")
assert(join == "a, b, c, d")
join = String.Join(array, ", ", " and ")
assert(join == "a, b, c and d")
end
-- SetColor
do
local str = "Abc"
local setColor = String.SetColor(str, Color.Blue)
assert(setColor == "|c00ffffAbc|r")
str = "Abc"
setColor = String.SetColor(str, Color.Gray)
assert(setColor == "|c888888Abc|r")
end
-- Split
do
local str = "Abc_Def_Ghi"
local parts = String.Split(str, "_")
assert(#parts == 3)
assert(parts[1] == "Abc")
assert(parts[2] == "Def")
assert(parts[3] == "Ghi")
str = "Abc__Def"
parts = String.Split(str, "_")
assert(#parts == 2)
assert(parts[1] == "Abc")
assert(parts[2] == "Def")
str = "AbcDefGhi"
parts = String.Split(str, "_")
assert(#parts == 1)
assert(parts[1] == "AbcDefGhi")
str = "_Abc_"
parts = String.Split(str, "_")
assert(#parts == 1)
assert(parts[1] == "Abc")
end
-- StartsWith
do
local str = "Abcdef"
local startsWith = String.StartsWith(str, "Abc")
assert(startsWith == true)
startsWith = String.StartsWith(str, "abc")
assert(startsWith == false)
end
-- StripColorCodes
do
local str = "|cffffffAbc|c000000Def|r"
local stripColorCodes = String.StripColorCodes(str)
assert(stripColorCodes == "AbcDef")
end
|
--[[
Name: LibQuixote-2.0
Revision: $Revision: 73 $
Author(s): David Lynch (kemayo@gmail.com)
Website: http://www.wowace.com/wiki/LibQuixote-2.0
Documentation: http://www.wowace.com/wiki/LibQuixote-2.0
SVN: http://svn.wowace.com/wowace/trunk/LibQuixote-2.0/
Description: Abstracts out questlog handling.
License: LGPL v2.1
]]
local MAJOR_VERSION = "LibQuixote-2.0"
local MINOR_VERSION = 90000 + tonumber(("$Revision: 73 $"):match("%d+")) or 0
-- #AUTODOC_NAMESPACE lib
local lib, oldMinor = LibStub:NewLibrary(MAJOR_VERSION, MINOR_VERSION)
if not lib then return end
-- localization issues:
local DUNGEON = LFG_TYPE_DUNGEON
local HEROIC = DUNGEON_DIFFICULTY2
local shorttags = {
[ELITE] = '+',
[GROUP] = 'g',
[PVP] = 'p',
[RAID] = 'r',
[DUNGEON] = 'd',
[HEROIC] = 'd+',
[DAILY] = "\226\128\162", -- adorable little circle
}
lib.shorttags = shorttags
local tagWeight = {
[ELITE] = 1,
[GROUP] = 2,
[PVP] = 3,
[RAID] = 4,
[DUNGEON] = 5,
[HEROIC] = 6,
[DAILY] = 7,
}
lib.tags = {
ELITE = ELITE,
GROUP = GROUP,
PVP = PVP,
RAID = RAID,
DUNGEON = DUNGEON,
HEROIC = HEROIC,
DAILY = DAILY,
}
local playerName = UnitName("player")
local _G = _G
local GetQuestLink = _G.GetQuestLink
local GetQuestLogTitle = _G.GetQuestLogTitle
local GetQuestLogSelection = _G.GetQuestLogSelection
local GetNumQuestLogEntries = _G.GetNumQuestLogEntries
local GetQuestLogQuestText = _G.GetQuestLogQuestText
local GetNumQuestLeaderBoards = _G.GetNumQuestLeaderBoards
local new, del, deepDel, doAll
do
local list = setmetatable({}, {__mode='k'})
function new(...)
local t = next(list)
if t then
list[t] = nil
for i = 1, select('#', ...) do
t[i] = select(i, ...)
end
return t
else
return { ... }
end
end
function del(t)
setmetatable(t, nil)
for k in pairs(t) do
t[k] = nil
end
t[true] = true
t[true] = nil
list[t] = true
return nil
end
function deepDel(t)
if type(t) ~= "table" then
return nil
end
for k,v in pairs(t) do
t[k] = deepDel(v)
end
return del(t)
end
function doAll(func, ...)
for i=1, select('#', ...) do
func(select(i, ...))
end
end
end
local frame
if lib.frame then
frame = lib.frame
frame:UnregisterAllEvents()
frame:SetScript("OnEvent", nil)
frame:SetScript("OnUpdate", nil)
else
frame = CreateFrame("Frame", MAJOR_VERSION .. "_Frame")
lib.frame = frame
end
frame:RegisterEvent("QUEST_LOG_UPDATE")
frame:RegisterEvent("PARTY_MEMBERS_CHANGED")
frame:RegisterEvent("CHAT_MSG_ADDON")
frame:SetScript("OnEvent", function(this, event, ...)
this[event](lib, ...)
end)
local timeSoFar = 0
frame:SetScript("OnUpdate", function(this, timeSinceLast)
timeSoFar = timeSoFar + timeSinceLast
if timeSoFar > 0.1 then
timeSoFar = 0
frame:Hide()
frame:QUEST_LOG_UPDATE()
end
end)
local CallbackHandler = LibStub:GetLibrary("CallbackHandler-1.0")
if lib.callbacks then
lib:UnregisterAll(lib) -- unregisters all callbacks that quixote is doing on itself (comms stuff, mostly)
lib:UnhookDialogs()
else
lib.callbacks = LibStub("CallbackHandler-1.0"):New(lib, nil, nil, "UnregisterAll")
end
do
local tooltip = lib.tooltip
local function tooltip_line(link, line)
if not tooltip then
tooltip = CreateFrame("GameTooltip", MAJOR_VERSION.."_Tooltip", nil, "GameTooltipTemplate")
tooltip:SetOwner(UIParent, "ANCHOR_NONE")
lib.tooltip = tooltip
end
tooltip:ClearLines()
tooltip:SetHyperlink(link)
if tooltip:NumLines() < line then return false end
return _G[MAJOR_VERSION.."_TooltipTextLeft"..line]:GetText()
end
lib.UID_to_name = setmetatable(lib.UID_to_name or {}, {__index = function(self, key)
local link = (type(key) == 'string') and key or ('quest:'..key)
local uid = string.match(link, '%d+')
local name = tooltip_line(link, 1)
if name then
self[uid] = name
return name
end
return false
end,})
end
-- Sorts a table of quests by level, with quests of the same level ordered
-- by elite, dungeon or raid tags, i.e. normal < elite < dungeon < raid.
-- Quests of the same level and tag are sorted alphabetically by title.
local questSort = function(a,b)
local q = lib.quests
local aa = (q[a].level*4) + (q[a].tag and tagWeight[q[a].tag] or 0)
local bb = (q[b].level*4) + (q[b].tag and tagWeight[q[b].tag] or 0)
if aa == bb then
return q[a].title < q[b].title
end
return aa < bb
end
-- Various data tables:
lib.quests = lib.quests or new()
lib.quests_complete = lib.quests_complete or 0
lib.quest_ids = lib.quest_ids or new()
lib.quest_zones = lib.quest_zones or new()
lib.zones = lib.zones or new()
lib.quest_objectives = lib.quest_objectives or new()
lib.quest_mobs = lib.quest_mobs or new()
lib.quest_items = lib.quest_items or new()
do
local orig_abandon_onaccept, orig_abandon_items_onaccept, abandon_onaccept, abandon_items_onaccept
local orig_AcceptQuest = AcceptQuest
function AcceptQuest()
lib.npc = UnitName("npc")
lib.npc_is_player = UnitIsPlayer("npc")
return orig_AcceptQuest()
end
function lib:UnhookDialogs()
StaticPopupDialogs["ABANDON_QUEST"].OnAccept = orig_abandon_onaccept
StaticPopupDialogs["ABANDON_QUEST_WITH_ITEMS"].OnAccept = orig_abandon_items_onaccept
end
function abandon_onaccept()
local name = GetAbandonQuestName()
local uid = lib:GetQuest(name)
orig_abandon_onaccept()
lib.callbacks:Fire("Quest_Abandoned", name, uid)
end
function abandon_items_onaccept()
local name = GetAbandonQuestName()
local uid = lib:GetQuest(name)
orig_abandon_items_onaccept()
lib.callbacks:Fire("Quest_Abandoned", name, uid)
end
orig_abandon_onaccept = StaticPopupDialogs["ABANDON_QUEST"].OnAccept
orig_abandon_items_onaccept = StaticPopupDialogs["ABANDON_QUEST_WITH_ITEMS"].OnAccept
StaticPopupDialogs["ABANDON_QUEST"].OnAccept = abandon_onaccept
StaticPopupDialogs["ABANDON_QUEST_WITH_ITEMS"].OnAccept = abandon_items_onaccept
end
local objects_pattern = '^' .. QUEST_OBJECTS_FOUND:gsub('(%%%d?$?.)', '(.+)') .. '$' --QUEST_OBJECTS_FOUND = "%s: %d/%d"
local monsters_pattern = '^' .. QUEST_MONSTERS_KILLED:gsub('(%%%d?$?.)', '(.+)') .. '$' --QUEST_MONSTERS_KILLED = "%s slain: %d/%d"
local faction_pattern = '^' .. QUEST_FACTION_NEEDED:gsub('(%%%d?$?.)', '(.+)') .. '$' --QUEST_FACTION_NEEDED = "%s: %s / %s"
local update_is_running
function frame:QUEST_LOG_UPDATE()
if update_is_running then
return frame:Show()
end
update_is_running = true
doAll(deepDel, lib.quest_ids, lib.quest_zones, lib.quest_mobs, lib.quest_items, lib.zones)
local quests, old_quests = new(), lib.quests
local quest_objectives, old_quest_objectives = new(), lib.quest_objectives
local quest_zones, quest_ids, zones, quest_mobs, quest_items = new(), new(), new(), new(), new()
-- The quest log is scanned:
local selectionId = GetQuestLogSelection()
local numEntries, numQuests = GetNumQuestLogEntries()
local numQuestsComplete = 0
local zone
if numEntries > 0 then
for id = 1, numEntries do
SelectQuestLogEntry(id)
local name, level, tag, group, header, collapsed, complete, daily = GetQuestLogTitle(id)
if header then
zone = name
table.insert(zones, zone)
quest_zones[zone] = new()
else
local q = new()
local unique_id = tonumber(string.match(GetQuestLink(id), 'quest:(%d+)'))
q.unique_id = unique_id
q.id = id
q.title = name
q.level = level
q.tag = tag
q.group = group
q.daily = daily
if daily and not tag then
q.tag = DAILY
end
q.complete = complete -- 1, -1, nil
q.zone = zone
if complete == 1 then
numQuestsComplete = numQuestsComplete + 1
end
local numObjectives = GetNumQuestLeaderBoards(id)
if numObjectives and numObjectives > 0 then
local objectives = new()
for o = 1, numObjectives do
local desc, qtype, done = GetQuestLogLeaderBoard(o, id)
local numNeeded, numItems, mobName
if qtype == 'item' or qtype == 'object' then --'object' for the leaderboard in Dousing the Flames of Protection; maybe others.
desc, numItems, numNeeded = desc:match(objects_pattern)
numItems = tonumber(numItems)
numNeeded = tonumber(numNeeded)
quest_items[desc] = unique_id
elseif qtype == 'monster' then
mobName, numItems, numNeeded = desc:match(monsters_pattern)
if mobName == nil or numItems == nil or numNeeded == nil then
--Sometimes we get objectives like "Find Mankrik's Wife: 0/1", which are listed as "monster".
mobName, numItems, numNeeded = desc:match(objects_pattern)
end
numItems = tonumber(numItems)
numNeeded = tonumber(numNeeded)
desc = mobName
if quest_mobs[desc] then
--Another quest also wants this mob! Convert quest_mobs[desc] to a table.
if type(quest_mobs[desc]) ~= 'table' then
quest_mobs[desc] = new(quest_mobs[desc])
end
table.insert(quest_mobs[desc], unique_id)
else
quest_mobs[desc] = unique_id
end
elseif qtype == 'reputation' then
desc, numItems, numNeeded = desc:match(faction_pattern)
elseif qtype == 'event' then
numNeeded = 1
numItems = done and 1 or 0
end
if (not desc) or strtrim(desc) == "" then
desc = ""
frame:Show() -- schedules a rescan in 0.1 seconds
end
objectives[desc] = new(numItems, numNeeded, qtype)
end
quest_objectives[unique_id] = objectives
else
quest_objectives[unique_id] = false
end
quests[unique_id] = q
table.insert(quest_ids, unique_id)
table.insert(quest_zones[zone], unique_id)
end
end
SelectQuestLogEntry(selectionId)
end
lib.quests = quests
lib.quest_ids = quest_ids
lib.quest_zones = quest_zones
lib.zones = zones
lib.quest_objectives = quest_objectives
lib.quest_items = quest_items
lib.quest_mobs = quest_mobs
lib.quests_complete = numQuestsComplete
table.sort(zones)
table.sort(quests, questSort)
table.sort(quest_ids, questSort)
for _, zquests in pairs(quest_zones) do
table.sort(zquests, questSort)
end
-- Event firing
local changed = false
if lib.firstDone then
for uid, quest in pairs(quests) do
if not old_quests[uid] then
-- Gained a quest
lib.callbacks:Fire("Quest_Gained", quest.title, uid, GetNumQuestLeaderBoards(quest.id), quest.zone, lib.npc, lib.npc_is_player)
changed = true
else
local oldquest = old_quests[uid]
-- Any objectives changed?
if quest_objectives[uid] then
for desc, goal in pairs(quest_objectives[uid]) do
-- goal: {got, needed, type}
local oldgoal = old_quest_objectives[uid][desc]
if (goal[1] ~= 0) and (oldgoal and oldgoal[1] ~= goal[1]) then
-- An objective has advanced
lib.callbacks:Fire("Objective_Update", quest.title, uid, desc, oldgoal and oldgoal[1] or 0, goal[1], goal[2], goal[3])
changed = true
end
end
if old_quest_objectives[uid][""] and not quest_objectives[uid][""] then
-- An objective was previously uncached and has now been filled in.
changed = true
end
end
--Completed?
if oldquest.complete ~= quest.complete then
if quest.complete == 1 then
lib.callbacks:Fire("Quest_Complete", quest.title, uid)
elseif quest.complete == -1 then
lib.callbacks:Fire("Quest_Failed", quest.title, uid)
end
changed = true
end
end
end
for uid, oldquest in pairs(old_quests) do
-- Lost a quest?
if not quests[uid] then
lib.callbacks:Fire("Quest_Lost", oldquest.title, uid, oldquest.zone)
changed = true
end
end
end
if not lib.firstDone then
changed = true
lib.firstDone = true
frame:PARTY_MEMBERS_CHANGED()
end
if changed or not lib.firstDone then
lib.callbacks:Fire("Update")
end
-- clean up junk tables
doAll(deepDel, old_quests, old_quest_objectives)
update_is_running = false
end
-- Comms:
-- Someone joins party -> version info exchanged -> quest data shared
local last_incompatible_version = 0
lib.party = lib.party or {}
lib.party_quests = lib.party_quests or {}
local ChatThrottleLib = ChatThrottleLib
function lib:SendAddonMessage(contents, distribution, target, priority)
if ChatThrottleLib and not lib.disable_comms then
ChatThrottleLib:SendAddonMessage(priority or "NORMAL", "Quixote2", contents, distribution or "PARTY", target);
end
end
--/dump LibStub("LibQuixote-2.0").party_quests
function frame:PARTY_MEMBERS_CHANGED()
if(#lib.quest_ids == 0) then return end
local p = new()
local sent
for i=1, GetNumPartyMembers() do
local name = UnitName('party'..i)
p[name] = true
if lib.party[name] == nil then
lib:SendAddonMessage("v"..MINOR_VERSION, "WHISPER", name)
lib.party[name] = false -- to prevent spamming with pointless version data
lib.party_quests[name] = new()
lib.party_quests[name].waiting = true
end
end
for known in pairs(lib.party) do
if not p[known] then
lib.party[known] = deepDel(lib.party[known])
lib.party_quests[known] = deepDel(lib.party_quests[known])
end
end
del(p)
end
local commhandlers = {
--version
-- implicit sync request; 'v' is never broadcast to the party, only to unknown party members
-- upon receiving 'v', begin a sync to the sender
v = function(msg, distribution, sender)
local version = tonumber(msg)
if version <= last_incompatible_version then
lib.callbacks:Fire("Incompatible_Version", sender, version)
end
if version > MINOR_VERSION then
lib.callbacks:Fire("New_Version", sender, version)
end
lib.worth_sending = true
lib.party[sender] = version
--And sync:
for _, uid in pairs(lib.quest_ids) do
lib:SendAddonMessage("q"..uid, "WHISPER", sender, "BULK")
if lib.quest_objectives[uid] then
for desc, o in pairs(lib.quest_objectives[uid]) do
local isrep = o[3] == "reputation"
local got = isrep and lib:GetReactionLevel(o[1]) or o[1]
local need = isrep and lib:GetReactionLevel(o[2]) or o[2]
lib:SendAddonMessage("o"..uid.."~"..desc.."~"..(isrep and "r" or "")..got.."/"..need, "WHISPER", sender, "BULK")
end
end
lib:SendAddonMessage("r"..uid, "WHISPER", sender, "BULK")
end
lib:SendAddonMessage("d", "WHISPER", sender, "BULK")
end,
--quest gained
q = function(msg, distribution, sender)
local uid = tonumber(msg)
if not lib.party_quests[sender] then return end
local name = lib.UID_to_name[uid] -- Forces the tooltip request.
lib.party_quests[sender][uid] = lib.party_quests[sender][uid] or new()
end,
--objective update
o = function(msg, distribution, sender)
local uid, objective, isrep, got, need = msg:match("^(.-)~(.-)~(r?)(%d-)/(%d-)$")
uid = tonumber(uid)
if not (lib.party_quests[sender] and lib.party_quests[sender][uid]) then return end
local o = lib.party_quests[sender][uid][objective]
isrep = isrep == 'r'
got = isrep and lib:GetReactionName(tonumber(got)) or tonumber(got)
need = isrep and lib:GetReactionName(tonumber(need)) or tonumber(need)
if o then
o[1] = got
o[2] = need
o[3] = isrep
if not lib.party_quests[sender].waiting then
lib.callbacks:Fire("Party_Objective_Update", sender, uid, lib.UID_to_name[uid], objective, got, need, isrep)
lib.callbacks:Fire("Party_Update", sender, uid)
end
else
lib.party_quests[sender][uid][objective] = new(got, need, isrep)
end
end,
--sending a quest is complete
r = function(msg, distribution, sender)
local uid = tonumber(msg)
if not (lib.party_quests[sender] and lib.party_quests[sender][uid]) then return end
if not lib.party_quests[sender].waiting then
lib.callbacks:Fire("Party_Quest_Gained", sender, uid, lib.UID_to_name[uid])
lib.callbacks:Fire("Party_Update", sender, uid)
end
end,
--quest finished
c = function(msg, distribution, sender)
local uid = tonumber(msg)
lib.callbacks:Fire("Party_Quest_Complete", sender, uid, lib.UID_to_name[uid])
lib.callbacks:Fire("Party_Update", sender, uid)
end,
--quest failed
f = function(msg, distribution, sender)
local uid = tonumber(msg)
lib.callbacks:Fire("Party_Quest_Failed", sender, uid, lib.UID_to_name[uid])
lib.callbacks:Fire("Party_Update", sender, uid)
end,
--quest lost
l = function(msg, distribution, sender)
local uid = tonumber(msg)
if not (lib.party_quests[sender] and lib.party_quests[sender][uid]) then return end
lib.callbacks:Fire("Party_Quest_Lost", sender, uid, lib.UID_to_name[uid])
lib.callbacks:Fire("Party_Update", sender, uid)
lib.party_quests[sender][uid] = deepDel(lib.party_quests[sender][uid])
end,
--sync done
d = function(msg, distribution, sender)
if not lib.party_quests[sender] then return end
lib.party_quests[sender].waiting = nil
lib.callbacks:Fire("Sync_Finished", sender)
lib.callbacks:Fire("Party_Update", sender)
end,
}
function frame:CHAT_MSG_ADDON(prefix, msg, distribution, sender)
if prefix ~= "Quixote2" or sender == playerName or lib.disable_comms then return end
--LibStub("AceConsole-2.0"):PrintLiteral(msg, distribution, sender)
local commtype, remainder = msg:match("^(%a)(.*)")
if (not commtype) or (not commhandlers[commtype]) then return end
--/dump LibStub("LibQuixote-2.0").party_quests.Alibank
commhandlers[commtype](remainder, distribution, sender)
end
lib:RegisterCallback("Quest_Gained", function(event, title, uid, objectives)
if not lib.worth_sending or GetNumPartyMembers() == 0 then return end
lib:SendAddonMessage("q"..uid)
if objectives > 0 then
for objective, got, need, t in lib:IterateObjectivesForQuest(uid) do
lib:SendAddonMessage("o"..uid.."~"..objective.."~"..(t=="reputation" and "r" or "")..got.."/"..need)
end
end
lib:SendAddonMessage("r"..uid)
end)
lib:RegisterCallback("Quest_Lost", function(event, title, uid)
if not lib.worth_sending or GetNumPartyMembers() == 0 then return end
lib:SendAddonMessage("l"..uid)
end)
lib:RegisterCallback("Quest_Complete", function(event, title, uid)
if not lib.worth_sending or GetNumPartyMembers() == 0 then return end
lib:SendAddonMessage("c"..uid)
end)
lib:RegisterCallback("Quest_Failed", function(event, title, uid)
if not lib.worth_sending or GetNumPartyMembers() == 0 then return end
lib:SendAddonMessage("f"..uid)
end)
lib:RegisterCallback("Objective_Update", function(event, title, uid, objective, had, got, need, t)
if not lib.worth_sending or GetNumPartyMembers() == 0 then return end
lib:SendAddonMessage("o"..uid.."~"..objective.."~"..(t=="reputation" and ("r"..lib:GetReactionLevel(got).."/"..lib:GetReactionLevel(need)) or (got.."/"..need)))
end)
-- Public API:
local function zoneIter(t, i)
if not t then return end
local i, v = next(t, i)
if i then
return i, v, #lib.quest_zones[v]
end
end
function lib:IterateZones()
return zoneIter, self.zones, nil
end
local function zoneQuestIter(t, i)
if not t then return end
local i, v = next(t, i)
if i then
return i, lib:GetQuestByUid(v)
end
end
function lib:IterateQuestsInZone(zone)
return zoneQuestIter, self.quest_zones[zone], nil
end
function lib:IterateQuestsByLevel()
return zoneQuestIter, self.quest_ids, nil
end
local function objIter(t, k)
if not t then return end
local k, v = next(t, k)
if k then
return k, unpack(v)
end
end
function lib:IterateObjectivesForQuest(uid)
return objIter, self.quest_objectives[uid], nil
end
function lib:GetNumQuests()
return #self.quest_ids, self.quests_complete
end
function lib:GetQuest(id)
if type(id) == 'string' then
for uid, q in pairs(lib.quests) do
if q.title == id then
id = uid
break
end
end
end
return self:GetQuestByUid(id)
end
function lib:GetQuestByUid(uid)
local q = self.quests[uid]
if not q then return end
return q.unique_id, q.id, q.title, q.level, q.tag, GetNumQuestLeaderBoards(q.id), q.complete, q.group, q.daily, q.zone
end
function lib:GetQuestById(id)
--By quest log id.
for uid, quest in pairs(self.quests) do
if quest.id == id then
return self:GetQuestByUid(uid)
end
end
end
function lib:GetQuestObjective(uid, desc)
local q = self.quest_objectives[uid]
if q and q[desc] then
return desc, unpack(q[desc])
end
end
function lib:GetNumQuestObjectives(uid)
local q = self.quest_objectives[uid]
if not q then return end
local c = 0
for desc,o in pairs(q) do
if o[1] == o[2] then
c = c + 1
end
end
return GetNumQuestLeaderBoards(self.quests[uid].id), c
end
function lib:GetQuestText(uid)
local q = self.quests[uid]
if not q then return end
local selectionId = GetQuestLogSelection()
SelectQuestLogEntry(q.id)
local description, objectives = GetQuestLogQuestText(q.id)
SelectQuestLogEntry(selectionId)
return description, objectives
end
function lib:IsQuestMob(mobname)
return self.quest_mobs[mobname] and true
end
local function mobIter(mobList, i)
-- This iterator is lightly special-cased to allow mobList to either be a list or a string.
if type(mobList) == 'table' then
i = next(mobList, i)
return i, mobList[i]
else
return i==nil and 1 or nil, mobList
end
end
function lib:IterateQuestsForMob(mobname)
if self.quest_mobs[mobname] then
return mobIter, self.quest_mobs[mobname], nil
end
end
function lib:IsQuestItem(itemname)
local uid = self.quest_items[itemname]
if uid then
return uid, itemname, unpack(self.quest_objectives[uid][itemname])
end
end
-- Party:
local function realname(name)
if type(name) == 'number' then
return UnitName("party"..name), "party"..name
end
if name:match("^party%d$") then
return UnitName(name), name
end
return name
end
function lib:PartyMemberHasQuixote(name)
name = realname(name)
return self.party[name]
end
-- TODO: Can this be turned into tooltip-scanning in 2.4?
function lib:PartyMemberHasQuest(name, uid)
local name, unit = realname(name)
if self.party_quests[name] then
return self.party_quests[name][uid]
elseif self.quests[uid] then
--They don't have quixote, but we *do* have the quest, so IsUnitOnQuest can be fallen back on.
local id = self.quests[uid].id
if not unit then
for i=1, GetNumPartyMembers() do
local u = "party"..i
if name == UnitName(u) then
unit = u
break
end
end
end
if unit then
return IsUnitOnQuest(id, unit)
end
end
end
function lib:GetNumPartyMembersWithQuest(uid)
local count = 0
for i=1, GetNumPartyMembers() do
if self:PartyMemberHasQuest(i, uid) then
count = count + 1
end
end
return count
end
local function partySort(a, b)
-- pure alphabetical sorting
return lib.UID_to_name[a] < lib.UID_to_name[b]
end
local function partyIter(t, k)
k = next(t, k)
if t[k] then
return k, t[k]
else
del(t)
end
end
function lib:IteratePartyMemberQuests(name)
name = realname(name)
if not self.party_quests[name] then
return partyIter
end
local tmp = new()
for uid in pairs(self.party_quests[name]) do
table.insert(tmp, uid)
end
table.sort(tmp, partySort)
return partyIter, tmp, nil
end
function lib:GetPartyQuestObjective(name, uid, objective)
name = realname(name)
if self.party_quests[name] and self.party_quests[name][uid] and self.party_quests[name][uid][objective] then
return unpack(self.party_quests[name][uid][objective])
end
end
function lib:GetPartyQuestNumObjectives(name, uid)
name = realname(name)
local objectives = self.party_quests[name] and self.party_quests[name][uid]
if objectives then
local total, complete = 0, 0
for desc, status in pairs(objectives) do
total = total + 1
if status[1] == status[2] then
complete = complete + 1
end
end
return total, complete
end
end
-- Utility:
function lib:IsQuestWatchedByUid(uid)
local quid = self.quests[uid] and self.quests[uid].id
if qid then
return IsQuestWatched(qid)
end
end
function lib:AddQuestWatchByUid(uid, watchTime)
local qid = self.quests[uid] and self.quests[uid].id
if qid then
AddQuestWatch(qid, watchTime)
return qid
end
end
function lib:RemoveQuestWatchByUid(uid, watchTime)
local qid = self.quests[uid] and self.quests[uid].id
if qid then
RemoveQuestWatch(qid, watchTime)
return qid
end
end
function lib:ShareQuestByUid(uid)
-- Share the quest with nearby party members.
local qid = self.quests[uid] and self.quests[uid].id
if qid then
local wasSelected = GetQuestLogSelection()
SelectQuestLogEntry(qid)
if GetQuestLogPushable() and GetNumPartyMembers() > 0 then
QuestLogPushQuest()
end
SelectQuestLogEntry(wasSelected)
end
end
function lib:ShowQuestLog(uid, suppressClick)
local id = self.quests[uid] and self.quests[uid].id
if QuestLogFrame:IsVisible() then
if GetQuestLogSelection() == id then
return HideUIPanel(QuestLogFrame)
end
else
ShowUIPanel(QuestLogFrame)
end
if not id then return end
-- Scroll if necessary:
local numEntries = GetNumQuestLogEntries()
if (numEntries > QUESTS_DISPLAYED) then
if (id <= numEntries - QUESTS_DISPLAYED) then
FauxScrollFrame_SetOffset(QuestLogListScrollFrame, id - 1)
QuestLogListScrollFrameScrollBar:SetValue((id - 1) * QUESTLOG_QUEST_HEIGHT)
else
FauxScrollFrame_SetOffset(QuestLogListScrollFrame, numEntries - QUESTS_DISPLAYED)
QuestLogListScrollFrameScrollBar:SetValue((numEntries - QUESTS_DISPLAYED) * QUESTLOG_QUEST_HEIGHT)
end
end
-- Set the selection, at last:
SelectQuestLogEntry(id)
QuestLog_SetSelection(id)
-- Call the onclick, just to help other addons out.
if not suppressClick then
_G["QuestLogTitle"..(id - FauxScrollFrame_GetOffset(QuestLogListScrollFrame))]:Click()
end
end
function lib:GetShortTagForQuest(uid)
local q = self.quests[uid]
if q.shorttag then return q.shorttag end
if q and q.tag and shorttags[q.tag] then
local tag = shorttags[q.tag]
if q.tag == GROUP then
tag = tag .. q.group
end
if q.daily and tag ~= shorttags[DAILY] then
tag = tag .. shorttags[DAILY]
end
q.shorttag = tag
return tag
end
return ''
end
function lib:GetTaggedQuestName(uid)
-- It's such a common pattern
local q = self.quests[uid]
if q then
return '['..q.level..self:GetShortTagForQuest(uid)..'] '..q.title
end
return ''
end
-- Get a numeric equivalent to a reaction level, from Hated=1 to Exalted=8.
do
local reactions = {
[FACTION_STANDING_LABEL1] = 1,
[FACTION_STANDING_LABEL1_FEMALE] = 1,
[FACTION_STANDING_LABEL2] = 2,
[FACTION_STANDING_LABEL2_FEMALE] = 2,
[FACTION_STANDING_LABEL3] = 3,
[FACTION_STANDING_LABEL3_FEMALE] = 3,
[FACTION_STANDING_LABEL4] = 4,
[FACTION_STANDING_LABEL4_FEMALE] = 4,
[FACTION_STANDING_LABEL5] = 5,
[FACTION_STANDING_LABEL5_FEMALE] = 5,
[FACTION_STANDING_LABEL6] = 6,
[FACTION_STANDING_LABEL6_FEMALE] = 6,
[FACTION_STANDING_LABEL7] = 7,
[FACTION_STANDING_LABEL7_FEMALE] = 7,
[FACTION_STANDING_LABEL8] = 8,
[FACTION_STANDING_LABEL8_FEMALE] = 8,
}
--------------------------------------------
-- Arguments:
-- string - faction standing text
--
-- Notes:
-- Returns a numeric-equivalent for faction standings.
--
-- Returns:
-- * number - number from 1 to 8 or -1 if invalid
--------------------------------------------
function lib:GetReactionLevel(leveltext)
return leveltext and reactions[leveltext] or -1
end
function lib:GetReactionName(level)
for react, index in pairs(reactions) do
if index == level then
return react
end
end
end
end
|
return Command 'chucknorris'
:setCategory 'Fun'
:setDesc 'Returns a random Chuck Norris joke.'
:run(function(msg, args, util)
util.request {
url = 'https://api.chucknorris.io/jokes/random';
}:next(function(res)
res = res[1]
local embed = util.Embed()
:setTitle 'Funny Words From Magic Man'
:setColor 'random'
:setDescription(res.value)
:setFooter(settings.footer)
:setTimestamp()
:finish();
msg.channel:send(embed)
end)
end);
|
local x = x or a == b
x = true
local y = x or a ~= b
y = true
local z = a == b or c == d
z = true
|
function run()
local windex = focused_window_index()
if #arguments > 0 then
local index = tonumber(arguments[1])
if index > webview_count(windex) then
return false
end
focus_webview(windex, tonumber(arguments[1]))
end
return true
end
-- Display titles for buffers
function complete_command()
local titles = {}
local query = table.concat(arguments," ")
local windex = focused_window_index()
local total = webview_count(windex)
for i = 0, total - 1 do
local title = "" .. i .. " : " .. webview_title(windex, i):gsub(","," ")
if string.sub(title, 1, #query) == query then
titles[#titles + 1] = title
end
end
return table.concat(titles,",")
end
|
local battle_config = require "config/battle";
local playerModule = require "module.playerModule"
local BuffSystem = require "battlefield2.system.Buff"
local Role = require "battlefield2.system.Role"
local EventManager = require "utils.EventManager"
local eventManager = EventManager.getInstance()
local targetSelectorManager = root.view.battle.TargetCanvas.targetSelectorPanel[SGK.Battle.BattlefieldTargetSelectorManager];
local roles = {};
local player_side = 1;
local Thread = require "utils.Thread"
local preload = nil
local enemySlot = {
[1] = root.view.battle.enemyStage.slot21,
[2] = root.view.battle.enemyStage.slot32,
[3] = root.view.battle.enemyStage.slot22,
[4] = root.view.battle.enemyStage.slot33,
[5] = root.view.battle.enemyStage.slot23,
[11] =root.view.battle.enemyStage.slot11,
[21] =root.view.battle.enemyStage.slot21,
[22] =root.view.battle.enemyStage.slot22,
[23] =root.view.battle.enemyStage.slot23,
[31] =root.view.battle.enemyStage.slot31,
[32] =root.view.battle.enemyStage.slot32,
[33] =root.view.battle.enemyStage.slot33,
[34] =root.view.battle.enemyStage.slot34,
}
local enemyPrefab = {
[0] = "prefabs/battlefield/enemy.prefab",
[31] = "prefabs/battlefield/enemy2.prefab",
[32] = "prefabs/battlefield/enemy2.prefab",
[33] = "prefabs/battlefield/enemy2.prefab",
[34] = "prefabs/battlefield/enemy2.prefab",
[11] = "prefabs/battlefield/enemyBoss.prefab",
}
local pvp_enemy_offset = {
[1] = {0,0,0},
[2] = {0,0,0},
[3] = {0,0,0},
[4] = {0,0,0},
[5] = {0,0,0},
}
local function getRolePostionOffset(side, pos, x, y, z)
if side ~= 1 then
local value = pvp_enemy_offset[pos] or {0, 0, 0}
return Vector3(value[1] + x,value[2] + y,value[3] + z)
end
return Vector3(x,y,z);
end
local role_master_list = {
{master = "airMaster", index = 3, desc = "风系", colorindex = 0},
{master = "dirtMaster", index = 2, desc = "土系", colorindex = 1},
{master = "waterMaster", index = 0, desc = "水系", colorindex = 2},
{master = "fireMaster", index = 1, desc = "火系", colorindex = 3},
{master = "lightMaster", index = 4, desc = "光系", colorindex = 4},
{master = "darkMaster", index = 5, desc = "暗系", colorindex = 5},
}
local function GetMasterIcon(role, other_info)
table.sort(role_master_list, function (a, b)
if role[a.master] ~= role[b.master] then
return role[a.master] > role[b.master]
end
return a.master > b.master
end)
if other_info and role[role_master_list[1].master] == role[role_master_list[2].master] then
return {desc = "全系", colorindex = 6}
elseif other_info then
return {desc = role_master_list[1].desc, colorindex = role_master_list[1].colorindex}
end
if role[role_master_list[1].master] == role[role_master_list[2].master] then
return 6
else
return role_master_list[1].index
end
end
local function ActionTimeActive(uuid, show)
local entity = game:GetEntity(uuid)
if not entity or not entity.Timeout then
return
end
if entity.Force.side == 1 then
return
end
if not roles[uuid] then
return
end
local ui = roles[uuid].ui
if not ui.ActionTime then
return
end
ui.ActionTime:SetActive(show)
end
local target_ring_menu = nil
local target_ring_menu_start = nil
local Focus_Effect_Map = {}
local function setFocusTagView(uuid)
local entity = game:GetEntity(uuid)
if not entity then return end
if Focus_Effect_Map[uuid] and Focus_Effect_Map[uuid].obj_loading then
return
end
local type = entity.Property[8005]
if not entity:Alive() or type == 0 then
if Focus_Effect_Map[uuid] then
UnityEngine.GameObject.Destroy(Focus_Effect_Map[uuid].obj);
Focus_Effect_Map[uuid] = nil
end
return
end
if Focus_Effect_Map[uuid] and type == Focus_Effect_Map[uuid].type then
return
end
local effect_list = {
[1] = "UI/fx_jihuo_kongzhi",
[2] = "UI/fx_jihuo_tingshou",
[3] = "UI/fx_jihuo_jihuo",
}
if Focus_Effect_Map[uuid] then
UnityEngine.GameObject.Destroy(Focus_Effect_Map[uuid].obj);
Focus_Effect_Map[uuid] = nil
end
Focus_Effect_Map[uuid] = {};
Focus_Effect_Map[uuid].type = type;
Focus_Effect_Map[uuid].obj_loading = true;
UnitAddEffect(entity, effect_list[type], {hitpoint = "head", duration = -1}, function(o)
Focus_Effect_Map[uuid].obj = o;
Focus_Effect_Map[uuid].obj_loading = false;
end);
end
local current_RingMenu_Role = nil
local TargetRingMenu_loading = nil
local function SetTargetRingMenuActive(active, uuid, pos)
if not target_ring_menu and active then
if TargetRingMenu_loading then return end
TargetRingMenu_loading = true
SGK.ResourcesManager.LoadAsync("prefabs/battlefield/BattlefieldTargetRingMenu.prefab", function(o)
TargetRingMenu_loading = false;
if o then
target_ring_menu = SGK.UIReference.Instantiate(o);
target_ring_menu.transform:SetParent(root.view.battle.PersistenceCanvas.transform, false);
target_ring_menu:SetActive(false);
end
end)
end
if target_ring_menu then
if active then
if pos then
targetSelectorManager:SetUIPosition(target_ring_menu.FillImage.transform, pos);
end
target_ring_menu.FillImage[CS.UIRingMenuFillImage]:StartFill()
local role = game:GetEntity(uuid)
target_ring_menu.Menu.Menu1:SetActive(role.side ~= 1)
target_ring_menu.Menu.Menu2:SetActive(role.side ~= 1)
target_ring_menu.Menu.Menu3:SetActive(role.side ~= 1)
target_ring_menu.Menu[CS.UIRingMenu].onClick = function(n)
SetTargetRingMenuActive(false);
local role = game:GetEntity(uuid)
if role == nil then
return;
end
local t = { [0] = 1, 2, 3, 0};
if t[n] == 0 then
return ShowRoleDetail(uuid);
end
local type = t[n]
if root.args.romote_server then
local team_info = module.TeamModule.GetTeamInfo()
if team_info.leader then
local pid = playerModule.GetSelfID()
local leader_id = team_info.leader.pid
if pid ~= leader_id then
showErrorInfo(8)
else
SendPlayerCommand(role.uuid, 98002, role.Property[8005] ~= type and type or 0)
end
end
else
Role.SetFocusTag(root.server or game, role.uuid, role.Property[8005] ~= type and type or 0)
end
end
end
current_RingMenu_Role = uuid
target_ring_menu:SetActive(active);
end
end
local function onEnemyTouchBegan(uuid, pos)
local role = game:GetEntity(uuid)
if not role then return end
target_ring_menu_start = CS.UnityEngine.Time.realtimeSinceStartup;
SetTargetRingMenuActive(true, uuid, roles[uuid].script:GetPosition("hitpoint")) -- pos);
end
local function onEnemyTouchEnd(uuid, pos)
local role = game:GetEntity(uuid)
if not role then return end
if CS.UnityEngine.Time.realtimeSinceStartup - target_ring_menu_start < 0.5 then
SetTargetRingMenuActive(false);
end
if target_ring_menu then
-- self.target_ring_menu.FillImage[CS.UIRingMenuFillImage]:TouchEnd()
end
-- ERROR_LOG("onEnemyTouchEnd", role.id, role.name)
end
local function onEnemyTouchMove(uuid, pos)
-- local role = self.roles[uuid].role;
-- ERROR_LOG("onEnemyTouchMove", role.id, role.name)
end
local function onEnemyTouchCancel(uuid)
local role = game:GetEntity(uuid)
if not role then return end
-- ERROR_LOG("onEnemyTouchCancel", role.id, role.name)
if CS.UnityEngine.Time.realtimeSinceStartup - target_ring_menu_start < 0.5 then
SetTargetRingMenuActive(false);
end
if target_ring_menu then
-- self.target_ring_menu.FillImage[CS.UIRingMenuFillImage]:TouchEnd()
end
end
local preloading = true;
local function createEnemy(entity, sync)
local cfg = entity.Config;
if not cfg then return; end
local pos = entity.Position.pos;
local x = entity.Position.x;
local y = entity.Position.y;
local z = entity.Position.z;
local slot = enemySlot[pos]
if not slot then
print('unknown role slot', pos);
return;
end
roles[entity.uuid] = {}
-- ERROR_LOG("createEnemmy", entity.uuid, roles[entity.uuid])
local function CreatObject(entity)
local o = SGK.ResourcesManager.Load(enemyPrefab[pos] or enemyPrefab[0])
if not o then return end;
local enemy = SGK.UIReference.Instantiate(o, slot.transform)
enemy.gameObject.name = cfg.id .. "_" .. pos;
enemy.transform.localPosition = getRolePostionOffset(2, pos, x, y, z)
enemy.transform.localScale = Vector3.one;
local script = enemy[SGK.BattlefieldObject];
local __enter_played = roles[entity.uuid].__enter_played;
roles[entity.uuid].org_position = script.gameObject.transform.localPosition;
if entity.Round.invisible == 1 then
if not __enter_played then
script.gameObject.transform.localPosition = UnityEngine.Vector3(0, 20, 0); -- :SetActive(false);
roles[entity.uuid].hide = true;
end
end
if preloading then
local asset = SGK.ResourcesManager.Load(string.format("roles/%s/%s_SkeletonData.asset", cfg.mode, cfg.mode));
script:ChangeMode(tostring(cfg.mode), asset);
else
script:ChangeMode(tostring(cfg.mode));
end
local name = cfg.name
--[[
if name == "陆水银" and pos == 1 then
local player = playerModule.Get(entity.Force.pid)
name = player and player.name or name
end
--]]
script:SetName(name);
script:UpdateProperty(entity.Property.hp, entity.Property.hpp, 100, 100, 0);
script:ShowUI(true);
local flip, enemy_scale = battle_config.GetModeFlip(cfg.mode, 2, pos);
script.flip = flip;
if enemy_scale then
script:SetModeScale(Vector3(enemy_scale, enemy_scale, enemy_scale));
end
local energyBar
if pos == 11 and enemy.UIBoss then
energyBar = enemy.UIBoss.EnergyBar[CS.BattleEnergyBar]
enemy.UIBoss.transform:SetParent(root.view.battle.EnemyBossCanvas.EnemyBossUISlot.gameObject.transform, false);
enemy.UIBoss[CS.FollowSpineBone].enabled = false;
enemy.UIBoss.transform.localScale = Vector3.one;
enemy.UIBoss.element[CS.UGUISpriteSelector].index = GetMasterIcon(entity.Property)
local listener = CS.UGUIPointerEventListener.Get(enemy.UIBoss.BuffDetailClick.gameObject);
local EnemyBuffList = root.view.battle.Canvas.EnemyBuffList
if listener.isLongPress ~= nil then
listener.isLongPress = true;
end
listener.onPointerDown = function()
local buffs = BuffSystem.API.UnitBuffList(nil, entity);
UpDateRoleBuffDesc(entity)
EnemyBuffList[SGK.LuaBehaviour]:Call("ShowView", buffs)
end
listener.onPointerUp = function()
EnemyBuffList[SGK.LuaBehaviour]:Call("CloseView")
eventManager:dispatch("BATTLE_GUIDE_END_CLICK")
end
else
energyBar = enemy.UIEnemy.EnergyBar[CS.BattleEnergyBar]
enemy.UIEnemy.element[CS.UGUISpriteSelector].index = GetMasterIcon(entity.Property)
local listener = CS.ModelTouchEventListener.Get(enemy.UIEnemy.BuffDetailClick.gameObject)
local EnemyBuffList = root.view.battle.Canvas.EnemyBuffList
listener.onTouchBegan = function()
local buffs = BuffSystem.API.UnitBuffList(nil, entity);
UpDateRoleBuffDesc(entity)
EnemyBuffList[SGK.LuaBehaviour]:Call("ShowView", buffs)
end
listener.onTouchEnd = function()
EnemyBuffList[SGK.LuaBehaviour]:Call("CloseView")
eventManager:dispatch("BATTLE_GUIDE_END_CLICK")
end
listener.onTouchCancel = function()
EnemyBuffList[SGK.LuaBehaviour]:Call("CloseView")
eventManager:dispatch("BATTLE_GUIDE_END_CLICK")
end
end
script.onTouchBegan = function(...) onEnemyTouchBegan(entity.uuid, ...) end
script.onTouchEnd = function(...) onEnemyTouchEnd(entity.uuid, ...) end
script.onTouchMove = function(...) onEnemyTouchMove(entity.uuid, ...) end
script.onTouchCancel = function() onEnemyTouchCancel(entity.uuid) end
roles[entity.uuid].script = script;
roles[entity.uuid].energyBar = energyBar;
roles[entity.uuid].side = 2;
roles[entity.uuid].ui = enemy.UIEnemy or enemy.UIBoss
local __enter_played = roles[entity.uuid].__enter_played;
if __enter_played then
script.gameObject.transform.localPosition = roles[entity.uuid].org_position
roles[entity.uuid].hide = true;
end
end
if not sync and not preloading then
local thread
thread = Thread.Create(function ()
while true do
local func = thread:read_message()
if func then
func()
end
end
end)
roles[entity.uuid].thread = thread
thread:send_message(function()
CreatObject(entity)
end)
thread:Start()
else
CreatObject(entity)
end
end
local partner_count = 0;
local function createPartner(entity, sync_load_asset)
game:LOG('createPartner', entity.uuid, entity.Config.refid, entity.Config.name, entity.Force.pid);
if root.pid and entity.Force.pid ~= root.pid and not root.args.worldBoss then
print('SKIP PARTNER', entity.Force.pid, entity.Config.name, 'speed', entity.Property.speed)
return;
end
local cfg = entity.Config;
if not cfg then return; end
local pos = entity.Position.pos;
local slot = root.view.battle.partnerStage.slotCard[pos]
if not slot then
print('unknown role slot', pos);
return;
end
local script = slot.partner[SGK.BattlefieldObject];
if preloading then
local asset = SGK.ResourcesManager.Load(string.format("roles/%s/%s_SkeletonData.asset", cfg.mode, cfg.mode));
script:ChangeMode(tostring(cfg.mode), asset);
else
script:ChangeMode(tostring(cfg.mode));
end
script:SetName(cfg.name);
script:UpdateProperty(entity.Property.hp, entity.Property.hpp, 100, 100, 0);
script:ShowUI(true);
local flip = battle_config.GetModeFlip(cfg.mode, 1, pos);
script.flip = flip;
slot.partner.UIPartner.element[CS.UGUISpriteSelector].index = GetMasterIcon(entity.Property)
local energyBar = slot.partner.UIPartner.ResourceBar[CS.BattleEnergyBar];
-- print('createPartner', entity.Config.name, energyBar);
slot.partner:SetActive(true);
roles[entity.uuid] = {script = script, energyBar = energyBar, side = 1, ui = slot.partner.UIPartner}
partner_count = partner_count + 1;
if partner_count == 4 then
for _, v in pairs(roles) do
if v.side == 1 then
v.script:ShowMask(true)
end
end
elseif partner_count > 4 then
script:ShowMask(true);
else
script:ShowMask(false)
end
end
local function addEntity(entity)
if not entity.Input then return end
if not entity.Round then return end;
if not entity.Force then return end;
if preloading then
return;
end
if roles[entity.uuid] then
print('repeat addEntity', entity.uuid);
return;
end
if entity.Force.side == player_side then
createPartner(entity);
else
createEnemy(entity);
end
end
local function removeEntity(uuid, entity)
if roles[uuid] and entity.Force.side ~= player_side then
if roles[uuid] and roles[uuid].script then
roles[uuid].script.gameObject:SetActive(false);
roles[uuid].script:ShowUI(false);
-- TODO: remove ??
else
roles[uuid] = nil;
end
end
end
function GetPlayerSide()
return player_side;
end
function Preload()
local list = game:FindAllEntityWithComponent("Force", "Input", "Config")
for _, v in ipairs(list) do
if root.args.worldBoss and v.Force.side == 1 or v.Force.pid == root.pid then
player_side = v.Force.side;
end
end
local _roles = game:FindAllEntityWithComponent("Force", "Input", "Config", "Health")
for _, entity in ipairs(_roles) do
if entity.Force.side == player_side then
createPartner(entity);
else
createEnemy(entity);
end
end
preloading = false
end
function Start()
end
local function UnitRelive(uuid)
local entity = game:GetEntity(uuid);
local info = roles[uuid]
if not info or not entity then
return
end
if info.script.icon then
info.script.icon.image.gameObject:GetComponent(typeof(CS.ImageMaterial)).active = false;
info.script.icon.hpBar.gameObject:SetActive(true);
end
local SkeletonAnimation = info.script.spineObject.gameObject:GetComponent(typeof(CS.Spine.Unity.SkeletonAnimation))
if SkeletonAnimation then
SkeletonAnimation.timeScale = 1
end
info.script:SetExposure(0);
info.script:ShowWarning(0);
info.script:SetQualityColor(UnityEngine.Color.white);
if info.side == 1 then
PlayAciton2(info.script, "idle")
end
if entity.Force.side ~= player_side then
info.script:ChangeMode(tostring(entity.Config.mode));
info.script:Play("idle", "idle");
info.script:ShowUI(true);
local Collider = info.script.spineObject:GetComponent(typeof(UnityEngine.BoxCollider))
if not string.find(tostring(Collider), "null:") then
Collider.enabled = true
end
end
end
local function updateEntityProperty(entity, info)
info.last_value = info.last_value or {}
local hp, hpp, shield = entity.Property.hp,
entity.Property.hpp,
entity.Property.shield
if info.dead then
info.dead = false;
info.script:SetExposure(0);
info.script:ShowWarning(0);
info.script:SetQualityColor(UnityEngine.Color.white);
UnitRelive(entity.uuid)
end
if info.last_value.hp ~= hp
or info.last_value.hpp ~= hpp
or info.last_value.shield ~= shield then
if info.script then
info.script:UpdateProperty(entity.Property.hp, entity.Property.hpp,
100, 100,
entity.Property.shield);
end
info.last_value.hp = hp
info.last_value.hpp = hpp
info.last_value.shield = shield
end
-- print('SET EP', entity.Config.name, entity.Config.id, entity.Property.ep, info.last_value.ep, info.energyBar);
if info.energyBar then
local ep, epp = entity.Property.ep, entity.Property.epp;
if info.last_value.ep ~= ep
or info.last_value.epp ~= epp then
info.energyBar:SetValue(entity.Property.ep, entity.Force.side);
info.last_value.ep = ep
info.last_value.epp = epp
end
end
end
local function showDeadEntity(entity, info)
if info.dead then return end
if entity and current_RingMenu_Role and current_RingMenu_Role == entity.uuid and target_ring_menu.activeSelf then
target_ring_menu:SetActive(false)
end
if entity then
game:DispatchEvent("Unit_Dead", entity.uuid);
end
info.dead = true;
info.script:SetExposure(-1);
info.script:ShowWarning(1);
info.script:SetQualityColor(UnityEngine.Color.red);
info.script:UpdateProperty(0, 100, 100, 100, 0);
local Collider = info.script.spineObject:GetComponent(typeof(UnityEngine.BoxCollider))
if not string.find(tostring(Collider), "null:") then
Collider.enabled = false
end
if info.script.icon then
info.script.icon.image.gameObject:GetComponent(typeof(CS.ImageMaterial)).active = true;
info.script.icon.hpBar.gameObject:SetActive(false);
end
local SkeletonAnimation = info.script.spineObject.gameObject:GetComponent(typeof(CS.Spine.Unity.SkeletonAnimation))
pcall(SkeletonAnimation.AnimationState.SetAnimation, SkeletonAnimation.AnimationState, 0, "idle", false)
SkeletonAnimation.timeScale = 0
if entity and entity.Force.side == player_side then
return;
end
-- self:PlayRandomSound(role.id, 0, 6)
LoadAsync("prefabs/effect/UI/fx_death.prefab", function(prefab)
info.script:ChangeMode("");
info.script:ShowUI(false);
if not prefab then return end;
local transform = info.script.gameObject.transform;
local death = UnityEngine.GameObject.Instantiate(prefab, transform.parent);
death.transform.localPosition = transform.localPosition;
death.transform.localScale = Vector3.one;
death.transform.localRotation = Quaternion.identity;
game:CallAt(game:GetTick(3), function()
UnityEngine.GameObject.Destroy(death.gameObject);
end);
end)
end
local function upDateTimeoutView(uuid)
local entity = game:GetEntity(uuid)
if not entity or not entity.Timeout then
return
end
if entity.Force.side == 1 then
return
end
local ui = roles[uuid].ui
if not ui.ActionTime then
return
end
local timeout_time = 0
if entity.Timeout.timeout_tick and entity.Timeout.timeout_tick > game:GetTick() then
timeout_time = game:GetTime(entity.Timeout.timeout_tick - game:GetTick()) - game:GetTime()
end
if timeout_time > 0 then
ui.ActionTime.Text[UI.Text].text = "行动中 " .. string.format("%.1f", timeout_time)
else
ui.ActionTime.Text[UI.Text].text = "行动中 0"
end
end
local interval = 0.2
function Update()
interval = interval - UnityEngine.Time.deltaTime
local show_focus_tag = interval < 0
for uuid, info in pairs(roles) do
local entity = game:GetEntity(uuid);
if entity and entity:Alive() then
updateEntityProperty(entity, info);
elseif not root.speedUp then
showDeadEntity(entity, info);
ActionTimeActive(uuid, false)
end
if show_focus_tag then
setFocusTagView(uuid);
end
upDateTimeoutView(uuid);
end
if show_focus_tag then
interval = 0.2
end
-- if root.speedUp then return end
end
local function PlayAciton2(script, action)
local SkeletonAnimation = script.spineObject.gameObject:GetComponent(typeof(CS.Spine.Unity.SkeletonAnimation))
if SkeletonAnimation then
SkeletonAnimation.AnimationState:SetAnimation(0, action, false)
local success = pcall(SkeletonAnimation.AnimationState.AddAnimation, SkeletonAnimation.AnimationState, 0, "idle_talk", true, 0)
if not success then
SkeletonAnimation.AnimationState:AddAnimation(0 , "idle", true, 0)
end
end
end
local function UnitPlay(uuid, action)
-- local uuid, action = info.uuid, info.action;
local role = roles[uuid]
if role then
if role.side == 1 then
PlayAciton2(role.script, action)
else
if role.script then
role.script:Play(action, "idle");
end
end
role.__enter_played = true;
if role.hide then
role.script.gameObject.transform.localPosition = role.org_position;
role.script:ShowUI(true);
role.hide = nil;
role.org_position = nil;
end
end
end
local cameraController = root.view.battle.cameraController[SGK.Battle.BattleCameraController]
local enemy_action_effect = nil
local function cameraMove(uuid)
local role = game:GetEntity(uuid)
if not role then return end
if role.side == 1 and role.pos >= 1 and role.pos <= 5 then
cameraController:CameraMoveReset(root.view.battle.CameraSlot[role.pos].transform, 0.3);
else
cameraController:CameraMoveReset(root.view.battle.CameraSlot[3].transform, 0.3);
-- [[
if role.side ~= 1 then
if enemy_action_effect == nil then
LoadAsync("prefabs/effect/UI/fx_jues_act.prefab", function(o)
if not o then return; end;
enemy_action_effect = SGK.UIReference.Instantiate(o)
enemy_action_effect.transform.position = roles[uuid].script.gameObject.transform.position;
enemy_action_effect:SetActive(true);
end)
elseif enemy_action_effect then
enemy_action_effect.transform.position = roles[uuid].script.gameObject.transform.position;
enemy_action_effect:SetActive(true);
end
end
--]]
end
end
-- local last_hurt_list = {}
function EVENT.RAW_BATTLE_EVENT(_, event, ...)
if event == "ENTITY_ADD" then
local uuid, entity = ...
addEntity(entity)
elseif event == "ENTITY_REMOVED" then
removeEntity(...)
elseif event == "UNIT_PLAY_ACTION" then
local uuid, action = ...
if root.speedUp and action ~= "ruchang" then return end
UnitPlay(uuid, action);
elseif event == "WAVE_FINISHED" or event == "FIGHT_FINISHED" then
if not root.speedUp then return end
root.speedUp = 1
for uuid, info in pairs(roles) do
local entity = game:GetEntity(uuid);
if entity and entity:Alive() then
updateEntityProperty(entity, info);
local hurt = math.floor(entity.Property.hpp - entity.Property.hp) -- (last_hurt_list[uuid] or 0)
-- last_hurt_list[uuid] = hurt
if hurt > 0 and event == "FIGHT_FINISHED" then
showNumber(entity.uuid, math.floor(entity.Property.hpp - entity.Property.hp), nil, 1)
end
else
showDeadEntity(entity, info);
end
end
elseif event == "UNIT_BEFORE_ACTION" then
if root.speedUp then return end
local uuid = ...
if filterPartnerEvent(uuid) then return end
ActionTimeActive(uuid, true)
cameraMove(uuid)
elseif event == "UNIT_AFTER_ACTION" then
if root.speedUp then return end
local uuid = ...
if filterPartnerEvent(uuid) then return end
ActionTimeActive(uuid, false)
if enemy_action_effect then
enemy_action_effect:SetActive(false);
end
elseif event == "ROUND_START" then
cameraController:CameraMoveReset()
cameraController:CameraLookReset()
end
end
--[[
function API.UnitPlay(skill, role, action, ...)
role = role or skill.entity
local info = roles[role.uuid]
if not info then return; end
info.script:Play(action, "idle");
end
--]]
function API.UnitPlayLoopAction(skill, role, action, ...)
role = role or skill.entity
local info = roles[role.uuid]
if not info then return; end
info.script:Play(action, action);
end
function GetBattlefiledObject(uuid)
return roles[uuid] and roles[uuid].script;
end
function GetAllBattlefiledObject()
return roles
end
|
local Clockwork = Clockwork;
local COMMAND = Clockwork.command:New("PlyFreeze");
COMMAND.tip = "Freezes or unfreezes a player.";
COMMAND.text = "<string Name>";
COMMAND.access = "o";
COMMAND.arguments = 1;
-- Called when the command has been run.
function COMMAND:OnRun(player, arguments)
local target = Clockwork.player:FindByID(arguments[1]);
if (target) then
if (!target:IsFrozen()) then
Clockwork.player:SetRagdollState(target, RAGDOLL_NONE);
end;
target:Freeze(!target:IsFrozen());
local text = "unfrozen";
local icon = "lock_break";
if (target:IsFrozen()) then
text = "frozen";
icon = "lock";
end;
if (target != player) then
if (Clockwork.config:Get("global_echo"):Get()) then
for k, v in pairs(_player.GetAll()) do
if (v != player and v != target) then
v:CPNotify(player:Name().." has "..text.." "..target:Name()..".", icon);
end;
end;
end;
player:CPNotify("You have "..text.." "..target:Name()..".", icon);
target:CPNotify(player:Name().." has "..text.." you.", icon);
else
if (Clockwork.config:Get("global_echo"):Get()) then
for k, v in pairs(_player.GetAll()) do
if (v != player) then
v:CPNotify(player:Name().." has "..text.." themself.", icon);
end;
end;
end;
player:CPNotify("You have "..text.." yourself.", icon);
end;
else
player:CPNotify(arguments[1].." is not a valid player!", Clockwork.option:GetKey("invalid_target_icon"));
end;
end;
COMMAND:Register();
|
local ModeSelectScene = Scene:extend()
ModeSelectScene.title = "Game Start"
current_mode = 1
current_ruleset = 1
MAX_MODES = 19
game_modes = {
require 'tetris.modes.marathon_2020',
require 'tetris.modes.survival_2020',
require 'tetris.modes.strategy',
require 'tetris.modes.interval_training',
require 'tetris.modes.pacer_test',
require 'tetris.modes.marathon_wcb',
require 'tetris.modes.demon_mode',
require 'tetris.modes.phantom_mania',
require 'tetris.modes.phantom_mania2',
require 'tetris.modes.phantom_mania_n',
require 'tetris.modes.race_40',
require 'tetris.modes.marathon_a1',
require 'tetris.modes.marathon_a2',
require 'tetris.modes.marathon_a3',
require 'tetris.modes.marathon_ax',
require 'tetris.modes.marathon_ax2',
require 'tetris.modes.marathon_ax3',
require 'tetris.modes.marathon_c89',
require 'tetris.modes.survival_a1',
require 'tetris.modes.survival_a2',
require 'tetris.modes.survival_a3',
require 'tetris.modes.survival_ax',
require 'tetris.modes.survival_ax2',
require 'tetris.modes.credits_a3',
}
rulesets = {
require 'tetris.rulesets.cambridge',
require 'tetris.rulesets.standard',
require 'tetris.rulesets.standard_ti',
require 'tetris.rulesets.arika',
require 'tetris.rulesets.arika_ti',
require 'tetris.rulesets.arika_ace',
--require 'tetris.rulesets.bonkers',
--require 'tetris.rulesets.shirase',
--require 'tetris.rulesets.super302',
}
function ModeSelectScene:new()
self.menu_state = {
mode = current_mode,
ruleset = current_ruleset,
select = "mode",
}
end
function ModeSelectScene:update()
end
function getCursorHeight(x)
return 78 + 20 * x
end
function ModeSelectScene:drawList(name, items, cursor, x)
local start, finish
if table.getn(items) < MAX_MODES then
start = 1
finish = table.getn(items)
else
if cursor < 10 then
start = 1
finish = 19
elseif cursor > table.getn(items) - 9 then
start = table.getn(items) - 18
finish = table.getn(items)
else
start = cursor - 9
finish = cursor + 9
end
end
if self.menu_state.select == name then
love.graphics.setColor(1, 1, 1, 0.5)
else
love.graphics.setColor(1, 1, 1, 0.25)
end
love.graphics.rectangle("fill", x, getCursorHeight(cursor - start), 240, 22)
love.graphics.setColor(1, 1, 1, 1)
for idx = start, finish do
local item = items[idx]
love.graphics.printf(item.name, x + 20, 80 + 20 * (idx - start), 200, "left")
end
end
function ModeSelectScene:render()
love.graphics.setFont(font_3x5_2)
love.graphics.draw(
backgrounds[0],
0, 0, 0,
0.5, 0.5
)
love.graphics.draw(misc_graphics["select_mode"], 20, 30)
self:drawList("mode", game_modes, self.menu_state.mode, 20)
self:drawList("ruleset", rulesets, self.menu_state.ruleset, 320)
end
function ModeSelectScene:onKeyPress(e)
if e.scancode == "return" and e.isRepeat == false then
current_mode = self.menu_state.mode
current_ruleset = self.menu_state.ruleset
config.current_mode = current_mode
config.current_ruleset = current_ruleset
saveConfig()
scene = GameScene(game_modes[self.menu_state.mode], rulesets[self.menu_state.ruleset])
elseif (e.scancode == config.input["up"] or e.scancode == "up") and e.isRepeat == false then
self:changeOption(-1)
elseif (e.scancode == config.input["down"] or e.scancode == "down") and e.isRepeat == false then
self:changeOption(1)
elseif (e.scancode == config.input["left"] or e.scancode == "left") or
(e.scancode == config.input["right"] or e.scancode == "right") then
self:switchSelect()
end
end
function ModeSelectScene:changeOption(rel)
if self.menu_state.select == "mode" then
self:changeMode(rel)
elseif self.menu_state.select == "ruleset" then
self:changeRuleset(rel)
end
end
function ModeSelectScene:switchSelect(rel)
if self.menu_state.select == "mode" then
self.menu_state.select = "ruleset"
elseif self.menu_state.select == "ruleset" then
self.menu_state.select = "mode"
end
end
function ModeSelectScene:changeMode(rel)
local len = table.getn(game_modes)
self.menu_state.mode = (self.menu_state.mode + len + rel - 1) % len + 1
end
function ModeSelectScene:changeRuleset(rel)
local len = table.getn(rulesets)
self.menu_state.ruleset = (self.menu_state.ruleset + len + rel - 1) % len + 1
end
return ModeSelectScene
|
local benches = { }
function startBenchMark()
local benchID = #benches + 1
benches[ benchID ] = getTickCount()
return benchID
end
function endBenchMark( benchID )
if (benches[ benchID] ) then
return getTickCount() - benches[ benchID]
end
return -1
end
function split(str, pat)
local t = {} -- NOTE: use {n = 0} in Lua-5.0
local fpat = "(.-)" .. pat
local last_end = 1
local s, e, cap = str:find(fpat, 1)
while s do
if s ~= 1 or cap ~= "" then
table.insert(t,cap)
end
last_end = e+1
s, e, cap = str:find(fpat, last_end)
end
if last_end <= #str then
cap = str:sub(last_end)
table.insert(t, cap)
end
return t
end
|
module(..., package.seeall)
--wali = require "WALI/WALI"
mach_lib = require "WALI/mach_lib"
mach_data = require "WALI/mach_data"
mach_config = require "WALI/mach_config"
--ti_lib = require "WALI/TI_lib"
__mach_features_enabled__ = {}
__mach_enabled_mods_msg_box_displayed__ = false
local scripting = require "EpisodicScripting"
--local utils = require("utilities")
--local core = require("CoreUtils")
--local out = require("out")
local prevContext = nil
local prevCallTime = nil
local selectedCharacterContext = nil
local env = ""
local configError = ""
local configFile = ""
local region_names_list = {}
local settlement_names_list = {}
local artillery_to_gun_type_list = {}
--local besiegedSettlements_list = {}
-- Initialise MACH
function initialize_mach()
-- mach_lib.set_debug(true)
mach_lib.create_mach_lua_log()
mach_lib.update_mach_lua_log("Initializing Machiavelli's Mods.")
mach_data.__mach_saved_games_list__ = mach_lib.get_mach_saved_games_list()
-- mach_lib.load_mach_config_file()
--mach_lib.__mach_log_func_name__("MACH.initialise_mach")
-- local alphaPointer = wali.GetAlphaPointer('0x017F1C80', optionalHeader)
-- mach_lib.update_mach_lua_log("campaign_unit_multiplier: "..tostring(wali.GetCampaignUnitMultiplier(nil)))
-- region_names_list = mach_lib.build_region_names_list()
-- settlement_names_list = mach_lib.build_settlement_names_list()
-- artillery_to_gun_type_list = mach_lib.build_artillery_to_gun_type_list()
mach_lib.update_mach_lua_log("Finished Initializing Machiavelli's Mods.")
end
--[[
Description:
Loads the WALI config file
Arguments:
n/a
Returns:
True for success, else sting containing error details
--]]
--local function load_mach_config_file()
-- mach_lib.update_mach_lua_log("Getting values from MACH config file.")
-- local config_file = loadfile("data/WALI/mach_config.lua")
-- if type(config_file) == "nil" then
-- mach_lib.update_mach_lua_log(config_file.." failed to load, does not exist")
-- return false
-- end
-- setfenv(config_file, getfenv())
-- config_file()
-- mach_lib.update_mach_lua_log("Loaded config successfully.")
-- return true
--end
function show_mach_enabled_mods_text_in_advice_box()
mach_lib.update_mach_lua_log("Showing MACH enabled mods advice text in advice box.")
local mach_features_str = "Machiavelli's Enabled Mods:\n\n"
for feat_count = 1, #__mach_features_enabled__ do
mach_lib.update_mach_lua_log(string.format('Showing enabled mod in advice box: "%s"', __mach_features_enabled__[feat_count]))
mach_features_str = mach_features_str..'* '..tostring(__mach_features_enabled__[feat_count])..'\n\n'
end
effect.advice(mach_features_str)
effect.suspend_contextual_advice(false)
__mach_enabled_mods_msg_box_displayed__ = true
mach_lib.update_mach_lua_log("Finished showing MACH enabled mods advice text in advice box.")
end
scripting.AddEventCallBack("CampaignArmiesMerge", mach_lib.on_campaign_armies_merge)
scripting.AddEventCallBack("CharacterCreated", mach_lib.on_character_created)
scripting.AddEventCallBack("CharacterSelected", mach_lib.on_character_selected)
scripting.AddEventCallBack("ComponentLClickUp", mach_lib.on_component_left_click_up)
scripting.AddEventCallBack("FactionTurnEnd", mach_lib.on_faction_turn_end)
scripting.AddEventCallBack("FactionTurnStart", mach_lib.on_faction_turn_start)
scripting.AddEventCallBack("LoadingGame", mach_lib.on_loading_game)
scripting.AddEventCallBack("PanelClosedCampaign", mach_lib.on_panel_closed_campaign)
scripting.AddEventCallBack("PanelOpenedCampaign", mach_lib.on_panel_opened_campaign)
scripting.AddEventCallBack("RegionRebels", mach_lib.on_region_rebels)
scripting.AddEventCallBack("SavingGame", mach_lib.on_saving_game)
scripting.AddEventCallBack("TimeTrigger", mach_lib.on_time_trigger)
scripting.AddEventCallBack("UICreated", mach_lib.on_ui_created)
|
-- Load and set namespace
local _, core = ...
-- Handler for console slash commands
function core:Console(arg)
-- Print help
if arg == "help" then
s = [[
Console commands:
/duty - Open GUI (Key Bindings > Other > Duty)
/duty options - Show interface options
/duty defaults - Reset Duty to default settings]]
core:Print(s)
-- Open settings
elseif arg == "options" then
InterfaceOptionsFrame_OpenToCategory("Duty")
InterfaceOptionsFrame_OpenToCategory("Duty") -- need this twice for some reason
-- Open GUI
elseif arg == "" then
core.Duty:Toggle()
-- Toggle debug
elseif arg == "debug" then
core:ToggleDebug()
-- Reset and restore entire AddOn to default values
elseif arg == "defaults" then
core:RestoreDefaults()
-- Print error
else
core:Print("Unknown command. Type '/duty help' for options.")
end
end
-- Init is the main entry point
function core:Init(event, name)
if (name ~= "Duty") then return end
core:Debug("Core: Initializing")
-- Set or load options
core:LoadDB()
core:Debug("Init: Create configuration panel.")
core.Config:Create()
core:Debug("Init: Create Duty module")
core.Duty:Create()
core.Duty:SetOpacity()
core.DutySlave:Create()
core.DutySlave:SetOpacity()
-- Init comms
core:Debug("Init: Create Comms module")
core.Comms:Init(function(player, text)
core:Debug("comms init callback: " .. player .. ": " .. text)
local tag, assignment, targets = strsplit(":", text, 3)
if tag ~= "<DUTY>" then
return
end
core.DutySlave:Set(assignment, targets)
end)
-- Functions for key binds
_G["KeyBinding_ToggleDuty"] = function()
core.Duty:Toggle()
end
-- Register slash command
SLASH_DUTY1 = "/duty"
SlashCmdList["DUTY"] = function(arg)
core:Console(arg)
end
-- Register key bindings
BINDING_HEADER_DUTY = "Duty"
BINDING_NAME_DUTY_GUI = "Toggle GUI"
-- Announce loaded
core:Print("Loaded. Type /duty to open.")
end
-- Init on loaded
local events = CreateFrame("Frame")
events:RegisterEvent("ADDON_LOADED")
events:SetScript("OnEvent", core.Init)
|
TestBot = Bot.New("Test Bot",{"TestBot","TestBot2","TestBot3"}) --the first argument is what name to use when displaying informationg through the console, the second argument is a table of nicks to use for connections
TestBot:Connect("IRC.CHANGETHISSERVER.NET", 6667, {{channel = "#somechannel"}, {channel = "#somepasswordedchannel", password = "somepassword"}}) -- note there is another optional argument at the end, which is the command to send to the server to authenticate (such as "nickerv identify somepassword")
TestBot:LoadExtension(Stats)
TestBot:LoadExtension(Control)
TestBot:AddCTCP("VERSION", function(Func,Args) Args.Connection:CTCP(Args.Nick, "VERSION Some sort of version reply") end)
|
return {'sedan','sedatie','sedatief','sedativum','sedentair','seder','sedert','sedertdien','sediment','sedimentair','sedimentatie','sedimentgesteente','seductie','sedekah','sedenteren','sederen','sedimentaanvoer','sedimenttransport','seda','sedney','sedee','sedoc','sedativa','sedentaire','sedimentaire','sedimenten','sedimentgesteenten','sedans','sedatieve','sedimentgesteentes','sedekahs','sedenteerde','seders','sedimentaties','sedas'}
|
object_mobile_outbreak_undead_scientist_m_hum_03 = object_mobile_shared_outbreak_undead_scientist_m_hum_03:new {
}
ObjectTemplates:addTemplate(object_mobile_outbreak_undead_scientist_m_hum_03, "object/mobile/outbreak_undead_scientist_m_hum_03.iff")
|
faction_agent_permitted_subtypes_tables = {
SCHEMA = {"agent", "faction", "subtype"},
KEY = {"faction", "LIST"},
DATA = {
{"colonel", "wh2_dlc09_rogue_black_creek_raiders", "wh2_main_def_dreadlord"},
{"general", "wh2_dlc09_rogue_black_creek_raiders", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_dlc09_rogue_black_creek_raiders", "wh2_main_def_dreadlord"},
{"colonel", "wh2_dlc09_rogue_dwellers_of_zardok", "dlc03_bst_beastlord"},
{"general", "wh2_dlc09_rogue_dwellers_of_zardok", "dlc03_bst_beastlord"},
{"colonel", "wh2_dlc09_rogue_eyes_of_the_jungle", "dlc05_wef_glade_lord"},
{"general", "wh2_dlc09_rogue_eyes_of_the_jungle", "dlc05_wef_glade_lord"},
{"colonel", "wh2_dlc09_rogue_pilgrims_of_myrmidia", "brt_lord"},
{"general", "wh2_dlc09_rogue_pilgrims_of_myrmidia", "brt_lord"},
{"champion", "wh2_dlc09_skv_clan_rictus_separatists", "default"},
{"colonel", "wh2_dlc09_skv_clan_rictus_separatists", "wh2_main_skv_warlord"},
{"dignitary", "wh2_dlc09_skv_clan_rictus_separatists", "default"},
{"engineer", "wh2_dlc09_skv_clan_rictus_separatists", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_dlc09_skv_clan_rictus_separatists", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_dlc09_skv_clan_rictus_separatists", "wh2_dlc09_skv_tretch_craventail"},
{"general", "wh2_dlc09_skv_clan_rictus_separatists", "wh2_dlc12_skv_warlock_master"},
{"general", "wh2_dlc09_skv_clan_rictus_separatists", "wh2_dlc14_skv_master_assassin"},
{"general", "wh2_dlc09_skv_clan_rictus_separatists", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_dlc09_skv_clan_rictus_separatists", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_dlc09_skv_clan_rictus_separatists", "wh2_main_skv_queek_headtaker"},
{"general", "wh2_dlc09_skv_clan_rictus_separatists", "wh2_main_skv_warlord"},
{"minister", "wh2_dlc09_skv_clan_rictus_separatists", "default"},
{"runesmith", "wh2_dlc09_skv_clan_rictus_separatists", "default"},
{"spy", "wh2_dlc09_skv_clan_rictus_separatists", "wh2_main_skv_assassin"},
{"wizard", "wh2_dlc09_skv_clan_rictus_separatists", "wh2_dlc14_skv_eshin_sorcerer"},
{"wizard", "wh2_dlc09_skv_clan_rictus_separatists", "wh2_main_skv_plague_priest"},
{"wizard", "wh2_dlc09_skv_clan_rictus_separatists", "wh2_main_skv_plague_priest_ritual"},
{"champion", "wh2_dlc09_skv_clan_rictus", "default"},
{"colonel", "wh2_dlc09_skv_clan_rictus", "wh2_main_skv_warlord"},
{"dignitary", "wh2_dlc09_skv_clan_rictus", "default"},
{"engineer", "wh2_dlc09_skv_clan_rictus", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_dlc09_skv_clan_rictus", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_dlc09_skv_clan_rictus", "wh2_dlc09_skv_tretch_craventail"},
{"general", "wh2_dlc09_skv_clan_rictus", "wh2_dlc12_skv_warlock_master"},
{"general", "wh2_dlc09_skv_clan_rictus", "wh2_dlc14_skv_master_assassin"},
{"general", "wh2_dlc09_skv_clan_rictus", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_dlc09_skv_clan_rictus", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_dlc09_skv_clan_rictus", "wh2_main_skv_queek_headtaker"},
{"general", "wh2_dlc09_skv_clan_rictus", "wh2_main_skv_warlord"},
{"minister", "wh2_dlc09_skv_clan_rictus", "default"},
{"runesmith", "wh2_dlc09_skv_clan_rictus", "default"},
{"spy", "wh2_dlc09_skv_clan_rictus", "wh2_main_skv_assassin"},
{"wizard", "wh2_dlc09_skv_clan_rictus", "wh2_dlc14_skv_eshin_sorcerer"},
{"wizard", "wh2_dlc09_skv_clan_rictus", "wh2_main_skv_plague_priest"},
{"wizard", "wh2_dlc09_skv_clan_rictus", "wh2_main_skv_plague_priest_ritual"},
{"champion", "wh2_dlc09_tmb_dune_kingdoms", "wh2_dlc09_tmb_tomb_prince"},
{"colonel", "wh2_dlc09_tmb_dune_kingdoms", "wh2_dlc09_tmb_tomb_king"},
{"dignitary", "wh2_dlc09_tmb_dune_kingdoms", "default"},
{"engineer", "wh2_dlc09_tmb_dune_kingdoms", "wh2_dlc09_tmb_necrotect"},
{"engineer", "wh2_dlc09_tmb_dune_kingdoms", "wh2_dlc09_tmb_necrotect_ritual"},
{"general", "wh2_dlc09_tmb_dune_kingdoms", "wh2_dlc09_tmb_tomb_king"},
{"minister", "wh2_dlc09_tmb_dune_kingdoms", "default"},
{"runesmith", "wh2_dlc09_tmb_dune_kingdoms", "default"},
{"spy", "wh2_dlc09_tmb_dune_kingdoms", "default"},
{"wizard", "wh2_dlc09_tmb_dune_kingdoms", "wh2_dlc09_tmb_liche_priest_death"},
{"wizard", "wh2_dlc09_tmb_dune_kingdoms", "wh2_dlc09_tmb_liche_priest_light"},
{"wizard", "wh2_dlc09_tmb_dune_kingdoms", "wh2_dlc09_tmb_liche_priest_nehekhara"},
{"wizard", "wh2_dlc09_tmb_dune_kingdoms", "wh2_dlc09_tmb_liche_priest_shadow"},
{"champion", "wh2_dlc09_tmb_exiles_of_nehek", "wh2_dlc09_tmb_tomb_prince"},
{"colonel", "wh2_dlc09_tmb_exiles_of_nehek", "wh2_dlc09_tmb_tomb_king"},
{"dignitary", "wh2_dlc09_tmb_exiles_of_nehek", "default"},
{"engineer", "wh2_dlc09_tmb_exiles_of_nehek", "wh2_dlc09_tmb_necrotect"},
{"engineer", "wh2_dlc09_tmb_exiles_of_nehek", "wh2_dlc09_tmb_necrotect_ritual"},
{"general", "wh2_dlc09_tmb_exiles_of_nehek", "wh2_dlc09_tmb_arkhan"},
{"general", "wh2_dlc09_tmb_exiles_of_nehek", "wh2_dlc09_tmb_khalida"},
{"general", "wh2_dlc09_tmb_exiles_of_nehek", "wh2_dlc09_tmb_khatep"},
{"general", "wh2_dlc09_tmb_exiles_of_nehek", "wh2_dlc09_tmb_settra"},
{"general", "wh2_dlc09_tmb_exiles_of_nehek", "wh2_dlc09_tmb_tomb_king"},
{"general", "wh2_dlc09_tmb_exiles_of_nehek", "wh2_dlc09_tmb_tomb_king_alkhazzar_ii"},
{"general", "wh2_dlc09_tmb_exiles_of_nehek", "wh2_dlc09_tmb_tomb_king_lahmizzash"},
{"general", "wh2_dlc09_tmb_exiles_of_nehek", "wh2_dlc09_tmb_tomb_king_rakhash"},
{"general", "wh2_dlc09_tmb_exiles_of_nehek", "wh2_dlc09_tmb_tomb_king_setep"},
{"general", "wh2_dlc09_tmb_exiles_of_nehek", "wh2_dlc09_tmb_tomb_king_thutep"},
{"general", "wh2_dlc09_tmb_exiles_of_nehek", "wh2_dlc09_tmb_tomb_king_wakhaf"},
{"minister", "wh2_dlc09_tmb_exiles_of_nehek", "default"},
{"runesmith", "wh2_dlc09_tmb_exiles_of_nehek", "default"},
{"spy", "wh2_dlc09_tmb_exiles_of_nehek", "default"},
{"wizard", "wh2_dlc09_tmb_exiles_of_nehek", "wh2_dlc09_tmb_liche_priest_death"},
{"wizard", "wh2_dlc09_tmb_exiles_of_nehek", "wh2_dlc09_tmb_liche_priest_light"},
{"wizard", "wh2_dlc09_tmb_exiles_of_nehek", "wh2_dlc09_tmb_liche_priest_nehekhara"},
{"wizard", "wh2_dlc09_tmb_exiles_of_nehek", "wh2_dlc09_tmb_liche_priest_shadow"},
{"champion", "wh2_dlc09_tmb_followers_of_nagash", "wh2_dlc09_tmb_tomb_prince"},
{"colonel", "wh2_dlc09_tmb_followers_of_nagash", "wh2_dlc09_tmb_tomb_king"},
{"dignitary", "wh2_dlc09_tmb_followers_of_nagash", "default"},
{"engineer", "wh2_dlc09_tmb_followers_of_nagash", "wh2_dlc09_tmb_necrotect"},
{"engineer", "wh2_dlc09_tmb_followers_of_nagash", "wh2_dlc09_tmb_necrotect_ritual"},
{"general", "wh2_dlc09_tmb_followers_of_nagash", "wh2_dlc09_tmb_arkhan"},
{"general", "wh2_dlc09_tmb_followers_of_nagash", "wh2_dlc09_tmb_khalida"},
{"general", "wh2_dlc09_tmb_followers_of_nagash", "wh2_dlc09_tmb_khatep"},
{"general", "wh2_dlc09_tmb_followers_of_nagash", "wh2_dlc09_tmb_settra"},
{"general", "wh2_dlc09_tmb_followers_of_nagash", "wh2_dlc09_tmb_tomb_king"},
{"general", "wh2_dlc09_tmb_followers_of_nagash", "wh2_dlc09_tmb_tomb_king_alkhazzar_ii"},
{"general", "wh2_dlc09_tmb_followers_of_nagash", "wh2_dlc09_tmb_tomb_king_lahmizzash"},
{"general", "wh2_dlc09_tmb_followers_of_nagash", "wh2_dlc09_tmb_tomb_king_rakhash"},
{"general", "wh2_dlc09_tmb_followers_of_nagash", "wh2_dlc09_tmb_tomb_king_setep"},
{"general", "wh2_dlc09_tmb_followers_of_nagash", "wh2_dlc09_tmb_tomb_king_thutep"},
{"general", "wh2_dlc09_tmb_followers_of_nagash", "wh2_dlc09_tmb_tomb_king_wakhaf"},
{"minister", "wh2_dlc09_tmb_followers_of_nagash", "default"},
{"runesmith", "wh2_dlc09_tmb_followers_of_nagash", "default"},
{"spy", "wh2_dlc09_tmb_followers_of_nagash", "default"},
{"wizard", "wh2_dlc09_tmb_followers_of_nagash", "wh2_dlc09_tmb_liche_priest_death"},
{"wizard", "wh2_dlc09_tmb_followers_of_nagash", "wh2_dlc09_tmb_liche_priest_light"},
{"wizard", "wh2_dlc09_tmb_followers_of_nagash", "wh2_dlc09_tmb_liche_priest_nehekhara"},
{"wizard", "wh2_dlc09_tmb_followers_of_nagash", "wh2_dlc09_tmb_liche_priest_shadow"},
{"champion", "wh2_dlc09_tmb_khemri", "wh2_dlc09_tmb_tomb_prince"},
{"colonel", "wh2_dlc09_tmb_khemri", "wh2_dlc09_tmb_tomb_king"},
{"dignitary", "wh2_dlc09_tmb_khemri", "default"},
{"engineer", "wh2_dlc09_tmb_khemri", "wh2_dlc09_tmb_necrotect"},
{"engineer", "wh2_dlc09_tmb_khemri", "wh2_dlc09_tmb_necrotect_ritual"},
{"general", "wh2_dlc09_tmb_khemri", "wh2_dlc09_tmb_arkhan"},
{"general", "wh2_dlc09_tmb_khemri", "wh2_dlc09_tmb_khalida"},
{"general", "wh2_dlc09_tmb_khemri", "wh2_dlc09_tmb_khatep"},
{"general", "wh2_dlc09_tmb_khemri", "wh2_dlc09_tmb_settra"},
{"general", "wh2_dlc09_tmb_khemri", "wh2_dlc09_tmb_tomb_king"},
{"general", "wh2_dlc09_tmb_khemri", "wh2_dlc09_tmb_tomb_king_alkhazzar_ii"},
{"general", "wh2_dlc09_tmb_khemri", "wh2_dlc09_tmb_tomb_king_lahmizzash"},
{"general", "wh2_dlc09_tmb_khemri", "wh2_dlc09_tmb_tomb_king_rakhash"},
{"general", "wh2_dlc09_tmb_khemri", "wh2_dlc09_tmb_tomb_king_setep"},
{"general", "wh2_dlc09_tmb_khemri", "wh2_dlc09_tmb_tomb_king_thutep"},
{"general", "wh2_dlc09_tmb_khemri", "wh2_dlc09_tmb_tomb_king_wakhaf"},
{"minister", "wh2_dlc09_tmb_khemri", "default"},
{"runesmith", "wh2_dlc09_tmb_khemri", "default"},
{"spy", "wh2_dlc09_tmb_khemri", "default"},
{"wizard", "wh2_dlc09_tmb_khemri", "wh2_dlc09_tmb_liche_priest_death"},
{"wizard", "wh2_dlc09_tmb_khemri", "wh2_dlc09_tmb_liche_priest_light"},
{"wizard", "wh2_dlc09_tmb_khemri", "wh2_dlc09_tmb_liche_priest_nehekhara"},
{"wizard", "wh2_dlc09_tmb_khemri", "wh2_dlc09_tmb_liche_priest_shadow"},
{"champion", "wh2_dlc09_tmb_lybaras", "wh2_dlc09_tmb_tomb_prince"},
{"colonel", "wh2_dlc09_tmb_lybaras", "wh2_dlc09_tmb_tomb_king"},
{"dignitary", "wh2_dlc09_tmb_lybaras", "default"},
{"engineer", "wh2_dlc09_tmb_lybaras", "wh2_dlc09_tmb_necrotect"},
{"engineer", "wh2_dlc09_tmb_lybaras", "wh2_dlc09_tmb_necrotect_ritual"},
{"general", "wh2_dlc09_tmb_lybaras", "wh2_dlc09_tmb_arkhan"},
{"general", "wh2_dlc09_tmb_lybaras", "wh2_dlc09_tmb_khalida"},
{"general", "wh2_dlc09_tmb_lybaras", "wh2_dlc09_tmb_khatep"},
{"general", "wh2_dlc09_tmb_lybaras", "wh2_dlc09_tmb_settra"},
{"general", "wh2_dlc09_tmb_lybaras", "wh2_dlc09_tmb_tomb_king"},
{"general", "wh2_dlc09_tmb_lybaras", "wh2_dlc09_tmb_tomb_king_alkhazzar_ii"},
{"general", "wh2_dlc09_tmb_lybaras", "wh2_dlc09_tmb_tomb_king_lahmizzash"},
{"general", "wh2_dlc09_tmb_lybaras", "wh2_dlc09_tmb_tomb_king_rakhash"},
{"general", "wh2_dlc09_tmb_lybaras", "wh2_dlc09_tmb_tomb_king_setep"},
{"general", "wh2_dlc09_tmb_lybaras", "wh2_dlc09_tmb_tomb_king_thutep"},
{"general", "wh2_dlc09_tmb_lybaras", "wh2_dlc09_tmb_tomb_king_wakhaf"},
{"minister", "wh2_dlc09_tmb_lybaras", "default"},
{"runesmith", "wh2_dlc09_tmb_lybaras", "default"},
{"spy", "wh2_dlc09_tmb_lybaras", "default"},
{"wizard", "wh2_dlc09_tmb_lybaras", "wh2_dlc09_tmb_liche_priest_death"},
{"wizard", "wh2_dlc09_tmb_lybaras", "wh2_dlc09_tmb_liche_priest_light"},
{"wizard", "wh2_dlc09_tmb_lybaras", "wh2_dlc09_tmb_liche_priest_nehekhara"},
{"wizard", "wh2_dlc09_tmb_lybaras", "wh2_dlc09_tmb_liche_priest_shadow"},
{"champion", "wh2_dlc09_tmb_numas", "wh2_dlc09_tmb_tomb_prince"},
{"colonel", "wh2_dlc09_tmb_numas", "wh2_dlc09_tmb_tomb_king"},
{"dignitary", "wh2_dlc09_tmb_numas", "default"},
{"engineer", "wh2_dlc09_tmb_numas", "wh2_dlc09_tmb_necrotect"},
{"engineer", "wh2_dlc09_tmb_numas", "wh2_dlc09_tmb_necrotect_ritual"},
{"general", "wh2_dlc09_tmb_numas", "wh2_dlc09_tmb_tomb_king"},
{"minister", "wh2_dlc09_tmb_numas", "default"},
{"runesmith", "wh2_dlc09_tmb_numas", "default"},
{"spy", "wh2_dlc09_tmb_numas", "default"},
{"wizard", "wh2_dlc09_tmb_numas", "wh2_dlc09_tmb_liche_priest_death"},
{"wizard", "wh2_dlc09_tmb_numas", "wh2_dlc09_tmb_liche_priest_light"},
{"wizard", "wh2_dlc09_tmb_numas", "wh2_dlc09_tmb_liche_priest_nehekhara"},
{"wizard", "wh2_dlc09_tmb_numas", "wh2_dlc09_tmb_liche_priest_shadow"},
{"champion", "wh2_dlc09_tmb_rakaph_dynasty", "wh2_dlc09_tmb_tomb_prince"},
{"colonel", "wh2_dlc09_tmb_rakaph_dynasty", "wh2_dlc09_tmb_tomb_king"},
{"dignitary", "wh2_dlc09_tmb_rakaph_dynasty", "default"},
{"engineer", "wh2_dlc09_tmb_rakaph_dynasty", "wh2_dlc09_tmb_necrotect"},
{"engineer", "wh2_dlc09_tmb_rakaph_dynasty", "wh2_dlc09_tmb_necrotect_ritual"},
{"general", "wh2_dlc09_tmb_rakaph_dynasty", "wh2_dlc09_tmb_tomb_king"},
{"minister", "wh2_dlc09_tmb_rakaph_dynasty", "default"},
{"runesmith", "wh2_dlc09_tmb_rakaph_dynasty", "default"},
{"spy", "wh2_dlc09_tmb_rakaph_dynasty", "default"},
{"wizard", "wh2_dlc09_tmb_rakaph_dynasty", "wh2_dlc09_tmb_liche_priest_death"},
{"wizard", "wh2_dlc09_tmb_rakaph_dynasty", "wh2_dlc09_tmb_liche_priest_light"},
{"wizard", "wh2_dlc09_tmb_rakaph_dynasty", "wh2_dlc09_tmb_liche_priest_nehekhara"},
{"wizard", "wh2_dlc09_tmb_rakaph_dynasty", "wh2_dlc09_tmb_liche_priest_shadow"},
{"champion", "wh2_dlc09_tmb_the_sentinels", "wh2_dlc09_tmb_tomb_prince"},
{"colonel", "wh2_dlc09_tmb_the_sentinels", "wh2_dlc09_tmb_tomb_king"},
{"dignitary", "wh2_dlc09_tmb_the_sentinels", "default"},
{"engineer", "wh2_dlc09_tmb_the_sentinels", "wh2_dlc09_tmb_necrotect"},
{"engineer", "wh2_dlc09_tmb_the_sentinels", "wh2_dlc09_tmb_necrotect_ritual"},
{"general", "wh2_dlc09_tmb_the_sentinels", "wh2_dlc09_tmb_tomb_king"},
{"minister", "wh2_dlc09_tmb_the_sentinels", "default"},
{"runesmith", "wh2_dlc09_tmb_the_sentinels", "default"},
{"spy", "wh2_dlc09_tmb_the_sentinels", "default"},
{"wizard", "wh2_dlc09_tmb_the_sentinels", "wh2_dlc09_tmb_liche_priest_death"},
{"wizard", "wh2_dlc09_tmb_the_sentinels", "wh2_dlc09_tmb_liche_priest_light"},
{"wizard", "wh2_dlc09_tmb_the_sentinels", "wh2_dlc09_tmb_liche_priest_nehekhara"},
{"wizard", "wh2_dlc09_tmb_the_sentinels", "wh2_dlc09_tmb_liche_priest_shadow"},
{"champion", "wh2_dlc09_tmb_tomb_kings_rebels", "wh2_dlc09_tmb_tomb_prince"},
{"colonel", "wh2_dlc09_tmb_tomb_kings_rebels", "wh2_dlc09_tmb_tomb_king"},
{"dignitary", "wh2_dlc09_tmb_tomb_kings_rebels", "default"},
{"engineer", "wh2_dlc09_tmb_tomb_kings_rebels", "wh2_dlc09_tmb_necrotect"},
{"engineer", "wh2_dlc09_tmb_tomb_kings_rebels", "wh2_dlc09_tmb_necrotect_ritual"},
{"general", "wh2_dlc09_tmb_tomb_kings_rebels", "wh2_dlc09_tmb_tomb_king"},
{"minister", "wh2_dlc09_tmb_tomb_kings_rebels", "default"},
{"runesmith", "wh2_dlc09_tmb_tomb_kings_rebels", "default"},
{"spy", "wh2_dlc09_tmb_tomb_kings_rebels", "default"},
{"wizard", "wh2_dlc09_tmb_tomb_kings_rebels", "wh2_dlc09_tmb_liche_priest_death"},
{"wizard", "wh2_dlc09_tmb_tomb_kings_rebels", "wh2_dlc09_tmb_liche_priest_light"},
{"wizard", "wh2_dlc09_tmb_tomb_kings_rebels", "wh2_dlc09_tmb_liche_priest_nehekhara"},
{"wizard", "wh2_dlc09_tmb_tomb_kings_rebels", "wh2_dlc09_tmb_liche_priest_shadow"},
{"champion", "wh2_dlc09_tmb_tomb_kings", "wh2_dlc09_tmb_tomb_prince"},
{"colonel", "wh2_dlc09_tmb_tomb_kings", "wh2_dlc09_tmb_tomb_king"},
{"dignitary", "wh2_dlc09_tmb_tomb_kings", "default"},
{"engineer", "wh2_dlc09_tmb_tomb_kings", "wh2_dlc09_tmb_necrotect"},
{"engineer", "wh2_dlc09_tmb_tomb_kings", "wh2_dlc09_tmb_necrotect_ritual"},
{"general", "wh2_dlc09_tmb_tomb_kings", "wh2_dlc09_tmb_arkhan"},
{"general", "wh2_dlc09_tmb_tomb_kings", "wh2_dlc09_tmb_khalida"},
{"general", "wh2_dlc09_tmb_tomb_kings", "wh2_dlc09_tmb_khatep"},
{"general", "wh2_dlc09_tmb_tomb_kings", "wh2_dlc09_tmb_settra"},
{"general", "wh2_dlc09_tmb_tomb_kings", "wh2_dlc09_tmb_tomb_king"},
{"minister", "wh2_dlc09_tmb_tomb_kings", "default"},
{"runesmith", "wh2_dlc09_tmb_tomb_kings", "default"},
{"spy", "wh2_dlc09_tmb_tomb_kings", "default"},
{"wizard", "wh2_dlc09_tmb_tomb_kings", "wh2_dlc09_tmb_liche_priest_death"},
{"wizard", "wh2_dlc09_tmb_tomb_kings", "wh2_dlc09_tmb_liche_priest_light"},
{"wizard", "wh2_dlc09_tmb_tomb_kings", "wh2_dlc09_tmb_liche_priest_nehekhara"},
{"wizard", "wh2_dlc09_tmb_tomb_kings", "wh2_dlc09_tmb_liche_priest_shadow"},
{"engineer", "wh2_dlc09_tmb_tombking_qb1", "wh2_dlc09_tmb_necrotect_ritual"},
{"general", "wh2_dlc09_tmb_tombking_qb1", "wh2_dlc15_hef_sun_dragon_boss_imrik"},
{"engineer", "wh2_dlc09_tmb_tombking_qb2", "wh2_dlc09_tmb_necrotect_ritual"},
{"engineer", "wh2_dlc09_tmb_tombking_qb3", "wh2_dlc09_tmb_necrotect_ritual"},
{"engineer", "wh2_dlc09_tmb_tombking_qb4", "wh2_dlc09_tmb_necrotect_ritual"},
{"champion", "wh2_dlc10_def_blood_voyage", "wh2_dlc14_def_master"},
{"colonel", "wh2_dlc10_def_blood_voyage", "wh2_main_def_dreadlord"},
{"dignitary", "wh2_dlc10_def_blood_voyage", "default"},
{"dignitary", "wh2_dlc10_def_blood_voyage", "wh2_main_def_death_hag"},
{"engineer", "wh2_dlc10_def_blood_voyage", "default"},
{"general", "wh2_dlc10_def_blood_voyage", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_dlc10_def_blood_voyage", "wh2_main_def_dreadlord"},
{"general", "wh2_dlc10_def_blood_voyage", "wh2_main_def_dreadlord_fem"},
{"minister", "wh2_dlc10_def_blood_voyage", "default"},
{"runesmith", "wh2_dlc10_def_blood_voyage", "default"},
{"spy", "wh2_dlc10_def_blood_voyage", "wh2_main_def_khainite_assassin"},
{"wizard", "wh2_dlc10_def_blood_voyage", "wh2_dlc10_def_sorceress_death"},
{"wizard", "wh2_dlc10_def_blood_voyage", "wh2_main_def_sorceress_dark"},
{"wizard", "wh2_dlc10_def_blood_voyage", "wh2_main_def_sorceress_fire"},
{"wizard", "wh2_dlc10_def_blood_voyage", "wh2_main_def_sorceress_shadow"},
{"colonel", "wh2_dlc11_brt_bretonnia_dil", "brt_lord"},
{"general", "wh2_dlc11_brt_bretonnia_dil", "brt_lord"},
{"colonel", "wh2_dlc11_cst_harpoon_the_sunken_land_corsairs", "wh2_main_def_dreadlord_fem"},
{"general", "wh2_dlc11_cst_harpoon_the_sunken_land_corsairs", "wh2_main_def_dreadlord_fem"},
{"champion", "wh2_dlc11_cst_noctilus_separatists", "wh2_dlc11_cst_mourngul"},
{"colonel", "wh2_dlc11_cst_noctilus_separatists", "wh2_dlc11_cst_admiral"},
{"dignitary", "wh2_dlc11_cst_noctilus_separatists", "wh2_dlc11_cst_fleet_captain"},
{"dignitary", "wh2_dlc11_cst_noctilus_separatists", "wh2_dlc11_cst_fleet_captain_death"},
{"dignitary", "wh2_dlc11_cst_noctilus_separatists", "wh2_dlc11_cst_fleet_captain_deep"},
{"engineer", "wh2_dlc11_cst_noctilus_separatists", "wh2_dlc11_cst_gunnery_wight"},
{"general", "wh2_dlc11_cst_noctilus_separatists", "wh2_dlc11_cst_admiral"},
{"general", "wh2_dlc11_cst_noctilus_separatists", "wh2_dlc11_cst_admiral_death"},
{"general", "wh2_dlc11_cst_noctilus_separatists", "wh2_dlc11_cst_admiral_deep"},
{"general", "wh2_dlc11_cst_noctilus_separatists", "wh2_dlc11_cst_admiral_fem"},
{"general", "wh2_dlc11_cst_noctilus_separatists", "wh2_dlc11_cst_admiral_fem_death"},
{"general", "wh2_dlc11_cst_noctilus_separatists", "wh2_dlc11_cst_admiral_fem_deep"},
{"general", "wh2_dlc11_cst_noctilus_separatists", "wh2_dlc11_cst_admiral_tech_01"},
{"general", "wh2_dlc11_cst_noctilus_separatists", "wh2_dlc11_cst_admiral_tech_02"},
{"general", "wh2_dlc11_cst_noctilus_separatists", "wh2_dlc11_cst_admiral_tech_03"},
{"general", "wh2_dlc11_cst_noctilus_separatists", "wh2_dlc11_cst_admiral_tech_04"},
{"general", "wh2_dlc11_cst_noctilus_separatists", "wh2_dlc11_cst_noctilus"},
{"minister", "wh2_dlc11_cst_noctilus_separatists", "default"},
{"runesmith", "wh2_dlc11_cst_noctilus_separatists", "default"},
{"spy", "wh2_dlc11_cst_noctilus_separatists", "default"},
{"champion", "wh2_dlc11_cst_noctilus", "wh2_dlc11_cst_mourngul"},
{"colonel", "wh2_dlc11_cst_noctilus", "wh2_dlc11_cst_admiral"},
{"dignitary", "wh2_dlc11_cst_noctilus", "wh2_dlc11_cst_fleet_captain"},
{"dignitary", "wh2_dlc11_cst_noctilus", "wh2_dlc11_cst_fleet_captain_death"},
{"dignitary", "wh2_dlc11_cst_noctilus", "wh2_dlc11_cst_fleet_captain_deep"},
{"engineer", "wh2_dlc11_cst_noctilus", "wh2_dlc11_cst_gunnery_wight"},
{"general", "wh2_dlc11_cst_noctilus", "wh2_dlc11_cst_admiral"},
{"general", "wh2_dlc11_cst_noctilus", "wh2_dlc11_cst_admiral_death"},
{"general", "wh2_dlc11_cst_noctilus", "wh2_dlc11_cst_admiral_deep"},
{"general", "wh2_dlc11_cst_noctilus", "wh2_dlc11_cst_admiral_fem"},
{"general", "wh2_dlc11_cst_noctilus", "wh2_dlc11_cst_admiral_fem_death"},
{"general", "wh2_dlc11_cst_noctilus", "wh2_dlc11_cst_admiral_fem_deep"},
{"general", "wh2_dlc11_cst_noctilus", "wh2_dlc11_cst_admiral_tech_01"},
{"general", "wh2_dlc11_cst_noctilus", "wh2_dlc11_cst_admiral_tech_02"},
{"general", "wh2_dlc11_cst_noctilus", "wh2_dlc11_cst_admiral_tech_03"},
{"general", "wh2_dlc11_cst_noctilus", "wh2_dlc11_cst_admiral_tech_04"},
{"general", "wh2_dlc11_cst_noctilus", "wh2_dlc11_cst_noctilus"},
{"minister", "wh2_dlc11_cst_noctilus", "default"},
{"runesmith", "wh2_dlc11_cst_noctilus", "default"},
{"spy", "wh2_dlc11_cst_noctilus", "default"},
{"champion", "wh2_dlc11_cst_pirates_of_sartosa_separatists", "wh2_dlc11_cst_mourngul"},
{"colonel", "wh2_dlc11_cst_pirates_of_sartosa_separatists", "wh2_dlc11_cst_admiral"},
{"dignitary", "wh2_dlc11_cst_pirates_of_sartosa_separatists", "wh2_dlc11_cst_fleet_captain"},
{"dignitary", "wh2_dlc11_cst_pirates_of_sartosa_separatists", "wh2_dlc11_cst_fleet_captain_death"},
{"dignitary", "wh2_dlc11_cst_pirates_of_sartosa_separatists", "wh2_dlc11_cst_fleet_captain_deep"},
{"engineer", "wh2_dlc11_cst_pirates_of_sartosa_separatists", "wh2_dlc11_cst_gunnery_wight"},
{"general", "wh2_dlc11_cst_pirates_of_sartosa_separatists", "wh2_dlc11_cst_admiral"},
{"general", "wh2_dlc11_cst_pirates_of_sartosa_separatists", "wh2_dlc11_cst_admiral_death"},
{"general", "wh2_dlc11_cst_pirates_of_sartosa_separatists", "wh2_dlc11_cst_admiral_deep"},
{"general", "wh2_dlc11_cst_pirates_of_sartosa_separatists", "wh2_dlc11_cst_admiral_fem"},
{"general", "wh2_dlc11_cst_pirates_of_sartosa_separatists", "wh2_dlc11_cst_admiral_fem_death"},
{"general", "wh2_dlc11_cst_pirates_of_sartosa_separatists", "wh2_dlc11_cst_admiral_fem_deep"},
{"general", "wh2_dlc11_cst_pirates_of_sartosa_separatists", "wh2_dlc11_cst_admiral_tech_01"},
{"general", "wh2_dlc11_cst_pirates_of_sartosa_separatists", "wh2_dlc11_cst_admiral_tech_02"},
{"general", "wh2_dlc11_cst_pirates_of_sartosa_separatists", "wh2_dlc11_cst_admiral_tech_03"},
{"general", "wh2_dlc11_cst_pirates_of_sartosa_separatists", "wh2_dlc11_cst_admiral_tech_04"},
{"general", "wh2_dlc11_cst_pirates_of_sartosa_separatists", "wh2_dlc11_cst_noctilus"},
{"minister", "wh2_dlc11_cst_pirates_of_sartosa_separatists", "default"},
{"runesmith", "wh2_dlc11_cst_pirates_of_sartosa_separatists", "default"},
{"spy", "wh2_dlc11_cst_pirates_of_sartosa_separatists", "default"},
{"champion", "wh2_dlc11_cst_pirates_of_sartosa", "wh2_dlc11_cst_mourngul"},
{"colonel", "wh2_dlc11_cst_pirates_of_sartosa", "wh2_dlc11_cst_admiral"},
{"dignitary", "wh2_dlc11_cst_pirates_of_sartosa", "wh2_dlc11_cst_fleet_captain"},
{"dignitary", "wh2_dlc11_cst_pirates_of_sartosa", "wh2_dlc11_cst_fleet_captain_death"},
{"dignitary", "wh2_dlc11_cst_pirates_of_sartosa", "wh2_dlc11_cst_fleet_captain_deep"},
{"engineer", "wh2_dlc11_cst_pirates_of_sartosa", "wh2_dlc11_cst_gunnery_wight"},
{"general", "wh2_dlc11_cst_pirates_of_sartosa", "wh2_dlc11_cst_admiral"},
{"general", "wh2_dlc11_cst_pirates_of_sartosa", "wh2_dlc11_cst_admiral_death"},
{"general", "wh2_dlc11_cst_pirates_of_sartosa", "wh2_dlc11_cst_admiral_deep"},
{"general", "wh2_dlc11_cst_pirates_of_sartosa", "wh2_dlc11_cst_admiral_fem"},
{"general", "wh2_dlc11_cst_pirates_of_sartosa", "wh2_dlc11_cst_admiral_fem_death"},
{"general", "wh2_dlc11_cst_pirates_of_sartosa", "wh2_dlc11_cst_admiral_fem_deep"},
{"general", "wh2_dlc11_cst_pirates_of_sartosa", "wh2_dlc11_cst_admiral_tech_01"},
{"general", "wh2_dlc11_cst_pirates_of_sartosa", "wh2_dlc11_cst_admiral_tech_02"},
{"general", "wh2_dlc11_cst_pirates_of_sartosa", "wh2_dlc11_cst_admiral_tech_03"},
{"general", "wh2_dlc11_cst_pirates_of_sartosa", "wh2_dlc11_cst_admiral_tech_04"},
{"general", "wh2_dlc11_cst_pirates_of_sartosa", "wh2_dlc11_cst_aranessa"},
{"minister", "wh2_dlc11_cst_pirates_of_sartosa", "default"},
{"runesmith", "wh2_dlc11_cst_pirates_of_sartosa", "default"},
{"spy", "wh2_dlc11_cst_pirates_of_sartosa", "default"},
{"colonel", "wh2_dlc11_cst_rogue_bleak_coast_buccaneers", "dwf_lord"},
{"general", "wh2_dlc11_cst_rogue_bleak_coast_buccaneers", "dwf_lord"},
{"colonel", "wh2_dlc11_cst_rogue_boyz_of_the_forbidden_coast", "grn_orc_warboss"},
{"general", "wh2_dlc11_cst_rogue_boyz_of_the_forbidden_coast", "grn_orc_warboss"},
{"colonel", "wh2_dlc11_cst_rogue_freebooters_of_port_royale", "emp_lord"},
{"general", "wh2_dlc11_cst_rogue_freebooters_of_port_royale", "emp_lord"},
{"colonel", "wh2_dlc11_cst_rogue_grey_point_scuttlers", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_dlc11_cst_rogue_grey_point_scuttlers", "wh2_main_skv_grey_seer_ruin"},
{"colonel", "wh2_dlc11_cst_rogue_terrors_of_the_dark_straights", "wh2_dlc11_cst_admiral_fem"},
{"general", "wh2_dlc11_cst_rogue_terrors_of_the_dark_straights", "wh2_dlc11_cst_admiral_fem"},
{"colonel", "wh2_dlc11_cst_rogue_the_churning_gulf_raiders", "nor_marauder_chieftain"},
{"general", "wh2_dlc11_cst_rogue_the_churning_gulf_raiders", "nor_marauder_chieftain"},
{"colonel", "wh2_dlc11_cst_rogue_tyrants_of_the_black_ocean", "wh2_main_def_dreadlord"},
{"general", "wh2_dlc11_cst_rogue_tyrants_of_the_black_ocean", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_dlc11_cst_rogue_tyrants_of_the_black_ocean", "wh2_main_def_dreadlord"},
{"colonel", "wh2_dlc11_cst_shanty_dragon_spine_privateers", "wh2_main_hef_prince"},
{"general", "wh2_dlc11_cst_shanty_dragon_spine_privateers", "wh2_main_hef_prince"},
{"colonel", "wh2_dlc11_cst_shanty_middle_sea_brigands", "emp_lord"},
{"general", "wh2_dlc11_cst_shanty_middle_sea_brigands", "emp_lord"},
{"colonel", "wh2_dlc11_cst_shanty_shark_straight_seadogs", "wh2_dlc11_cst_admiral_death"},
{"general", "wh2_dlc11_cst_shanty_shark_straight_seadogs", "wh2_dlc11_cst_admiral_death"},
{"champion", "wh2_dlc11_cst_the_drowned_separatists", "wh2_dlc11_cst_mourngul"},
{"colonel", "wh2_dlc11_cst_the_drowned_separatists", "wh2_dlc11_cst_admiral"},
{"dignitary", "wh2_dlc11_cst_the_drowned_separatists", "wh2_dlc11_cst_fleet_captain"},
{"dignitary", "wh2_dlc11_cst_the_drowned_separatists", "wh2_dlc11_cst_fleet_captain_death"},
{"dignitary", "wh2_dlc11_cst_the_drowned_separatists", "wh2_dlc11_cst_fleet_captain_deep"},
{"engineer", "wh2_dlc11_cst_the_drowned_separatists", "wh2_dlc11_cst_gunnery_wight"},
{"general", "wh2_dlc11_cst_the_drowned_separatists", "wh2_dlc11_cst_admiral"},
{"general", "wh2_dlc11_cst_the_drowned_separatists", "wh2_dlc11_cst_admiral_death"},
{"general", "wh2_dlc11_cst_the_drowned_separatists", "wh2_dlc11_cst_admiral_deep"},
{"general", "wh2_dlc11_cst_the_drowned_separatists", "wh2_dlc11_cst_admiral_fem"},
{"general", "wh2_dlc11_cst_the_drowned_separatists", "wh2_dlc11_cst_admiral_fem_death"},
{"general", "wh2_dlc11_cst_the_drowned_separatists", "wh2_dlc11_cst_admiral_fem_deep"},
{"general", "wh2_dlc11_cst_the_drowned_separatists", "wh2_dlc11_cst_admiral_tech_01"},
{"general", "wh2_dlc11_cst_the_drowned_separatists", "wh2_dlc11_cst_admiral_tech_02"},
{"general", "wh2_dlc11_cst_the_drowned_separatists", "wh2_dlc11_cst_admiral_tech_03"},
{"general", "wh2_dlc11_cst_the_drowned_separatists", "wh2_dlc11_cst_admiral_tech_04"},
{"general", "wh2_dlc11_cst_the_drowned_separatists", "wh2_dlc11_cst_noctilus"},
{"minister", "wh2_dlc11_cst_the_drowned_separatists", "default"},
{"runesmith", "wh2_dlc11_cst_the_drowned_separatists", "default"},
{"champion", "wh2_dlc11_cst_the_drowned", "wh2_dlc11_cst_mourngul"},
{"colonel", "wh2_dlc11_cst_the_drowned", "wh2_dlc11_cst_admiral"},
{"dignitary", "wh2_dlc11_cst_the_drowned", "wh2_dlc11_cst_fleet_captain"},
{"dignitary", "wh2_dlc11_cst_the_drowned", "wh2_dlc11_cst_fleet_captain_death"},
{"dignitary", "wh2_dlc11_cst_the_drowned", "wh2_dlc11_cst_fleet_captain_deep"},
{"engineer", "wh2_dlc11_cst_the_drowned", "wh2_dlc11_cst_gunnery_wight"},
{"general", "wh2_dlc11_cst_the_drowned", "wh2_dlc11_cst_admiral"},
{"general", "wh2_dlc11_cst_the_drowned", "wh2_dlc11_cst_admiral_death"},
{"general", "wh2_dlc11_cst_the_drowned", "wh2_dlc11_cst_admiral_deep"},
{"general", "wh2_dlc11_cst_the_drowned", "wh2_dlc11_cst_admiral_fem"},
{"general", "wh2_dlc11_cst_the_drowned", "wh2_dlc11_cst_admiral_fem_death"},
{"general", "wh2_dlc11_cst_the_drowned", "wh2_dlc11_cst_admiral_fem_deep"},
{"general", "wh2_dlc11_cst_the_drowned", "wh2_dlc11_cst_admiral_tech_01"},
{"general", "wh2_dlc11_cst_the_drowned", "wh2_dlc11_cst_admiral_tech_02"},
{"general", "wh2_dlc11_cst_the_drowned", "wh2_dlc11_cst_admiral_tech_03"},
{"general", "wh2_dlc11_cst_the_drowned", "wh2_dlc11_cst_admiral_tech_04"},
{"general", "wh2_dlc11_cst_the_drowned", "wh2_dlc11_cst_cylostra"},
{"minister", "wh2_dlc11_cst_the_drowned", "default"},
{"runesmith", "wh2_dlc11_cst_the_drowned", "default"},
{"spy", "wh2_dlc11_cst_the_drowned", "default"},
{"spy", "wh2_dlc11_cst_the_drowned", "wh2_dlc11_cst_ghost_paladin"},
{"champion", "wh2_dlc11_cst_vampire_coast_encounters", "wh2_dlc11_cst_mourngul"},
{"colonel", "wh2_dlc11_cst_vampire_coast_encounters", "wh2_dlc11_cst_admiral"},
{"dignitary", "wh2_dlc11_cst_vampire_coast_encounters", "wh2_dlc11_cst_fleet_captain"},
{"dignitary", "wh2_dlc11_cst_vampire_coast_encounters", "wh2_dlc11_cst_fleet_captain_death"},
{"dignitary", "wh2_dlc11_cst_vampire_coast_encounters", "wh2_dlc11_cst_fleet_captain_deep"},
{"engineer", "wh2_dlc11_cst_vampire_coast_encounters", "wh2_dlc11_cst_gunnery_wight"},
{"general", "wh2_dlc11_cst_vampire_coast_encounters", "wh2_dlc11_cst_admiral"},
{"general", "wh2_dlc11_cst_vampire_coast_encounters", "wh2_dlc11_cst_admiral_death"},
{"general", "wh2_dlc11_cst_vampire_coast_encounters", "wh2_dlc11_cst_admiral_deep"},
{"general", "wh2_dlc11_cst_vampire_coast_encounters", "wh2_dlc11_cst_admiral_fem"},
{"general", "wh2_dlc11_cst_vampire_coast_encounters", "wh2_dlc11_cst_admiral_fem_death"},
{"general", "wh2_dlc11_cst_vampire_coast_encounters", "wh2_dlc11_cst_admiral_fem_deep"},
{"general", "wh2_dlc11_cst_vampire_coast_encounters", "wh2_dlc11_cst_admiral_tech_01"},
{"general", "wh2_dlc11_cst_vampire_coast_encounters", "wh2_dlc11_cst_admiral_tech_02"},
{"general", "wh2_dlc11_cst_vampire_coast_encounters", "wh2_dlc11_cst_admiral_tech_03"},
{"general", "wh2_dlc11_cst_vampire_coast_encounters", "wh2_dlc11_cst_admiral_tech_04"},
{"general", "wh2_dlc11_cst_vampire_coast_encounters", "wh2_dlc11_cst_harkon"},
{"minister", "wh2_dlc11_cst_vampire_coast_encounters", "default"},
{"runesmith", "wh2_dlc11_cst_vampire_coast_encounters", "default"},
{"spy", "wh2_dlc11_cst_vampire_coast_encounters", "default"},
{"champion", "wh2_dlc11_cst_vampire_coast_qb1", "wh2_dlc11_cst_mourngul"},
{"colonel", "wh2_dlc11_cst_vampire_coast_qb1", "wh2_dlc11_cst_admiral"},
{"dignitary", "wh2_dlc11_cst_vampire_coast_qb1", "wh2_dlc11_cst_fleet_captain"},
{"dignitary", "wh2_dlc11_cst_vampire_coast_qb1", "wh2_dlc11_cst_fleet_captain_death"},
{"dignitary", "wh2_dlc11_cst_vampire_coast_qb1", "wh2_dlc11_cst_fleet_captain_deep"},
{"engineer", "wh2_dlc11_cst_vampire_coast_qb1", "wh2_dlc11_cst_gunnery_wight"},
{"general", "wh2_dlc11_cst_vampire_coast_qb1", "wh2_dlc11_cst_admiral"},
{"general", "wh2_dlc11_cst_vampire_coast_qb1", "wh2_dlc11_cst_admiral_death"},
{"general", "wh2_dlc11_cst_vampire_coast_qb1", "wh2_dlc11_cst_admiral_deep"},
{"general", "wh2_dlc11_cst_vampire_coast_qb1", "wh2_dlc11_cst_admiral_fem"},
{"general", "wh2_dlc11_cst_vampire_coast_qb1", "wh2_dlc11_cst_admiral_fem_death"},
{"general", "wh2_dlc11_cst_vampire_coast_qb1", "wh2_dlc11_cst_admiral_fem_deep"},
{"general", "wh2_dlc11_cst_vampire_coast_qb1", "wh2_dlc11_cst_admiral_tech_01"},
{"general", "wh2_dlc11_cst_vampire_coast_qb1", "wh2_dlc11_cst_admiral_tech_02"},
{"general", "wh2_dlc11_cst_vampire_coast_qb1", "wh2_dlc11_cst_admiral_tech_03"},
{"general", "wh2_dlc11_cst_vampire_coast_qb1", "wh2_dlc11_cst_admiral_tech_04"},
{"general", "wh2_dlc11_cst_vampire_coast_qb1", "wh2_dlc11_cst_aranessa"},
{"general", "wh2_dlc11_cst_vampire_coast_qb1", "wh2_dlc11_cst_harkon"},
{"minister", "wh2_dlc11_cst_vampire_coast_qb1", "default"},
{"runesmith", "wh2_dlc11_cst_vampire_coast_qb1", "default"},
{"spy", "wh2_dlc11_cst_vampire_coast_qb1", "default"},
{"champion", "wh2_dlc11_cst_vampire_coast_qb2", "wh2_dlc11_cst_mourngul"},
{"colonel", "wh2_dlc11_cst_vampire_coast_qb2", "wh2_dlc11_cst_admiral"},
{"dignitary", "wh2_dlc11_cst_vampire_coast_qb2", "wh2_dlc11_cst_fleet_captain"},
{"dignitary", "wh2_dlc11_cst_vampire_coast_qb2", "wh2_dlc11_cst_fleet_captain_death"},
{"dignitary", "wh2_dlc11_cst_vampire_coast_qb2", "wh2_dlc11_cst_fleet_captain_deep"},
{"engineer", "wh2_dlc11_cst_vampire_coast_qb2", "wh2_dlc11_cst_gunnery_wight"},
{"general", "wh2_dlc11_cst_vampire_coast_qb2", "wh2_dlc11_cst_admiral"},
{"general", "wh2_dlc11_cst_vampire_coast_qb2", "wh2_dlc11_cst_admiral_death"},
{"general", "wh2_dlc11_cst_vampire_coast_qb2", "wh2_dlc11_cst_admiral_deep"},
{"general", "wh2_dlc11_cst_vampire_coast_qb2", "wh2_dlc11_cst_admiral_fem"},
{"general", "wh2_dlc11_cst_vampire_coast_qb2", "wh2_dlc11_cst_admiral_fem_death"},
{"general", "wh2_dlc11_cst_vampire_coast_qb2", "wh2_dlc11_cst_admiral_fem_deep"},
{"general", "wh2_dlc11_cst_vampire_coast_qb2", "wh2_dlc11_cst_admiral_tech_01"},
{"general", "wh2_dlc11_cst_vampire_coast_qb2", "wh2_dlc11_cst_admiral_tech_02"},
{"general", "wh2_dlc11_cst_vampire_coast_qb2", "wh2_dlc11_cst_admiral_tech_03"},
{"general", "wh2_dlc11_cst_vampire_coast_qb2", "wh2_dlc11_cst_admiral_tech_04"},
{"general", "wh2_dlc11_cst_vampire_coast_qb2", "wh2_dlc11_cst_aranessa"},
{"general", "wh2_dlc11_cst_vampire_coast_qb2", "wh2_dlc11_cst_harkon"},
{"minister", "wh2_dlc11_cst_vampire_coast_qb2", "default"},
{"runesmith", "wh2_dlc11_cst_vampire_coast_qb2", "default"},
{"spy", "wh2_dlc11_cst_vampire_coast_qb2", "default"},
{"champion", "wh2_dlc11_cst_vampire_coast_qb3", "wh2_dlc11_cst_mourngul"},
{"colonel", "wh2_dlc11_cst_vampire_coast_qb3", "wh2_dlc11_cst_admiral"},
{"dignitary", "wh2_dlc11_cst_vampire_coast_qb3", "wh2_dlc11_cst_fleet_captain"},
{"dignitary", "wh2_dlc11_cst_vampire_coast_qb3", "wh2_dlc11_cst_fleet_captain_death"},
{"dignitary", "wh2_dlc11_cst_vampire_coast_qb3", "wh2_dlc11_cst_fleet_captain_deep"},
{"engineer", "wh2_dlc11_cst_vampire_coast_qb3", "wh2_dlc11_cst_gunnery_wight"},
{"general", "wh2_dlc11_cst_vampire_coast_qb3", "wh2_dlc11_cst_admiral"},
{"general", "wh2_dlc11_cst_vampire_coast_qb3", "wh2_dlc11_cst_admiral_death"},
{"general", "wh2_dlc11_cst_vampire_coast_qb3", "wh2_dlc11_cst_admiral_deep"},
{"general", "wh2_dlc11_cst_vampire_coast_qb3", "wh2_dlc11_cst_admiral_fem"},
{"general", "wh2_dlc11_cst_vampire_coast_qb3", "wh2_dlc11_cst_admiral_fem_death"},
{"general", "wh2_dlc11_cst_vampire_coast_qb3", "wh2_dlc11_cst_admiral_fem_deep"},
{"general", "wh2_dlc11_cst_vampire_coast_qb3", "wh2_dlc11_cst_admiral_tech_01"},
{"general", "wh2_dlc11_cst_vampire_coast_qb3", "wh2_dlc11_cst_admiral_tech_02"},
{"general", "wh2_dlc11_cst_vampire_coast_qb3", "wh2_dlc11_cst_admiral_tech_03"},
{"general", "wh2_dlc11_cst_vampire_coast_qb3", "wh2_dlc11_cst_admiral_tech_04"},
{"general", "wh2_dlc11_cst_vampire_coast_qb3", "wh2_dlc11_cst_aranessa"},
{"general", "wh2_dlc11_cst_vampire_coast_qb3", "wh2_dlc11_cst_harkon"},
{"minister", "wh2_dlc11_cst_vampire_coast_qb3", "default"},
{"runesmith", "wh2_dlc11_cst_vampire_coast_qb3", "default"},
{"spy", "wh2_dlc11_cst_vampire_coast_qb3", "default"},
{"champion", "wh2_dlc11_cst_vampire_coast_qb4", "wh2_dlc11_cst_mourngul"},
{"colonel", "wh2_dlc11_cst_vampire_coast_qb4", "wh2_dlc11_cst_admiral"},
{"dignitary", "wh2_dlc11_cst_vampire_coast_qb4", "wh2_dlc11_cst_fleet_captain"},
{"dignitary", "wh2_dlc11_cst_vampire_coast_qb4", "wh2_dlc11_cst_fleet_captain_death"},
{"dignitary", "wh2_dlc11_cst_vampire_coast_qb4", "wh2_dlc11_cst_fleet_captain_deep"},
{"engineer", "wh2_dlc11_cst_vampire_coast_qb4", "wh2_dlc11_cst_gunnery_wight"},
{"general", "wh2_dlc11_cst_vampire_coast_qb4", "wh2_dlc11_cst_admiral"},
{"general", "wh2_dlc11_cst_vampire_coast_qb4", "wh2_dlc11_cst_admiral_death"},
{"general", "wh2_dlc11_cst_vampire_coast_qb4", "wh2_dlc11_cst_admiral_deep"},
{"general", "wh2_dlc11_cst_vampire_coast_qb4", "wh2_dlc11_cst_admiral_fem"},
{"general", "wh2_dlc11_cst_vampire_coast_qb4", "wh2_dlc11_cst_admiral_fem_death"},
{"general", "wh2_dlc11_cst_vampire_coast_qb4", "wh2_dlc11_cst_admiral_fem_deep"},
{"general", "wh2_dlc11_cst_vampire_coast_qb4", "wh2_dlc11_cst_admiral_tech_01"},
{"general", "wh2_dlc11_cst_vampire_coast_qb4", "wh2_dlc11_cst_admiral_tech_02"},
{"general", "wh2_dlc11_cst_vampire_coast_qb4", "wh2_dlc11_cst_admiral_tech_03"},
{"general", "wh2_dlc11_cst_vampire_coast_qb4", "wh2_dlc11_cst_admiral_tech_04"},
{"general", "wh2_dlc11_cst_vampire_coast_qb4", "wh2_dlc11_cst_aranessa"},
{"general", "wh2_dlc11_cst_vampire_coast_qb4", "wh2_dlc11_cst_harkon"},
{"minister", "wh2_dlc11_cst_vampire_coast_qb4", "default"},
{"runesmith", "wh2_dlc11_cst_vampire_coast_qb4", "default"},
{"spy", "wh2_dlc11_cst_vampire_coast_qb4", "default"},
{"champion", "wh2_dlc11_cst_vampire_coast_rebellion_rebels", "wh2_dlc11_cst_mourngul"},
{"colonel", "wh2_dlc11_cst_vampire_coast_rebellion_rebels", "wh2_dlc11_cst_admiral"},
{"dignitary", "wh2_dlc11_cst_vampire_coast_rebellion_rebels", "wh2_dlc11_cst_fleet_captain"},
{"dignitary", "wh2_dlc11_cst_vampire_coast_rebellion_rebels", "wh2_dlc11_cst_fleet_captain_death"},
{"dignitary", "wh2_dlc11_cst_vampire_coast_rebellion_rebels", "wh2_dlc11_cst_fleet_captain_deep"},
{"engineer", "wh2_dlc11_cst_vampire_coast_rebellion_rebels", "wh2_dlc11_cst_gunnery_wight"},
{"general", "wh2_dlc11_cst_vampire_coast_rebellion_rebels", "wh2_dlc11_cst_admiral"},
{"general", "wh2_dlc11_cst_vampire_coast_rebellion_rebels", "wh2_dlc11_cst_admiral_death"},
{"general", "wh2_dlc11_cst_vampire_coast_rebellion_rebels", "wh2_dlc11_cst_admiral_deep"},
{"general", "wh2_dlc11_cst_vampire_coast_rebellion_rebels", "wh2_dlc11_cst_admiral_fem"},
{"general", "wh2_dlc11_cst_vampire_coast_rebellion_rebels", "wh2_dlc11_cst_admiral_fem_death"},
{"general", "wh2_dlc11_cst_vampire_coast_rebellion_rebels", "wh2_dlc11_cst_admiral_fem_deep"},
{"minister", "wh2_dlc11_cst_vampire_coast_rebellion_rebels", "default"},
{"runesmith", "wh2_dlc11_cst_vampire_coast_rebellion_rebels", "default"},
{"spy", "wh2_dlc11_cst_vampire_coast_rebellion_rebels", "default"},
{"champion", "wh2_dlc11_cst_vampire_coast_rebels", "wh2_dlc11_cst_mourngul"},
{"colonel", "wh2_dlc11_cst_vampire_coast_rebels", "wh2_dlc11_cst_admiral"},
{"dignitary", "wh2_dlc11_cst_vampire_coast_rebels", "wh2_dlc11_cst_fleet_captain"},
{"dignitary", "wh2_dlc11_cst_vampire_coast_rebels", "wh2_dlc11_cst_fleet_captain_death"},
{"dignitary", "wh2_dlc11_cst_vampire_coast_rebels", "wh2_dlc11_cst_fleet_captain_deep"},
{"engineer", "wh2_dlc11_cst_vampire_coast_rebels", "wh2_dlc11_cst_gunnery_wight"},
{"general", "wh2_dlc11_cst_vampire_coast_rebels", "wh2_dlc11_cst_admiral"},
{"general", "wh2_dlc11_cst_vampire_coast_rebels", "wh2_dlc11_cst_admiral_death"},
{"general", "wh2_dlc11_cst_vampire_coast_rebels", "wh2_dlc11_cst_admiral_deep"},
{"general", "wh2_dlc11_cst_vampire_coast_rebels", "wh2_dlc11_cst_admiral_fem"},
{"general", "wh2_dlc11_cst_vampire_coast_rebels", "wh2_dlc11_cst_admiral_fem_death"},
{"general", "wh2_dlc11_cst_vampire_coast_rebels", "wh2_dlc11_cst_admiral_fem_deep"},
{"general", "wh2_dlc11_cst_vampire_coast_rebels", "wh2_dlc11_cst_admiral_tech_01"},
{"general", "wh2_dlc11_cst_vampire_coast_rebels", "wh2_dlc11_cst_admiral_tech_02"},
{"general", "wh2_dlc11_cst_vampire_coast_rebels", "wh2_dlc11_cst_admiral_tech_03"},
{"general", "wh2_dlc11_cst_vampire_coast_rebels", "wh2_dlc11_cst_admiral_tech_04"},
{"minister", "wh2_dlc11_cst_vampire_coast_rebels", "default"},
{"runesmith", "wh2_dlc11_cst_vampire_coast_rebels", "default"},
{"spy", "wh2_dlc11_cst_vampire_coast_rebels", "default"},
{"champion", "wh2_dlc11_cst_vampire_coast_separatists", "wh2_dlc11_cst_mourngul"},
{"colonel", "wh2_dlc11_cst_vampire_coast_separatists", "wh2_dlc11_cst_admiral"},
{"dignitary", "wh2_dlc11_cst_vampire_coast_separatists", "wh2_dlc11_cst_fleet_captain"},
{"dignitary", "wh2_dlc11_cst_vampire_coast_separatists", "wh2_dlc11_cst_fleet_captain_death"},
{"dignitary", "wh2_dlc11_cst_vampire_coast_separatists", "wh2_dlc11_cst_fleet_captain_deep"},
{"engineer", "wh2_dlc11_cst_vampire_coast_separatists", "wh2_dlc11_cst_gunnery_wight"},
{"general", "wh2_dlc11_cst_vampire_coast_separatists", "wh2_dlc11_cst_admiral"},
{"general", "wh2_dlc11_cst_vampire_coast_separatists", "wh2_dlc11_cst_admiral_death"},
{"general", "wh2_dlc11_cst_vampire_coast_separatists", "wh2_dlc11_cst_admiral_deep"},
{"general", "wh2_dlc11_cst_vampire_coast_separatists", "wh2_dlc11_cst_admiral_fem"},
{"general", "wh2_dlc11_cst_vampire_coast_separatists", "wh2_dlc11_cst_admiral_fem_death"},
{"general", "wh2_dlc11_cst_vampire_coast_separatists", "wh2_dlc11_cst_admiral_fem_deep"},
{"general", "wh2_dlc11_cst_vampire_coast_separatists", "wh2_dlc11_cst_admiral_tech_01"},
{"general", "wh2_dlc11_cst_vampire_coast_separatists", "wh2_dlc11_cst_admiral_tech_02"},
{"general", "wh2_dlc11_cst_vampire_coast_separatists", "wh2_dlc11_cst_admiral_tech_03"},
{"general", "wh2_dlc11_cst_vampire_coast_separatists", "wh2_dlc11_cst_admiral_tech_04"},
{"general", "wh2_dlc11_cst_vampire_coast_separatists", "wh2_dlc11_cst_noctilus"},
{"minister", "wh2_dlc11_cst_vampire_coast_separatists", "default"},
{"runesmith", "wh2_dlc11_cst_vampire_coast_separatists", "default"},
{"spy", "wh2_dlc11_cst_vampire_coast_separatists", "default"},
{"champion", "wh2_dlc11_cst_vampire_coast", "wh2_dlc11_cst_mourngul"},
{"colonel", "wh2_dlc11_cst_vampire_coast", "wh2_dlc11_cst_admiral"},
{"dignitary", "wh2_dlc11_cst_vampire_coast", "wh2_dlc11_cst_fleet_captain"},
{"dignitary", "wh2_dlc11_cst_vampire_coast", "wh2_dlc11_cst_fleet_captain_death"},
{"dignitary", "wh2_dlc11_cst_vampire_coast", "wh2_dlc11_cst_fleet_captain_deep"},
{"engineer", "wh2_dlc11_cst_vampire_coast", "wh2_dlc11_cst_gunnery_wight"},
{"general", "wh2_dlc11_cst_vampire_coast", "wh2_dlc11_cst_admiral"},
{"general", "wh2_dlc11_cst_vampire_coast", "wh2_dlc11_cst_admiral_death"},
{"general", "wh2_dlc11_cst_vampire_coast", "wh2_dlc11_cst_admiral_deep"},
{"general", "wh2_dlc11_cst_vampire_coast", "wh2_dlc11_cst_admiral_fem"},
{"general", "wh2_dlc11_cst_vampire_coast", "wh2_dlc11_cst_admiral_fem_death"},
{"general", "wh2_dlc11_cst_vampire_coast", "wh2_dlc11_cst_admiral_fem_deep"},
{"general", "wh2_dlc11_cst_vampire_coast", "wh2_dlc11_cst_admiral_tech_01"},
{"general", "wh2_dlc11_cst_vampire_coast", "wh2_dlc11_cst_admiral_tech_02"},
{"general", "wh2_dlc11_cst_vampire_coast", "wh2_dlc11_cst_admiral_tech_03"},
{"general", "wh2_dlc11_cst_vampire_coast", "wh2_dlc11_cst_admiral_tech_04"},
{"general", "wh2_dlc11_cst_vampire_coast", "wh2_dlc11_cst_harkon"},
{"minister", "wh2_dlc11_cst_vampire_coast", "default"},
{"runesmith", "wh2_dlc11_cst_vampire_coast", "default"},
{"spy", "wh2_dlc11_cst_vampire_coast", "default"},
{"colonel", "wh2_dlc11_def_dark_elves_dil", "wh2_main_def_dreadlord"},
{"general", "wh2_dlc11_def_dark_elves_dil", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_dlc11_def_dark_elves_dil", "wh2_main_def_dreadlord"},
{"champion", "wh2_dlc11_def_the_blessed_dread_separatists", "wh2_dlc14_def_master"},
{"colonel", "wh2_dlc11_def_the_blessed_dread_separatists", "wh2_main_def_dreadlord"},
{"dignitary", "wh2_dlc11_def_the_blessed_dread_separatists", "wh2_main_def_death_hag"},
{"engineer", "wh2_dlc11_def_the_blessed_dread_separatists", "default"},
{"general", "wh2_dlc11_def_the_blessed_dread_separatists", "wh2_dlc10_def_supreme_sorceress_beasts"},
{"general", "wh2_dlc11_def_the_blessed_dread_separatists", "wh2_dlc10_def_supreme_sorceress_dark"},
{"general", "wh2_dlc11_def_the_blessed_dread_separatists", "wh2_dlc10_def_supreme_sorceress_death"},
{"general", "wh2_dlc11_def_the_blessed_dread_separatists", "wh2_dlc10_def_supreme_sorceress_fire"},
{"general", "wh2_dlc11_def_the_blessed_dread_separatists", "wh2_dlc10_def_supreme_sorceress_shadow"},
{"general", "wh2_dlc11_def_the_blessed_dread_separatists", "wh2_dlc11_def_lokhir"},
{"general", "wh2_dlc11_def_the_blessed_dread_separatists", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_dlc11_def_the_blessed_dread_separatists", "wh2_main_def_black_ark"},
{"general", "wh2_dlc11_def_the_blessed_dread_separatists", "wh2_main_def_dreadlord"},
{"general", "wh2_dlc11_def_the_blessed_dread_separatists", "wh2_main_def_dreadlord_fem"},
{"minister", "wh2_dlc11_def_the_blessed_dread_separatists", "default"},
{"runesmith", "wh2_dlc11_def_the_blessed_dread_separatists", "default"},
{"spy", "wh2_dlc11_def_the_blessed_dread_separatists", "wh2_main_def_khainite_assassin"},
{"wizard", "wh2_dlc11_def_the_blessed_dread_separatists", "wh2_dlc10_def_sorceress_beasts"},
{"wizard", "wh2_dlc11_def_the_blessed_dread_separatists", "wh2_dlc10_def_sorceress_death"},
{"wizard", "wh2_dlc11_def_the_blessed_dread_separatists", "wh2_main_def_sorceress_dark"},
{"wizard", "wh2_dlc11_def_the_blessed_dread_separatists", "wh2_main_def_sorceress_fire"},
{"wizard", "wh2_dlc11_def_the_blessed_dread_separatists", "wh2_main_def_sorceress_shadow"},
{"champion", "wh2_dlc11_def_the_blessed_dread", "wh2_dlc14_def_master"},
{"colonel", "wh2_dlc11_def_the_blessed_dread", "wh2_main_def_dreadlord"},
{"dignitary", "wh2_dlc11_def_the_blessed_dread", "wh2_main_def_death_hag"},
{"engineer", "wh2_dlc11_def_the_blessed_dread", "default"},
{"general", "wh2_dlc11_def_the_blessed_dread", "wh2_dlc10_def_supreme_sorceress_beasts"},
{"general", "wh2_dlc11_def_the_blessed_dread", "wh2_dlc10_def_supreme_sorceress_dark"},
{"general", "wh2_dlc11_def_the_blessed_dread", "wh2_dlc10_def_supreme_sorceress_death"},
{"general", "wh2_dlc11_def_the_blessed_dread", "wh2_dlc10_def_supreme_sorceress_fire"},
{"general", "wh2_dlc11_def_the_blessed_dread", "wh2_dlc10_def_supreme_sorceress_shadow"},
{"general", "wh2_dlc11_def_the_blessed_dread", "wh2_dlc11_def_lokhir"},
{"general", "wh2_dlc11_def_the_blessed_dread", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_dlc11_def_the_blessed_dread", "wh2_main_def_black_ark"},
{"general", "wh2_dlc11_def_the_blessed_dread", "wh2_main_def_dreadlord"},
{"general", "wh2_dlc11_def_the_blessed_dread", "wh2_main_def_dreadlord_fem"},
{"minister", "wh2_dlc11_def_the_blessed_dread", "default"},
{"runesmith", "wh2_dlc11_def_the_blessed_dread", "default"},
{"spy", "wh2_dlc11_def_the_blessed_dread", "wh2_main_def_khainite_assassin"},
{"wizard", "wh2_dlc11_def_the_blessed_dread", "wh2_dlc10_def_sorceress_beasts"},
{"wizard", "wh2_dlc11_def_the_blessed_dread", "wh2_dlc10_def_sorceress_death"},
{"wizard", "wh2_dlc11_def_the_blessed_dread", "wh2_main_def_sorceress_dark"},
{"wizard", "wh2_dlc11_def_the_blessed_dread", "wh2_main_def_sorceress_fire"},
{"wizard", "wh2_dlc11_def_the_blessed_dread", "wh2_main_def_sorceress_shadow"},
{"colonel", "wh2_dlc11_emp_empire_dil", "emp_lord"},
{"general", "wh2_dlc11_emp_empire_dil", "emp_lord"},
{"colonel", "wh2_dlc11_nor_norsca_dil", "nor_marauder_chieftain"},
{"general", "wh2_dlc11_nor_norsca_dil", "nor_marauder_chieftain"},
{"colonel", "wh2_dlc11_nor_norsca_qb4", "nor_marauder_chieftain"},
{"general", "wh2_dlc11_nor_norsca_qb4", "nor_marauder_chieftain"},
{"wizard", "wh2_dlc11_nor_norsca_qb4", "wh_dlc08_nor_shaman_sorcerer_fire"},
{"champion", "wh2_dlc11_vmp_the_barrow_legion", "vmp_wight_king"},
{"colonel", "wh2_dlc11_vmp_the_barrow_legion", "vmp_lord"},
{"dignitary", "wh2_dlc11_vmp_the_barrow_legion", "vmp_vampire"},
{"dignitary", "wh2_dlc11_vmp_the_barrow_legion", "wh_dlc05_vmp_vampire_shadow"},
{"engineer", "wh2_dlc11_vmp_the_barrow_legion", "default"},
{"general", "wh2_dlc11_vmp_the_barrow_legion", "dlc04_vmp_strigoi_ghoul_king"},
{"general", "wh2_dlc11_vmp_the_barrow_legion", "vmp_heinrich_kemmler"},
{"general", "wh2_dlc11_vmp_the_barrow_legion", "vmp_lord"},
{"general", "wh2_dlc11_vmp_the_barrow_legion", "vmp_master_necromancer"},
{"general", "wh2_dlc11_vmp_the_barrow_legion", "wh2_dlc11_vmp_bloodline_blood_dragon"},
{"general", "wh2_dlc11_vmp_the_barrow_legion", "wh2_dlc11_vmp_bloodline_lahmian"},
{"general", "wh2_dlc11_vmp_the_barrow_legion", "wh2_dlc11_vmp_bloodline_necrarch"},
{"general", "wh2_dlc11_vmp_the_barrow_legion", "wh2_dlc11_vmp_bloodline_strigoi"},
{"general", "wh2_dlc11_vmp_the_barrow_legion", "wh2_dlc11_vmp_bloodline_von_carstein"},
{"minister", "wh2_dlc11_vmp_the_barrow_legion", "default"},
{"runesmith", "wh2_dlc11_vmp_the_barrow_legion", "default"},
{"spy", "wh2_dlc11_vmp_the_barrow_legion", "vmp_banshee"},
{"wizard", "wh2_dlc11_vmp_the_barrow_legion", "vmp_necromancer"},
{"champion", "wh2_dlc12_grn_leaf_cutterz_tribe_waaagh", "default"},
{"colonel", "wh2_dlc12_grn_leaf_cutterz_tribe_waaagh", "grn_orc_warboss"},
{"dignitary", "wh2_dlc12_grn_leaf_cutterz_tribe_waaagh", "default"},
{"engineer", "wh2_dlc12_grn_leaf_cutterz_tribe_waaagh", "default"},
{"general", "wh2_dlc12_grn_leaf_cutterz_tribe_waaagh", "dlc06_grn_night_goblin_warboss"},
{"general", "wh2_dlc12_grn_leaf_cutterz_tribe_waaagh", "grn_goblin_great_shaman"},
{"general", "wh2_dlc12_grn_leaf_cutterz_tribe_waaagh", "grn_orc_warboss"},
{"minister", "wh2_dlc12_grn_leaf_cutterz_tribe_waaagh", "default"},
{"runesmith", "wh2_dlc12_grn_leaf_cutterz_tribe_waaagh", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh2_dlc12_grn_leaf_cutterz_tribe_waaagh", "grn_goblin_big_boss"},
{"wizard", "wh2_dlc12_grn_leaf_cutterz_tribe_waaagh", "grn_night_goblin_shaman"},
{"colonel", "wh2_dlc12_grn_leaf_cutterz_tribe", "grn_orc_warboss"},
{"dignitary", "wh2_dlc12_grn_leaf_cutterz_tribe", "default"},
{"engineer", "wh2_dlc12_grn_leaf_cutterz_tribe", "default"},
{"general", "wh2_dlc12_grn_leaf_cutterz_tribe", "dlc06_grn_night_goblin_warboss"},
{"general", "wh2_dlc12_grn_leaf_cutterz_tribe", "grn_goblin_great_shaman"},
{"general", "wh2_dlc12_grn_leaf_cutterz_tribe", "grn_orc_warboss"},
{"minister", "wh2_dlc12_grn_leaf_cutterz_tribe", "default"},
{"runesmith", "wh2_dlc12_grn_leaf_cutterz_tribe", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh2_dlc12_grn_leaf_cutterz_tribe", "grn_goblin_big_boss"},
{"wizard", "wh2_dlc12_grn_leaf_cutterz_tribe", "grn_night_goblin_shaman"},
{"wizard", "wh2_dlc12_grn_leaf_cutterz_tribe", "grn_orc_shaman"},
{"champion", "wh2_dlc12_lzd_cult_of_sotek", "wh2_main_lzd_saurus_scar_veteran"},
{"colonel", "wh2_dlc12_lzd_cult_of_sotek", "wh2_main_lzd_saurus_old_blood"},
{"dignitary", "wh2_dlc12_lzd_cult_of_sotek", "default"},
{"engineer", "wh2_dlc12_lzd_cult_of_sotek", "default"},
{"general", "wh2_dlc12_lzd_cult_of_sotek", "wh2_dlc12_lzd_red_crested_skink_chief"},
{"general", "wh2_dlc12_lzd_cult_of_sotek", "wh2_dlc12_lzd_red_crested_skink_chief_legendary"},
{"general", "wh2_dlc12_lzd_cult_of_sotek", "wh2_dlc12_lzd_tehenhauin"},
{"general", "wh2_dlc12_lzd_cult_of_sotek", "wh2_dlc13_lzd_kroxigor_ancient"},
{"general", "wh2_dlc12_lzd_cult_of_sotek", "wh2_dlc13_lzd_slann_mage_priest_fire"},
{"general", "wh2_dlc12_lzd_cult_of_sotek", "wh2_dlc13_lzd_slann_mage_priest_fire_horde"},
{"general", "wh2_dlc12_lzd_cult_of_sotek", "wh2_dlc13_lzd_slann_mage_priest_high"},
{"general", "wh2_dlc12_lzd_cult_of_sotek", "wh2_dlc13_lzd_slann_mage_priest_high_horde"},
{"general", "wh2_dlc12_lzd_cult_of_sotek", "wh2_dlc13_lzd_slann_mage_priest_life"},
{"general", "wh2_dlc12_lzd_cult_of_sotek", "wh2_dlc13_lzd_slann_mage_priest_life_horde"},
{"general", "wh2_dlc12_lzd_cult_of_sotek", "wh2_main_lzd_lord_mazdamundi"},
{"general", "wh2_dlc12_lzd_cult_of_sotek", "wh2_main_lzd_saurus_old_blood"},
{"general", "wh2_dlc12_lzd_cult_of_sotek", "wh2_main_lzd_slann_mage_priest"},
{"general", "wh2_dlc12_lzd_cult_of_sotek", "wh2_main_lzd_slann_mage_priest_horde"},
{"minister", "wh2_dlc12_lzd_cult_of_sotek", "default"},
{"runesmith", "wh2_dlc12_lzd_cult_of_sotek", "default"},
{"spy", "wh2_dlc12_lzd_cult_of_sotek", "wh2_main_lzd_skink_chief"},
{"wizard", "wh2_dlc12_lzd_cult_of_sotek", "wh2_dlc12_lzd_lord_kroak"},
{"wizard", "wh2_dlc12_lzd_cult_of_sotek", "wh2_main_lzd_skink_priest_beasts"},
{"wizard", "wh2_dlc12_lzd_cult_of_sotek", "wh2_main_lzd_skink_priest_heavens"},
{"champion", "wh2_dlc12_skv_clan_fester", "default"},
{"colonel", "wh2_dlc12_skv_clan_fester", "wh2_main_skv_warlord"},
{"dignitary", "wh2_dlc12_skv_clan_fester", "default"},
{"engineer", "wh2_dlc12_skv_clan_fester", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_dlc12_skv_clan_fester", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_dlc12_skv_clan_fester", "wh2_dlc12_skv_warlock_master"},
{"general", "wh2_dlc12_skv_clan_fester", "wh2_dlc14_skv_master_assassin"},
{"general", "wh2_dlc12_skv_clan_fester", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_dlc12_skv_clan_fester", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_dlc12_skv_clan_fester", "wh2_main_skv_warlord"},
{"minister", "wh2_dlc12_skv_clan_fester", "default"},
{"runesmith", "wh2_dlc12_skv_clan_fester", "default"},
{"spy", "wh2_dlc12_skv_clan_fester", "wh2_main_skv_assassin"},
{"wizard", "wh2_dlc12_skv_clan_fester", "wh2_main_skv_plague_priest"},
{"champion", "wh2_dlc12_skv_clan_mange", "default"},
{"colonel", "wh2_dlc12_skv_clan_mange", "wh2_main_skv_warlord"},
{"dignitary", "wh2_dlc12_skv_clan_mange", "default"},
{"engineer", "wh2_dlc12_skv_clan_mange", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_dlc12_skv_clan_mange", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_dlc12_skv_clan_mange", "wh2_dlc12_skv_warlock_master"},
{"general", "wh2_dlc12_skv_clan_mange", "wh2_dlc14_skv_master_assassin"},
{"general", "wh2_dlc12_skv_clan_mange", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_dlc12_skv_clan_mange", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_dlc12_skv_clan_mange", "wh2_main_skv_warlord"},
{"minister", "wh2_dlc12_skv_clan_mange", "default"},
{"runesmith", "wh2_dlc12_skv_clan_mange", "default"},
{"spy", "wh2_dlc12_skv_clan_mange", "wh2_main_skv_assassin"},
{"wizard", "wh2_dlc12_skv_clan_mange", "wh2_main_skv_plague_priest"},
{"champion", "wh2_dlc13_bst_beastmen_invasion", "dlc03_bst_gorebull"},
{"colonel", "wh2_dlc13_bst_beastmen_invasion", "dlc03_bst_beastlord"},
{"dignitary", "wh2_dlc13_bst_beastmen_invasion", "default"},
{"engineer", "wh2_dlc13_bst_beastmen_invasion", "default"},
{"general", "wh2_dlc13_bst_beastmen_invasion", "dlc03_bst_beastlord"},
{"general", "wh2_dlc13_bst_beastmen_invasion", "dlc03_bst_khazrak"},
{"general", "wh2_dlc13_bst_beastmen_invasion", "dlc03_bst_malagor"},
{"general", "wh2_dlc13_bst_beastmen_invasion", "dlc05_bst_morghur"},
{"minister", "wh2_dlc13_bst_beastmen_invasion", "default"},
{"runesmith", "wh2_dlc13_bst_beastmen_invasion", "default"},
{"spy", "wh2_dlc13_bst_beastmen_invasion", "default"},
{"wizard", "wh2_dlc13_bst_beastmen_invasion", "dlc03_bst_bray_shaman_beasts"},
{"wizard", "wh2_dlc13_bst_beastmen_invasion", "dlc03_bst_bray_shaman_death"},
{"wizard", "wh2_dlc13_bst_beastmen_invasion", "dlc03_bst_bray_shaman_shadows"},
{"wizard", "wh2_dlc13_bst_beastmen_invasion", "dlc03_bst_bray_shaman_wild"},
{"champion", "wh2_dlc13_emp_golden_order", "emp_captain"},
{"colonel", "wh2_dlc13_emp_golden_order", "emp_lord"},
{"dignitary", "wh2_dlc13_emp_golden_order", "emp_warrior_priest"},
{"engineer", "wh2_dlc13_emp_golden_order", "default"},
{"general", "wh2_dlc13_emp_golden_order", "dlc04_emp_arch_lector"},
{"general", "wh2_dlc13_emp_golden_order", "emp_balthasar_gelt"},
{"general", "wh2_dlc13_emp_golden_order", "emp_lord"},
{"general", "wh2_dlc13_emp_golden_order", "wh2_dlc13_emp_cha_huntsmarshal_0"},
{"minister", "wh2_dlc13_emp_golden_order", "default"},
{"runesmith", "wh2_dlc13_emp_golden_order", "default"},
{"spy", "wh2_dlc13_emp_golden_order", "emp_witch_hunter"},
{"wizard", "wh2_dlc13_emp_golden_order", "dlc03_emp_amber_wizard"},
{"wizard", "wh2_dlc13_emp_golden_order", "dlc05_emp_grey_wizard"},
{"wizard", "wh2_dlc13_emp_golden_order", "dlc05_emp_jade_wizard"},
{"wizard", "wh2_dlc13_emp_golden_order", "emp_bright_wizard"},
{"wizard", "wh2_dlc13_emp_golden_order", "emp_celestial_wizard"},
{"wizard", "wh2_dlc13_emp_golden_order", "emp_light_wizard"},
{"wizard", "wh2_dlc13_emp_golden_order", "wh2_pro07_emp_amethyst_wizard"},
{"champion", "wh2_dlc13_emp_the_huntmarshals_expedition", "emp_captain"},
{"champion", "wh2_dlc13_emp_the_huntmarshals_expedition", "wh2_dlc13_emp_hunter_rodrik_l_anguille"},
{"colonel", "wh2_dlc13_emp_the_huntmarshals_expedition", "emp_lord"},
{"dignitary", "wh2_dlc13_emp_the_huntmarshals_expedition", "emp_warrior_priest"},
{"engineer", "wh2_dlc13_emp_the_huntmarshals_expedition", "default"},
{"engineer", "wh2_dlc13_emp_the_huntmarshals_expedition", "wh2_dlc13_emp_hunter_jorek_grimm"},
{"general", "wh2_dlc13_emp_the_huntmarshals_expedition", "dlc04_emp_arch_lector"},
{"general", "wh2_dlc13_emp_the_huntmarshals_expedition", "emp_balthasar_gelt"},
{"general", "wh2_dlc13_emp_the_huntmarshals_expedition", "emp_lord"},
{"general", "wh2_dlc13_emp_the_huntmarshals_expedition", "wh2_dlc13_emp_cha_huntsmarshal_0"},
{"general", "wh2_dlc13_emp_the_huntmarshals_expedition", "wh2_dlc13_emp_cha_markus_wulfhart_0"},
{"minister", "wh2_dlc13_emp_the_huntmarshals_expedition", "default"},
{"runesmith", "wh2_dlc13_emp_the_huntmarshals_expedition", "default"},
{"spy", "wh2_dlc13_emp_the_huntmarshals_expedition", "emp_witch_hunter"},
{"spy", "wh2_dlc13_emp_the_huntmarshals_expedition", "wh2_dlc13_emp_hunter_doctor_hertwig_van_hal"},
{"spy", "wh2_dlc13_emp_the_huntmarshals_expedition", "wh2_dlc13_emp_hunter_kalara_of_wydrioth"},
{"wizard", "wh2_dlc13_emp_the_huntmarshals_expedition", "dlc03_emp_amber_wizard"},
{"wizard", "wh2_dlc13_emp_the_huntmarshals_expedition", "dlc05_emp_grey_wizard"},
{"wizard", "wh2_dlc13_emp_the_huntmarshals_expedition", "dlc05_emp_jade_wizard"},
{"wizard", "wh2_dlc13_emp_the_huntmarshals_expedition", "emp_bright_wizard"},
{"wizard", "wh2_dlc13_emp_the_huntmarshals_expedition", "emp_celestial_wizard"},
{"wizard", "wh2_dlc13_emp_the_huntmarshals_expedition", "emp_light_wizard"},
{"wizard", "wh2_dlc13_emp_the_huntmarshals_expedition", "wh2_pro07_emp_amethyst_wizard"},
{"colonel", "wh2_dlc13_grn_greenskins_invasion", "grn_orc_warboss"},
{"dignitary", "wh2_dlc13_grn_greenskins_invasion", "default"},
{"engineer", "wh2_dlc13_grn_greenskins_invasion", "default"},
{"general", "wh2_dlc13_grn_greenskins_invasion", "dlc06_grn_night_goblin_warboss"},
{"general", "wh2_dlc13_grn_greenskins_invasion", "dlc06_grn_skarsnik"},
{"general", "wh2_dlc13_grn_greenskins_invasion", "dlc06_grn_wurrzag_da_great_prophet"},
{"general", "wh2_dlc13_grn_greenskins_invasion", "grn_azhag_the_slaughterer"},
{"general", "wh2_dlc13_grn_greenskins_invasion", "grn_goblin_great_shaman"},
{"general", "wh2_dlc13_grn_greenskins_invasion", "grn_grimgor_ironhide"},
{"general", "wh2_dlc13_grn_greenskins_invasion", "grn_orc_warboss"},
{"minister", "wh2_dlc13_grn_greenskins_invasion", "default"},
{"runesmith", "wh2_dlc13_grn_greenskins_invasion", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh2_dlc13_grn_greenskins_invasion", "grn_goblin_big_boss"},
{"wizard", "wh2_dlc13_grn_greenskins_invasion", "grn_night_goblin_shaman"},
{"wizard", "wh2_dlc13_grn_greenskins_invasion", "grn_orc_shaman"},
{"champion", "wh2_dlc13_lzd_avengers", "wh2_main_lzd_saurus_scar_veteran"},
{"colonel", "wh2_dlc13_lzd_avengers", "wh2_main_lzd_saurus_old_blood"},
{"dignitary", "wh2_dlc13_lzd_avengers", "default"},
{"engineer", "wh2_dlc13_lzd_avengers", "default"},
{"general", "wh2_dlc13_lzd_avengers", "wh2_dlc12_lzd_red_crested_skink_chief"},
{"general", "wh2_dlc13_lzd_avengers", "wh2_dlc12_lzd_red_crested_skink_chief_legendary"},
{"general", "wh2_dlc13_lzd_avengers", "wh2_dlc13_lzd_kroxigor_ancient"},
{"general", "wh2_dlc13_lzd_avengers", "wh2_dlc13_lzd_slann_mage_priest_fire"},
{"general", "wh2_dlc13_lzd_avengers", "wh2_dlc13_lzd_slann_mage_priest_high"},
{"general", "wh2_dlc13_lzd_avengers", "wh2_dlc13_lzd_slann_mage_priest_life"},
{"general", "wh2_dlc13_lzd_avengers", "wh2_main_lzd_kroq_gar"},
{"general", "wh2_dlc13_lzd_avengers", "wh2_main_lzd_lord_mazdamundi"},
{"general", "wh2_dlc13_lzd_avengers", "wh2_main_lzd_saurus_old_blood"},
{"general", "wh2_dlc13_lzd_avengers", "wh2_main_lzd_slann_mage_priest"},
{"minister", "wh2_dlc13_lzd_avengers", "default"},
{"runesmith", "wh2_dlc13_lzd_avengers", "default"},
{"spy", "wh2_dlc13_lzd_avengers", "wh2_main_lzd_skink_chief"},
{"wizard", "wh2_dlc13_lzd_avengers", "wh2_main_lzd_skink_priest_beasts"},
{"wizard", "wh2_dlc13_lzd_avengers", "wh2_main_lzd_skink_priest_heavens"},
{"champion", "wh2_dlc13_lzd_defenders_of_the_great_plan", "wh2_main_lzd_saurus_scar_veteran"},
{"colonel", "wh2_dlc13_lzd_defenders_of_the_great_plan", "wh2_main_lzd_saurus_old_blood"},
{"dignitary", "wh2_dlc13_lzd_defenders_of_the_great_plan", "default"},
{"engineer", "wh2_dlc13_lzd_defenders_of_the_great_plan", "default"},
{"general", "wh2_dlc13_lzd_defenders_of_the_great_plan", "wh2_main_lzd_saurus_old_blood"},
{"minister", "wh2_dlc13_lzd_defenders_of_the_great_plan", "default"},
{"runesmith", "wh2_dlc13_lzd_defenders_of_the_great_plan", "default"},
{"spy", "wh2_dlc13_lzd_defenders_of_the_great_plan", "wh2_main_lzd_skink_chief"},
{"wizard", "wh2_dlc13_lzd_defenders_of_the_great_plan", "wh2_main_lzd_skink_priest_beasts"},
{"wizard", "wh2_dlc13_lzd_defenders_of_the_great_plan", "wh2_main_lzd_skink_priest_heavens"},
{"champion", "wh2_dlc13_lzd_spirits_of_the_jungle", "wh2_main_lzd_saurus_scar_veteran"},
{"colonel", "wh2_dlc13_lzd_spirits_of_the_jungle", "wh2_dlc13_lzd_saurus_old_blood_horde"},
{"dignitary", "wh2_dlc13_lzd_spirits_of_the_jungle", "default"},
{"engineer", "wh2_dlc13_lzd_spirits_of_the_jungle", "default"},
{"general", "wh2_dlc13_lzd_spirits_of_the_jungle", "wh2_dlc12_lzd_red_crested_skink_chief_legendary"},
{"general", "wh2_dlc13_lzd_spirits_of_the_jungle", "wh2_dlc13_lzd_kroxigor_ancient_horde"},
{"general", "wh2_dlc13_lzd_spirits_of_the_jungle", "wh2_dlc13_lzd_nakai"},
{"general", "wh2_dlc13_lzd_spirits_of_the_jungle", "wh2_dlc13_lzd_red_crested_skink_chief_horde"},
{"general", "wh2_dlc13_lzd_spirits_of_the_jungle", "wh2_dlc13_lzd_saurus_old_blood_horde"},
{"general", "wh2_dlc13_lzd_spirits_of_the_jungle", "wh2_dlc13_lzd_slann_mage_priest_fire_horde"},
{"general", "wh2_dlc13_lzd_spirits_of_the_jungle", "wh2_dlc13_lzd_slann_mage_priest_high_horde"},
{"general", "wh2_dlc13_lzd_spirits_of_the_jungle", "wh2_dlc13_lzd_slann_mage_priest_life_horde"},
{"general", "wh2_dlc13_lzd_spirits_of_the_jungle", "wh2_main_lzd_slann_mage_priest"},
{"minister", "wh2_dlc13_lzd_spirits_of_the_jungle", "default"},
{"runesmith", "wh2_dlc13_lzd_spirits_of_the_jungle", "default"},
{"spy", "wh2_dlc13_lzd_spirits_of_the_jungle", "wh2_main_lzd_skink_chief"},
{"wizard", "wh2_dlc13_lzd_spirits_of_the_jungle", "wh2_dlc12_lzd_lord_kroak"},
{"wizard", "wh2_dlc13_lzd_spirits_of_the_jungle", "wh2_main_lzd_skink_priest_beasts"},
{"wizard", "wh2_dlc13_lzd_spirits_of_the_jungle", "wh2_main_lzd_skink_priest_heavens"},
{"champion", "wh2_dlc13_nor_norsca_invasion", "wh_dlc08_nor_skin_wolf_werekin"},
{"colonel", "wh2_dlc13_nor_norsca_invasion", "nor_marauder_chieftain"},
{"dignitary", "wh2_dlc13_nor_norsca_invasion", "wh_dlc08_nor_fimir_balefiend_fire"},
{"dignitary", "wh2_dlc13_nor_norsca_invasion", "wh_dlc08_nor_fimir_balefiend_shadow"},
{"engineer", "wh2_dlc13_nor_norsca_invasion", "default"},
{"general", "wh2_dlc13_nor_norsca_invasion", "nor_marauder_chieftain"},
{"general", "wh2_dlc13_nor_norsca_invasion", "wh_dlc08_nor_arzik"},
{"general", "wh2_dlc13_nor_norsca_invasion", "wh_dlc08_nor_wulfrik"},
{"minister", "wh2_dlc13_nor_norsca_invasion", "default"},
{"runesmith", "wh2_dlc13_nor_norsca_invasion", "default"},
{"spy", "wh2_dlc13_nor_norsca_invasion", "default"},
{"wizard", "wh2_dlc13_nor_norsca_invasion", "dlc08_nor_kihar"},
{"wizard", "wh2_dlc13_nor_norsca_invasion", "wh_dlc08_nor_shaman_sorcerer_death"},
{"wizard", "wh2_dlc13_nor_norsca_invasion", "wh_dlc08_nor_shaman_sorcerer_fire"},
{"wizard", "wh2_dlc13_nor_norsca_invasion", "wh_dlc08_nor_shaman_sorcerer_metal"},
{"champion", "wh2_dlc13_skv_skaven_invasion", "default"},
{"colonel", "wh2_dlc13_skv_skaven_invasion", "wh2_main_skv_warlord"},
{"dignitary", "wh2_dlc13_skv_skaven_invasion", "default"},
{"engineer", "wh2_dlc13_skv_skaven_invasion", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_dlc13_skv_skaven_invasion", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_dlc13_skv_skaven_invasion", "wh2_dlc09_skv_tretch_craventail"},
{"general", "wh2_dlc13_skv_skaven_invasion", "wh2_dlc12_skv_warlock_master"},
{"general", "wh2_dlc13_skv_skaven_invasion", "wh2_dlc14_skv_master_assassin"},
{"general", "wh2_dlc13_skv_skaven_invasion", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_dlc13_skv_skaven_invasion", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_dlc13_skv_skaven_invasion", "wh2_main_skv_lord_skrolk"},
{"general", "wh2_dlc13_skv_skaven_invasion", "wh2_main_skv_queek_headtaker"},
{"general", "wh2_dlc13_skv_skaven_invasion", "wh2_main_skv_warlord"},
{"minister", "wh2_dlc13_skv_skaven_invasion", "default"},
{"runesmith", "wh2_dlc13_skv_skaven_invasion", "default"},
{"spy", "wh2_dlc13_skv_skaven_invasion", "wh2_main_skv_assassin"},
{"wizard", "wh2_dlc13_skv_skaven_invasion", "wh2_dlc14_skv_eshin_sorcerer"},
{"wizard", "wh2_dlc13_skv_skaven_invasion", "wh2_main_skv_plague_priest"},
{"wizard", "wh2_dlc13_skv_skaven_invasion", "wh2_main_skv_plague_priest_ritual"},
{"champion", "wh2_dlc13_wef_laurelorn_forest", "wh_dlc05_wef_branchwraith"},
{"colonel", "wh2_dlc13_wef_laurelorn_forest", "dlc05_wef_glade_lord"},
{"dignitary", "wh2_dlc13_wef_laurelorn_forest", "default"},
{"engineer", "wh2_dlc13_wef_laurelorn_forest", "default"},
{"general", "wh2_dlc13_wef_laurelorn_forest", "dlc05_wef_ancient_treeman"},
{"general", "wh2_dlc13_wef_laurelorn_forest", "dlc05_wef_glade_lord"},
{"general", "wh2_dlc13_wef_laurelorn_forest", "dlc05_wef_glade_lord_fem"},
{"minister", "wh2_dlc13_wef_laurelorn_forest", "default"},
{"runesmith", "wh2_dlc13_wef_laurelorn_forest", "default"},
{"spy", "wh2_dlc13_wef_laurelorn_forest", "dlc05_wef_waystalker"},
{"wizard", "wh2_dlc13_wef_laurelorn_forest", "dlc05_wef_spellsinger_beasts"},
{"wizard", "wh2_dlc13_wef_laurelorn_forest", "dlc05_wef_spellsinger_life"},
{"wizard", "wh2_dlc13_wef_laurelorn_forest", "dlc05_wef_spellsinger_shadow"},
{"champion", "wh2_dlc14_brt_chevaliers_de_lyonesse", "brt_paladin"},
{"champion", "wh2_dlc14_brt_chevaliers_de_lyonesse", "dlc07_brt_green_knight"},
{"champion", "wh2_dlc14_brt_chevaliers_de_lyonesse", "wh2_dlc14_brt_henri_le_massif"},
{"colonel", "wh2_dlc14_brt_chevaliers_de_lyonesse", "brt_lord"},
{"dignitary", "wh2_dlc14_brt_chevaliers_de_lyonesse", "default"},
{"engineer", "wh2_dlc14_brt_chevaliers_de_lyonesse", "default"},
{"general", "wh2_dlc14_brt_chevaliers_de_lyonesse", "brt_lord"},
{"general", "wh2_dlc14_brt_chevaliers_de_lyonesse", "dlc07_brt_fay_enchantress"},
{"general", "wh2_dlc14_brt_chevaliers_de_lyonesse", "dlc07_brt_prophetess_beasts"},
{"general", "wh2_dlc14_brt_chevaliers_de_lyonesse", "dlc07_brt_prophetess_heavens"},
{"general", "wh2_dlc14_brt_chevaliers_de_lyonesse", "dlc07_brt_prophetess_life"},
{"general", "wh2_dlc14_brt_chevaliers_de_lyonesse", "wh2_dlc14_brt_repanse"},
{"minister", "wh2_dlc14_brt_chevaliers_de_lyonesse", "default"},
{"runesmith", "wh2_dlc14_brt_chevaliers_de_lyonesse", "default"},
{"spy", "wh2_dlc14_brt_chevaliers_de_lyonesse", "default"},
{"wizard", "wh2_dlc14_brt_chevaliers_de_lyonesse", "brt_damsel"},
{"wizard", "wh2_dlc14_brt_chevaliers_de_lyonesse", "brt_damsel_beasts"},
{"wizard", "wh2_dlc14_brt_chevaliers_de_lyonesse", "brt_damsel_life"},
{"champion", "wh2_dlc14_grn_red_cloud_waaagh", "default"},
{"colonel", "wh2_dlc14_grn_red_cloud_waaagh", "grn_orc_warboss"},
{"dignitary", "wh2_dlc14_grn_red_cloud_waaagh", "default"},
{"engineer", "wh2_dlc14_grn_red_cloud_waaagh", "default"},
{"general", "wh2_dlc14_grn_red_cloud_waaagh", "dlc06_grn_night_goblin_warboss"},
{"general", "wh2_dlc14_grn_red_cloud_waaagh", "grn_goblin_great_shaman"},
{"general", "wh2_dlc14_grn_red_cloud_waaagh", "grn_orc_warboss"},
{"minister", "wh2_dlc14_grn_red_cloud_waaagh", "default"},
{"runesmith", "wh2_dlc14_grn_red_cloud_waaagh", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh2_dlc14_grn_red_cloud_waaagh", "grn_goblin_big_boss"},
{"wizard", "wh2_dlc14_grn_red_cloud_waaagh", "grn_night_goblin_shaman"},
{"wizard", "wh2_dlc14_grn_red_cloud_waaagh", "grn_orc_shaman"},
{"colonel", "wh2_dlc14_grn_red_cloud", "grn_orc_warboss"},
{"dignitary", "wh2_dlc14_grn_red_cloud", "default"},
{"engineer", "wh2_dlc14_grn_red_cloud", "default"},
{"general", "wh2_dlc14_grn_red_cloud", "dlc06_grn_night_goblin_warboss"},
{"general", "wh2_dlc14_grn_red_cloud", "grn_goblin_great_shaman"},
{"general", "wh2_dlc14_grn_red_cloud", "grn_orc_warboss"},
{"minister", "wh2_dlc14_grn_red_cloud", "default"},
{"runesmith", "wh2_dlc14_grn_red_cloud", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh2_dlc14_grn_red_cloud", "grn_goblin_big_boss"},
{"wizard", "wh2_dlc14_grn_red_cloud", "grn_night_goblin_shaman"},
{"wizard", "wh2_dlc14_grn_red_cloud", "grn_orc_shaman"},
{"champion", "wh2_dlc14_lzd_itz_itza_tribe", "wh2_main_lzd_saurus_scar_veteran"},
{"colonel", "wh2_dlc14_lzd_itz_itza_tribe", "wh2_main_lzd_saurus_old_blood"},
{"dignitary", "wh2_dlc14_lzd_itz_itza_tribe", "default"},
{"engineer", "wh2_dlc14_lzd_itz_itza_tribe", "default"},
{"general", "wh2_dlc14_lzd_itz_itza_tribe", "wh2_dlc12_lzd_red_crested_skink_chief"},
{"general", "wh2_dlc14_lzd_itz_itza_tribe", "wh2_dlc12_lzd_red_crested_skink_chief_legendary"},
{"general", "wh2_dlc14_lzd_itz_itza_tribe", "wh2_dlc13_lzd_kroxigor_ancient"},
{"general", "wh2_dlc14_lzd_itz_itza_tribe", "wh2_dlc13_lzd_slann_mage_priest_fire"},
{"general", "wh2_dlc14_lzd_itz_itza_tribe", "wh2_dlc13_lzd_slann_mage_priest_fire_horde"},
{"general", "wh2_dlc14_lzd_itz_itza_tribe", "wh2_dlc13_lzd_slann_mage_priest_high"},
{"general", "wh2_dlc14_lzd_itz_itza_tribe", "wh2_dlc13_lzd_slann_mage_priest_high_horde"},
{"general", "wh2_dlc14_lzd_itz_itza_tribe", "wh2_dlc13_lzd_slann_mage_priest_life"},
{"general", "wh2_dlc14_lzd_itz_itza_tribe", "wh2_dlc13_lzd_slann_mage_priest_life_horde"},
{"general", "wh2_dlc14_lzd_itz_itza_tribe", "wh2_main_lzd_kroq_gar"},
{"general", "wh2_dlc14_lzd_itz_itza_tribe", "wh2_main_lzd_lord_mazdamundi"},
{"general", "wh2_dlc14_lzd_itz_itza_tribe", "wh2_main_lzd_saurus_old_blood"},
{"general", "wh2_dlc14_lzd_itz_itza_tribe", "wh2_main_lzd_slann_mage_priest"},
{"general", "wh2_dlc14_lzd_itz_itza_tribe", "wh2_main_lzd_slann_mage_priest_horde"},
{"minister", "wh2_dlc14_lzd_itz_itza_tribe", "default"},
{"runesmith", "wh2_dlc14_lzd_itz_itza_tribe", "default"},
{"spy", "wh2_dlc14_lzd_itz_itza_tribe", "wh2_main_lzd_skink_chief"},
{"wizard", "wh2_dlc14_lzd_itz_itza_tribe", "wh2_main_lzd_skink_priest_beasts"},
{"wizard", "wh2_dlc14_lzd_itz_itza_tribe", "wh2_main_lzd_skink_priest_heavens"},
{"champion", "wh2_dlc14_skv_rictus_clan_nest", "default"},
{"colonel", "wh2_dlc14_skv_rictus_clan_nest", "wh2_main_skv_warlord"},
{"dignitary", "wh2_dlc14_skv_rictus_clan_nest", "default"},
{"engineer", "wh2_dlc14_skv_rictus_clan_nest", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_dlc14_skv_rictus_clan_nest", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_dlc14_skv_rictus_clan_nest", "wh2_dlc12_skv_warlock_master"},
{"general", "wh2_dlc14_skv_rictus_clan_nest", "wh2_dlc14_skv_master_assassin"},
{"general", "wh2_dlc14_skv_rictus_clan_nest", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_dlc14_skv_rictus_clan_nest", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_dlc14_skv_rictus_clan_nest", "wh2_main_skv_warlord"},
{"minister", "wh2_dlc14_skv_rictus_clan_nest", "default"},
{"runesmith", "wh2_dlc14_skv_rictus_clan_nest", "default"},
{"spy", "wh2_dlc14_skv_rictus_clan_nest", "wh2_main_skv_assassin"},
{"wizard", "wh2_dlc14_skv_rictus_clan_nest", "wh2_dlc14_skv_eshin_sorcerer"},
{"wizard", "wh2_dlc14_skv_rictus_clan_nest", "wh2_main_skv_plague_priest"},
{"wizard", "wh2_dlc14_skv_rictus_clan_nest", "wh2_main_skv_plague_priest_ritual"},
{"champion", "wh2_dlc15_dwf_clan_helhein", "dwf_thane"},
{"colonel", "wh2_dlc15_dwf_clan_helhein", "dwf_lord"},
{"dignitary", "wh2_dlc15_dwf_clan_helhein", "default"},
{"engineer", "wh2_dlc15_dwf_clan_helhein", "dwf_master_engineer"},
{"general", "wh2_dlc15_dwf_clan_helhein", "dlc06_dwf_runelord"},
{"general", "wh2_dlc15_dwf_clan_helhein", "dwf_lord"},
{"minister", "wh2_dlc15_dwf_clan_helhein", "default"},
{"runesmith", "wh2_dlc15_dwf_clan_helhein", "dwf_runesmith"},
{"spy", "wh2_dlc15_dwf_clan_helhein", "default"},
{"wizard", "wh2_dlc15_dwf_clan_helhein", "default"},
{"colonel", "wh2_dlc15_grn_bonerattlaz", "grn_orc_warboss"},
{"dignitary", "wh2_dlc15_grn_bonerattlaz", "default"},
{"engineer", "wh2_dlc15_grn_bonerattlaz", "default"},
{"general", "wh2_dlc15_grn_bonerattlaz", "dlc06_grn_night_goblin_warboss"},
{"general", "wh2_dlc15_grn_bonerattlaz", "grn_azhag_the_slaughterer"},
{"general", "wh2_dlc15_grn_bonerattlaz", "grn_goblin_great_shaman"},
{"general", "wh2_dlc15_grn_bonerattlaz", "grn_orc_warboss"},
{"general", "wh2_dlc15_grn_bonerattlaz", "wh2_dlc15_grn_goblin_great_shaman_raknik"},
{"general", "wh2_dlc15_grn_bonerattlaz", "wh2_dlc15_grn_orc_warboss_oglok"},
{"minister", "wh2_dlc15_grn_bonerattlaz", "default"},
{"runesmith", "wh2_dlc15_grn_bonerattlaz", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh2_dlc15_grn_bonerattlaz", "grn_goblin_big_boss"},
{"wizard", "wh2_dlc15_grn_bonerattlaz", "grn_night_goblin_shaman"},
{"wizard", "wh2_dlc15_grn_bonerattlaz", "grn_orc_shaman"},
{"champion", "wh2_dlc15_grn_broken_axe_waaagh", "default"},
{"colonel", "wh2_dlc15_grn_broken_axe_waaagh", "grn_orc_warboss"},
{"dignitary", "wh2_dlc15_grn_broken_axe_waaagh", "default"},
{"engineer", "wh2_dlc15_grn_broken_axe_waaagh", "default"},
{"general", "wh2_dlc15_grn_broken_axe_waaagh", "dlc06_grn_night_goblin_warboss"},
{"general", "wh2_dlc15_grn_broken_axe_waaagh", "grn_goblin_great_shaman"},
{"general", "wh2_dlc15_grn_broken_axe_waaagh", "grn_orc_warboss"},
{"minister", "wh2_dlc15_grn_broken_axe_waaagh", "default"},
{"runesmith", "wh2_dlc15_grn_broken_axe_waaagh", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh2_dlc15_grn_broken_axe_waaagh", "grn_goblin_big_boss"},
{"wizard", "wh2_dlc15_grn_broken_axe_waaagh", "grn_night_goblin_shaman"},
{"wizard", "wh2_dlc15_grn_broken_axe_waaagh", "grn_orc_shaman"},
{"colonel", "wh2_dlc15_grn_broken_axe", "grn_orc_warboss"},
{"dignitary", "wh2_dlc15_grn_broken_axe", "default"},
{"engineer", "wh2_dlc15_grn_broken_axe", "default"},
{"general", "wh2_dlc15_grn_broken_axe", "dlc06_grn_night_goblin_warboss"},
{"general", "wh2_dlc15_grn_broken_axe", "grn_goblin_great_shaman"},
{"general", "wh2_dlc15_grn_broken_axe", "grn_orc_warboss"},
{"general", "wh2_dlc15_grn_broken_axe", "wh2_dlc15_grn_goblin_great_shaman_raknik"},
{"general", "wh2_dlc15_grn_broken_axe", "wh2_dlc15_grn_grom_the_paunch"},
{"general", "wh2_dlc15_grn_broken_axe", "wh2_dlc15_grn_orc_warboss_oglok"},
{"minister", "wh2_dlc15_grn_broken_axe", "default"},
{"runesmith", "wh2_dlc15_grn_broken_axe", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh2_dlc15_grn_broken_axe", "grn_goblin_big_boss"},
{"wizard", "wh2_dlc15_grn_broken_axe", "grn_night_goblin_shaman"},
{"wizard", "wh2_dlc15_grn_broken_axe", "grn_orc_shaman"},
{"colonel", "wh2_dlc15_grn_skull_crag", "grn_orc_warboss"},
{"dignitary", "wh2_dlc15_grn_skull_crag", "default"},
{"engineer", "wh2_dlc15_grn_skull_crag", "default"},
{"general", "wh2_dlc15_grn_skull_crag", "dlc06_grn_night_goblin_warboss"},
{"general", "wh2_dlc15_grn_skull_crag", "grn_goblin_great_shaman"},
{"general", "wh2_dlc15_grn_skull_crag", "grn_orc_warboss"},
{"minister", "wh2_dlc15_grn_skull_crag", "default"},
{"runesmith", "wh2_dlc15_grn_skull_crag", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh2_dlc15_grn_skull_crag", "grn_goblin_big_boss"},
{"wizard", "wh2_dlc15_grn_skull_crag", "grn_night_goblin_shaman"},
{"wizard", "wh2_dlc15_grn_skull_crag", "grn_orc_shaman"},
{"champion", "wh2_dlc15_hef_dragon_encounters", "wh2_main_hef_noble"},
{"colonel", "wh2_dlc15_hef_dragon_encounters", "wh2_main_hef_prince"},
{"dignitary", "wh2_dlc15_hef_dragon_encounters", "wh2_dlc10_hef_handmaiden"},
{"engineer", "wh2_dlc15_hef_dragon_encounters", "default"},
{"general", "wh2_dlc15_hef_dragon_encounters", "wh2_dlc15_hef_archmage_beasts"},
{"general", "wh2_dlc15_hef_dragon_encounters", "wh2_dlc15_hef_archmage_death"},
{"general", "wh2_dlc15_hef_dragon_encounters", "wh2_dlc15_hef_archmage_fire"},
{"general", "wh2_dlc15_hef_dragon_encounters", "wh2_dlc15_hef_archmage_heavens"},
{"general", "wh2_dlc15_hef_dragon_encounters", "wh2_dlc15_hef_archmage_high"},
{"general", "wh2_dlc15_hef_dragon_encounters", "wh2_dlc15_hef_archmage_life"},
{"general", "wh2_dlc15_hef_dragon_encounters", "wh2_dlc15_hef_archmage_light"},
{"general", "wh2_dlc15_hef_dragon_encounters", "wh2_dlc15_hef_archmage_metal"},
{"general", "wh2_dlc15_hef_dragon_encounters", "wh2_dlc15_hef_archmage_shadows"},
{"general", "wh2_dlc15_hef_dragon_encounters", "wh2_main_hef_prince"},
{"general", "wh2_dlc15_hef_dragon_encounters", "wh2_main_hef_prince_alastar"},
{"general", "wh2_dlc15_hef_dragon_encounters", "wh2_main_hef_princess"},
{"general", "wh2_dlc15_hef_dragon_encounters", "wh2_main_hef_tyrion"},
{"minister", "wh2_dlc15_hef_dragon_encounters", "default"},
{"runesmith", "wh2_dlc15_hef_dragon_encounters", "default"},
{"runesmith", "wh2_dlc15_hef_dragon_encounters", "wh2_main_hef_loremaster_of_hoeth"},
{"spy", "wh2_dlc15_hef_dragon_encounters", "default"},
{"wizard", "wh2_dlc15_hef_dragon_encounters", "wh2_dlc10_hef_mage_heavens"},
{"wizard", "wh2_dlc15_hef_dragon_encounters", "wh2_dlc10_hef_mage_shadows"},
{"wizard", "wh2_dlc15_hef_dragon_encounters", "wh2_dlc15_hef_mage_beasts"},
{"wizard", "wh2_dlc15_hef_dragon_encounters", "wh2_dlc15_hef_mage_death"},
{"wizard", "wh2_dlc15_hef_dragon_encounters", "wh2_dlc15_hef_mage_fire"},
{"wizard", "wh2_dlc15_hef_dragon_encounters", "wh2_dlc15_hef_mage_metal"},
{"wizard", "wh2_dlc15_hef_dragon_encounters", "wh2_main_hef_mage_high"},
{"wizard", "wh2_dlc15_hef_dragon_encounters", "wh2_main_hef_mage_life"},
{"wizard", "wh2_dlc15_hef_dragon_encounters", "wh2_main_hef_mage_light"},
{"champion", "wh2_dlc15_hef_imrik", "wh2_main_hef_noble"},
{"colonel", "wh2_dlc15_hef_imrik", "wh2_main_hef_prince"},
{"dignitary", "wh2_dlc15_hef_imrik", "wh2_dlc10_hef_handmaiden"},
{"engineer", "wh2_dlc15_hef_imrik", "default"},
{"general", "wh2_dlc15_hef_imrik", "wh2_dlc15_hef_archmage_beasts"},
{"general", "wh2_dlc15_hef_imrik", "wh2_dlc15_hef_archmage_death"},
{"general", "wh2_dlc15_hef_imrik", "wh2_dlc15_hef_archmage_fire"},
{"general", "wh2_dlc15_hef_imrik", "wh2_dlc15_hef_archmage_heavens"},
{"general", "wh2_dlc15_hef_imrik", "wh2_dlc15_hef_archmage_high"},
{"general", "wh2_dlc15_hef_imrik", "wh2_dlc15_hef_archmage_life"},
{"general", "wh2_dlc15_hef_imrik", "wh2_dlc15_hef_archmage_light"},
{"general", "wh2_dlc15_hef_imrik", "wh2_dlc15_hef_archmage_metal"},
{"general", "wh2_dlc15_hef_imrik", "wh2_dlc15_hef_archmage_shadows"},
{"general", "wh2_dlc15_hef_imrik", "wh2_dlc15_hef_imrik"},
{"general", "wh2_dlc15_hef_imrik", "wh2_main_hef_prince"},
{"general", "wh2_dlc15_hef_imrik", "wh2_main_hef_princess"},
{"minister", "wh2_dlc15_hef_imrik", "default"},
{"runesmith", "wh2_dlc15_hef_imrik", "wh2_main_hef_loremaster_of_hoeth"},
{"wizard", "wh2_dlc15_hef_imrik", "wh2_dlc10_hef_mage_heavens"},
{"wizard", "wh2_dlc15_hef_imrik", "wh2_dlc10_hef_mage_shadows"},
{"wizard", "wh2_dlc15_hef_imrik", "wh2_dlc15_hef_mage_beasts"},
{"wizard", "wh2_dlc15_hef_imrik", "wh2_dlc15_hef_mage_death"},
{"wizard", "wh2_dlc15_hef_imrik", "wh2_dlc15_hef_mage_fire"},
{"wizard", "wh2_dlc15_hef_imrik", "wh2_dlc15_hef_mage_metal"},
{"wizard", "wh2_dlc15_hef_imrik", "wh2_main_hef_mage_high"},
{"wizard", "wh2_dlc15_hef_imrik", "wh2_main_hef_mage_life"},
{"wizard", "wh2_dlc15_hef_imrik", "wh2_main_hef_mage_light"},
{"champion", "wh2_dlc15_skv_clan_ferrik", "default"},
{"colonel", "wh2_dlc15_skv_clan_ferrik", "wh2_main_skv_warlord"},
{"dignitary", "wh2_dlc15_skv_clan_ferrik", "default"},
{"engineer", "wh2_dlc15_skv_clan_ferrik", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_dlc15_skv_clan_ferrik", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_dlc15_skv_clan_ferrik", "wh2_dlc12_skv_warlock_master"},
{"general", "wh2_dlc15_skv_clan_ferrik", "wh2_dlc14_skv_master_assassin"},
{"general", "wh2_dlc15_skv_clan_ferrik", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_dlc15_skv_clan_ferrik", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_dlc15_skv_clan_ferrik", "wh2_main_skv_warlord"},
{"minister", "wh2_dlc15_skv_clan_ferrik", "default"},
{"runesmith", "wh2_dlc15_skv_clan_ferrik", "default"},
{"spy", "wh2_dlc15_skv_clan_ferrik", "wh2_main_skv_assassin"},
{"wizard", "wh2_dlc15_skv_clan_ferrik", "wh2_main_skv_plague_priest"},
{"champion", "wh2_dlc15_skv_clan_kreepus", "default"},
{"colonel", "wh2_dlc15_skv_clan_kreepus", "wh2_main_skv_warlord"},
{"dignitary", "wh2_dlc15_skv_clan_kreepus", "default"},
{"engineer", "wh2_dlc15_skv_clan_kreepus", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_dlc15_skv_clan_kreepus", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_dlc15_skv_clan_kreepus", "wh2_dlc12_skv_warlock_master"},
{"general", "wh2_dlc15_skv_clan_kreepus", "wh2_dlc14_skv_master_assassin"},
{"general", "wh2_dlc15_skv_clan_kreepus", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_dlc15_skv_clan_kreepus", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_dlc15_skv_clan_kreepus", "wh2_main_skv_warlord"},
{"minister", "wh2_dlc15_skv_clan_kreepus", "default"},
{"runesmith", "wh2_dlc15_skv_clan_kreepus", "default"},
{"spy", "wh2_dlc15_skv_clan_kreepus", "wh2_main_skv_assassin"},
{"wizard", "wh2_dlc15_skv_clan_kreepus", "wh2_main_skv_plague_priest"},
{"champion", "wh2_dlc15_skv_clan_volkn", "default"},
{"colonel", "wh2_dlc15_skv_clan_volkn", "wh2_main_skv_warlord"},
{"dignitary", "wh2_dlc15_skv_clan_volkn", "default"},
{"engineer", "wh2_dlc15_skv_clan_volkn", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_dlc15_skv_clan_volkn", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_dlc15_skv_clan_volkn", "wh2_dlc12_skv_warlock_master"},
{"general", "wh2_dlc15_skv_clan_volkn", "wh2_dlc14_skv_master_assassin"},
{"general", "wh2_dlc15_skv_clan_volkn", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_dlc15_skv_clan_volkn", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_dlc15_skv_clan_volkn", "wh2_main_skv_warlord"},
{"minister", "wh2_dlc15_skv_clan_volkn", "default"},
{"runesmith", "wh2_dlc15_skv_clan_volkn", "default"},
{"spy", "wh2_dlc15_skv_clan_volkn", "wh2_main_skv_assassin"},
{"wizard", "wh2_dlc15_skv_clan_volkn", "wh2_main_skv_plague_priest"},
{"champion", "wh2_main_brt_knights_of_origo", "brt_paladin"},
{"colonel", "wh2_main_brt_knights_of_origo", "brt_lord"},
{"dignitary", "wh2_main_brt_knights_of_origo", "default"},
{"engineer", "wh2_main_brt_knights_of_origo", "default"},
{"general", "wh2_main_brt_knights_of_origo", "brt_lord"},
{"minister", "wh2_main_brt_knights_of_origo", "default"},
{"runesmith", "wh2_main_brt_knights_of_origo", "default"},
{"spy", "wh2_main_brt_knights_of_origo", "default"},
{"wizard", "wh2_main_brt_knights_of_origo", "brt_damsel"},
{"champion", "wh2_main_brt_knights_of_the_flame", "brt_paladin"},
{"colonel", "wh2_main_brt_knights_of_the_flame", "brt_lord"},
{"dignitary", "wh2_main_brt_knights_of_the_flame", "default"},
{"engineer", "wh2_main_brt_knights_of_the_flame", "default"},
{"general", "wh2_main_brt_knights_of_the_flame", "brt_lord"},
{"minister", "wh2_main_brt_knights_of_the_flame", "default"},
{"runesmith", "wh2_main_brt_knights_of_the_flame", "default"},
{"spy", "wh2_main_brt_knights_of_the_flame", "default"},
{"wizard", "wh2_main_brt_knights_of_the_flame", "brt_damsel"},
{"champion", "wh2_main_brt_thegans_crusaders", "brt_paladin"},
{"colonel", "wh2_main_brt_thegans_crusaders", "brt_lord"},
{"dignitary", "wh2_main_brt_thegans_crusaders", "default"},
{"engineer", "wh2_main_brt_thegans_crusaders", "default"},
{"general", "wh2_main_brt_thegans_crusaders", "brt_lord"},
{"minister", "wh2_main_brt_thegans_crusaders", "default"},
{"runesmith", "wh2_main_brt_thegans_crusaders", "default"},
{"spy", "wh2_main_brt_thegans_crusaders", "default"},
{"wizard", "wh2_main_brt_thegans_crusaders", "brt_damsel"},
{"champion", "wh2_main_bst_blooded_axe_brayherd", "dlc03_bst_gorebull"},
{"colonel", "wh2_main_bst_blooded_axe_brayherd", "dlc03_bst_beastlord"},
{"dignitary", "wh2_main_bst_blooded_axe_brayherd", "default"},
{"engineer", "wh2_main_bst_blooded_axe_brayherd", "default"},
{"general", "wh2_main_bst_blooded_axe_brayherd", "dlc03_bst_beastlord"},
{"minister", "wh2_main_bst_blooded_axe_brayherd", "default"},
{"runesmith", "wh2_main_bst_blooded_axe_brayherd", "default"},
{"spy", "wh2_main_bst_blooded_axe_brayherd", "default"},
{"wizard", "wh2_main_bst_blooded_axe_brayherd", "dlc03_bst_bray_shaman_beasts"},
{"wizard", "wh2_main_bst_blooded_axe_brayherd", "dlc03_bst_bray_shaman_death"},
{"wizard", "wh2_main_bst_blooded_axe_brayherd", "dlc03_bst_bray_shaman_shadows"},
{"wizard", "wh2_main_bst_blooded_axe_brayherd", "dlc03_bst_bray_shaman_wild"},
{"champion", "wh2_main_bst_blooded_axe", "dlc03_bst_gorebull"},
{"colonel", "wh2_main_bst_blooded_axe", "dlc03_bst_beastlord"},
{"dignitary", "wh2_main_bst_blooded_axe", "default"},
{"engineer", "wh2_main_bst_blooded_axe", "default"},
{"general", "wh2_main_bst_blooded_axe", "dlc03_bst_beastlord"},
{"minister", "wh2_main_bst_blooded_axe", "default"},
{"runesmith", "wh2_main_bst_blooded_axe", "default"},
{"spy", "wh2_main_bst_blooded_axe", "default"},
{"wizard", "wh2_main_bst_blooded_axe", "dlc03_bst_bray_shaman_beasts"},
{"wizard", "wh2_main_bst_blooded_axe", "dlc03_bst_bray_shaman_death"},
{"wizard", "wh2_main_bst_blooded_axe", "dlc03_bst_bray_shaman_shadows"},
{"wizard", "wh2_main_bst_blooded_axe", "dlc03_bst_bray_shaman_wild"},
{"champion", "wh2_main_bst_manblight_brayherd", "dlc03_bst_gorebull"},
{"colonel", "wh2_main_bst_manblight_brayherd", "dlc03_bst_beastlord"},
{"dignitary", "wh2_main_bst_manblight_brayherd", "default"},
{"engineer", "wh2_main_bst_manblight_brayherd", "default"},
{"general", "wh2_main_bst_manblight_brayherd", "dlc03_bst_beastlord"},
{"minister", "wh2_main_bst_manblight_brayherd", "default"},
{"runesmith", "wh2_main_bst_manblight_brayherd", "default"},
{"spy", "wh2_main_bst_manblight_brayherd", "default"},
{"wizard", "wh2_main_bst_manblight_brayherd", "dlc03_bst_bray_shaman_beasts"},
{"wizard", "wh2_main_bst_manblight_brayherd", "dlc03_bst_bray_shaman_death"},
{"wizard", "wh2_main_bst_manblight_brayherd", "dlc03_bst_bray_shaman_shadows"},
{"wizard", "wh2_main_bst_manblight_brayherd", "dlc03_bst_bray_shaman_wild"},
{"champion", "wh2_main_bst_manblight", "dlc03_bst_gorebull"},
{"colonel", "wh2_main_bst_manblight", "dlc03_bst_beastlord"},
{"dignitary", "wh2_main_bst_manblight", "default"},
{"engineer", "wh2_main_bst_manblight", "default"},
{"general", "wh2_main_bst_manblight", "dlc03_bst_beastlord"},
{"minister", "wh2_main_bst_manblight", "default"},
{"runesmith", "wh2_main_bst_manblight", "default"},
{"spy", "wh2_main_bst_manblight", "default"},
{"wizard", "wh2_main_bst_manblight", "dlc03_bst_bray_shaman_beasts"},
{"wizard", "wh2_main_bst_manblight", "dlc03_bst_bray_shaman_death"},
{"wizard", "wh2_main_bst_manblight", "dlc03_bst_bray_shaman_shadows"},
{"wizard", "wh2_main_bst_manblight", "dlc03_bst_bray_shaman_wild"},
{"champion", "wh2_main_bst_ripper_horn_brayherd", "dlc03_bst_gorebull"},
{"colonel", "wh2_main_bst_ripper_horn_brayherd", "dlc03_bst_beastlord"},
{"dignitary", "wh2_main_bst_ripper_horn_brayherd", "default"},
{"engineer", "wh2_main_bst_ripper_horn_brayherd", "default"},
{"general", "wh2_main_bst_ripper_horn_brayherd", "dlc03_bst_beastlord"},
{"minister", "wh2_main_bst_ripper_horn_brayherd", "default"},
{"runesmith", "wh2_main_bst_ripper_horn_brayherd", "default"},
{"spy", "wh2_main_bst_ripper_horn_brayherd", "default"},
{"wizard", "wh2_main_bst_ripper_horn_brayherd", "dlc03_bst_bray_shaman_beasts"},
{"wizard", "wh2_main_bst_ripper_horn_brayherd", "dlc03_bst_bray_shaman_death"},
{"wizard", "wh2_main_bst_ripper_horn_brayherd", "dlc03_bst_bray_shaman_shadows"},
{"wizard", "wh2_main_bst_ripper_horn_brayherd", "dlc03_bst_bray_shaman_wild"},
{"champion", "wh2_main_bst_ripper_horn", "dlc03_bst_gorebull"},
{"colonel", "wh2_main_bst_ripper_horn", "dlc03_bst_beastlord"},
{"dignitary", "wh2_main_bst_ripper_horn", "default"},
{"engineer", "wh2_main_bst_ripper_horn", "default"},
{"general", "wh2_main_bst_ripper_horn", "dlc03_bst_beastlord"},
{"minister", "wh2_main_bst_ripper_horn", "default"},
{"runesmith", "wh2_main_bst_ripper_horn", "default"},
{"spy", "wh2_main_bst_ripper_horn", "default"},
{"wizard", "wh2_main_bst_ripper_horn", "dlc03_bst_bray_shaman_beasts"},
{"wizard", "wh2_main_bst_ripper_horn", "dlc03_bst_bray_shaman_death"},
{"wizard", "wh2_main_bst_ripper_horn", "dlc03_bst_bray_shaman_shadows"},
{"wizard", "wh2_main_bst_ripper_horn", "dlc03_bst_bray_shaman_wild"},
{"champion", "wh2_main_bst_shadowgor_brayherd", "dlc03_bst_gorebull"},
{"colonel", "wh2_main_bst_shadowgor_brayherd", "dlc03_bst_beastlord"},
{"dignitary", "wh2_main_bst_shadowgor_brayherd", "default"},
{"engineer", "wh2_main_bst_shadowgor_brayherd", "default"},
{"general", "wh2_main_bst_shadowgor_brayherd", "dlc03_bst_beastlord"},
{"minister", "wh2_main_bst_shadowgor_brayherd", "default"},
{"runesmith", "wh2_main_bst_shadowgor_brayherd", "default"},
{"spy", "wh2_main_bst_shadowgor_brayherd", "default"},
{"wizard", "wh2_main_bst_shadowgor_brayherd", "dlc03_bst_bray_shaman_beasts"},
{"wizard", "wh2_main_bst_shadowgor_brayherd", "dlc03_bst_bray_shaman_death"},
{"wizard", "wh2_main_bst_shadowgor_brayherd", "dlc03_bst_bray_shaman_shadows"},
{"wizard", "wh2_main_bst_shadowgor_brayherd", "dlc03_bst_bray_shaman_wild"},
{"champion", "wh2_main_bst_shadowgor", "dlc03_bst_gorebull"},
{"colonel", "wh2_main_bst_shadowgor", "dlc03_bst_beastlord"},
{"dignitary", "wh2_main_bst_shadowgor", "default"},
{"engineer", "wh2_main_bst_shadowgor", "default"},
{"general", "wh2_main_bst_shadowgor", "dlc03_bst_beastlord"},
{"minister", "wh2_main_bst_shadowgor", "default"},
{"runesmith", "wh2_main_bst_shadowgor", "default"},
{"spy", "wh2_main_bst_shadowgor", "default"},
{"wizard", "wh2_main_bst_shadowgor", "dlc03_bst_bray_shaman_beasts"},
{"wizard", "wh2_main_bst_shadowgor", "dlc03_bst_bray_shaman_death"},
{"wizard", "wh2_main_bst_shadowgor", "dlc03_bst_bray_shaman_shadows"},
{"wizard", "wh2_main_bst_shadowgor", "dlc03_bst_bray_shaman_wild"},
{"champion", "wh2_main_bst_skrinderkin_brayherd", "dlc03_bst_gorebull"},
{"colonel", "wh2_main_bst_skrinderkin_brayherd", "dlc03_bst_beastlord"},
{"dignitary", "wh2_main_bst_skrinderkin_brayherd", "default"},
{"engineer", "wh2_main_bst_skrinderkin_brayherd", "default"},
{"general", "wh2_main_bst_skrinderkin_brayherd", "dlc03_bst_beastlord"},
{"minister", "wh2_main_bst_skrinderkin_brayherd", "default"},
{"runesmith", "wh2_main_bst_skrinderkin_brayherd", "default"},
{"spy", "wh2_main_bst_skrinderkin_brayherd", "default"},
{"wizard", "wh2_main_bst_skrinderkin_brayherd", "dlc03_bst_bray_shaman_beasts"},
{"wizard", "wh2_main_bst_skrinderkin_brayherd", "dlc03_bst_bray_shaman_death"},
{"wizard", "wh2_main_bst_skrinderkin_brayherd", "dlc03_bst_bray_shaman_shadows"},
{"wizard", "wh2_main_bst_skrinderkin_brayherd", "dlc03_bst_bray_shaman_wild"},
{"champion", "wh2_main_bst_skrinderkin", "dlc03_bst_gorebull"},
{"colonel", "wh2_main_bst_skrinderkin", "dlc03_bst_beastlord"},
{"dignitary", "wh2_main_bst_skrinderkin", "default"},
{"engineer", "wh2_main_bst_skrinderkin", "default"},
{"general", "wh2_main_bst_skrinderkin", "dlc03_bst_beastlord"},
{"minister", "wh2_main_bst_skrinderkin", "default"},
{"runesmith", "wh2_main_bst_skrinderkin", "default"},
{"spy", "wh2_main_bst_skrinderkin", "default"},
{"wizard", "wh2_main_bst_skrinderkin", "dlc03_bst_bray_shaman_beasts"},
{"wizard", "wh2_main_bst_skrinderkin", "dlc03_bst_bray_shaman_death"},
{"wizard", "wh2_main_bst_skrinderkin", "dlc03_bst_bray_shaman_shadows"},
{"wizard", "wh2_main_bst_skrinderkin", "dlc03_bst_bray_shaman_wild"},
{"champion", "wh2_main_bst_stone_horn_brayherd", "dlc03_bst_gorebull"},
{"colonel", "wh2_main_bst_stone_horn_brayherd", "dlc03_bst_beastlord"},
{"dignitary", "wh2_main_bst_stone_horn_brayherd", "default"},
{"engineer", "wh2_main_bst_stone_horn_brayherd", "default"},
{"general", "wh2_main_bst_stone_horn_brayherd", "dlc03_bst_beastlord"},
{"minister", "wh2_main_bst_stone_horn_brayherd", "default"},
{"runesmith", "wh2_main_bst_stone_horn_brayherd", "default"},
{"spy", "wh2_main_bst_stone_horn_brayherd", "default"},
{"wizard", "wh2_main_bst_stone_horn_brayherd", "dlc03_bst_bray_shaman_beasts"},
{"wizard", "wh2_main_bst_stone_horn_brayherd", "dlc03_bst_bray_shaman_death"},
{"wizard", "wh2_main_bst_stone_horn_brayherd", "dlc03_bst_bray_shaman_shadows"},
{"wizard", "wh2_main_bst_stone_horn_brayherd", "dlc03_bst_bray_shaman_wild"},
{"champion", "wh2_main_bst_stone_horn", "dlc03_bst_gorebull"},
{"colonel", "wh2_main_bst_stone_horn", "dlc03_bst_beastlord"},
{"dignitary", "wh2_main_bst_stone_horn", "default"},
{"engineer", "wh2_main_bst_stone_horn", "default"},
{"general", "wh2_main_bst_stone_horn", "dlc03_bst_beastlord"},
{"minister", "wh2_main_bst_stone_horn", "default"},
{"runesmith", "wh2_main_bst_stone_horn", "default"},
{"spy", "wh2_main_bst_stone_horn", "default"},
{"wizard", "wh2_main_bst_stone_horn", "dlc03_bst_bray_shaman_beasts"},
{"wizard", "wh2_main_bst_stone_horn", "dlc03_bst_bray_shaman_death"},
{"wizard", "wh2_main_bst_stone_horn", "dlc03_bst_bray_shaman_shadows"},
{"wizard", "wh2_main_bst_stone_horn", "dlc03_bst_bray_shaman_wild"},
{"champion", "wh2_main_chs_chaos_incursion_def", "chs_exalted_hero"},
{"colonel", "wh2_main_chs_chaos_incursion_def", "chs_lord"},
{"dignitary", "wh2_main_chs_chaos_incursion_def", "default"},
{"engineer", "wh2_main_chs_chaos_incursion_def", "default"},
{"general", "wh2_main_chs_chaos_incursion_def", "chs_lord"},
{"general", "wh2_main_chs_chaos_incursion_def", "chs_sorcerer_lord_death"},
{"general", "wh2_main_chs_chaos_incursion_def", "chs_sorcerer_lord_fire"},
{"general", "wh2_main_chs_chaos_incursion_def", "chs_sorcerer_lord_metal"},
{"minister", "wh2_main_chs_chaos_incursion_def", "default"},
{"runesmith", "wh2_main_chs_chaos_incursion_def", "default"},
{"spy", "wh2_main_chs_chaos_incursion_def", "default"},
{"wizard", "wh2_main_chs_chaos_incursion_def", "chs_chaos_sorcerer_death"},
{"wizard", "wh2_main_chs_chaos_incursion_def", "chs_chaos_sorcerer_fire"},
{"wizard", "wh2_main_chs_chaos_incursion_def", "chs_chaos_sorcerer_metal"},
{"champion", "wh2_main_chs_chaos_incursion_hef", "chs_exalted_hero"},
{"colonel", "wh2_main_chs_chaos_incursion_hef", "chs_lord"},
{"dignitary", "wh2_main_chs_chaos_incursion_hef", "default"},
{"engineer", "wh2_main_chs_chaos_incursion_hef", "default"},
{"general", "wh2_main_chs_chaos_incursion_hef", "chs_lord"},
{"general", "wh2_main_chs_chaos_incursion_hef", "chs_sorcerer_lord_death"},
{"general", "wh2_main_chs_chaos_incursion_hef", "chs_sorcerer_lord_fire"},
{"general", "wh2_main_chs_chaos_incursion_hef", "chs_sorcerer_lord_metal"},
{"minister", "wh2_main_chs_chaos_incursion_hef", "default"},
{"runesmith", "wh2_main_chs_chaos_incursion_hef", "default"},
{"spy", "wh2_main_chs_chaos_incursion_hef", "default"},
{"wizard", "wh2_main_chs_chaos_incursion_hef", "chs_chaos_sorcerer_death"},
{"wizard", "wh2_main_chs_chaos_incursion_hef", "chs_chaos_sorcerer_fire"},
{"wizard", "wh2_main_chs_chaos_incursion_hef", "chs_chaos_sorcerer_metal"},
{"champion", "wh2_main_chs_chaos_incursion_lzd", "chs_exalted_hero"},
{"colonel", "wh2_main_chs_chaos_incursion_lzd", "chs_lord"},
{"dignitary", "wh2_main_chs_chaos_incursion_lzd", "default"},
{"engineer", "wh2_main_chs_chaos_incursion_lzd", "default"},
{"general", "wh2_main_chs_chaos_incursion_lzd", "chs_lord"},
{"general", "wh2_main_chs_chaos_incursion_lzd", "chs_sorcerer_lord_death"},
{"general", "wh2_main_chs_chaos_incursion_lzd", "chs_sorcerer_lord_fire"},
{"general", "wh2_main_chs_chaos_incursion_lzd", "chs_sorcerer_lord_metal"},
{"minister", "wh2_main_chs_chaos_incursion_lzd", "default"},
{"runesmith", "wh2_main_chs_chaos_incursion_lzd", "default"},
{"spy", "wh2_main_chs_chaos_incursion_lzd", "default"},
{"wizard", "wh2_main_chs_chaos_incursion_lzd", "chs_chaos_sorcerer_death"},
{"wizard", "wh2_main_chs_chaos_incursion_lzd", "chs_chaos_sorcerer_fire"},
{"wizard", "wh2_main_chs_chaos_incursion_lzd", "chs_chaos_sorcerer_metal"},
{"champion", "wh2_main_chs_chaos_incursion_skv", "chs_exalted_hero"},
{"colonel", "wh2_main_chs_chaos_incursion_skv", "chs_lord"},
{"dignitary", "wh2_main_chs_chaos_incursion_skv", "default"},
{"engineer", "wh2_main_chs_chaos_incursion_skv", "default"},
{"general", "wh2_main_chs_chaos_incursion_skv", "chs_lord"},
{"general", "wh2_main_chs_chaos_incursion_skv", "chs_sorcerer_lord_death"},
{"general", "wh2_main_chs_chaos_incursion_skv", "chs_sorcerer_lord_fire"},
{"general", "wh2_main_chs_chaos_incursion_skv", "chs_sorcerer_lord_metal"},
{"minister", "wh2_main_chs_chaos_incursion_skv", "default"},
{"runesmith", "wh2_main_chs_chaos_incursion_skv", "default"},
{"spy", "wh2_main_chs_chaos_incursion_skv", "default"},
{"wizard", "wh2_main_chs_chaos_incursion_skv", "chs_chaos_sorcerer_death"},
{"wizard", "wh2_main_chs_chaos_incursion_skv", "chs_chaos_sorcerer_fire"},
{"wizard", "wh2_main_chs_chaos_incursion_skv", "chs_chaos_sorcerer_metal"},
{"champion", "wh2_main_def_bleak_holds", "wh2_dlc14_def_master"},
{"colonel", "wh2_main_def_bleak_holds", "wh2_main_def_dreadlord"},
{"dignitary", "wh2_main_def_bleak_holds", "wh2_main_def_death_hag"},
{"engineer", "wh2_main_def_bleak_holds", "default"},
{"general", "wh2_main_def_bleak_holds", "wh2_dlc10_def_supreme_sorceress_beasts"},
{"general", "wh2_main_def_bleak_holds", "wh2_dlc10_def_supreme_sorceress_dark"},
{"general", "wh2_main_def_bleak_holds", "wh2_dlc10_def_supreme_sorceress_death"},
{"general", "wh2_main_def_bleak_holds", "wh2_dlc10_def_supreme_sorceress_fire"},
{"general", "wh2_main_def_bleak_holds", "wh2_dlc10_def_supreme_sorceress_shadow"},
{"general", "wh2_main_def_bleak_holds", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_main_def_bleak_holds", "wh2_main_def_black_ark"},
{"general", "wh2_main_def_bleak_holds", "wh2_main_def_dreadlord"},
{"general", "wh2_main_def_bleak_holds", "wh2_main_def_dreadlord_fem"},
{"minister", "wh2_main_def_bleak_holds", "default"},
{"runesmith", "wh2_main_def_bleak_holds", "default"},
{"spy", "wh2_main_def_bleak_holds", "wh2_main_def_khainite_assassin"},
{"wizard", "wh2_main_def_bleak_holds", "wh2_dlc10_def_sorceress_beasts"},
{"wizard", "wh2_main_def_bleak_holds", "wh2_dlc10_def_sorceress_death"},
{"wizard", "wh2_main_def_bleak_holds", "wh2_main_def_sorceress_dark"},
{"wizard", "wh2_main_def_bleak_holds", "wh2_main_def_sorceress_fire"},
{"wizard", "wh2_main_def_bleak_holds", "wh2_main_def_sorceress_shadow"},
{"champion", "wh2_main_def_blood_hall_coven", "wh2_dlc14_def_master"},
{"colonel", "wh2_main_def_blood_hall_coven", "wh2_main_def_dreadlord"},
{"dignitary", "wh2_main_def_blood_hall_coven", "wh2_main_def_death_hag"},
{"engineer", "wh2_main_def_blood_hall_coven", "default"},
{"general", "wh2_main_def_blood_hall_coven", "wh2_dlc10_def_supreme_sorceress_beasts"},
{"general", "wh2_main_def_blood_hall_coven", "wh2_dlc10_def_supreme_sorceress_dark"},
{"general", "wh2_main_def_blood_hall_coven", "wh2_dlc10_def_supreme_sorceress_death"},
{"general", "wh2_main_def_blood_hall_coven", "wh2_dlc10_def_supreme_sorceress_fire"},
{"general", "wh2_main_def_blood_hall_coven", "wh2_dlc10_def_supreme_sorceress_shadow"},
{"general", "wh2_main_def_blood_hall_coven", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_main_def_blood_hall_coven", "wh2_main_def_black_ark"},
{"general", "wh2_main_def_blood_hall_coven", "wh2_main_def_dreadlord"},
{"general", "wh2_main_def_blood_hall_coven", "wh2_main_def_dreadlord_fem"},
{"minister", "wh2_main_def_blood_hall_coven", "default"},
{"runesmith", "wh2_main_def_blood_hall_coven", "default"},
{"spy", "wh2_main_def_blood_hall_coven", "wh2_main_def_khainite_assassin"},
{"wizard", "wh2_main_def_blood_hall_coven", "wh2_dlc10_def_sorceress_beasts"},
{"wizard", "wh2_main_def_blood_hall_coven", "wh2_dlc10_def_sorceress_death"},
{"wizard", "wh2_main_def_blood_hall_coven", "wh2_main_def_sorceress_dark"},
{"wizard", "wh2_main_def_blood_hall_coven", "wh2_main_def_sorceress_fire"},
{"wizard", "wh2_main_def_blood_hall_coven", "wh2_main_def_sorceress_shadow"},
{"champion", "wh2_main_def_clar_karond", "wh2_dlc14_def_master"},
{"colonel", "wh2_main_def_clar_karond", "wh2_main_def_dreadlord"},
{"dignitary", "wh2_main_def_clar_karond", "wh2_main_def_death_hag"},
{"engineer", "wh2_main_def_clar_karond", "default"},
{"general", "wh2_main_def_clar_karond", "wh2_dlc10_def_supreme_sorceress_beasts"},
{"general", "wh2_main_def_clar_karond", "wh2_dlc10_def_supreme_sorceress_dark"},
{"general", "wh2_main_def_clar_karond", "wh2_dlc10_def_supreme_sorceress_death"},
{"general", "wh2_main_def_clar_karond", "wh2_dlc10_def_supreme_sorceress_fire"},
{"general", "wh2_main_def_clar_karond", "wh2_dlc10_def_supreme_sorceress_shadow"},
{"general", "wh2_main_def_clar_karond", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_main_def_clar_karond", "wh2_main_def_black_ark"},
{"general", "wh2_main_def_clar_karond", "wh2_main_def_dreadlord"},
{"general", "wh2_main_def_clar_karond", "wh2_main_def_dreadlord_fem"},
{"minister", "wh2_main_def_clar_karond", "default"},
{"runesmith", "wh2_main_def_clar_karond", "default"},
{"spy", "wh2_main_def_clar_karond", "wh2_main_def_khainite_assassin"},
{"wizard", "wh2_main_def_clar_karond", "wh2_dlc10_def_sorceress_beasts"},
{"wizard", "wh2_main_def_clar_karond", "wh2_dlc10_def_sorceress_death"},
{"wizard", "wh2_main_def_clar_karond", "wh2_main_def_sorceress_dark"},
{"wizard", "wh2_main_def_clar_karond", "wh2_main_def_sorceress_fire"},
{"wizard", "wh2_main_def_clar_karond", "wh2_main_def_sorceress_shadow"},
{"champion", "wh2_main_def_cult_of_excess", "wh2_dlc14_def_master"},
{"colonel", "wh2_main_def_cult_of_excess", "wh2_main_def_dreadlord"},
{"dignitary", "wh2_main_def_cult_of_excess", "wh2_main_def_death_hag"},
{"engineer", "wh2_main_def_cult_of_excess", "default"},
{"general", "wh2_main_def_cult_of_excess", "wh2_dlc10_def_supreme_sorceress_beasts"},
{"general", "wh2_main_def_cult_of_excess", "wh2_dlc10_def_supreme_sorceress_dark"},
{"general", "wh2_main_def_cult_of_excess", "wh2_dlc10_def_supreme_sorceress_death"},
{"general", "wh2_main_def_cult_of_excess", "wh2_dlc10_def_supreme_sorceress_fire"},
{"general", "wh2_main_def_cult_of_excess", "wh2_dlc10_def_supreme_sorceress_shadow"},
{"general", "wh2_main_def_cult_of_excess", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_main_def_cult_of_excess", "wh2_main_def_black_ark"},
{"general", "wh2_main_def_cult_of_excess", "wh2_main_def_dreadlord"},
{"general", "wh2_main_def_cult_of_excess", "wh2_main_def_dreadlord_fem"},
{"minister", "wh2_main_def_cult_of_excess", "default"},
{"runesmith", "wh2_main_def_cult_of_excess", "default"},
{"spy", "wh2_main_def_cult_of_excess", "wh2_main_def_khainite_assassin"},
{"wizard", "wh2_main_def_cult_of_excess", "wh2_dlc10_def_sorceress_beasts"},
{"wizard", "wh2_main_def_cult_of_excess", "wh2_dlc10_def_sorceress_death"},
{"wizard", "wh2_main_def_cult_of_excess", "wh2_main_def_sorceress_dark"},
{"wizard", "wh2_main_def_cult_of_excess", "wh2_main_def_sorceress_fire"},
{"wizard", "wh2_main_def_cult_of_excess", "wh2_main_def_sorceress_shadow"},
{"champion", "wh2_main_def_cult_of_pleasure_separatists", "wh2_dlc14_def_master"},
{"colonel", "wh2_main_def_cult_of_pleasure_separatists", "wh2_main_def_dreadlord"},
{"dignitary", "wh2_main_def_cult_of_pleasure_separatists", "wh2_main_def_death_hag"},
{"engineer", "wh2_main_def_cult_of_pleasure_separatists", "default"},
{"general", "wh2_main_def_cult_of_pleasure_separatists", "wh2_dlc10_def_supreme_sorceress_beasts"},
{"general", "wh2_main_def_cult_of_pleasure_separatists", "wh2_dlc10_def_supreme_sorceress_dark"},
{"general", "wh2_main_def_cult_of_pleasure_separatists", "wh2_dlc10_def_supreme_sorceress_death"},
{"general", "wh2_main_def_cult_of_pleasure_separatists", "wh2_dlc10_def_supreme_sorceress_fire"},
{"general", "wh2_main_def_cult_of_pleasure_separatists", "wh2_dlc10_def_supreme_sorceress_shadow"},
{"general", "wh2_main_def_cult_of_pleasure_separatists", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_main_def_cult_of_pleasure_separatists", "wh2_main_def_black_ark"},
{"general", "wh2_main_def_cult_of_pleasure_separatists", "wh2_main_def_dreadlord"},
{"general", "wh2_main_def_cult_of_pleasure_separatists", "wh2_main_def_dreadlord_fem"},
{"minister", "wh2_main_def_cult_of_pleasure_separatists", "default"},
{"runesmith", "wh2_main_def_cult_of_pleasure_separatists", "default"},
{"spy", "wh2_main_def_cult_of_pleasure_separatists", "wh2_main_def_khainite_assassin"},
{"wizard", "wh2_main_def_cult_of_pleasure_separatists", "wh2_dlc10_def_sorceress_beasts"},
{"wizard", "wh2_main_def_cult_of_pleasure_separatists", "wh2_dlc10_def_sorceress_death"},
{"wizard", "wh2_main_def_cult_of_pleasure_separatists", "wh2_main_def_sorceress_dark"},
{"wizard", "wh2_main_def_cult_of_pleasure_separatists", "wh2_main_def_sorceress_fire"},
{"wizard", "wh2_main_def_cult_of_pleasure_separatists", "wh2_main_def_sorceress_shadow"},
{"champion", "wh2_main_def_cult_of_pleasure", "wh2_dlc14_def_master"},
{"colonel", "wh2_main_def_cult_of_pleasure", "wh2_main_def_dreadlord"},
{"dignitary", "wh2_main_def_cult_of_pleasure", "wh2_main_def_death_hag"},
{"engineer", "wh2_main_def_cult_of_pleasure", "default"},
{"general", "wh2_main_def_cult_of_pleasure", "wh2_dlc10_def_supreme_sorceress_beasts"},
{"general", "wh2_main_def_cult_of_pleasure", "wh2_dlc10_def_supreme_sorceress_dark"},
{"general", "wh2_main_def_cult_of_pleasure", "wh2_dlc10_def_supreme_sorceress_death"},
{"general", "wh2_main_def_cult_of_pleasure", "wh2_dlc10_def_supreme_sorceress_fire"},
{"general", "wh2_main_def_cult_of_pleasure", "wh2_dlc10_def_supreme_sorceress_shadow"},
{"general", "wh2_main_def_cult_of_pleasure", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_main_def_cult_of_pleasure", "wh2_main_def_black_ark"},
{"general", "wh2_main_def_cult_of_pleasure", "wh2_main_def_dreadlord"},
{"general", "wh2_main_def_cult_of_pleasure", "wh2_main_def_dreadlord_fem"},
{"general", "wh2_main_def_cult_of_pleasure", "wh2_main_def_morathi"},
{"minister", "wh2_main_def_cult_of_pleasure", "default"},
{"runesmith", "wh2_main_def_cult_of_pleasure", "default"},
{"spy", "wh2_main_def_cult_of_pleasure", "wh2_main_def_khainite_assassin"},
{"wizard", "wh2_main_def_cult_of_pleasure", "wh2_dlc10_def_sorceress_beasts"},
{"wizard", "wh2_main_def_cult_of_pleasure", "wh2_dlc10_def_sorceress_death"},
{"wizard", "wh2_main_def_cult_of_pleasure", "wh2_main_def_sorceress_dark"},
{"wizard", "wh2_main_def_cult_of_pleasure", "wh2_main_def_sorceress_fire"},
{"wizard", "wh2_main_def_cult_of_pleasure", "wh2_main_def_sorceress_shadow"},
{"champion", "wh2_main_def_dark_elves_intervention", "wh2_dlc14_def_master"},
{"colonel", "wh2_main_def_dark_elves_intervention", "wh2_main_def_dreadlord"},
{"dignitary", "wh2_main_def_dark_elves_intervention", "wh2_main_def_death_hag"},
{"engineer", "wh2_main_def_dark_elves_intervention", "default"},
{"general", "wh2_main_def_dark_elves_intervention", "wh2_dlc10_def_supreme_sorceress_beasts"},
{"general", "wh2_main_def_dark_elves_intervention", "wh2_dlc10_def_supreme_sorceress_dark"},
{"general", "wh2_main_def_dark_elves_intervention", "wh2_dlc10_def_supreme_sorceress_death"},
{"general", "wh2_main_def_dark_elves_intervention", "wh2_dlc10_def_supreme_sorceress_fire"},
{"general", "wh2_main_def_dark_elves_intervention", "wh2_dlc10_def_supreme_sorceress_shadow"},
{"general", "wh2_main_def_dark_elves_intervention", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_main_def_dark_elves_intervention", "wh2_main_def_black_ark"},
{"general", "wh2_main_def_dark_elves_intervention", "wh2_main_def_dreadlord"},
{"general", "wh2_main_def_dark_elves_intervention", "wh2_main_def_dreadlord_fem"},
{"minister", "wh2_main_def_dark_elves_intervention", "default"},
{"runesmith", "wh2_main_def_dark_elves_intervention", "default"},
{"spy", "wh2_main_def_dark_elves_intervention", "wh2_main_def_khainite_assassin"},
{"wizard", "wh2_main_def_dark_elves_intervention", "wh2_dlc10_def_sorceress_beasts"},
{"wizard", "wh2_main_def_dark_elves_intervention", "wh2_dlc10_def_sorceress_death"},
{"wizard", "wh2_main_def_dark_elves_intervention", "wh2_main_def_sorceress_dark"},
{"wizard", "wh2_main_def_dark_elves_intervention", "wh2_main_def_sorceress_fire"},
{"wizard", "wh2_main_def_dark_elves_intervention", "wh2_main_def_sorceress_shadow"},
{"champion", "wh2_main_def_dark_elves_qb1", "wh2_dlc14_def_master"},
{"colonel", "wh2_main_def_dark_elves_qb1", "wh2_main_def_dreadlord"},
{"dignitary", "wh2_main_def_dark_elves_qb1", "wh2_main_def_death_hag"},
{"engineer", "wh2_main_def_dark_elves_qb1", "default"},
{"general", "wh2_main_def_dark_elves_qb1", "wh2_dlc10_def_supreme_sorceress_beasts"},
{"general", "wh2_main_def_dark_elves_qb1", "wh2_dlc10_def_supreme_sorceress_dark"},
{"general", "wh2_main_def_dark_elves_qb1", "wh2_dlc10_def_supreme_sorceress_death"},
{"general", "wh2_main_def_dark_elves_qb1", "wh2_dlc10_def_supreme_sorceress_fire"},
{"general", "wh2_main_def_dark_elves_qb1", "wh2_dlc10_def_supreme_sorceress_shadow"},
{"general", "wh2_main_def_dark_elves_qb1", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_main_def_dark_elves_qb1", "wh2_main_def_black_ark"},
{"general", "wh2_main_def_dark_elves_qb1", "wh2_main_def_dreadlord"},
{"general", "wh2_main_def_dark_elves_qb1", "wh2_main_def_dreadlord_fem"},
{"general", "wh2_main_def_dark_elves_qb1", "wh2_main_def_malekith"},
{"general", "wh2_main_def_dark_elves_qb1", "wh2_main_def_morathi"},
{"minister", "wh2_main_def_dark_elves_qb1", "default"},
{"runesmith", "wh2_main_def_dark_elves_qb1", "default"},
{"spy", "wh2_main_def_dark_elves_qb1", "wh2_main_def_khainite_assassin"},
{"wizard", "wh2_main_def_dark_elves_qb1", "wh2_dlc10_def_sorceress_beasts"},
{"wizard", "wh2_main_def_dark_elves_qb1", "wh2_dlc10_def_sorceress_death"},
{"wizard", "wh2_main_def_dark_elves_qb1", "wh2_main_def_sorceress_dark"},
{"wizard", "wh2_main_def_dark_elves_qb1", "wh2_main_def_sorceress_fire"},
{"wizard", "wh2_main_def_dark_elves_qb1", "wh2_main_def_sorceress_shadow"},
{"champion", "wh2_main_def_dark_elves_qb2", "wh2_dlc14_def_master"},
{"colonel", "wh2_main_def_dark_elves_qb2", "wh2_main_def_dreadlord"},
{"dignitary", "wh2_main_def_dark_elves_qb2", "wh2_main_def_death_hag"},
{"engineer", "wh2_main_def_dark_elves_qb2", "default"},
{"general", "wh2_main_def_dark_elves_qb2", "wh2_dlc10_def_supreme_sorceress_beasts"},
{"general", "wh2_main_def_dark_elves_qb2", "wh2_dlc10_def_supreme_sorceress_dark"},
{"general", "wh2_main_def_dark_elves_qb2", "wh2_dlc10_def_supreme_sorceress_death"},
{"general", "wh2_main_def_dark_elves_qb2", "wh2_dlc10_def_supreme_sorceress_fire"},
{"general", "wh2_main_def_dark_elves_qb2", "wh2_dlc10_def_supreme_sorceress_shadow"},
{"general", "wh2_main_def_dark_elves_qb2", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_main_def_dark_elves_qb2", "wh2_main_def_black_ark"},
{"general", "wh2_main_def_dark_elves_qb2", "wh2_main_def_dreadlord"},
{"general", "wh2_main_def_dark_elves_qb2", "wh2_main_def_dreadlord_fem"},
{"general", "wh2_main_def_dark_elves_qb2", "wh2_main_def_malekith"},
{"general", "wh2_main_def_dark_elves_qb2", "wh2_main_def_morathi"},
{"minister", "wh2_main_def_dark_elves_qb2", "default"},
{"runesmith", "wh2_main_def_dark_elves_qb2", "default"},
{"spy", "wh2_main_def_dark_elves_qb2", "wh2_main_def_khainite_assassin"},
{"wizard", "wh2_main_def_dark_elves_qb2", "wh2_dlc10_def_sorceress_beasts"},
{"wizard", "wh2_main_def_dark_elves_qb2", "wh2_dlc10_def_sorceress_death"},
{"wizard", "wh2_main_def_dark_elves_qb2", "wh2_main_def_sorceress_dark"},
{"wizard", "wh2_main_def_dark_elves_qb2", "wh2_main_def_sorceress_fire"},
{"wizard", "wh2_main_def_dark_elves_qb2", "wh2_main_def_sorceress_shadow"},
{"champion", "wh2_main_def_dark_elves_qb3", "wh2_dlc14_def_master"},
{"colonel", "wh2_main_def_dark_elves_qb3", "wh2_main_def_dreadlord"},
{"dignitary", "wh2_main_def_dark_elves_qb3", "wh2_main_def_death_hag"},
{"engineer", "wh2_main_def_dark_elves_qb3", "default"},
{"general", "wh2_main_def_dark_elves_qb3", "wh2_dlc10_def_supreme_sorceress_beasts"},
{"general", "wh2_main_def_dark_elves_qb3", "wh2_dlc10_def_supreme_sorceress_dark"},
{"general", "wh2_main_def_dark_elves_qb3", "wh2_dlc10_def_supreme_sorceress_death"},
{"general", "wh2_main_def_dark_elves_qb3", "wh2_dlc10_def_supreme_sorceress_fire"},
{"general", "wh2_main_def_dark_elves_qb3", "wh2_dlc10_def_supreme_sorceress_shadow"},
{"general", "wh2_main_def_dark_elves_qb3", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_main_def_dark_elves_qb3", "wh2_main_def_black_ark"},
{"general", "wh2_main_def_dark_elves_qb3", "wh2_main_def_dreadlord"},
{"general", "wh2_main_def_dark_elves_qb3", "wh2_main_def_dreadlord_fem"},
{"general", "wh2_main_def_dark_elves_qb3", "wh2_main_def_malekith"},
{"general", "wh2_main_def_dark_elves_qb3", "wh2_main_def_morathi"},
{"minister", "wh2_main_def_dark_elves_qb3", "default"},
{"runesmith", "wh2_main_def_dark_elves_qb3", "default"},
{"spy", "wh2_main_def_dark_elves_qb3", "wh2_main_def_khainite_assassin"},
{"wizard", "wh2_main_def_dark_elves_qb3", "wh2_dlc10_def_sorceress_beasts"},
{"wizard", "wh2_main_def_dark_elves_qb3", "wh2_dlc10_def_sorceress_death"},
{"wizard", "wh2_main_def_dark_elves_qb3", "wh2_main_def_sorceress_dark"},
{"wizard", "wh2_main_def_dark_elves_qb3", "wh2_main_def_sorceress_fire"},
{"wizard", "wh2_main_def_dark_elves_qb3", "wh2_main_def_sorceress_shadow"},
{"champion", "wh2_main_def_dark_elves_qb4", "wh2_dlc14_def_master"},
{"colonel", "wh2_main_def_dark_elves_qb4", "wh2_main_def_dreadlord"},
{"dignitary", "wh2_main_def_dark_elves_qb4", "wh2_main_def_death_hag"},
{"engineer", "wh2_main_def_dark_elves_qb4", "default"},
{"general", "wh2_main_def_dark_elves_qb4", "wh2_dlc10_def_supreme_sorceress_beasts"},
{"general", "wh2_main_def_dark_elves_qb4", "wh2_dlc10_def_supreme_sorceress_dark"},
{"general", "wh2_main_def_dark_elves_qb4", "wh2_dlc10_def_supreme_sorceress_death"},
{"general", "wh2_main_def_dark_elves_qb4", "wh2_dlc10_def_supreme_sorceress_fire"},
{"general", "wh2_main_def_dark_elves_qb4", "wh2_dlc10_def_supreme_sorceress_shadow"},
{"general", "wh2_main_def_dark_elves_qb4", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_main_def_dark_elves_qb4", "wh2_dlc15_hef_black_dragon_boss_imrik"},
{"general", "wh2_main_def_dark_elves_qb4", "wh2_main_def_black_ark"},
{"general", "wh2_main_def_dark_elves_qb4", "wh2_main_def_dreadlord"},
{"general", "wh2_main_def_dark_elves_qb4", "wh2_main_def_dreadlord_fem"},
{"general", "wh2_main_def_dark_elves_qb4", "wh2_main_def_malekith"},
{"general", "wh2_main_def_dark_elves_qb4", "wh2_main_def_morathi"},
{"minister", "wh2_main_def_dark_elves_qb4", "default"},
{"runesmith", "wh2_main_def_dark_elves_qb4", "default"},
{"spy", "wh2_main_def_dark_elves_qb4", "wh2_main_def_khainite_assassin"},
{"wizard", "wh2_main_def_dark_elves_qb4", "wh2_dlc10_def_sorceress_beasts"},
{"wizard", "wh2_main_def_dark_elves_qb4", "wh2_dlc10_def_sorceress_death"},
{"wizard", "wh2_main_def_dark_elves_qb4", "wh2_main_def_sorceress_dark"},
{"wizard", "wh2_main_def_dark_elves_qb4", "wh2_main_def_sorceress_fire"},
{"wizard", "wh2_main_def_dark_elves_qb4", "wh2_main_def_sorceress_shadow"},
{"champion", "wh2_main_def_dark_elves_rebels", "wh2_dlc14_def_master"},
{"colonel", "wh2_main_def_dark_elves_rebels", "wh2_main_def_dreadlord"},
{"dignitary", "wh2_main_def_dark_elves_rebels", "wh2_main_def_death_hag"},
{"engineer", "wh2_main_def_dark_elves_rebels", "default"},
{"general", "wh2_main_def_dark_elves_rebels", "wh2_dlc10_def_supreme_sorceress_beasts"},
{"general", "wh2_main_def_dark_elves_rebels", "wh2_dlc10_def_supreme_sorceress_dark"},
{"general", "wh2_main_def_dark_elves_rebels", "wh2_dlc10_def_supreme_sorceress_death"},
{"general", "wh2_main_def_dark_elves_rebels", "wh2_dlc10_def_supreme_sorceress_fire"},
{"general", "wh2_main_def_dark_elves_rebels", "wh2_dlc10_def_supreme_sorceress_shadow"},
{"general", "wh2_main_def_dark_elves_rebels", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_main_def_dark_elves_rebels", "wh2_main_def_black_ark"},
{"general", "wh2_main_def_dark_elves_rebels", "wh2_main_def_dreadlord"},
{"general", "wh2_main_def_dark_elves_rebels", "wh2_main_def_dreadlord_fem"},
{"minister", "wh2_main_def_dark_elves_rebels", "default"},
{"runesmith", "wh2_main_def_dark_elves_rebels", "default"},
{"spy", "wh2_main_def_dark_elves_rebels", "wh2_main_def_khainite_assassin"},
{"wizard", "wh2_main_def_dark_elves_rebels", "wh2_dlc10_def_sorceress_beasts"},
{"wizard", "wh2_main_def_dark_elves_rebels", "wh2_dlc10_def_sorceress_death"},
{"wizard", "wh2_main_def_dark_elves_rebels", "wh2_main_def_sorceress_dark"},
{"wizard", "wh2_main_def_dark_elves_rebels", "wh2_main_def_sorceress_fire"},
{"wizard", "wh2_main_def_dark_elves_rebels", "wh2_main_def_sorceress_shadow"},
{"champion", "wh2_main_def_dark_elves", "wh2_dlc14_def_master"},
{"colonel", "wh2_main_def_dark_elves", "wh2_main_def_dreadlord"},
{"dignitary", "wh2_main_def_dark_elves", "wh2_main_def_death_hag"},
{"engineer", "wh2_main_def_dark_elves", "default"},
{"general", "wh2_main_def_dark_elves", "wh2_dlc10_def_supreme_sorceress_beasts"},
{"general", "wh2_main_def_dark_elves", "wh2_dlc10_def_supreme_sorceress_dark"},
{"general", "wh2_main_def_dark_elves", "wh2_dlc10_def_supreme_sorceress_death"},
{"general", "wh2_main_def_dark_elves", "wh2_dlc10_def_supreme_sorceress_fire"},
{"general", "wh2_main_def_dark_elves", "wh2_dlc10_def_supreme_sorceress_shadow"},
{"general", "wh2_main_def_dark_elves", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_main_def_dark_elves", "wh2_main_def_black_ark"},
{"general", "wh2_main_def_dark_elves", "wh2_main_def_dreadlord"},
{"general", "wh2_main_def_dark_elves", "wh2_main_def_dreadlord_fem"},
{"general", "wh2_main_def_dark_elves", "wh2_main_def_malekith"},
{"general", "wh2_main_def_dark_elves", "wh2_main_def_morathi"},
{"minister", "wh2_main_def_dark_elves", "default"},
{"runesmith", "wh2_main_def_dark_elves", "default"},
{"spy", "wh2_main_def_dark_elves", "wh2_main_def_khainite_assassin"},
{"wizard", "wh2_main_def_dark_elves", "wh2_dlc10_def_sorceress_beasts"},
{"wizard", "wh2_main_def_dark_elves", "wh2_dlc10_def_sorceress_death"},
{"wizard", "wh2_main_def_dark_elves", "wh2_main_def_sorceress_dark"},
{"wizard", "wh2_main_def_dark_elves", "wh2_main_def_sorceress_fire"},
{"wizard", "wh2_main_def_dark_elves", "wh2_main_def_sorceress_shadow"},
{"champion", "wh2_main_def_deadwood_sentinels", "wh2_dlc14_def_master"},
{"colonel", "wh2_main_def_deadwood_sentinels", "wh2_main_def_dreadlord"},
{"dignitary", "wh2_main_def_deadwood_sentinels", "wh2_main_def_death_hag"},
{"engineer", "wh2_main_def_deadwood_sentinels", "default"},
{"general", "wh2_main_def_deadwood_sentinels", "wh2_dlc10_def_supreme_sorceress_beasts"},
{"general", "wh2_main_def_deadwood_sentinels", "wh2_dlc10_def_supreme_sorceress_dark"},
{"general", "wh2_main_def_deadwood_sentinels", "wh2_dlc10_def_supreme_sorceress_death"},
{"general", "wh2_main_def_deadwood_sentinels", "wh2_dlc10_def_supreme_sorceress_fire"},
{"general", "wh2_main_def_deadwood_sentinels", "wh2_dlc10_def_supreme_sorceress_shadow"},
{"general", "wh2_main_def_deadwood_sentinels", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_main_def_deadwood_sentinels", "wh2_main_def_black_ark"},
{"general", "wh2_main_def_deadwood_sentinels", "wh2_main_def_dreadlord"},
{"general", "wh2_main_def_deadwood_sentinels", "wh2_main_def_dreadlord_fem"},
{"minister", "wh2_main_def_deadwood_sentinels", "default"},
{"runesmith", "wh2_main_def_deadwood_sentinels", "default"},
{"spy", "wh2_main_def_deadwood_sentinels", "wh2_main_def_khainite_assassin"},
{"wizard", "wh2_main_def_deadwood_sentinels", "wh2_dlc10_def_sorceress_beasts"},
{"wizard", "wh2_main_def_deadwood_sentinels", "wh2_dlc10_def_sorceress_death"},
{"wizard", "wh2_main_def_deadwood_sentinels", "wh2_main_def_sorceress_dark"},
{"wizard", "wh2_main_def_deadwood_sentinels", "wh2_main_def_sorceress_fire"},
{"wizard", "wh2_main_def_deadwood_sentinels", "wh2_main_def_sorceress_shadow"},
{"champion", "wh2_main_def_drackla_coven", "wh2_dlc14_def_master"},
{"colonel", "wh2_main_def_drackla_coven", "wh2_main_def_dreadlord"},
{"dignitary", "wh2_main_def_drackla_coven", "wh2_main_def_death_hag"},
{"engineer", "wh2_main_def_drackla_coven", "default"},
{"general", "wh2_main_def_drackla_coven", "wh2_dlc10_def_supreme_sorceress_beasts"},
{"general", "wh2_main_def_drackla_coven", "wh2_dlc10_def_supreme_sorceress_dark"},
{"general", "wh2_main_def_drackla_coven", "wh2_dlc10_def_supreme_sorceress_death"},
{"general", "wh2_main_def_drackla_coven", "wh2_dlc10_def_supreme_sorceress_fire"},
{"general", "wh2_main_def_drackla_coven", "wh2_dlc10_def_supreme_sorceress_shadow"},
{"general", "wh2_main_def_drackla_coven", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_main_def_drackla_coven", "wh2_main_def_black_ark"},
{"general", "wh2_main_def_drackla_coven", "wh2_main_def_dreadlord"},
{"general", "wh2_main_def_drackla_coven", "wh2_main_def_dreadlord_fem"},
{"minister", "wh2_main_def_drackla_coven", "default"},
{"runesmith", "wh2_main_def_drackla_coven", "default"},
{"spy", "wh2_main_def_drackla_coven", "wh2_main_def_khainite_assassin"},
{"wizard", "wh2_main_def_drackla_coven", "wh2_dlc10_def_sorceress_beasts"},
{"wizard", "wh2_main_def_drackla_coven", "wh2_dlc10_def_sorceress_death"},
{"wizard", "wh2_main_def_drackla_coven", "wh2_main_def_sorceress_dark"},
{"wizard", "wh2_main_def_drackla_coven", "wh2_main_def_sorceress_fire"},
{"wizard", "wh2_main_def_drackla_coven", "wh2_main_def_sorceress_shadow"},
{"champion", "wh2_main_def_ghrond", "wh2_dlc14_def_master"},
{"colonel", "wh2_main_def_ghrond", "wh2_main_def_dreadlord"},
{"dignitary", "wh2_main_def_ghrond", "wh2_main_def_death_hag"},
{"engineer", "wh2_main_def_ghrond", "default"},
{"general", "wh2_main_def_ghrond", "wh2_dlc10_def_supreme_sorceress_beasts"},
{"general", "wh2_main_def_ghrond", "wh2_dlc10_def_supreme_sorceress_dark"},
{"general", "wh2_main_def_ghrond", "wh2_dlc10_def_supreme_sorceress_death"},
{"general", "wh2_main_def_ghrond", "wh2_dlc10_def_supreme_sorceress_fire"},
{"general", "wh2_main_def_ghrond", "wh2_dlc10_def_supreme_sorceress_shadow"},
{"general", "wh2_main_def_ghrond", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_main_def_ghrond", "wh2_main_def_black_ark"},
{"general", "wh2_main_def_ghrond", "wh2_main_def_dreadlord"},
{"general", "wh2_main_def_ghrond", "wh2_main_def_dreadlord_fem"},
{"minister", "wh2_main_def_ghrond", "default"},
{"runesmith", "wh2_main_def_ghrond", "default"},
{"spy", "wh2_main_def_ghrond", "wh2_main_def_khainite_assassin"},
{"wizard", "wh2_main_def_ghrond", "wh2_dlc10_def_sorceress_beasts"},
{"wizard", "wh2_main_def_ghrond", "wh2_dlc10_def_sorceress_death"},
{"wizard", "wh2_main_def_ghrond", "wh2_main_def_sorceress_dark"},
{"wizard", "wh2_main_def_ghrond", "wh2_main_def_sorceress_fire"},
{"wizard", "wh2_main_def_ghrond", "wh2_main_def_sorceress_shadow"},
{"champion", "wh2_main_def_hag_graef_separatists", "wh2_dlc14_def_master"},
{"colonel", "wh2_main_def_hag_graef_separatists", "wh2_main_def_dreadlord"},
{"dignitary", "wh2_main_def_hag_graef_separatists", "wh2_main_def_death_hag"},
{"engineer", "wh2_main_def_hag_graef_separatists", "default"},
{"general", "wh2_main_def_hag_graef_separatists", "wh2_dlc10_def_supreme_sorceress_beasts"},
{"general", "wh2_main_def_hag_graef_separatists", "wh2_dlc10_def_supreme_sorceress_dark"},
{"general", "wh2_main_def_hag_graef_separatists", "wh2_dlc10_def_supreme_sorceress_death"},
{"general", "wh2_main_def_hag_graef_separatists", "wh2_dlc10_def_supreme_sorceress_fire"},
{"general", "wh2_main_def_hag_graef_separatists", "wh2_dlc10_def_supreme_sorceress_shadow"},
{"general", "wh2_main_def_hag_graef_separatists", "wh2_main_def_black_ark"},
{"general", "wh2_main_def_hag_graef_separatists", "wh2_main_def_dreadlord"},
{"general", "wh2_main_def_hag_graef_separatists", "wh2_main_def_dreadlord_fem"},
{"minister", "wh2_main_def_hag_graef_separatists", "default"},
{"runesmith", "wh2_main_def_hag_graef_separatists", "default"},
{"spy", "wh2_main_def_hag_graef_separatists", "wh2_main_def_khainite_assassin"},
{"wizard", "wh2_main_def_hag_graef_separatists", "wh2_dlc10_def_sorceress_beasts"},
{"wizard", "wh2_main_def_hag_graef_separatists", "wh2_dlc10_def_sorceress_death"},
{"wizard", "wh2_main_def_hag_graef_separatists", "wh2_main_def_sorceress_dark"},
{"wizard", "wh2_main_def_hag_graef_separatists", "wh2_main_def_sorceress_fire"},
{"wizard", "wh2_main_def_hag_graef_separatists", "wh2_main_def_sorceress_shadow"},
{"champion", "wh2_main_def_hag_graef", "wh2_dlc14_def_master"},
{"colonel", "wh2_main_def_hag_graef", "wh2_main_def_dreadlord"},
{"dignitary", "wh2_main_def_hag_graef", "wh2_main_def_death_hag"},
{"engineer", "wh2_main_def_hag_graef", "default"},
{"general", "wh2_main_def_hag_graef", "wh2_dlc10_def_supreme_sorceress_beasts"},
{"general", "wh2_main_def_hag_graef", "wh2_dlc10_def_supreme_sorceress_dark"},
{"general", "wh2_main_def_hag_graef", "wh2_dlc10_def_supreme_sorceress_death"},
{"general", "wh2_main_def_hag_graef", "wh2_dlc10_def_supreme_sorceress_fire"},
{"general", "wh2_main_def_hag_graef", "wh2_dlc10_def_supreme_sorceress_shadow"},
{"general", "wh2_main_def_hag_graef", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_main_def_hag_graef", "wh2_dlc14_def_malus_darkblade"},
{"general", "wh2_main_def_hag_graef", "wh2_main_def_black_ark"},
{"general", "wh2_main_def_hag_graef", "wh2_main_def_dreadlord"},
{"general", "wh2_main_def_hag_graef", "wh2_main_def_dreadlord_fem"},
{"minister", "wh2_main_def_hag_graef", "default"},
{"runesmith", "wh2_main_def_hag_graef", "default"},
{"spy", "wh2_main_def_hag_graef", "wh2_main_def_khainite_assassin"},
{"wizard", "wh2_main_def_hag_graef", "wh2_dlc10_def_sorceress_beasts"},
{"wizard", "wh2_main_def_hag_graef", "wh2_dlc10_def_sorceress_death"},
{"wizard", "wh2_main_def_hag_graef", "wh2_main_def_sorceress_dark"},
{"wizard", "wh2_main_def_hag_graef", "wh2_main_def_sorceress_fire"},
{"wizard", "wh2_main_def_hag_graef", "wh2_main_def_sorceress_shadow"},
{"champion", "wh2_main_def_har_ganeth_separatists", "wh2_dlc14_def_master"},
{"colonel", "wh2_main_def_har_ganeth_separatists", "wh2_main_def_dreadlord"},
{"dignitary", "wh2_main_def_har_ganeth_separatists", "wh2_main_def_death_hag"},
{"engineer", "wh2_main_def_har_ganeth_separatists", "default"},
{"general", "wh2_main_def_har_ganeth_separatists", "wh2_dlc10_def_crone_hellebron"},
{"general", "wh2_main_def_har_ganeth_separatists", "wh2_dlc10_def_supreme_sorceress_beasts"},
{"general", "wh2_main_def_har_ganeth_separatists", "wh2_dlc10_def_supreme_sorceress_dark"},
{"general", "wh2_main_def_har_ganeth_separatists", "wh2_dlc10_def_supreme_sorceress_death"},
{"general", "wh2_main_def_har_ganeth_separatists", "wh2_dlc10_def_supreme_sorceress_fire"},
{"general", "wh2_main_def_har_ganeth_separatists", "wh2_dlc10_def_supreme_sorceress_shadow"},
{"general", "wh2_main_def_har_ganeth_separatists", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_main_def_har_ganeth_separatists", "wh2_main_def_black_ark"},
{"general", "wh2_main_def_har_ganeth_separatists", "wh2_main_def_dreadlord"},
{"general", "wh2_main_def_har_ganeth_separatists", "wh2_main_def_dreadlord_fem"},
{"minister", "wh2_main_def_har_ganeth_separatists", "default"},
{"runesmith", "wh2_main_def_har_ganeth_separatists", "default"},
{"spy", "wh2_main_def_har_ganeth_separatists", "wh2_main_def_khainite_assassin"},
{"wizard", "wh2_main_def_har_ganeth_separatists", "wh2_dlc10_def_sorceress_beasts"},
{"wizard", "wh2_main_def_har_ganeth_separatists", "wh2_dlc10_def_sorceress_death"},
{"wizard", "wh2_main_def_har_ganeth_separatists", "wh2_main_def_sorceress_dark"},
{"wizard", "wh2_main_def_har_ganeth_separatists", "wh2_main_def_sorceress_fire"},
{"wizard", "wh2_main_def_har_ganeth_separatists", "wh2_main_def_sorceress_shadow"},
{"champion", "wh2_main_def_har_ganeth", "wh2_dlc14_def_master"},
{"colonel", "wh2_main_def_har_ganeth", "wh2_main_def_dreadlord"},
{"dignitary", "wh2_main_def_har_ganeth", "wh2_main_def_death_hag"},
{"engineer", "wh2_main_def_har_ganeth", "default"},
{"general", "wh2_main_def_har_ganeth", "wh2_dlc10_def_crone_hellebron"},
{"general", "wh2_main_def_har_ganeth", "wh2_dlc10_def_supreme_sorceress_beasts"},
{"general", "wh2_main_def_har_ganeth", "wh2_dlc10_def_supreme_sorceress_dark"},
{"general", "wh2_main_def_har_ganeth", "wh2_dlc10_def_supreme_sorceress_death"},
{"general", "wh2_main_def_har_ganeth", "wh2_dlc10_def_supreme_sorceress_fire"},
{"general", "wh2_main_def_har_ganeth", "wh2_dlc10_def_supreme_sorceress_shadow"},
{"general", "wh2_main_def_har_ganeth", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_main_def_har_ganeth", "wh2_main_def_black_ark"},
{"general", "wh2_main_def_har_ganeth", "wh2_main_def_dreadlord"},
{"general", "wh2_main_def_har_ganeth", "wh2_main_def_dreadlord_fem"},
{"minister", "wh2_main_def_har_ganeth", "default"},
{"runesmith", "wh2_main_def_har_ganeth", "default"},
{"spy", "wh2_main_def_har_ganeth", "wh2_main_def_khainite_assassin"},
{"wizard", "wh2_main_def_har_ganeth", "wh2_dlc10_def_sorceress_beasts"},
{"wizard", "wh2_main_def_har_ganeth", "wh2_dlc10_def_sorceress_death"},
{"wizard", "wh2_main_def_har_ganeth", "wh2_main_def_sorceress_dark"},
{"wizard", "wh2_main_def_har_ganeth", "wh2_main_def_sorceress_fire"},
{"wizard", "wh2_main_def_har_ganeth", "wh2_main_def_sorceress_shadow"},
{"champion", "wh2_main_def_karond_kar", "wh2_dlc14_def_master"},
{"colonel", "wh2_main_def_karond_kar", "wh2_main_def_dreadlord"},
{"dignitary", "wh2_main_def_karond_kar", "wh2_main_def_death_hag"},
{"engineer", "wh2_main_def_karond_kar", "default"},
{"general", "wh2_main_def_karond_kar", "wh2_dlc10_def_supreme_sorceress_beasts"},
{"general", "wh2_main_def_karond_kar", "wh2_dlc10_def_supreme_sorceress_dark"},
{"general", "wh2_main_def_karond_kar", "wh2_dlc10_def_supreme_sorceress_death"},
{"general", "wh2_main_def_karond_kar", "wh2_dlc10_def_supreme_sorceress_fire"},
{"general", "wh2_main_def_karond_kar", "wh2_dlc10_def_supreme_sorceress_shadow"},
{"general", "wh2_main_def_karond_kar", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_main_def_karond_kar", "wh2_main_def_black_ark"},
{"general", "wh2_main_def_karond_kar", "wh2_main_def_dreadlord"},
{"general", "wh2_main_def_karond_kar", "wh2_main_def_dreadlord_fem"},
{"minister", "wh2_main_def_karond_kar", "default"},
{"runesmith", "wh2_main_def_karond_kar", "default"},
{"spy", "wh2_main_def_karond_kar", "wh2_main_def_khainite_assassin"},
{"wizard", "wh2_main_def_karond_kar", "wh2_dlc10_def_sorceress_beasts"},
{"wizard", "wh2_main_def_karond_kar", "wh2_dlc10_def_sorceress_death"},
{"wizard", "wh2_main_def_karond_kar", "wh2_main_def_sorceress_dark"},
{"wizard", "wh2_main_def_karond_kar", "wh2_main_def_sorceress_fire"},
{"wizard", "wh2_main_def_karond_kar", "wh2_main_def_sorceress_shadow"},
{"champion", "wh2_main_def_naggarond_separatists", "wh2_dlc14_def_master"},
{"colonel", "wh2_main_def_naggarond_separatists", "wh2_main_def_dreadlord"},
{"dignitary", "wh2_main_def_naggarond_separatists", "wh2_main_def_death_hag"},
{"engineer", "wh2_main_def_naggarond_separatists", "default"},
{"general", "wh2_main_def_naggarond_separatists", "wh2_dlc10_def_supreme_sorceress_beasts"},
{"general", "wh2_main_def_naggarond_separatists", "wh2_dlc10_def_supreme_sorceress_dark"},
{"general", "wh2_main_def_naggarond_separatists", "wh2_dlc10_def_supreme_sorceress_death"},
{"general", "wh2_main_def_naggarond_separatists", "wh2_dlc10_def_supreme_sorceress_fire"},
{"general", "wh2_main_def_naggarond_separatists", "wh2_dlc10_def_supreme_sorceress_shadow"},
{"general", "wh2_main_def_naggarond_separatists", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_main_def_naggarond_separatists", "wh2_main_def_black_ark"},
{"general", "wh2_main_def_naggarond_separatists", "wh2_main_def_dreadlord"},
{"general", "wh2_main_def_naggarond_separatists", "wh2_main_def_dreadlord_fem"},
{"general", "wh2_main_def_naggarond_separatists", "wh2_main_def_malekith"},
{"minister", "wh2_main_def_naggarond_separatists", "default"},
{"runesmith", "wh2_main_def_naggarond_separatists", "default"},
{"spy", "wh2_main_def_naggarond_separatists", "wh2_main_def_khainite_assassin"},
{"wizard", "wh2_main_def_naggarond_separatists", "wh2_dlc10_def_sorceress_beasts"},
{"wizard", "wh2_main_def_naggarond_separatists", "wh2_dlc10_def_sorceress_death"},
{"wizard", "wh2_main_def_naggarond_separatists", "wh2_main_def_sorceress_dark"},
{"wizard", "wh2_main_def_naggarond_separatists", "wh2_main_def_sorceress_fire"},
{"wizard", "wh2_main_def_naggarond_separatists", "wh2_main_def_sorceress_shadow"},
{"champion", "wh2_main_def_naggarond", "wh2_dlc14_def_master"},
{"colonel", "wh2_main_def_naggarond", "wh2_main_def_dreadlord"},
{"dignitary", "wh2_main_def_naggarond", "wh2_main_def_death_hag"},
{"engineer", "wh2_main_def_naggarond", "default"},
{"general", "wh2_main_def_naggarond", "wh2_dlc10_def_supreme_sorceress_beasts"},
{"general", "wh2_main_def_naggarond", "wh2_dlc10_def_supreme_sorceress_dark"},
{"general", "wh2_main_def_naggarond", "wh2_dlc10_def_supreme_sorceress_death"},
{"general", "wh2_main_def_naggarond", "wh2_dlc10_def_supreme_sorceress_fire"},
{"general", "wh2_main_def_naggarond", "wh2_dlc10_def_supreme_sorceress_shadow"},
{"general", "wh2_main_def_naggarond", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_main_def_naggarond", "wh2_main_def_black_ark"},
{"general", "wh2_main_def_naggarond", "wh2_main_def_dreadlord"},
{"general", "wh2_main_def_naggarond", "wh2_main_def_dreadlord_fem"},
{"general", "wh2_main_def_naggarond", "wh2_main_def_malekith"},
{"minister", "wh2_main_def_naggarond", "default"},
{"runesmith", "wh2_main_def_naggarond", "default"},
{"spy", "wh2_main_def_naggarond", "wh2_main_def_khainite_assassin"},
{"wizard", "wh2_main_def_naggarond", "wh2_dlc10_def_sorceress_beasts"},
{"wizard", "wh2_main_def_naggarond", "wh2_dlc10_def_sorceress_death"},
{"wizard", "wh2_main_def_naggarond", "wh2_main_def_sorceress_dark"},
{"wizard", "wh2_main_def_naggarond", "wh2_main_def_sorceress_fire"},
{"wizard", "wh2_main_def_naggarond", "wh2_main_def_sorceress_shadow"},
{"champion", "wh2_main_def_scourge_of_khaine", "wh2_dlc14_def_master"},
{"colonel", "wh2_main_def_scourge_of_khaine", "wh2_main_def_dreadlord"},
{"dignitary", "wh2_main_def_scourge_of_khaine", "wh2_main_def_death_hag"},
{"engineer", "wh2_main_def_scourge_of_khaine", "default"},
{"general", "wh2_main_def_scourge_of_khaine", "wh2_dlc10_def_supreme_sorceress_beasts"},
{"general", "wh2_main_def_scourge_of_khaine", "wh2_dlc10_def_supreme_sorceress_dark"},
{"general", "wh2_main_def_scourge_of_khaine", "wh2_dlc10_def_supreme_sorceress_death"},
{"general", "wh2_main_def_scourge_of_khaine", "wh2_dlc10_def_supreme_sorceress_fire"},
{"general", "wh2_main_def_scourge_of_khaine", "wh2_dlc10_def_supreme_sorceress_shadow"},
{"general", "wh2_main_def_scourge_of_khaine", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_main_def_scourge_of_khaine", "wh2_main_def_black_ark"},
{"general", "wh2_main_def_scourge_of_khaine", "wh2_main_def_dreadlord"},
{"general", "wh2_main_def_scourge_of_khaine", "wh2_main_def_dreadlord_fem"},
{"minister", "wh2_main_def_scourge_of_khaine", "default"},
{"runesmith", "wh2_main_def_scourge_of_khaine", "default"},
{"spy", "wh2_main_def_scourge_of_khaine", "wh2_main_def_khainite_assassin"},
{"wizard", "wh2_main_def_scourge_of_khaine", "wh2_dlc10_def_sorceress_beasts"},
{"wizard", "wh2_main_def_scourge_of_khaine", "wh2_dlc10_def_sorceress_death"},
{"wizard", "wh2_main_def_scourge_of_khaine", "wh2_main_def_sorceress_dark"},
{"wizard", "wh2_main_def_scourge_of_khaine", "wh2_main_def_sorceress_fire"},
{"wizard", "wh2_main_def_scourge_of_khaine", "wh2_main_def_sorceress_shadow"},
{"champion", "wh2_main_def_ssildra_tor", "wh2_dlc14_def_master"},
{"colonel", "wh2_main_def_ssildra_tor", "wh2_main_def_dreadlord"},
{"dignitary", "wh2_main_def_ssildra_tor", "wh2_main_def_death_hag"},
{"engineer", "wh2_main_def_ssildra_tor", "default"},
{"general", "wh2_main_def_ssildra_tor", "wh2_dlc10_def_supreme_sorceress_beasts"},
{"general", "wh2_main_def_ssildra_tor", "wh2_dlc10_def_supreme_sorceress_dark"},
{"general", "wh2_main_def_ssildra_tor", "wh2_dlc10_def_supreme_sorceress_death"},
{"general", "wh2_main_def_ssildra_tor", "wh2_dlc10_def_supreme_sorceress_fire"},
{"general", "wh2_main_def_ssildra_tor", "wh2_dlc10_def_supreme_sorceress_shadow"},
{"general", "wh2_main_def_ssildra_tor", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_main_def_ssildra_tor", "wh2_main_def_black_ark"},
{"general", "wh2_main_def_ssildra_tor", "wh2_main_def_dreadlord"},
{"general", "wh2_main_def_ssildra_tor", "wh2_main_def_dreadlord_fem"},
{"minister", "wh2_main_def_ssildra_tor", "default"},
{"runesmith", "wh2_main_def_ssildra_tor", "default"},
{"spy", "wh2_main_def_ssildra_tor", "wh2_main_def_khainite_assassin"},
{"wizard", "wh2_main_def_ssildra_tor", "wh2_dlc10_def_sorceress_beasts"},
{"wizard", "wh2_main_def_ssildra_tor", "wh2_dlc10_def_sorceress_death"},
{"wizard", "wh2_main_def_ssildra_tor", "wh2_main_def_sorceress_dark"},
{"wizard", "wh2_main_def_ssildra_tor", "wh2_main_def_sorceress_fire"},
{"wizard", "wh2_main_def_ssildra_tor", "wh2_main_def_sorceress_shadow"},
{"champion", "wh2_main_def_the_forgebound", "wh2_dlc14_def_master"},
{"colonel", "wh2_main_def_the_forgebound", "wh2_main_def_dreadlord"},
{"dignitary", "wh2_main_def_the_forgebound", "wh2_main_def_death_hag"},
{"engineer", "wh2_main_def_the_forgebound", "default"},
{"general", "wh2_main_def_the_forgebound", "wh2_dlc10_def_supreme_sorceress_beasts"},
{"general", "wh2_main_def_the_forgebound", "wh2_dlc10_def_supreme_sorceress_dark"},
{"general", "wh2_main_def_the_forgebound", "wh2_dlc10_def_supreme_sorceress_death"},
{"general", "wh2_main_def_the_forgebound", "wh2_dlc10_def_supreme_sorceress_fire"},
{"general", "wh2_main_def_the_forgebound", "wh2_dlc10_def_supreme_sorceress_shadow"},
{"general", "wh2_main_def_the_forgebound", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_main_def_the_forgebound", "wh2_main_def_black_ark"},
{"general", "wh2_main_def_the_forgebound", "wh2_main_def_dreadlord"},
{"general", "wh2_main_def_the_forgebound", "wh2_main_def_dreadlord_fem"},
{"minister", "wh2_main_def_the_forgebound", "default"},
{"runesmith", "wh2_main_def_the_forgebound", "default"},
{"spy", "wh2_main_def_the_forgebound", "wh2_main_def_khainite_assassin"},
{"wizard", "wh2_main_def_the_forgebound", "wh2_dlc10_def_sorceress_beasts"},
{"wizard", "wh2_main_def_the_forgebound", "wh2_dlc10_def_sorceress_death"},
{"wizard", "wh2_main_def_the_forgebound", "wh2_main_def_sorceress_dark"},
{"wizard", "wh2_main_def_the_forgebound", "wh2_main_def_sorceress_fire"},
{"wizard", "wh2_main_def_the_forgebound", "wh2_main_def_sorceress_shadow"},
{"champion", "wh2_main_dwf_greybeards_prospectors", "dwf_thane"},
{"colonel", "wh2_main_dwf_greybeards_prospectors", "dwf_lord"},
{"dignitary", "wh2_main_dwf_greybeards_prospectors", "default"},
{"engineer", "wh2_main_dwf_greybeards_prospectors", "dwf_master_engineer"},
{"general", "wh2_main_dwf_greybeards_prospectors", "dlc06_dwf_runelord"},
{"general", "wh2_main_dwf_greybeards_prospectors", "dwf_lord"},
{"minister", "wh2_main_dwf_greybeards_prospectors", "default"},
{"runesmith", "wh2_main_dwf_greybeards_prospectors", "dwf_runesmith"},
{"spy", "wh2_main_dwf_greybeards_prospectors", "default"},
{"wizard", "wh2_main_dwf_greybeards_prospectors", "default"},
{"champion", "wh2_main_dwf_karak_zorn", "dwf_thane"},
{"colonel", "wh2_main_dwf_karak_zorn", "dwf_lord"},
{"dignitary", "wh2_main_dwf_karak_zorn", "default"},
{"engineer", "wh2_main_dwf_karak_zorn", "dwf_master_engineer"},
{"general", "wh2_main_dwf_karak_zorn", "dlc06_dwf_runelord"},
{"general", "wh2_main_dwf_karak_zorn", "dwf_lord"},
{"minister", "wh2_main_dwf_karak_zorn", "default"},
{"runesmith", "wh2_main_dwf_karak_zorn", "dwf_runesmith"},
{"spy", "wh2_main_dwf_karak_zorn", "default"},
{"wizard", "wh2_main_dwf_karak_zorn", "default"},
{"champion", "wh2_main_dwf_spine_of_sotek_dwarfs", "dwf_thane"},
{"colonel", "wh2_main_dwf_spine_of_sotek_dwarfs", "dwf_lord"},
{"dignitary", "wh2_main_dwf_spine_of_sotek_dwarfs", "default"},
{"engineer", "wh2_main_dwf_spine_of_sotek_dwarfs", "dwf_master_engineer"},
{"general", "wh2_main_dwf_spine_of_sotek_dwarfs", "dlc06_dwf_runelord"},
{"general", "wh2_main_dwf_spine_of_sotek_dwarfs", "dwf_lord"},
{"minister", "wh2_main_dwf_spine_of_sotek_dwarfs", "default"},
{"runesmith", "wh2_main_dwf_spine_of_sotek_dwarfs", "dwf_runesmith"},
{"spy", "wh2_main_dwf_spine_of_sotek_dwarfs", "default"},
{"wizard", "wh2_main_dwf_spine_of_sotek_dwarfs", "default"},
{"champion", "wh2_main_emp_new_world_colonies", "teb_captain"},
{"colonel", "wh2_main_emp_new_world_colonies", "teb_lord"},
{"dignitary", "wh2_main_emp_new_world_colonies", "emp_warrior_priest"},
{"engineer", "wh2_main_emp_new_world_colonies", "default"},
{"general", "wh2_main_emp_new_world_colonies", "teb_lord"},
{"minister", "wh2_main_emp_new_world_colonies", "default"},
{"runesmith", "wh2_main_emp_new_world_colonies", "default"},
{"spy", "wh2_main_emp_new_world_colonies", "emp_witch_hunter"},
{"wizard", "wh2_main_emp_new_world_colonies", "teb_bright_wizard"},
{"champion", "wh2_main_emp_sudenburg", "teb_captain"},
{"colonel", "wh2_main_emp_sudenburg", "teb_lord"},
{"dignitary", "wh2_main_emp_sudenburg", "emp_warrior_priest"},
{"engineer", "wh2_main_emp_sudenburg", "default"},
{"general", "wh2_main_emp_sudenburg", "teb_lord"},
{"minister", "wh2_main_emp_sudenburg", "default"},
{"runesmith", "wh2_main_emp_sudenburg", "default"},
{"spy", "wh2_main_emp_sudenburg", "emp_witch_hunter"},
{"wizard", "wh2_main_emp_sudenburg", "teb_bright_wizard"},
{"champion", "wh2_main_grn_arachnos_waaagh", "default"},
{"colonel", "wh2_main_grn_arachnos_waaagh", "grn_orc_warboss"},
{"dignitary", "wh2_main_grn_arachnos_waaagh", "default"},
{"engineer", "wh2_main_grn_arachnos_waaagh", "default"},
{"general", "wh2_main_grn_arachnos_waaagh", "dlc06_grn_night_goblin_warboss"},
{"general", "wh2_main_grn_arachnos_waaagh", "grn_goblin_great_shaman"},
{"general", "wh2_main_grn_arachnos_waaagh", "grn_orc_warboss"},
{"minister", "wh2_main_grn_arachnos_waaagh", "default"},
{"runesmith", "wh2_main_grn_arachnos_waaagh", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh2_main_grn_arachnos_waaagh", "grn_goblin_big_boss"},
{"wizard", "wh2_main_grn_arachnos_waaagh", "grn_night_goblin_shaman"},
{"colonel", "wh2_main_grn_arachnos", "grn_orc_warboss"},
{"dignitary", "wh2_main_grn_arachnos", "default"},
{"engineer", "wh2_main_grn_arachnos", "default"},
{"general", "wh2_main_grn_arachnos", "dlc06_grn_night_goblin_warboss"},
{"general", "wh2_main_grn_arachnos", "grn_goblin_great_shaman"},
{"general", "wh2_main_grn_arachnos", "grn_orc_warboss"},
{"minister", "wh2_main_grn_arachnos", "default"},
{"runesmith", "wh2_main_grn_arachnos", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh2_main_grn_arachnos", "grn_goblin_big_boss"},
{"wizard", "wh2_main_grn_arachnos", "grn_night_goblin_shaman"},
{"wizard", "wh2_main_grn_arachnos", "grn_orc_shaman"},
{"champion", "wh2_main_grn_blue_vipers_waaagh", "default"},
{"colonel", "wh2_main_grn_blue_vipers_waaagh", "grn_orc_warboss"},
{"dignitary", "wh2_main_grn_blue_vipers_waaagh", "default"},
{"engineer", "wh2_main_grn_blue_vipers_waaagh", "default"},
{"general", "wh2_main_grn_blue_vipers_waaagh", "dlc06_grn_night_goblin_warboss"},
{"general", "wh2_main_grn_blue_vipers_waaagh", "grn_orc_warboss"},
{"minister", "wh2_main_grn_blue_vipers_waaagh", "default"},
{"runesmith", "wh2_main_grn_blue_vipers_waaagh", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh2_main_grn_blue_vipers_waaagh", "grn_goblin_big_boss"},
{"wizard", "wh2_main_grn_blue_vipers_waaagh", "grn_night_goblin_shaman"},
{"wizard", "wh2_main_grn_blue_vipers_waaagh", "grn_orc_shaman"},
{"colonel", "wh2_main_grn_blue_vipers", "grn_orc_warboss"},
{"dignitary", "wh2_main_grn_blue_vipers", "default"},
{"engineer", "wh2_main_grn_blue_vipers", "default"},
{"general", "wh2_main_grn_blue_vipers", "dlc06_grn_night_goblin_warboss"},
{"general", "wh2_main_grn_blue_vipers", "grn_goblin_great_shaman"},
{"general", "wh2_main_grn_blue_vipers", "grn_orc_warboss"},
{"minister", "wh2_main_grn_blue_vipers", "default"},
{"runesmith", "wh2_main_grn_blue_vipers", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh2_main_grn_blue_vipers", "grn_goblin_big_boss"},
{"wizard", "wh2_main_grn_blue_vipers", "grn_night_goblin_shaman"},
{"wizard", "wh2_main_grn_blue_vipers", "grn_orc_shaman"},
{"champion", "wh2_main_hef_avelorn", "wh2_main_hef_noble"},
{"colonel", "wh2_main_hef_avelorn", "wh2_main_hef_prince"},
{"dignitary", "wh2_main_hef_avelorn", "wh2_dlc10_hef_handmaiden"},
{"engineer", "wh2_main_hef_avelorn", "default"},
{"general", "wh2_main_hef_avelorn", "wh2_dlc10_hef_alarielle"},
{"general", "wh2_main_hef_avelorn", "wh2_dlc15_hef_archmage_beasts"},
{"general", "wh2_main_hef_avelorn", "wh2_dlc15_hef_archmage_death"},
{"general", "wh2_main_hef_avelorn", "wh2_dlc15_hef_archmage_fire"},
{"general", "wh2_main_hef_avelorn", "wh2_dlc15_hef_archmage_heavens"},
{"general", "wh2_main_hef_avelorn", "wh2_dlc15_hef_archmage_high"},
{"general", "wh2_main_hef_avelorn", "wh2_dlc15_hef_archmage_life"},
{"general", "wh2_main_hef_avelorn", "wh2_dlc15_hef_archmage_light"},
{"general", "wh2_main_hef_avelorn", "wh2_dlc15_hef_archmage_metal"},
{"general", "wh2_main_hef_avelorn", "wh2_dlc15_hef_archmage_shadows"},
{"general", "wh2_main_hef_avelorn", "wh2_main_hef_prince"},
{"general", "wh2_main_hef_avelorn", "wh2_main_hef_princess"},
{"minister", "wh2_main_hef_avelorn", "default"},
{"runesmith", "wh2_main_hef_avelorn", "wh2_main_hef_loremaster_of_hoeth"},
{"wizard", "wh2_main_hef_avelorn", "wh2_dlc10_hef_mage_heavens"},
{"wizard", "wh2_main_hef_avelorn", "wh2_dlc10_hef_mage_shadows"},
{"wizard", "wh2_main_hef_avelorn", "wh2_main_hef_mage_high"},
{"wizard", "wh2_main_hef_avelorn", "wh2_main_hef_mage_life"},
{"wizard", "wh2_main_hef_avelorn", "wh2_main_hef_mage_light"},
{"champion", "wh2_main_hef_caledor", "wh2_main_hef_noble"},
{"colonel", "wh2_main_hef_caledor", "wh2_main_hef_prince"},
{"dignitary", "wh2_main_hef_caledor", "wh2_dlc10_hef_handmaiden"},
{"engineer", "wh2_main_hef_caledor", "default"},
{"general", "wh2_main_hef_caledor", "wh2_dlc15_hef_archmage_beasts"},
{"general", "wh2_main_hef_caledor", "wh2_dlc15_hef_archmage_death"},
{"general", "wh2_main_hef_caledor", "wh2_dlc15_hef_archmage_fire"},
{"general", "wh2_main_hef_caledor", "wh2_dlc15_hef_archmage_heavens"},
{"general", "wh2_main_hef_caledor", "wh2_dlc15_hef_archmage_high"},
{"general", "wh2_main_hef_caledor", "wh2_dlc15_hef_archmage_life"},
{"general", "wh2_main_hef_caledor", "wh2_dlc15_hef_archmage_light"},
{"general", "wh2_main_hef_caledor", "wh2_dlc15_hef_archmage_metal"},
{"general", "wh2_main_hef_caledor", "wh2_dlc15_hef_archmage_shadows"},
{"general", "wh2_main_hef_caledor", "wh2_dlc15_hef_imrik"},
{"general", "wh2_main_hef_caledor", "wh2_main_hef_prince"},
{"general", "wh2_main_hef_caledor", "wh2_main_hef_princess"},
{"minister", "wh2_main_hef_caledor", "default"},
{"runesmith", "wh2_main_hef_caledor", "wh2_main_hef_loremaster_of_hoeth"},
{"wizard", "wh2_main_hef_caledor", "wh2_dlc10_hef_mage_heavens"},
{"wizard", "wh2_main_hef_caledor", "wh2_dlc10_hef_mage_shadows"},
{"wizard", "wh2_main_hef_caledor", "wh2_dlc15_hef_mage_beasts"},
{"wizard", "wh2_main_hef_caledor", "wh2_dlc15_hef_mage_death"},
{"wizard", "wh2_main_hef_caledor", "wh2_dlc15_hef_mage_fire"},
{"wizard", "wh2_main_hef_caledor", "wh2_dlc15_hef_mage_metal"},
{"wizard", "wh2_main_hef_caledor", "wh2_main_hef_mage_high"},
{"wizard", "wh2_main_hef_caledor", "wh2_main_hef_mage_life"},
{"wizard", "wh2_main_hef_caledor", "wh2_main_hef_mage_light"},
{"champion", "wh2_main_hef_chrace", "wh2_main_hef_noble"},
{"colonel", "wh2_main_hef_chrace", "wh2_main_hef_prince"},
{"dignitary", "wh2_main_hef_chrace", "wh2_dlc10_hef_handmaiden"},
{"engineer", "wh2_main_hef_chrace", "default"},
{"general", "wh2_main_hef_chrace", "wh2_dlc15_hef_archmage_beasts"},
{"general", "wh2_main_hef_chrace", "wh2_dlc15_hef_archmage_death"},
{"general", "wh2_main_hef_chrace", "wh2_dlc15_hef_archmage_fire"},
{"general", "wh2_main_hef_chrace", "wh2_dlc15_hef_archmage_heavens"},
{"general", "wh2_main_hef_chrace", "wh2_dlc15_hef_archmage_high"},
{"general", "wh2_main_hef_chrace", "wh2_dlc15_hef_archmage_life"},
{"general", "wh2_main_hef_chrace", "wh2_dlc15_hef_archmage_light"},
{"general", "wh2_main_hef_chrace", "wh2_dlc15_hef_archmage_metal"},
{"general", "wh2_main_hef_chrace", "wh2_dlc15_hef_archmage_shadows"},
{"general", "wh2_main_hef_chrace", "wh2_main_hef_prince"},
{"general", "wh2_main_hef_chrace", "wh2_main_hef_princess"},
{"minister", "wh2_main_hef_chrace", "default"},
{"runesmith", "wh2_main_hef_chrace", "wh2_main_hef_loremaster_of_hoeth"},
{"wizard", "wh2_main_hef_chrace", "wh2_dlc10_hef_mage_heavens"},
{"wizard", "wh2_main_hef_chrace", "wh2_dlc10_hef_mage_shadows"},
{"wizard", "wh2_main_hef_chrace", "wh2_dlc15_hef_mage_beasts"},
{"wizard", "wh2_main_hef_chrace", "wh2_dlc15_hef_mage_death"},
{"wizard", "wh2_main_hef_chrace", "wh2_dlc15_hef_mage_fire"},
{"wizard", "wh2_main_hef_chrace", "wh2_dlc15_hef_mage_metal"},
{"wizard", "wh2_main_hef_chrace", "wh2_main_hef_mage_high"},
{"wizard", "wh2_main_hef_chrace", "wh2_main_hef_mage_life"},
{"wizard", "wh2_main_hef_chrace", "wh2_main_hef_mage_light"},
{"champion", "wh2_main_hef_citadel_of_dusk", "wh2_main_hef_noble"},
{"colonel", "wh2_main_hef_citadel_of_dusk", "wh2_main_hef_prince"},
{"dignitary", "wh2_main_hef_citadel_of_dusk", "wh2_dlc10_hef_handmaiden"},
{"engineer", "wh2_main_hef_citadel_of_dusk", "default"},
{"general", "wh2_main_hef_citadel_of_dusk", "wh2_dlc15_hef_archmage_beasts"},
{"general", "wh2_main_hef_citadel_of_dusk", "wh2_dlc15_hef_archmage_death"},
{"general", "wh2_main_hef_citadel_of_dusk", "wh2_dlc15_hef_archmage_fire"},
{"general", "wh2_main_hef_citadel_of_dusk", "wh2_dlc15_hef_archmage_heavens"},
{"general", "wh2_main_hef_citadel_of_dusk", "wh2_dlc15_hef_archmage_high"},
{"general", "wh2_main_hef_citadel_of_dusk", "wh2_dlc15_hef_archmage_life"},
{"general", "wh2_main_hef_citadel_of_dusk", "wh2_dlc15_hef_archmage_light"},
{"general", "wh2_main_hef_citadel_of_dusk", "wh2_dlc15_hef_archmage_metal"},
{"general", "wh2_main_hef_citadel_of_dusk", "wh2_dlc15_hef_archmage_shadows"},
{"general", "wh2_main_hef_citadel_of_dusk", "wh2_main_hef_prince"},
{"general", "wh2_main_hef_citadel_of_dusk", "wh2_main_hef_princess"},
{"minister", "wh2_main_hef_citadel_of_dusk", "default"},
{"runesmith", "wh2_main_hef_citadel_of_dusk", "wh2_main_hef_loremaster_of_hoeth"},
{"wizard", "wh2_main_hef_citadel_of_dusk", "wh2_dlc10_hef_mage_heavens"},
{"wizard", "wh2_main_hef_citadel_of_dusk", "wh2_dlc10_hef_mage_shadows"},
{"wizard", "wh2_main_hef_citadel_of_dusk", "wh2_dlc15_hef_mage_beasts"},
{"wizard", "wh2_main_hef_citadel_of_dusk", "wh2_dlc15_hef_mage_death"},
{"wizard", "wh2_main_hef_citadel_of_dusk", "wh2_dlc15_hef_mage_fire"},
{"wizard", "wh2_main_hef_citadel_of_dusk", "wh2_dlc15_hef_mage_metal"},
{"wizard", "wh2_main_hef_citadel_of_dusk", "wh2_main_hef_mage_high"},
{"wizard", "wh2_main_hef_citadel_of_dusk", "wh2_main_hef_mage_life"},
{"wizard", "wh2_main_hef_citadel_of_dusk", "wh2_main_hef_mage_light"},
{"champion", "wh2_main_hef_cothique", "wh2_main_hef_noble"},
{"colonel", "wh2_main_hef_cothique", "wh2_main_hef_prince"},
{"dignitary", "wh2_main_hef_cothique", "wh2_dlc10_hef_handmaiden"},
{"engineer", "wh2_main_hef_cothique", "default"},
{"general", "wh2_main_hef_cothique", "wh2_dlc15_hef_archmage_beasts"},
{"general", "wh2_main_hef_cothique", "wh2_dlc15_hef_archmage_death"},
{"general", "wh2_main_hef_cothique", "wh2_dlc15_hef_archmage_fire"},
{"general", "wh2_main_hef_cothique", "wh2_dlc15_hef_archmage_heavens"},
{"general", "wh2_main_hef_cothique", "wh2_dlc15_hef_archmage_high"},
{"general", "wh2_main_hef_cothique", "wh2_dlc15_hef_archmage_life"},
{"general", "wh2_main_hef_cothique", "wh2_dlc15_hef_archmage_light"},
{"general", "wh2_main_hef_cothique", "wh2_dlc15_hef_archmage_metal"},
{"general", "wh2_main_hef_cothique", "wh2_dlc15_hef_archmage_shadows"},
{"general", "wh2_main_hef_cothique", "wh2_main_hef_prince"},
{"general", "wh2_main_hef_cothique", "wh2_main_hef_princess"},
{"minister", "wh2_main_hef_cothique", "default"},
{"runesmith", "wh2_main_hef_cothique", "wh2_main_hef_loremaster_of_hoeth"},
{"wizard", "wh2_main_hef_cothique", "wh2_dlc10_hef_mage_heavens"},
{"wizard", "wh2_main_hef_cothique", "wh2_dlc10_hef_mage_shadows"},
{"wizard", "wh2_main_hef_cothique", "wh2_dlc15_hef_mage_beasts"},
{"wizard", "wh2_main_hef_cothique", "wh2_dlc15_hef_mage_death"},
{"wizard", "wh2_main_hef_cothique", "wh2_dlc15_hef_mage_fire"},
{"wizard", "wh2_main_hef_cothique", "wh2_dlc15_hef_mage_metal"},
{"wizard", "wh2_main_hef_cothique", "wh2_main_hef_mage_high"},
{"wizard", "wh2_main_hef_cothique", "wh2_main_hef_mage_life"},
{"wizard", "wh2_main_hef_cothique", "wh2_main_hef_mage_light"},
{"champion", "wh2_main_hef_eataine", "wh2_main_hef_noble"},
{"colonel", "wh2_main_hef_eataine", "wh2_main_hef_prince"},
{"dignitary", "wh2_main_hef_eataine", "wh2_dlc10_hef_handmaiden"},
{"engineer", "wh2_main_hef_eataine", "default"},
{"general", "wh2_main_hef_eataine", "wh2_dlc15_hef_archmage_beasts"},
{"general", "wh2_main_hef_eataine", "wh2_dlc15_hef_archmage_death"},
{"general", "wh2_main_hef_eataine", "wh2_dlc15_hef_archmage_fire"},
{"general", "wh2_main_hef_eataine", "wh2_dlc15_hef_archmage_heavens"},
{"general", "wh2_main_hef_eataine", "wh2_dlc15_hef_archmage_high"},
{"general", "wh2_main_hef_eataine", "wh2_dlc15_hef_archmage_life"},
{"general", "wh2_main_hef_eataine", "wh2_dlc15_hef_archmage_light"},
{"general", "wh2_main_hef_eataine", "wh2_dlc15_hef_archmage_metal"},
{"general", "wh2_main_hef_eataine", "wh2_dlc15_hef_archmage_shadows"},
{"general", "wh2_main_hef_eataine", "wh2_main_hef_prince"},
{"general", "wh2_main_hef_eataine", "wh2_main_hef_prince_alastar"},
{"general", "wh2_main_hef_eataine", "wh2_main_hef_princess"},
{"general", "wh2_main_hef_eataine", "wh2_main_hef_tyrion"},
{"minister", "wh2_main_hef_eataine", "default"},
{"runesmith", "wh2_main_hef_eataine", "wh2_main_hef_loremaster_of_hoeth"},
{"wizard", "wh2_main_hef_eataine", "wh2_dlc10_hef_mage_heavens"},
{"wizard", "wh2_main_hef_eataine", "wh2_dlc10_hef_mage_shadows"},
{"wizard", "wh2_main_hef_eataine", "wh2_dlc15_hef_mage_beasts"},
{"wizard", "wh2_main_hef_eataine", "wh2_dlc15_hef_mage_death"},
{"wizard", "wh2_main_hef_eataine", "wh2_dlc15_hef_mage_fire"},
{"wizard", "wh2_main_hef_eataine", "wh2_dlc15_hef_mage_metal"},
{"wizard", "wh2_main_hef_eataine", "wh2_main_hef_mage_high"},
{"wizard", "wh2_main_hef_eataine", "wh2_main_hef_mage_life"},
{"wizard", "wh2_main_hef_eataine", "wh2_main_hef_mage_light"},
{"champion", "wh2_main_hef_ellyrion", "wh2_main_hef_noble"},
{"colonel", "wh2_main_hef_ellyrion", "wh2_main_hef_prince"},
{"dignitary", "wh2_main_hef_ellyrion", "wh2_dlc10_hef_handmaiden"},
{"engineer", "wh2_main_hef_ellyrion", "default"},
{"general", "wh2_main_hef_ellyrion", "wh2_dlc15_hef_archmage_beasts"},
{"general", "wh2_main_hef_ellyrion", "wh2_dlc15_hef_archmage_death"},
{"general", "wh2_main_hef_ellyrion", "wh2_dlc15_hef_archmage_fire"},
{"general", "wh2_main_hef_ellyrion", "wh2_dlc15_hef_archmage_heavens"},
{"general", "wh2_main_hef_ellyrion", "wh2_dlc15_hef_archmage_high"},
{"general", "wh2_main_hef_ellyrion", "wh2_dlc15_hef_archmage_life"},
{"general", "wh2_main_hef_ellyrion", "wh2_dlc15_hef_archmage_light"},
{"general", "wh2_main_hef_ellyrion", "wh2_dlc15_hef_archmage_metal"},
{"general", "wh2_main_hef_ellyrion", "wh2_dlc15_hef_archmage_shadows"},
{"general", "wh2_main_hef_ellyrion", "wh2_main_hef_prince"},
{"general", "wh2_main_hef_ellyrion", "wh2_main_hef_princess"},
{"minister", "wh2_main_hef_ellyrion", "default"},
{"runesmith", "wh2_main_hef_ellyrion", "wh2_main_hef_loremaster_of_hoeth"},
{"wizard", "wh2_main_hef_ellyrion", "wh2_dlc10_hef_mage_heavens"},
{"wizard", "wh2_main_hef_ellyrion", "wh2_dlc10_hef_mage_shadows"},
{"wizard", "wh2_main_hef_ellyrion", "wh2_dlc15_hef_mage_beasts"},
{"wizard", "wh2_main_hef_ellyrion", "wh2_dlc15_hef_mage_death"},
{"wizard", "wh2_main_hef_ellyrion", "wh2_dlc15_hef_mage_fire"},
{"wizard", "wh2_main_hef_ellyrion", "wh2_dlc15_hef_mage_metal"},
{"wizard", "wh2_main_hef_ellyrion", "wh2_main_hef_mage_high"},
{"wizard", "wh2_main_hef_ellyrion", "wh2_main_hef_mage_life"},
{"wizard", "wh2_main_hef_ellyrion", "wh2_main_hef_mage_light"},
{"champion", "wh2_main_hef_fortress_of_dawn", "wh2_main_hef_noble"},
{"colonel", "wh2_main_hef_fortress_of_dawn", "wh2_main_hef_prince"},
{"dignitary", "wh2_main_hef_fortress_of_dawn", "wh2_dlc10_hef_handmaiden"},
{"engineer", "wh2_main_hef_fortress_of_dawn", "default"},
{"general", "wh2_main_hef_fortress_of_dawn", "wh2_dlc15_hef_archmage_beasts"},
{"general", "wh2_main_hef_fortress_of_dawn", "wh2_dlc15_hef_archmage_death"},
{"general", "wh2_main_hef_fortress_of_dawn", "wh2_dlc15_hef_archmage_fire"},
{"general", "wh2_main_hef_fortress_of_dawn", "wh2_dlc15_hef_archmage_heavens"},
{"general", "wh2_main_hef_fortress_of_dawn", "wh2_dlc15_hef_archmage_high"},
{"general", "wh2_main_hef_fortress_of_dawn", "wh2_dlc15_hef_archmage_life"},
{"general", "wh2_main_hef_fortress_of_dawn", "wh2_dlc15_hef_archmage_light"},
{"general", "wh2_main_hef_fortress_of_dawn", "wh2_dlc15_hef_archmage_metal"},
{"general", "wh2_main_hef_fortress_of_dawn", "wh2_dlc15_hef_archmage_shadows"},
{"general", "wh2_main_hef_fortress_of_dawn", "wh2_main_hef_prince"},
{"general", "wh2_main_hef_fortress_of_dawn", "wh2_main_hef_princess"},
{"minister", "wh2_main_hef_fortress_of_dawn", "default"},
{"runesmith", "wh2_main_hef_fortress_of_dawn", "wh2_main_hef_loremaster_of_hoeth"},
{"wizard", "wh2_main_hef_fortress_of_dawn", "wh2_dlc10_hef_mage_heavens"},
{"wizard", "wh2_main_hef_fortress_of_dawn", "wh2_dlc10_hef_mage_shadows"},
{"wizard", "wh2_main_hef_fortress_of_dawn", "wh2_dlc15_hef_mage_beasts"},
{"wizard", "wh2_main_hef_fortress_of_dawn", "wh2_dlc15_hef_mage_death"},
{"wizard", "wh2_main_hef_fortress_of_dawn", "wh2_dlc15_hef_mage_fire"},
{"wizard", "wh2_main_hef_fortress_of_dawn", "wh2_dlc15_hef_mage_metal"},
{"wizard", "wh2_main_hef_fortress_of_dawn", "wh2_main_hef_mage_high"},
{"wizard", "wh2_main_hef_fortress_of_dawn", "wh2_main_hef_mage_life"},
{"wizard", "wh2_main_hef_fortress_of_dawn", "wh2_main_hef_mage_light"},
{"champion", "wh2_main_hef_high_elves_intervention", "wh2_main_hef_noble"},
{"colonel", "wh2_main_hef_high_elves_intervention", "wh2_main_hef_prince"},
{"dignitary", "wh2_main_hef_high_elves_intervention", "wh2_dlc10_hef_handmaiden"},
{"engineer", "wh2_main_hef_high_elves_intervention", "default"},
{"general", "wh2_main_hef_high_elves_intervention", "wh2_dlc15_hef_archmage_beasts"},
{"general", "wh2_main_hef_high_elves_intervention", "wh2_dlc15_hef_archmage_death"},
{"general", "wh2_main_hef_high_elves_intervention", "wh2_dlc15_hef_archmage_fire"},
{"general", "wh2_main_hef_high_elves_intervention", "wh2_dlc15_hef_archmage_heavens"},
{"general", "wh2_main_hef_high_elves_intervention", "wh2_dlc15_hef_archmage_high"},
{"general", "wh2_main_hef_high_elves_intervention", "wh2_dlc15_hef_archmage_life"},
{"general", "wh2_main_hef_high_elves_intervention", "wh2_dlc15_hef_archmage_light"},
{"general", "wh2_main_hef_high_elves_intervention", "wh2_dlc15_hef_archmage_metal"},
{"general", "wh2_main_hef_high_elves_intervention", "wh2_dlc15_hef_archmage_shadows"},
{"general", "wh2_main_hef_high_elves_intervention", "wh2_main_hef_prince"},
{"general", "wh2_main_hef_high_elves_intervention", "wh2_main_hef_princess"},
{"minister", "wh2_main_hef_high_elves_intervention", "default"},
{"runesmith", "wh2_main_hef_high_elves_intervention", "wh2_main_hef_loremaster_of_hoeth"},
{"wizard", "wh2_main_hef_high_elves_intervention", "wh2_dlc10_hef_mage_heavens"},
{"wizard", "wh2_main_hef_high_elves_intervention", "wh2_dlc10_hef_mage_shadows"},
{"wizard", "wh2_main_hef_high_elves_intervention", "wh2_dlc15_hef_mage_beasts"},
{"wizard", "wh2_main_hef_high_elves_intervention", "wh2_dlc15_hef_mage_death"},
{"wizard", "wh2_main_hef_high_elves_intervention", "wh2_dlc15_hef_mage_fire"},
{"wizard", "wh2_main_hef_high_elves_intervention", "wh2_dlc15_hef_mage_metal"},
{"wizard", "wh2_main_hef_high_elves_intervention", "wh2_main_hef_mage_high"},
{"wizard", "wh2_main_hef_high_elves_intervention", "wh2_main_hef_mage_life"},
{"wizard", "wh2_main_hef_high_elves_intervention", "wh2_main_hef_mage_light"},
{"champion", "wh2_main_hef_high_elves_qb1", "wh2_main_hef_noble"},
{"colonel", "wh2_main_hef_high_elves_qb1", "wh2_main_hef_prince"},
{"dignitary", "wh2_main_hef_high_elves_qb1", "wh2_dlc10_hef_handmaiden"},
{"engineer", "wh2_main_hef_high_elves_qb1", "default"},
{"general", "wh2_main_hef_high_elves_qb1", "wh2_dlc10_nor_phoenix_flamespyre_boss"},
{"general", "wh2_main_hef_high_elves_qb1", "wh2_dlc15_hef_archmage_beasts"},
{"general", "wh2_main_hef_high_elves_qb1", "wh2_dlc15_hef_archmage_death"},
{"general", "wh2_main_hef_high_elves_qb1", "wh2_dlc15_hef_archmage_fire"},
{"general", "wh2_main_hef_high_elves_qb1", "wh2_dlc15_hef_archmage_heavens"},
{"general", "wh2_main_hef_high_elves_qb1", "wh2_dlc15_hef_archmage_high"},
{"general", "wh2_main_hef_high_elves_qb1", "wh2_dlc15_hef_archmage_life"},
{"general", "wh2_main_hef_high_elves_qb1", "wh2_dlc15_hef_archmage_light"},
{"general", "wh2_main_hef_high_elves_qb1", "wh2_dlc15_hef_archmage_metal"},
{"general", "wh2_main_hef_high_elves_qb1", "wh2_dlc15_hef_archmage_shadows"},
{"general", "wh2_main_hef_high_elves_qb1", "wh2_main_hef_prince"},
{"general", "wh2_main_hef_high_elves_qb1", "wh2_main_hef_princess"},
{"general", "wh2_main_hef_high_elves_qb1", "wh2_main_hef_teclis"},
{"general", "wh2_main_hef_high_elves_qb1", "wh2_main_hef_tyrion"},
{"minister", "wh2_main_hef_high_elves_qb1", "default"},
{"runesmith", "wh2_main_hef_high_elves_qb1", "wh2_main_hef_loremaster_of_hoeth"},
{"wizard", "wh2_main_hef_high_elves_qb1", "wh2_dlc10_hef_mage_heavens"},
{"wizard", "wh2_main_hef_high_elves_qb1", "wh2_dlc10_hef_mage_shadows"},
{"wizard", "wh2_main_hef_high_elves_qb1", "wh2_dlc15_hef_mage_beasts"},
{"wizard", "wh2_main_hef_high_elves_qb1", "wh2_dlc15_hef_mage_death"},
{"wizard", "wh2_main_hef_high_elves_qb1", "wh2_dlc15_hef_mage_fire"},
{"wizard", "wh2_main_hef_high_elves_qb1", "wh2_dlc15_hef_mage_metal"},
{"wizard", "wh2_main_hef_high_elves_qb1", "wh2_main_hef_mage_high"},
{"wizard", "wh2_main_hef_high_elves_qb1", "wh2_main_hef_mage_life"},
{"wizard", "wh2_main_hef_high_elves_qb1", "wh2_main_hef_mage_light"},
{"champion", "wh2_main_hef_high_elves_qb2", "wh2_main_hef_noble"},
{"colonel", "wh2_main_hef_high_elves_qb2", "wh2_main_hef_prince"},
{"dignitary", "wh2_main_hef_high_elves_qb2", "wh2_dlc10_hef_handmaiden"},
{"engineer", "wh2_main_hef_high_elves_qb2", "default"},
{"general", "wh2_main_hef_high_elves_qb2", "wh2_dlc15_hef_archmage_beasts"},
{"general", "wh2_main_hef_high_elves_qb2", "wh2_dlc15_hef_archmage_death"},
{"general", "wh2_main_hef_high_elves_qb2", "wh2_dlc15_hef_archmage_fire"},
{"general", "wh2_main_hef_high_elves_qb2", "wh2_dlc15_hef_archmage_heavens"},
{"general", "wh2_main_hef_high_elves_qb2", "wh2_dlc15_hef_archmage_high"},
{"general", "wh2_main_hef_high_elves_qb2", "wh2_dlc15_hef_archmage_life"},
{"general", "wh2_main_hef_high_elves_qb2", "wh2_dlc15_hef_archmage_light"},
{"general", "wh2_main_hef_high_elves_qb2", "wh2_dlc15_hef_archmage_metal"},
{"general", "wh2_main_hef_high_elves_qb2", "wh2_dlc15_hef_archmage_shadows"},
{"general", "wh2_main_hef_high_elves_qb2", "wh2_main_hef_prince"},
{"general", "wh2_main_hef_high_elves_qb2", "wh2_main_hef_princess"},
{"general", "wh2_main_hef_high_elves_qb2", "wh2_main_hef_teclis"},
{"general", "wh2_main_hef_high_elves_qb2", "wh2_main_hef_tyrion"},
{"minister", "wh2_main_hef_high_elves_qb2", "default"},
{"runesmith", "wh2_main_hef_high_elves_qb2", "wh2_main_hef_loremaster_of_hoeth"},
{"wizard", "wh2_main_hef_high_elves_qb2", "wh2_dlc10_hef_mage_heavens"},
{"wizard", "wh2_main_hef_high_elves_qb2", "wh2_dlc10_hef_mage_shadows"},
{"wizard", "wh2_main_hef_high_elves_qb2", "wh2_dlc15_hef_mage_beasts"},
{"wizard", "wh2_main_hef_high_elves_qb2", "wh2_dlc15_hef_mage_death"},
{"wizard", "wh2_main_hef_high_elves_qb2", "wh2_dlc15_hef_mage_fire"},
{"wizard", "wh2_main_hef_high_elves_qb2", "wh2_dlc15_hef_mage_metal"},
{"wizard", "wh2_main_hef_high_elves_qb2", "wh2_main_hef_mage_high"},
{"wizard", "wh2_main_hef_high_elves_qb2", "wh2_main_hef_mage_life"},
{"wizard", "wh2_main_hef_high_elves_qb2", "wh2_main_hef_mage_light"},
{"champion", "wh2_main_hef_high_elves_qb3", "wh2_main_hef_noble"},
{"colonel", "wh2_main_hef_high_elves_qb3", "wh2_main_hef_prince"},
{"dignitary", "wh2_main_hef_high_elves_qb3", "wh2_dlc10_hef_handmaiden"},
{"engineer", "wh2_main_hef_high_elves_qb3", "default"},
{"general", "wh2_main_hef_high_elves_qb3", "wh2_dlc15_hef_archmage_beasts"},
{"general", "wh2_main_hef_high_elves_qb3", "wh2_dlc15_hef_archmage_death"},
{"general", "wh2_main_hef_high_elves_qb3", "wh2_dlc15_hef_archmage_fire"},
{"general", "wh2_main_hef_high_elves_qb3", "wh2_dlc15_hef_archmage_heavens"},
{"general", "wh2_main_hef_high_elves_qb3", "wh2_dlc15_hef_archmage_high"},
{"general", "wh2_main_hef_high_elves_qb3", "wh2_dlc15_hef_archmage_life"},
{"general", "wh2_main_hef_high_elves_qb3", "wh2_dlc15_hef_archmage_light"},
{"general", "wh2_main_hef_high_elves_qb3", "wh2_dlc15_hef_archmage_metal"},
{"general", "wh2_main_hef_high_elves_qb3", "wh2_dlc15_hef_archmage_shadows"},
{"general", "wh2_main_hef_high_elves_qb3", "wh2_main_hef_prince"},
{"general", "wh2_main_hef_high_elves_qb3", "wh2_main_hef_princess"},
{"general", "wh2_main_hef_high_elves_qb3", "wh2_main_hef_teclis"},
{"general", "wh2_main_hef_high_elves_qb3", "wh2_main_hef_tyrion"},
{"minister", "wh2_main_hef_high_elves_qb3", "default"},
{"runesmith", "wh2_main_hef_high_elves_qb3", "wh2_main_hef_loremaster_of_hoeth"},
{"wizard", "wh2_main_hef_high_elves_qb3", "wh2_dlc10_hef_mage_heavens"},
{"wizard", "wh2_main_hef_high_elves_qb3", "wh2_dlc10_hef_mage_shadows"},
{"wizard", "wh2_main_hef_high_elves_qb3", "wh2_dlc15_hef_mage_beasts"},
{"wizard", "wh2_main_hef_high_elves_qb3", "wh2_dlc15_hef_mage_death"},
{"wizard", "wh2_main_hef_high_elves_qb3", "wh2_dlc15_hef_mage_fire"},
{"wizard", "wh2_main_hef_high_elves_qb3", "wh2_dlc15_hef_mage_metal"},
{"wizard", "wh2_main_hef_high_elves_qb3", "wh2_main_hef_mage_high"},
{"wizard", "wh2_main_hef_high_elves_qb3", "wh2_main_hef_mage_life"},
{"wizard", "wh2_main_hef_high_elves_qb3", "wh2_main_hef_mage_light"},
{"champion", "wh2_main_hef_high_elves_qb4", "wh2_main_hef_noble"},
{"colonel", "wh2_main_hef_high_elves_qb4", "wh2_main_hef_prince"},
{"dignitary", "wh2_main_hef_high_elves_qb4", "wh2_dlc10_hef_handmaiden"},
{"engineer", "wh2_main_hef_high_elves_qb4", "default"},
{"general", "wh2_main_hef_high_elves_qb4", "wh2_dlc15_hef_archmage_beasts"},
{"general", "wh2_main_hef_high_elves_qb4", "wh2_dlc15_hef_archmage_death"},
{"general", "wh2_main_hef_high_elves_qb4", "wh2_dlc15_hef_archmage_fire"},
{"general", "wh2_main_hef_high_elves_qb4", "wh2_dlc15_hef_archmage_heavens"},
{"general", "wh2_main_hef_high_elves_qb4", "wh2_dlc15_hef_archmage_high"},
{"general", "wh2_main_hef_high_elves_qb4", "wh2_dlc15_hef_archmage_life"},
{"general", "wh2_main_hef_high_elves_qb4", "wh2_dlc15_hef_archmage_light"},
{"general", "wh2_main_hef_high_elves_qb4", "wh2_dlc15_hef_archmage_metal"},
{"general", "wh2_main_hef_high_elves_qb4", "wh2_dlc15_hef_archmage_shadows"},
{"general", "wh2_main_hef_high_elves_qb4", "wh2_main_hef_prince"},
{"general", "wh2_main_hef_high_elves_qb4", "wh2_main_hef_princess"},
{"general", "wh2_main_hef_high_elves_qb4", "wh2_main_hef_teclis"},
{"general", "wh2_main_hef_high_elves_qb4", "wh2_main_hef_tyrion"},
{"minister", "wh2_main_hef_high_elves_qb4", "default"},
{"runesmith", "wh2_main_hef_high_elves_qb4", "wh2_main_hef_loremaster_of_hoeth"},
{"wizard", "wh2_main_hef_high_elves_qb4", "wh2_dlc10_hef_mage_heavens"},
{"wizard", "wh2_main_hef_high_elves_qb4", "wh2_dlc10_hef_mage_shadows"},
{"wizard", "wh2_main_hef_high_elves_qb4", "wh2_dlc15_hef_mage_beasts"},
{"wizard", "wh2_main_hef_high_elves_qb4", "wh2_dlc15_hef_mage_death"},
{"wizard", "wh2_main_hef_high_elves_qb4", "wh2_dlc15_hef_mage_fire"},
{"wizard", "wh2_main_hef_high_elves_qb4", "wh2_dlc15_hef_mage_metal"},
{"wizard", "wh2_main_hef_high_elves_qb4", "wh2_main_hef_mage_high"},
{"wizard", "wh2_main_hef_high_elves_qb4", "wh2_main_hef_mage_life"},
{"wizard", "wh2_main_hef_high_elves_qb4", "wh2_main_hef_mage_light"},
{"champion", "wh2_main_hef_high_elves_rebels", "wh2_main_hef_noble"},
{"colonel", "wh2_main_hef_high_elves_rebels", "wh2_main_hef_prince"},
{"dignitary", "wh2_main_hef_high_elves_rebels", "wh2_dlc10_hef_handmaiden"},
{"engineer", "wh2_main_hef_high_elves_rebels", "default"},
{"general", "wh2_main_hef_high_elves_rebels", "wh2_dlc15_hef_archmage_beasts"},
{"general", "wh2_main_hef_high_elves_rebels", "wh2_dlc15_hef_archmage_death"},
{"general", "wh2_main_hef_high_elves_rebels", "wh2_dlc15_hef_archmage_fire"},
{"general", "wh2_main_hef_high_elves_rebels", "wh2_dlc15_hef_archmage_heavens"},
{"general", "wh2_main_hef_high_elves_rebels", "wh2_dlc15_hef_archmage_high"},
{"general", "wh2_main_hef_high_elves_rebels", "wh2_dlc15_hef_archmage_life"},
{"general", "wh2_main_hef_high_elves_rebels", "wh2_dlc15_hef_archmage_light"},
{"general", "wh2_main_hef_high_elves_rebels", "wh2_dlc15_hef_archmage_metal"},
{"general", "wh2_main_hef_high_elves_rebels", "wh2_dlc15_hef_archmage_shadows"},
{"general", "wh2_main_hef_high_elves_rebels", "wh2_main_hef_prince"},
{"general", "wh2_main_hef_high_elves_rebels", "wh2_main_hef_princess"},
{"minister", "wh2_main_hef_high_elves_rebels", "default"},
{"runesmith", "wh2_main_hef_high_elves_rebels", "wh2_main_hef_loremaster_of_hoeth"},
{"wizard", "wh2_main_hef_high_elves_rebels", "wh2_dlc10_hef_mage_heavens"},
{"wizard", "wh2_main_hef_high_elves_rebels", "wh2_dlc10_hef_mage_shadows"},
{"wizard", "wh2_main_hef_high_elves_rebels", "wh2_dlc15_hef_mage_beasts"},
{"wizard", "wh2_main_hef_high_elves_rebels", "wh2_dlc15_hef_mage_death"},
{"wizard", "wh2_main_hef_high_elves_rebels", "wh2_dlc15_hef_mage_fire"},
{"wizard", "wh2_main_hef_high_elves_rebels", "wh2_dlc15_hef_mage_metal"},
{"wizard", "wh2_main_hef_high_elves_rebels", "wh2_main_hef_mage_high"},
{"wizard", "wh2_main_hef_high_elves_rebels", "wh2_main_hef_mage_life"},
{"wizard", "wh2_main_hef_high_elves_rebels", "wh2_main_hef_mage_light"},
{"champion", "wh2_main_hef_high_elves", "wh2_main_hef_noble"},
{"colonel", "wh2_main_hef_high_elves", "wh2_main_hef_prince"},
{"dignitary", "wh2_main_hef_high_elves", "wh2_dlc10_hef_handmaiden"},
{"engineer", "wh2_main_hef_high_elves", "default"},
{"general", "wh2_main_hef_high_elves", "wh2_dlc15_hef_archmage_beasts"},
{"general", "wh2_main_hef_high_elves", "wh2_dlc15_hef_archmage_death"},
{"general", "wh2_main_hef_high_elves", "wh2_dlc15_hef_archmage_fire"},
{"general", "wh2_main_hef_high_elves", "wh2_dlc15_hef_archmage_heavens"},
{"general", "wh2_main_hef_high_elves", "wh2_dlc15_hef_archmage_high"},
{"general", "wh2_main_hef_high_elves", "wh2_dlc15_hef_archmage_life"},
{"general", "wh2_main_hef_high_elves", "wh2_dlc15_hef_archmage_light"},
{"general", "wh2_main_hef_high_elves", "wh2_dlc15_hef_archmage_metal"},
{"general", "wh2_main_hef_high_elves", "wh2_dlc15_hef_archmage_shadows"},
{"general", "wh2_main_hef_high_elves", "wh2_main_hef_prince"},
{"general", "wh2_main_hef_high_elves", "wh2_main_hef_princess"},
{"general", "wh2_main_hef_high_elves", "wh2_main_hef_teclis"},
{"general", "wh2_main_hef_high_elves", "wh2_main_hef_tyrion"},
{"minister", "wh2_main_hef_high_elves", "default"},
{"runesmith", "wh2_main_hef_high_elves", "wh2_main_hef_loremaster_of_hoeth"},
{"wizard", "wh2_main_hef_high_elves", "wh2_dlc10_hef_mage_heavens"},
{"wizard", "wh2_main_hef_high_elves", "wh2_dlc10_hef_mage_shadows"},
{"wizard", "wh2_main_hef_high_elves", "wh2_dlc15_hef_mage_beasts"},
{"wizard", "wh2_main_hef_high_elves", "wh2_dlc15_hef_mage_death"},
{"wizard", "wh2_main_hef_high_elves", "wh2_dlc15_hef_mage_fire"},
{"wizard", "wh2_main_hef_high_elves", "wh2_dlc15_hef_mage_metal"},
{"wizard", "wh2_main_hef_high_elves", "wh2_main_hef_mage_high"},
{"wizard", "wh2_main_hef_high_elves", "wh2_main_hef_mage_life"},
{"wizard", "wh2_main_hef_high_elves", "wh2_main_hef_mage_light"},
{"champion", "wh2_main_hef_nagarythe", "wh2_main_hef_noble"},
{"colonel", "wh2_main_hef_nagarythe", "wh2_main_hef_prince"},
{"dignitary", "wh2_main_hef_nagarythe", "wh2_dlc10_hef_handmaiden"},
{"engineer", "wh2_main_hef_nagarythe", "default"},
{"general", "wh2_main_hef_nagarythe", "wh2_dlc10_hef_alith_anar"},
{"general", "wh2_main_hef_nagarythe", "wh2_dlc15_hef_archmage_beasts"},
{"general", "wh2_main_hef_nagarythe", "wh2_dlc15_hef_archmage_death"},
{"general", "wh2_main_hef_nagarythe", "wh2_dlc15_hef_archmage_fire"},
{"general", "wh2_main_hef_nagarythe", "wh2_dlc15_hef_archmage_heavens"},
{"general", "wh2_main_hef_nagarythe", "wh2_dlc15_hef_archmage_high"},
{"general", "wh2_main_hef_nagarythe", "wh2_dlc15_hef_archmage_life"},
{"general", "wh2_main_hef_nagarythe", "wh2_dlc15_hef_archmage_light"},
{"general", "wh2_main_hef_nagarythe", "wh2_dlc15_hef_archmage_metal"},
{"general", "wh2_main_hef_nagarythe", "wh2_dlc15_hef_archmage_shadows"},
{"general", "wh2_main_hef_nagarythe", "wh2_main_hef_prince"},
{"general", "wh2_main_hef_nagarythe", "wh2_main_hef_princess"},
{"minister", "wh2_main_hef_nagarythe", "default"},
{"runesmith", "wh2_main_hef_nagarythe", "wh2_main_hef_loremaster_of_hoeth"},
{"spy", "wh2_main_hef_nagarythe", "wh2_dlc10_hef_shadow_walker"},
{"wizard", "wh2_main_hef_nagarythe", "wh2_dlc10_hef_mage_heavens"},
{"wizard", "wh2_main_hef_nagarythe", "wh2_dlc10_hef_mage_shadows"},
{"wizard", "wh2_main_hef_nagarythe", "wh2_dlc15_hef_mage_beasts"},
{"wizard", "wh2_main_hef_nagarythe", "wh2_dlc15_hef_mage_death"},
{"wizard", "wh2_main_hef_nagarythe", "wh2_dlc15_hef_mage_fire"},
{"wizard", "wh2_main_hef_nagarythe", "wh2_dlc15_hef_mage_metal"},
{"wizard", "wh2_main_hef_nagarythe", "wh2_main_hef_mage_high"},
{"wizard", "wh2_main_hef_nagarythe", "wh2_main_hef_mage_life"},
{"wizard", "wh2_main_hef_nagarythe", "wh2_main_hef_mage_light"},
{"champion", "wh2_main_hef_order_of_loremasters", "wh2_main_hef_noble"},
{"colonel", "wh2_main_hef_order_of_loremasters", "wh2_main_hef_prince"},
{"dignitary", "wh2_main_hef_order_of_loremasters", "wh2_dlc10_hef_handmaiden"},
{"engineer", "wh2_main_hef_order_of_loremasters", "default"},
{"general", "wh2_main_hef_order_of_loremasters", "wh2_dlc15_hef_archmage_beasts"},
{"general", "wh2_main_hef_order_of_loremasters", "wh2_dlc15_hef_archmage_death"},
{"general", "wh2_main_hef_order_of_loremasters", "wh2_dlc15_hef_archmage_fire"},
{"general", "wh2_main_hef_order_of_loremasters", "wh2_dlc15_hef_archmage_heavens"},
{"general", "wh2_main_hef_order_of_loremasters", "wh2_dlc15_hef_archmage_high"},
{"general", "wh2_main_hef_order_of_loremasters", "wh2_dlc15_hef_archmage_life"},
{"general", "wh2_main_hef_order_of_loremasters", "wh2_dlc15_hef_archmage_light"},
{"general", "wh2_main_hef_order_of_loremasters", "wh2_dlc15_hef_archmage_metal"},
{"general", "wh2_main_hef_order_of_loremasters", "wh2_dlc15_hef_archmage_shadows"},
{"general", "wh2_main_hef_order_of_loremasters", "wh2_main_hef_prince"},
{"general", "wh2_main_hef_order_of_loremasters", "wh2_main_hef_princess"},
{"general", "wh2_main_hef_order_of_loremasters", "wh2_main_hef_teclis"},
{"minister", "wh2_main_hef_order_of_loremasters", "default"},
{"runesmith", "wh2_main_hef_order_of_loremasters", "wh2_main_hef_loremaster_of_hoeth"},
{"wizard", "wh2_main_hef_order_of_loremasters", "wh2_dlc10_hef_mage_heavens"},
{"wizard", "wh2_main_hef_order_of_loremasters", "wh2_dlc10_hef_mage_shadows"},
{"wizard", "wh2_main_hef_order_of_loremasters", "wh2_dlc15_hef_mage_beasts"},
{"wizard", "wh2_main_hef_order_of_loremasters", "wh2_dlc15_hef_mage_death"},
{"wizard", "wh2_main_hef_order_of_loremasters", "wh2_dlc15_hef_mage_fire"},
{"wizard", "wh2_main_hef_order_of_loremasters", "wh2_dlc15_hef_mage_metal"},
{"wizard", "wh2_main_hef_order_of_loremasters", "wh2_main_hef_mage_high"},
{"wizard", "wh2_main_hef_order_of_loremasters", "wh2_main_hef_mage_life"},
{"wizard", "wh2_main_hef_order_of_loremasters", "wh2_main_hef_mage_light"},
{"champion", "wh2_main_hef_saphery", "wh2_main_hef_noble"},
{"colonel", "wh2_main_hef_saphery", "wh2_main_hef_prince"},
{"dignitary", "wh2_main_hef_saphery", "wh2_dlc10_hef_handmaiden"},
{"engineer", "wh2_main_hef_saphery", "default"},
{"general", "wh2_main_hef_saphery", "wh2_dlc15_hef_archmage_beasts"},
{"general", "wh2_main_hef_saphery", "wh2_dlc15_hef_archmage_death"},
{"general", "wh2_main_hef_saphery", "wh2_dlc15_hef_archmage_fire"},
{"general", "wh2_main_hef_saphery", "wh2_dlc15_hef_archmage_heavens"},
{"general", "wh2_main_hef_saphery", "wh2_dlc15_hef_archmage_high"},
{"general", "wh2_main_hef_saphery", "wh2_dlc15_hef_archmage_life"},
{"general", "wh2_main_hef_saphery", "wh2_dlc15_hef_archmage_light"},
{"general", "wh2_main_hef_saphery", "wh2_dlc15_hef_archmage_metal"},
{"general", "wh2_main_hef_saphery", "wh2_dlc15_hef_archmage_shadows"},
{"general", "wh2_main_hef_saphery", "wh2_main_hef_prince"},
{"general", "wh2_main_hef_saphery", "wh2_main_hef_princess"},
{"minister", "wh2_main_hef_saphery", "default"},
{"runesmith", "wh2_main_hef_saphery", "wh2_main_hef_loremaster_of_hoeth"},
{"wizard", "wh2_main_hef_saphery", "wh2_dlc10_hef_mage_heavens"},
{"wizard", "wh2_main_hef_saphery", "wh2_dlc10_hef_mage_shadows"},
{"wizard", "wh2_main_hef_saphery", "wh2_dlc15_hef_mage_beasts"},
{"wizard", "wh2_main_hef_saphery", "wh2_dlc15_hef_mage_death"},
{"wizard", "wh2_main_hef_saphery", "wh2_dlc15_hef_mage_fire"},
{"wizard", "wh2_main_hef_saphery", "wh2_dlc15_hef_mage_metal"},
{"wizard", "wh2_main_hef_saphery", "wh2_main_hef_mage_high"},
{"wizard", "wh2_main_hef_saphery", "wh2_main_hef_mage_life"},
{"wizard", "wh2_main_hef_saphery", "wh2_main_hef_mage_light"},
{"champion", "wh2_main_hef_tiranoc", "wh2_main_hef_noble"},
{"colonel", "wh2_main_hef_tiranoc", "wh2_main_hef_prince"},
{"dignitary", "wh2_main_hef_tiranoc", "wh2_dlc10_hef_handmaiden"},
{"engineer", "wh2_main_hef_tiranoc", "default"},
{"general", "wh2_main_hef_tiranoc", "wh2_dlc15_hef_archmage_beasts"},
{"general", "wh2_main_hef_tiranoc", "wh2_dlc15_hef_archmage_death"},
{"general", "wh2_main_hef_tiranoc", "wh2_dlc15_hef_archmage_fire"},
{"general", "wh2_main_hef_tiranoc", "wh2_dlc15_hef_archmage_heavens"},
{"general", "wh2_main_hef_tiranoc", "wh2_dlc15_hef_archmage_high"},
{"general", "wh2_main_hef_tiranoc", "wh2_dlc15_hef_archmage_life"},
{"general", "wh2_main_hef_tiranoc", "wh2_dlc15_hef_archmage_light"},
{"general", "wh2_main_hef_tiranoc", "wh2_dlc15_hef_archmage_metal"},
{"general", "wh2_main_hef_tiranoc", "wh2_dlc15_hef_archmage_shadows"},
{"general", "wh2_main_hef_tiranoc", "wh2_main_hef_prince"},
{"general", "wh2_main_hef_tiranoc", "wh2_main_hef_princess"},
{"minister", "wh2_main_hef_tiranoc", "default"},
{"runesmith", "wh2_main_hef_tiranoc", "wh2_main_hef_loremaster_of_hoeth"},
{"wizard", "wh2_main_hef_tiranoc", "wh2_dlc10_hef_mage_heavens"},
{"wizard", "wh2_main_hef_tiranoc", "wh2_dlc10_hef_mage_shadows"},
{"wizard", "wh2_main_hef_tiranoc", "wh2_dlc15_hef_mage_beasts"},
{"wizard", "wh2_main_hef_tiranoc", "wh2_dlc15_hef_mage_death"},
{"wizard", "wh2_main_hef_tiranoc", "wh2_dlc15_hef_mage_fire"},
{"wizard", "wh2_main_hef_tiranoc", "wh2_dlc15_hef_mage_metal"},
{"wizard", "wh2_main_hef_tiranoc", "wh2_main_hef_mage_high"},
{"wizard", "wh2_main_hef_tiranoc", "wh2_main_hef_mage_life"},
{"wizard", "wh2_main_hef_tiranoc", "wh2_main_hef_mage_light"},
{"champion", "wh2_main_hef_tor_elasor", "wh2_main_hef_noble"},
{"colonel", "wh2_main_hef_tor_elasor", "wh2_main_hef_prince"},
{"dignitary", "wh2_main_hef_tor_elasor", "wh2_dlc10_hef_handmaiden"},
{"engineer", "wh2_main_hef_tor_elasor", "default"},
{"general", "wh2_main_hef_tor_elasor", "wh2_dlc15_hef_archmage_beasts"},
{"general", "wh2_main_hef_tor_elasor", "wh2_dlc15_hef_archmage_death"},
{"general", "wh2_main_hef_tor_elasor", "wh2_dlc15_hef_archmage_fire"},
{"general", "wh2_main_hef_tor_elasor", "wh2_dlc15_hef_archmage_heavens"},
{"general", "wh2_main_hef_tor_elasor", "wh2_dlc15_hef_archmage_high"},
{"general", "wh2_main_hef_tor_elasor", "wh2_dlc15_hef_archmage_life"},
{"general", "wh2_main_hef_tor_elasor", "wh2_dlc15_hef_archmage_light"},
{"general", "wh2_main_hef_tor_elasor", "wh2_dlc15_hef_archmage_metal"},
{"general", "wh2_main_hef_tor_elasor", "wh2_dlc15_hef_archmage_shadows"},
{"general", "wh2_main_hef_tor_elasor", "wh2_main_hef_prince"},
{"general", "wh2_main_hef_tor_elasor", "wh2_main_hef_princess"},
{"minister", "wh2_main_hef_tor_elasor", "default"},
{"runesmith", "wh2_main_hef_tor_elasor", "wh2_main_hef_loremaster_of_hoeth"},
{"wizard", "wh2_main_hef_tor_elasor", "wh2_dlc10_hef_mage_heavens"},
{"wizard", "wh2_main_hef_tor_elasor", "wh2_dlc10_hef_mage_shadows"},
{"wizard", "wh2_main_hef_tor_elasor", "wh2_dlc15_hef_mage_beasts"},
{"wizard", "wh2_main_hef_tor_elasor", "wh2_dlc15_hef_mage_death"},
{"wizard", "wh2_main_hef_tor_elasor", "wh2_dlc15_hef_mage_fire"},
{"wizard", "wh2_main_hef_tor_elasor", "wh2_dlc15_hef_mage_metal"},
{"wizard", "wh2_main_hef_tor_elasor", "wh2_main_hef_mage_high"},
{"wizard", "wh2_main_hef_tor_elasor", "wh2_main_hef_mage_life"},
{"wizard", "wh2_main_hef_tor_elasor", "wh2_main_hef_mage_light"},
{"champion", "wh2_main_hef_yvresse", "wh2_main_hef_noble"},
{"colonel", "wh2_main_hef_yvresse", "wh2_main_hef_prince"},
{"dignitary", "wh2_main_hef_yvresse", "wh2_dlc10_hef_handmaiden"},
{"engineer", "wh2_main_hef_yvresse", "default"},
{"general", "wh2_main_hef_yvresse", "wh2_dlc15_hef_archmage_beasts"},
{"general", "wh2_main_hef_yvresse", "wh2_dlc15_hef_archmage_death"},
{"general", "wh2_main_hef_yvresse", "wh2_dlc15_hef_archmage_fire"},
{"general", "wh2_main_hef_yvresse", "wh2_dlc15_hef_archmage_heavens"},
{"general", "wh2_main_hef_yvresse", "wh2_dlc15_hef_archmage_high"},
{"general", "wh2_main_hef_yvresse", "wh2_dlc15_hef_archmage_life"},
{"general", "wh2_main_hef_yvresse", "wh2_dlc15_hef_archmage_light"},
{"general", "wh2_main_hef_yvresse", "wh2_dlc15_hef_archmage_metal"},
{"general", "wh2_main_hef_yvresse", "wh2_dlc15_hef_archmage_shadows"},
{"general", "wh2_main_hef_yvresse", "wh2_dlc15_hef_eltharion"},
{"general", "wh2_main_hef_yvresse", "wh2_main_hef_prince"},
{"general", "wh2_main_hef_yvresse", "wh2_main_hef_princess"},
{"minister", "wh2_main_hef_yvresse", "default"},
{"runesmith", "wh2_main_hef_yvresse", "wh2_main_hef_loremaster_of_hoeth"},
{"wizard", "wh2_main_hef_yvresse", "wh2_dlc10_hef_mage_heavens"},
{"wizard", "wh2_main_hef_yvresse", "wh2_dlc10_hef_mage_shadows"},
{"wizard", "wh2_main_hef_yvresse", "wh2_dlc15_hef_mage_beasts"},
{"wizard", "wh2_main_hef_yvresse", "wh2_dlc15_hef_mage_death"},
{"wizard", "wh2_main_hef_yvresse", "wh2_dlc15_hef_mage_fire"},
{"wizard", "wh2_main_hef_yvresse", "wh2_dlc15_hef_mage_metal"},
{"wizard", "wh2_main_hef_yvresse", "wh2_main_hef_mage_high"},
{"wizard", "wh2_main_hef_yvresse", "wh2_main_hef_mage_life"},
{"wizard", "wh2_main_hef_yvresse", "wh2_main_hef_mage_light"},
{"champion", "wh2_main_lzd_hexoatl", "wh2_main_lzd_saurus_scar_veteran"},
{"colonel", "wh2_main_lzd_hexoatl", "wh2_main_lzd_saurus_old_blood"},
{"dignitary", "wh2_main_lzd_hexoatl", "default"},
{"engineer", "wh2_main_lzd_hexoatl", "default"},
{"general", "wh2_main_lzd_hexoatl", "wh2_dlc12_lzd_red_crested_skink_chief"},
{"general", "wh2_main_lzd_hexoatl", "wh2_dlc12_lzd_red_crested_skink_chief_legendary"},
{"general", "wh2_main_lzd_hexoatl", "wh2_dlc13_lzd_kroxigor_ancient"},
{"general", "wh2_main_lzd_hexoatl", "wh2_dlc13_lzd_slann_mage_priest_fire"},
{"general", "wh2_main_lzd_hexoatl", "wh2_dlc13_lzd_slann_mage_priest_fire_horde"},
{"general", "wh2_main_lzd_hexoatl", "wh2_dlc13_lzd_slann_mage_priest_high"},
{"general", "wh2_main_lzd_hexoatl", "wh2_dlc13_lzd_slann_mage_priest_high_horde"},
{"general", "wh2_main_lzd_hexoatl", "wh2_dlc13_lzd_slann_mage_priest_life"},
{"general", "wh2_main_lzd_hexoatl", "wh2_dlc13_lzd_slann_mage_priest_life_horde"},
{"general", "wh2_main_lzd_hexoatl", "wh2_main_lzd_lord_mazdamundi"},
{"general", "wh2_main_lzd_hexoatl", "wh2_main_lzd_saurus_old_blood"},
{"general", "wh2_main_lzd_hexoatl", "wh2_main_lzd_slann_mage_priest"},
{"general", "wh2_main_lzd_hexoatl", "wh2_main_lzd_slann_mage_priest_horde"},
{"minister", "wh2_main_lzd_hexoatl", "default"},
{"runesmith", "wh2_main_lzd_hexoatl", "default"},
{"spy", "wh2_main_lzd_hexoatl", "wh2_main_lzd_skink_chief"},
{"wizard", "wh2_main_lzd_hexoatl", "wh2_dlc12_lzd_lord_kroak"},
{"wizard", "wh2_main_lzd_hexoatl", "wh2_main_lzd_skink_priest_beasts"},
{"wizard", "wh2_main_lzd_hexoatl", "wh2_main_lzd_skink_priest_heavens"},
{"champion", "wh2_main_lzd_itza", "wh2_main_lzd_saurus_scar_veteran"},
{"colonel", "wh2_main_lzd_itza", "wh2_main_lzd_saurus_old_blood"},
{"dignitary", "wh2_main_lzd_itza", "default"},
{"engineer", "wh2_main_lzd_itza", "default"},
{"general", "wh2_main_lzd_itza", "wh2_dlc12_lzd_red_crested_skink_chief"},
{"general", "wh2_main_lzd_itza", "wh2_dlc12_lzd_red_crested_skink_chief_legendary"},
{"general", "wh2_main_lzd_itza", "wh2_dlc13_lzd_gor_rok"},
{"general", "wh2_main_lzd_itza", "wh2_dlc13_lzd_kroxigor_ancient"},
{"general", "wh2_main_lzd_itza", "wh2_dlc13_lzd_slann_mage_priest_fire"},
{"general", "wh2_main_lzd_itza", "wh2_dlc13_lzd_slann_mage_priest_fire_horde"},
{"general", "wh2_main_lzd_itza", "wh2_dlc13_lzd_slann_mage_priest_high"},
{"general", "wh2_main_lzd_itza", "wh2_dlc13_lzd_slann_mage_priest_high_horde"},
{"general", "wh2_main_lzd_itza", "wh2_dlc13_lzd_slann_mage_priest_life"},
{"general", "wh2_main_lzd_itza", "wh2_dlc13_lzd_slann_mage_priest_life_horde"},
{"general", "wh2_main_lzd_itza", "wh2_main_lzd_saurus_old_blood"},
{"general", "wh2_main_lzd_itza", "wh2_main_lzd_slann_mage_priest"},
{"general", "wh2_main_lzd_itza", "wh2_main_lzd_slann_mage_priest_horde"},
{"minister", "wh2_main_lzd_itza", "default"},
{"runesmith", "wh2_main_lzd_itza", "default"},
{"spy", "wh2_main_lzd_itza", "wh2_main_lzd_skink_chief"},
{"wizard", "wh2_main_lzd_itza", "wh2_dlc12_lzd_lord_kroak"},
{"wizard", "wh2_main_lzd_itza", "wh2_main_lzd_skink_priest_beasts"},
{"wizard", "wh2_main_lzd_itza", "wh2_main_lzd_skink_priest_heavens"},
{"champion", "wh2_main_lzd_last_defenders", "wh2_main_lzd_saurus_scar_veteran"},
{"colonel", "wh2_main_lzd_last_defenders", "wh2_main_lzd_saurus_old_blood"},
{"dignitary", "wh2_main_lzd_last_defenders", "default"},
{"engineer", "wh2_main_lzd_last_defenders", "default"},
{"general", "wh2_main_lzd_last_defenders", "wh2_dlc12_lzd_red_crested_skink_chief"},
{"general", "wh2_main_lzd_last_defenders", "wh2_dlc12_lzd_red_crested_skink_chief_legendary"},
{"general", "wh2_main_lzd_last_defenders", "wh2_dlc13_lzd_kroxigor_ancient"},
{"general", "wh2_main_lzd_last_defenders", "wh2_dlc13_lzd_slann_mage_priest_fire"},
{"general", "wh2_main_lzd_last_defenders", "wh2_dlc13_lzd_slann_mage_priest_fire_horde"},
{"general", "wh2_main_lzd_last_defenders", "wh2_dlc13_lzd_slann_mage_priest_high"},
{"general", "wh2_main_lzd_last_defenders", "wh2_dlc13_lzd_slann_mage_priest_high_horde"},
{"general", "wh2_main_lzd_last_defenders", "wh2_dlc13_lzd_slann_mage_priest_life"},
{"general", "wh2_main_lzd_last_defenders", "wh2_dlc13_lzd_slann_mage_priest_life_horde"},
{"general", "wh2_main_lzd_last_defenders", "wh2_main_lzd_kroq_gar"},
{"general", "wh2_main_lzd_last_defenders", "wh2_main_lzd_saurus_old_blood"},
{"general", "wh2_main_lzd_last_defenders", "wh2_main_lzd_slann_mage_priest"},
{"general", "wh2_main_lzd_last_defenders", "wh2_main_lzd_slann_mage_priest_horde"},
{"minister", "wh2_main_lzd_last_defenders", "default"},
{"runesmith", "wh2_main_lzd_last_defenders", "default"},
{"spy", "wh2_main_lzd_last_defenders", "wh2_main_lzd_skink_chief"},
{"wizard", "wh2_main_lzd_last_defenders", "wh2_dlc12_lzd_lord_kroak"},
{"wizard", "wh2_main_lzd_last_defenders", "wh2_main_lzd_skink_priest_beasts"},
{"wizard", "wh2_main_lzd_last_defenders", "wh2_main_lzd_skink_priest_heavens"},
{"champion", "wh2_main_lzd_lizardmen_intervention", "wh2_main_lzd_saurus_scar_veteran"},
{"colonel", "wh2_main_lzd_lizardmen_intervention", "wh2_main_lzd_saurus_old_blood"},
{"dignitary", "wh2_main_lzd_lizardmen_intervention", "default"},
{"engineer", "wh2_main_lzd_lizardmen_intervention", "default"},
{"general", "wh2_main_lzd_lizardmen_intervention", "wh2_dlc12_lzd_red_crested_skink_chief"},
{"general", "wh2_main_lzd_lizardmen_intervention", "wh2_dlc12_lzd_red_crested_skink_chief_legendary"},
{"general", "wh2_main_lzd_lizardmen_intervention", "wh2_dlc13_lzd_kroxigor_ancient"},
{"general", "wh2_main_lzd_lizardmen_intervention", "wh2_dlc13_lzd_slann_mage_priest_fire"},
{"general", "wh2_main_lzd_lizardmen_intervention", "wh2_dlc13_lzd_slann_mage_priest_high"},
{"general", "wh2_main_lzd_lizardmen_intervention", "wh2_dlc13_lzd_slann_mage_priest_life"},
{"general", "wh2_main_lzd_lizardmen_intervention", "wh2_main_lzd_saurus_old_blood"},
{"general", "wh2_main_lzd_lizardmen_intervention", "wh2_main_lzd_slann_mage_priest"},
{"minister", "wh2_main_lzd_lizardmen_intervention", "default"},
{"runesmith", "wh2_main_lzd_lizardmen_intervention", "default"},
{"spy", "wh2_main_lzd_lizardmen_intervention", "wh2_main_lzd_skink_chief"},
{"wizard", "wh2_main_lzd_lizardmen_intervention", "wh2_main_lzd_skink_priest_beasts"},
{"wizard", "wh2_main_lzd_lizardmen_intervention", "wh2_main_lzd_skink_priest_heavens"},
{"champion", "wh2_main_lzd_lizardmen_qb1", "wh2_main_lzd_saurus_scar_veteran"},
{"colonel", "wh2_main_lzd_lizardmen_qb1", "wh2_main_lzd_saurus_old_blood"},
{"dignitary", "wh2_main_lzd_lizardmen_qb1", "default"},
{"engineer", "wh2_main_lzd_lizardmen_qb1", "default"},
{"general", "wh2_main_lzd_lizardmen_qb1", "wh2_dlc10_lzd_mon_carnosaur_boss"},
{"general", "wh2_main_lzd_lizardmen_qb1", "wh2_dlc12_lzd_red_crested_skink_chief"},
{"general", "wh2_main_lzd_lizardmen_qb1", "wh2_dlc12_lzd_red_crested_skink_chief_legendary"},
{"general", "wh2_main_lzd_lizardmen_qb1", "wh2_dlc13_lzd_kroxigor_ancient"},
{"general", "wh2_main_lzd_lizardmen_qb1", "wh2_dlc13_lzd_slann_mage_priest_fire"},
{"general", "wh2_main_lzd_lizardmen_qb1", "wh2_dlc13_lzd_slann_mage_priest_high"},
{"general", "wh2_main_lzd_lizardmen_qb1", "wh2_dlc13_lzd_slann_mage_priest_life"},
{"general", "wh2_main_lzd_lizardmen_qb1", "wh2_dlc15_hef_star_dragon_boss_imrik"},
{"general", "wh2_main_lzd_lizardmen_qb1", "wh2_main_lzd_kroq_gar"},
{"general", "wh2_main_lzd_lizardmen_qb1", "wh2_main_lzd_lord_mazdamundi"},
{"general", "wh2_main_lzd_lizardmen_qb1", "wh2_main_lzd_saurus_old_blood"},
{"general", "wh2_main_lzd_lizardmen_qb1", "wh2_main_lzd_slann_mage_priest"},
{"minister", "wh2_main_lzd_lizardmen_qb1", "default"},
{"runesmith", "wh2_main_lzd_lizardmen_qb1", "default"},
{"spy", "wh2_main_lzd_lizardmen_qb1", "wh2_main_lzd_skink_chief"},
{"wizard", "wh2_main_lzd_lizardmen_qb1", "wh2_main_lzd_skink_priest_beasts"},
{"wizard", "wh2_main_lzd_lizardmen_qb1", "wh2_main_lzd_skink_priest_heavens"},
{"champion", "wh2_main_lzd_lizardmen_qb2", "wh2_main_lzd_saurus_scar_veteran"},
{"colonel", "wh2_main_lzd_lizardmen_qb2", "wh2_main_lzd_saurus_old_blood"},
{"dignitary", "wh2_main_lzd_lizardmen_qb2", "default"},
{"engineer", "wh2_main_lzd_lizardmen_qb2", "default"},
{"general", "wh2_main_lzd_lizardmen_qb2", "wh2_dlc12_lzd_red_crested_skink_chief"},
{"general", "wh2_main_lzd_lizardmen_qb2", "wh2_dlc12_lzd_red_crested_skink_chief_legendary"},
{"general", "wh2_main_lzd_lizardmen_qb2", "wh2_dlc13_lzd_kroxigor_ancient"},
{"general", "wh2_main_lzd_lizardmen_qb2", "wh2_dlc13_lzd_slann_mage_priest_fire"},
{"general", "wh2_main_lzd_lizardmen_qb2", "wh2_dlc13_lzd_slann_mage_priest_high"},
{"general", "wh2_main_lzd_lizardmen_qb2", "wh2_dlc13_lzd_slann_mage_priest_life"},
{"general", "wh2_main_lzd_lizardmen_qb2", "wh2_main_lzd_kroq_gar"},
{"general", "wh2_main_lzd_lizardmen_qb2", "wh2_main_lzd_lord_mazdamundi"},
{"general", "wh2_main_lzd_lizardmen_qb2", "wh2_main_lzd_saurus_old_blood"},
{"general", "wh2_main_lzd_lizardmen_qb2", "wh2_main_lzd_slann_mage_priest"},
{"minister", "wh2_main_lzd_lizardmen_qb2", "default"},
{"runesmith", "wh2_main_lzd_lizardmen_qb2", "default"},
{"spy", "wh2_main_lzd_lizardmen_qb2", "wh2_main_lzd_skink_chief"},
{"wizard", "wh2_main_lzd_lizardmen_qb2", "wh2_main_lzd_skink_priest_beasts"},
{"wizard", "wh2_main_lzd_lizardmen_qb2", "wh2_main_lzd_skink_priest_heavens"},
{"champion", "wh2_main_lzd_lizardmen_qb3", "wh2_main_lzd_saurus_scar_veteran"},
{"colonel", "wh2_main_lzd_lizardmen_qb3", "wh2_main_lzd_saurus_old_blood"},
{"dignitary", "wh2_main_lzd_lizardmen_qb3", "default"},
{"engineer", "wh2_main_lzd_lizardmen_qb3", "default"},
{"general", "wh2_main_lzd_lizardmen_qb3", "wh2_dlc12_lzd_red_crested_skink_chief"},
{"general", "wh2_main_lzd_lizardmen_qb3", "wh2_dlc12_lzd_red_crested_skink_chief_legendary"},
{"general", "wh2_main_lzd_lizardmen_qb3", "wh2_dlc13_lzd_kroxigor_ancient"},
{"general", "wh2_main_lzd_lizardmen_qb3", "wh2_dlc13_lzd_slann_mage_priest_fire"},
{"general", "wh2_main_lzd_lizardmen_qb3", "wh2_dlc13_lzd_slann_mage_priest_high"},
{"general", "wh2_main_lzd_lizardmen_qb3", "wh2_dlc13_lzd_slann_mage_priest_life"},
{"general", "wh2_main_lzd_lizardmen_qb3", "wh2_main_lzd_kroq_gar"},
{"general", "wh2_main_lzd_lizardmen_qb3", "wh2_main_lzd_lord_mazdamundi"},
{"general", "wh2_main_lzd_lizardmen_qb3", "wh2_main_lzd_saurus_old_blood"},
{"general", "wh2_main_lzd_lizardmen_qb3", "wh2_main_lzd_slann_mage_priest"},
{"minister", "wh2_main_lzd_lizardmen_qb3", "default"},
{"runesmith", "wh2_main_lzd_lizardmen_qb3", "default"},
{"spy", "wh2_main_lzd_lizardmen_qb3", "wh2_main_lzd_skink_chief"},
{"wizard", "wh2_main_lzd_lizardmen_qb3", "wh2_main_lzd_skink_priest_beasts"},
{"wizard", "wh2_main_lzd_lizardmen_qb3", "wh2_main_lzd_skink_priest_heavens"},
{"champion", "wh2_main_lzd_lizardmen_qb4", "wh2_main_lzd_saurus_scar_veteran"},
{"colonel", "wh2_main_lzd_lizardmen_qb4", "wh2_main_lzd_saurus_old_blood"},
{"dignitary", "wh2_main_lzd_lizardmen_qb4", "default"},
{"engineer", "wh2_main_lzd_lizardmen_qb4", "default"},
{"general", "wh2_main_lzd_lizardmen_qb4", "wh2_dlc12_lzd_red_crested_skink_chief"},
{"general", "wh2_main_lzd_lizardmen_qb4", "wh2_dlc12_lzd_red_crested_skink_chief_legendary"},
{"general", "wh2_main_lzd_lizardmen_qb4", "wh2_dlc13_lzd_kroxigor_ancient"},
{"general", "wh2_main_lzd_lizardmen_qb4", "wh2_dlc13_lzd_slann_mage_priest_fire"},
{"general", "wh2_main_lzd_lizardmen_qb4", "wh2_dlc13_lzd_slann_mage_priest_high"},
{"general", "wh2_main_lzd_lizardmen_qb4", "wh2_dlc13_lzd_slann_mage_priest_life"},
{"general", "wh2_main_lzd_lizardmen_qb4", "wh2_main_lzd_kroq_gar"},
{"general", "wh2_main_lzd_lizardmen_qb4", "wh2_main_lzd_lord_mazdamundi"},
{"general", "wh2_main_lzd_lizardmen_qb4", "wh2_main_lzd_saurus_old_blood"},
{"general", "wh2_main_lzd_lizardmen_qb4", "wh2_main_lzd_slann_mage_priest"},
{"minister", "wh2_main_lzd_lizardmen_qb4", "default"},
{"runesmith", "wh2_main_lzd_lizardmen_qb4", "default"},
{"spy", "wh2_main_lzd_lizardmen_qb4", "wh2_main_lzd_skink_chief"},
{"wizard", "wh2_main_lzd_lizardmen_qb4", "wh2_main_lzd_skink_priest_beasts"},
{"wizard", "wh2_main_lzd_lizardmen_qb4", "wh2_main_lzd_skink_priest_heavens"},
{"champion", "wh2_main_lzd_lizardmen_rebels", "wh2_main_lzd_saurus_scar_veteran"},
{"colonel", "wh2_main_lzd_lizardmen_rebels", "wh2_main_lzd_saurus_old_blood"},
{"dignitary", "wh2_main_lzd_lizardmen_rebels", "default"},
{"engineer", "wh2_main_lzd_lizardmen_rebels", "default"},
{"general", "wh2_main_lzd_lizardmen_rebels", "wh2_dlc12_lzd_red_crested_skink_chief"},
{"general", "wh2_main_lzd_lizardmen_rebels", "wh2_dlc12_lzd_red_crested_skink_chief_legendary"},
{"general", "wh2_main_lzd_lizardmen_rebels", "wh2_dlc13_lzd_kroxigor_ancient"},
{"general", "wh2_main_lzd_lizardmen_rebels", "wh2_dlc13_lzd_slann_mage_priest_fire"},
{"general", "wh2_main_lzd_lizardmen_rebels", "wh2_dlc13_lzd_slann_mage_priest_high"},
{"general", "wh2_main_lzd_lizardmen_rebels", "wh2_dlc13_lzd_slann_mage_priest_life"},
{"general", "wh2_main_lzd_lizardmen_rebels", "wh2_main_lzd_saurus_old_blood"},
{"general", "wh2_main_lzd_lizardmen_rebels", "wh2_main_lzd_slann_mage_priest"},
{"minister", "wh2_main_lzd_lizardmen_rebels", "default"},
{"runesmith", "wh2_main_lzd_lizardmen_rebels", "default"},
{"spy", "wh2_main_lzd_lizardmen_rebels", "wh2_main_lzd_skink_chief"},
{"wizard", "wh2_main_lzd_lizardmen_rebels", "wh2_main_lzd_skink_priest_beasts"},
{"wizard", "wh2_main_lzd_lizardmen_rebels", "wh2_main_lzd_skink_priest_heavens"},
{"champion", "wh2_main_lzd_lizardmen", "wh2_main_lzd_saurus_scar_veteran"},
{"colonel", "wh2_main_lzd_lizardmen", "wh2_main_lzd_saurus_old_blood"},
{"dignitary", "wh2_main_lzd_lizardmen", "default"},
{"engineer", "wh2_main_lzd_lizardmen", "default"},
{"general", "wh2_main_lzd_lizardmen", "wh2_dlc12_lzd_red_crested_skink_chief"},
{"general", "wh2_main_lzd_lizardmen", "wh2_dlc12_lzd_red_crested_skink_chief_legendary"},
{"general", "wh2_main_lzd_lizardmen", "wh2_dlc13_lzd_kroxigor_ancient"},
{"general", "wh2_main_lzd_lizardmen", "wh2_dlc13_lzd_slann_mage_priest_fire"},
{"general", "wh2_main_lzd_lizardmen", "wh2_dlc13_lzd_slann_mage_priest_fire_horde"},
{"general", "wh2_main_lzd_lizardmen", "wh2_dlc13_lzd_slann_mage_priest_high"},
{"general", "wh2_main_lzd_lizardmen", "wh2_dlc13_lzd_slann_mage_priest_high_horde"},
{"general", "wh2_main_lzd_lizardmen", "wh2_dlc13_lzd_slann_mage_priest_life"},
{"general", "wh2_main_lzd_lizardmen", "wh2_dlc13_lzd_slann_mage_priest_life_horde"},
{"general", "wh2_main_lzd_lizardmen", "wh2_main_lzd_kroq_gar"},
{"general", "wh2_main_lzd_lizardmen", "wh2_main_lzd_lord_mazdamundi"},
{"general", "wh2_main_lzd_lizardmen", "wh2_main_lzd_saurus_old_blood"},
{"general", "wh2_main_lzd_lizardmen", "wh2_main_lzd_slann_mage_priest"},
{"general", "wh2_main_lzd_lizardmen", "wh2_main_lzd_slann_mage_priest_horde"},
{"minister", "wh2_main_lzd_lizardmen", "default"},
{"runesmith", "wh2_main_lzd_lizardmen", "default"},
{"spy", "wh2_main_lzd_lizardmen", "wh2_main_lzd_skink_chief"},
{"wizard", "wh2_main_lzd_lizardmen", "wh2_main_lzd_skink_priest_beasts"},
{"wizard", "wh2_main_lzd_lizardmen", "wh2_main_lzd_skink_priest_heavens"},
{"champion", "wh2_main_lzd_sentinels_of_xeti", "wh2_main_lzd_saurus_scar_veteran"},
{"colonel", "wh2_main_lzd_sentinels_of_xeti", "wh2_main_lzd_saurus_old_blood"},
{"dignitary", "wh2_main_lzd_sentinels_of_xeti", "default"},
{"engineer", "wh2_main_lzd_sentinels_of_xeti", "default"},
{"general", "wh2_main_lzd_sentinels_of_xeti", "wh2_dlc12_lzd_red_crested_skink_chief"},
{"general", "wh2_main_lzd_sentinels_of_xeti", "wh2_dlc12_lzd_red_crested_skink_chief_legendary"},
{"general", "wh2_main_lzd_sentinels_of_xeti", "wh2_dlc13_lzd_kroxigor_ancient"},
{"general", "wh2_main_lzd_sentinels_of_xeti", "wh2_dlc13_lzd_slann_mage_priest_fire"},
{"general", "wh2_main_lzd_sentinels_of_xeti", "wh2_dlc13_lzd_slann_mage_priest_fire_horde"},
{"general", "wh2_main_lzd_sentinels_of_xeti", "wh2_dlc13_lzd_slann_mage_priest_high"},
{"general", "wh2_main_lzd_sentinels_of_xeti", "wh2_dlc13_lzd_slann_mage_priest_high_horde"},
{"general", "wh2_main_lzd_sentinels_of_xeti", "wh2_dlc13_lzd_slann_mage_priest_life"},
{"general", "wh2_main_lzd_sentinels_of_xeti", "wh2_dlc13_lzd_slann_mage_priest_life_horde"},
{"general", "wh2_main_lzd_sentinels_of_xeti", "wh2_main_lzd_saurus_old_blood"},
{"general", "wh2_main_lzd_sentinels_of_xeti", "wh2_main_lzd_slann_mage_priest"},
{"general", "wh2_main_lzd_sentinels_of_xeti", "wh2_main_lzd_slann_mage_priest_horde"},
{"minister", "wh2_main_lzd_sentinels_of_xeti", "default"},
{"runesmith", "wh2_main_lzd_sentinels_of_xeti", "default"},
{"spy", "wh2_main_lzd_sentinels_of_xeti", "wh2_main_lzd_skink_chief"},
{"wizard", "wh2_main_lzd_sentinels_of_xeti", "wh2_main_lzd_skink_priest_beasts"},
{"wizard", "wh2_main_lzd_sentinels_of_xeti", "wh2_main_lzd_skink_priest_heavens"},
{"champion", "wh2_main_lzd_southern_sentinels", "wh2_main_lzd_saurus_scar_veteran"},
{"colonel", "wh2_main_lzd_southern_sentinels", "wh2_main_lzd_saurus_old_blood"},
{"dignitary", "wh2_main_lzd_southern_sentinels", "default"},
{"engineer", "wh2_main_lzd_southern_sentinels", "default"},
{"general", "wh2_main_lzd_southern_sentinels", "wh2_dlc12_lzd_red_crested_skink_chief"},
{"general", "wh2_main_lzd_southern_sentinels", "wh2_dlc12_lzd_red_crested_skink_chief_legendary"},
{"general", "wh2_main_lzd_southern_sentinels", "wh2_dlc13_lzd_kroxigor_ancient"},
{"general", "wh2_main_lzd_southern_sentinels", "wh2_dlc13_lzd_slann_mage_priest_fire"},
{"general", "wh2_main_lzd_southern_sentinels", "wh2_dlc13_lzd_slann_mage_priest_fire_horde"},
{"general", "wh2_main_lzd_southern_sentinels", "wh2_dlc13_lzd_slann_mage_priest_high"},
{"general", "wh2_main_lzd_southern_sentinels", "wh2_dlc13_lzd_slann_mage_priest_high_horde"},
{"general", "wh2_main_lzd_southern_sentinels", "wh2_dlc13_lzd_slann_mage_priest_life"},
{"general", "wh2_main_lzd_southern_sentinels", "wh2_dlc13_lzd_slann_mage_priest_life_horde"},
{"general", "wh2_main_lzd_southern_sentinels", "wh2_main_lzd_saurus_old_blood"},
{"general", "wh2_main_lzd_southern_sentinels", "wh2_main_lzd_slann_mage_priest"},
{"general", "wh2_main_lzd_southern_sentinels", "wh2_main_lzd_slann_mage_priest_horde"},
{"minister", "wh2_main_lzd_southern_sentinels", "default"},
{"runesmith", "wh2_main_lzd_southern_sentinels", "default"},
{"spy", "wh2_main_lzd_southern_sentinels", "wh2_main_lzd_skink_chief"},
{"wizard", "wh2_main_lzd_southern_sentinels", "wh2_main_lzd_skink_priest_beasts"},
{"wizard", "wh2_main_lzd_southern_sentinels", "wh2_main_lzd_skink_priest_heavens"},
{"champion", "wh2_main_lzd_teotiqua", "wh2_main_lzd_saurus_scar_veteran"},
{"colonel", "wh2_main_lzd_teotiqua", "wh2_main_lzd_saurus_old_blood"},
{"dignitary", "wh2_main_lzd_teotiqua", "default"},
{"engineer", "wh2_main_lzd_teotiqua", "default"},
{"general", "wh2_main_lzd_teotiqua", "wh2_dlc12_lzd_red_crested_skink_chief"},
{"general", "wh2_main_lzd_teotiqua", "wh2_dlc12_lzd_red_crested_skink_chief_legendary"},
{"general", "wh2_main_lzd_teotiqua", "wh2_dlc13_lzd_kroxigor_ancient"},
{"general", "wh2_main_lzd_teotiqua", "wh2_dlc13_lzd_slann_mage_priest_fire"},
{"general", "wh2_main_lzd_teotiqua", "wh2_dlc13_lzd_slann_mage_priest_fire_horde"},
{"general", "wh2_main_lzd_teotiqua", "wh2_dlc13_lzd_slann_mage_priest_high"},
{"general", "wh2_main_lzd_teotiqua", "wh2_dlc13_lzd_slann_mage_priest_high_horde"},
{"general", "wh2_main_lzd_teotiqua", "wh2_dlc13_lzd_slann_mage_priest_life"},
{"general", "wh2_main_lzd_teotiqua", "wh2_dlc13_lzd_slann_mage_priest_life_horde"},
{"general", "wh2_main_lzd_teotiqua", "wh2_main_lzd_saurus_old_blood"},
{"general", "wh2_main_lzd_teotiqua", "wh2_main_lzd_slann_mage_priest"},
{"general", "wh2_main_lzd_teotiqua", "wh2_main_lzd_slann_mage_priest_horde"},
{"minister", "wh2_main_lzd_teotiqua", "default"},
{"runesmith", "wh2_main_lzd_teotiqua", "default"},
{"spy", "wh2_main_lzd_teotiqua", "wh2_main_lzd_skink_chief"},
{"wizard", "wh2_main_lzd_teotiqua", "wh2_main_lzd_skink_priest_beasts"},
{"wizard", "wh2_main_lzd_teotiqua", "wh2_main_lzd_skink_priest_heavens"},
{"champion", "wh2_main_lzd_tlaqua", "wh2_main_lzd_saurus_scar_veteran"},
{"colonel", "wh2_main_lzd_tlaqua", "wh2_main_lzd_saurus_old_blood"},
{"dignitary", "wh2_main_lzd_tlaqua", "default"},
{"engineer", "wh2_main_lzd_tlaqua", "default"},
{"general", "wh2_main_lzd_tlaqua", "wh2_dlc12_lzd_red_crested_skink_chief"},
{"general", "wh2_main_lzd_tlaqua", "wh2_dlc12_lzd_red_crested_skink_chief_legendary"},
{"general", "wh2_main_lzd_tlaqua", "wh2_dlc12_lzd_tiktaqto"},
{"general", "wh2_main_lzd_tlaqua", "wh2_dlc13_lzd_kroxigor_ancient"},
{"general", "wh2_main_lzd_tlaqua", "wh2_dlc13_lzd_slann_mage_priest_fire"},
{"general", "wh2_main_lzd_tlaqua", "wh2_dlc13_lzd_slann_mage_priest_fire_horde"},
{"general", "wh2_main_lzd_tlaqua", "wh2_dlc13_lzd_slann_mage_priest_high"},
{"general", "wh2_main_lzd_tlaqua", "wh2_dlc13_lzd_slann_mage_priest_high_horde"},
{"general", "wh2_main_lzd_tlaqua", "wh2_dlc13_lzd_slann_mage_priest_life"},
{"general", "wh2_main_lzd_tlaqua", "wh2_dlc13_lzd_slann_mage_priest_life_horde"},
{"general", "wh2_main_lzd_tlaqua", "wh2_main_lzd_saurus_old_blood"},
{"general", "wh2_main_lzd_tlaqua", "wh2_main_lzd_slann_mage_priest"},
{"general", "wh2_main_lzd_tlaqua", "wh2_main_lzd_slann_mage_priest_horde"},
{"minister", "wh2_main_lzd_tlaqua", "default"},
{"runesmith", "wh2_main_lzd_tlaqua", "default"},
{"spy", "wh2_main_lzd_tlaqua", "wh2_dlc12_lzd_tlaqua_skink_chief"},
{"wizard", "wh2_main_lzd_tlaqua", "wh2_dlc12_lzd_lord_kroak"},
{"wizard", "wh2_main_lzd_tlaqua", "wh2_dlc12_lzd_tlaqua_skink_priest_beasts"},
{"wizard", "wh2_main_lzd_tlaqua", "wh2_dlc12_lzd_tlaqua_skink_priest_heavens"},
{"champion", "wh2_main_lzd_tlaxtlan", "wh2_main_lzd_saurus_scar_veteran"},
{"colonel", "wh2_main_lzd_tlaxtlan", "wh2_main_lzd_saurus_old_blood"},
{"dignitary", "wh2_main_lzd_tlaxtlan", "default"},
{"engineer", "wh2_main_lzd_tlaxtlan", "default"},
{"general", "wh2_main_lzd_tlaxtlan", "wh2_dlc12_lzd_red_crested_skink_chief"},
{"general", "wh2_main_lzd_tlaxtlan", "wh2_dlc12_lzd_red_crested_skink_chief_legendary"},
{"general", "wh2_main_lzd_tlaxtlan", "wh2_dlc13_lzd_kroxigor_ancient"},
{"general", "wh2_main_lzd_tlaxtlan", "wh2_dlc13_lzd_slann_mage_priest_fire"},
{"general", "wh2_main_lzd_tlaxtlan", "wh2_dlc13_lzd_slann_mage_priest_fire_horde"},
{"general", "wh2_main_lzd_tlaxtlan", "wh2_dlc13_lzd_slann_mage_priest_high"},
{"general", "wh2_main_lzd_tlaxtlan", "wh2_dlc13_lzd_slann_mage_priest_high_horde"},
{"general", "wh2_main_lzd_tlaxtlan", "wh2_dlc13_lzd_slann_mage_priest_life"},
{"general", "wh2_main_lzd_tlaxtlan", "wh2_dlc13_lzd_slann_mage_priest_life_horde"},
{"general", "wh2_main_lzd_tlaxtlan", "wh2_main_lzd_saurus_old_blood"},
{"general", "wh2_main_lzd_tlaxtlan", "wh2_main_lzd_slann_mage_priest"},
{"general", "wh2_main_lzd_tlaxtlan", "wh2_main_lzd_slann_mage_priest_horde"},
{"minister", "wh2_main_lzd_tlaxtlan", "default"},
{"runesmith", "wh2_main_lzd_tlaxtlan", "default"},
{"spy", "wh2_main_lzd_tlaxtlan", "wh2_main_lzd_skink_chief"},
{"wizard", "wh2_main_lzd_tlaxtlan", "wh2_main_lzd_skink_priest_beasts"},
{"wizard", "wh2_main_lzd_tlaxtlan", "wh2_main_lzd_skink_priest_heavens"},
{"champion", "wh2_main_lzd_xlanhuapec", "wh2_main_lzd_saurus_scar_veteran"},
{"colonel", "wh2_main_lzd_xlanhuapec", "wh2_main_lzd_saurus_old_blood"},
{"dignitary", "wh2_main_lzd_xlanhuapec", "default"},
{"engineer", "wh2_main_lzd_xlanhuapec", "default"},
{"general", "wh2_main_lzd_xlanhuapec", "wh2_dlc12_lzd_red_crested_skink_chief"},
{"general", "wh2_main_lzd_xlanhuapec", "wh2_dlc12_lzd_red_crested_skink_chief_legendary"},
{"general", "wh2_main_lzd_xlanhuapec", "wh2_dlc13_lzd_kroxigor_ancient"},
{"general", "wh2_main_lzd_xlanhuapec", "wh2_dlc13_lzd_slann_mage_priest_fire"},
{"general", "wh2_main_lzd_xlanhuapec", "wh2_dlc13_lzd_slann_mage_priest_fire_horde"},
{"general", "wh2_main_lzd_xlanhuapec", "wh2_dlc13_lzd_slann_mage_priest_high"},
{"general", "wh2_main_lzd_xlanhuapec", "wh2_dlc13_lzd_slann_mage_priest_high_horde"},
{"general", "wh2_main_lzd_xlanhuapec", "wh2_dlc13_lzd_slann_mage_priest_life"},
{"general", "wh2_main_lzd_xlanhuapec", "wh2_dlc13_lzd_slann_mage_priest_life_horde"},
{"general", "wh2_main_lzd_xlanhuapec", "wh2_main_lzd_saurus_old_blood"},
{"general", "wh2_main_lzd_xlanhuapec", "wh2_main_lzd_slann_mage_priest"},
{"general", "wh2_main_lzd_xlanhuapec", "wh2_main_lzd_slann_mage_priest_horde"},
{"minister", "wh2_main_lzd_xlanhuapec", "default"},
{"runesmith", "wh2_main_lzd_xlanhuapec", "default"},
{"spy", "wh2_main_lzd_xlanhuapec", "wh2_main_lzd_skink_chief"},
{"wizard", "wh2_main_lzd_xlanhuapec", "wh2_main_lzd_skink_priest_beasts"},
{"wizard", "wh2_main_lzd_xlanhuapec", "wh2_main_lzd_skink_priest_heavens"},
{"champion", "wh2_main_lzd_zlatan", "wh2_main_lzd_saurus_scar_veteran"},
{"colonel", "wh2_main_lzd_zlatan", "wh2_main_lzd_saurus_old_blood"},
{"dignitary", "wh2_main_lzd_zlatan", "default"},
{"engineer", "wh2_main_lzd_zlatan", "default"},
{"general", "wh2_main_lzd_zlatan", "wh2_dlc12_lzd_red_crested_skink_chief"},
{"general", "wh2_main_lzd_zlatan", "wh2_dlc12_lzd_red_crested_skink_chief_legendary"},
{"general", "wh2_main_lzd_zlatan", "wh2_dlc13_lzd_kroxigor_ancient"},
{"general", "wh2_main_lzd_zlatan", "wh2_dlc13_lzd_slann_mage_priest_fire"},
{"general", "wh2_main_lzd_zlatan", "wh2_dlc13_lzd_slann_mage_priest_fire_horde"},
{"general", "wh2_main_lzd_zlatan", "wh2_dlc13_lzd_slann_mage_priest_high"},
{"general", "wh2_main_lzd_zlatan", "wh2_dlc13_lzd_slann_mage_priest_high_horde"},
{"general", "wh2_main_lzd_zlatan", "wh2_dlc13_lzd_slann_mage_priest_life"},
{"general", "wh2_main_lzd_zlatan", "wh2_dlc13_lzd_slann_mage_priest_life_horde"},
{"general", "wh2_main_lzd_zlatan", "wh2_main_lzd_saurus_old_blood"},
{"general", "wh2_main_lzd_zlatan", "wh2_main_lzd_slann_mage_priest"},
{"general", "wh2_main_lzd_zlatan", "wh2_main_lzd_slann_mage_priest_horde"},
{"minister", "wh2_main_lzd_zlatan", "default"},
{"runesmith", "wh2_main_lzd_zlatan", "default"},
{"spy", "wh2_main_lzd_zlatan", "wh2_main_lzd_skink_chief"},
{"wizard", "wh2_main_lzd_zlatan", "wh2_main_lzd_skink_priest_beasts"},
{"wizard", "wh2_main_lzd_zlatan", "wh2_main_lzd_skink_priest_heavens"},
{"champion", "wh2_main_nor_aghol", "wh_dlc08_nor_skin_wolf_werekin"},
{"colonel", "wh2_main_nor_aghol", "nor_marauder_chieftain"},
{"dignitary", "wh2_main_nor_aghol", "wh_dlc08_nor_fimir_balefiend_fire"},
{"dignitary", "wh2_main_nor_aghol", "wh_dlc08_nor_fimir_balefiend_shadow"},
{"engineer", "wh2_main_nor_aghol", "default"},
{"general", "wh2_main_nor_aghol", "nor_marauder_chieftain"},
{"minister", "wh2_main_nor_aghol", "default"},
{"runesmith", "wh2_main_nor_aghol", "default"},
{"spy", "wh2_main_nor_aghol", "default"},
{"wizard", "wh2_main_nor_aghol", "wh_dlc08_nor_shaman_sorcerer_death"},
{"wizard", "wh2_main_nor_aghol", "wh_dlc08_nor_shaman_sorcerer_fire"},
{"wizard", "wh2_main_nor_aghol", "wh_dlc08_nor_shaman_sorcerer_metal"},
{"champion", "wh2_main_nor_hung_incursion_def", "wh_dlc08_nor_skin_wolf_werekin"},
{"colonel", "wh2_main_nor_hung_incursion_def", "nor_marauder_chieftain"},
{"dignitary", "wh2_main_nor_hung_incursion_def", "wh_dlc08_nor_fimir_balefiend_fire"},
{"dignitary", "wh2_main_nor_hung_incursion_def", "wh_dlc08_nor_fimir_balefiend_shadow"},
{"engineer", "wh2_main_nor_hung_incursion_def", "default"},
{"general", "wh2_main_nor_hung_incursion_def", "nor_marauder_chieftain"},
{"minister", "wh2_main_nor_hung_incursion_def", "default"},
{"runesmith", "wh2_main_nor_hung_incursion_def", "default"},
{"spy", "wh2_main_nor_hung_incursion_def", "default"},
{"wizard", "wh2_main_nor_hung_incursion_def", "wh_dlc08_nor_shaman_sorcerer_death"},
{"wizard", "wh2_main_nor_hung_incursion_def", "wh_dlc08_nor_shaman_sorcerer_fire"},
{"wizard", "wh2_main_nor_hung_incursion_def", "wh_dlc08_nor_shaman_sorcerer_metal"},
{"champion", "wh2_main_nor_hung_incursion_hef", "wh_dlc08_nor_skin_wolf_werekin"},
{"colonel", "wh2_main_nor_hung_incursion_hef", "nor_marauder_chieftain"},
{"dignitary", "wh2_main_nor_hung_incursion_hef", "wh_dlc08_nor_fimir_balefiend_fire"},
{"dignitary", "wh2_main_nor_hung_incursion_hef", "wh_dlc08_nor_fimir_balefiend_shadow"},
{"engineer", "wh2_main_nor_hung_incursion_hef", "default"},
{"general", "wh2_main_nor_hung_incursion_hef", "nor_marauder_chieftain"},
{"minister", "wh2_main_nor_hung_incursion_hef", "default"},
{"runesmith", "wh2_main_nor_hung_incursion_hef", "default"},
{"spy", "wh2_main_nor_hung_incursion_hef", "default"},
{"wizard", "wh2_main_nor_hung_incursion_hef", "wh_dlc08_nor_shaman_sorcerer_death"},
{"wizard", "wh2_main_nor_hung_incursion_hef", "wh_dlc08_nor_shaman_sorcerer_fire"},
{"wizard", "wh2_main_nor_hung_incursion_hef", "wh_dlc08_nor_shaman_sorcerer_metal"},
{"champion", "wh2_main_nor_hung_incursion_lzd", "wh_dlc08_nor_skin_wolf_werekin"},
{"colonel", "wh2_main_nor_hung_incursion_lzd", "nor_marauder_chieftain"},
{"dignitary", "wh2_main_nor_hung_incursion_lzd", "wh_dlc08_nor_fimir_balefiend_fire"},
{"dignitary", "wh2_main_nor_hung_incursion_lzd", "wh_dlc08_nor_fimir_balefiend_shadow"},
{"engineer", "wh2_main_nor_hung_incursion_lzd", "default"},
{"general", "wh2_main_nor_hung_incursion_lzd", "nor_marauder_chieftain"},
{"minister", "wh2_main_nor_hung_incursion_lzd", "default"},
{"runesmith", "wh2_main_nor_hung_incursion_lzd", "default"},
{"spy", "wh2_main_nor_hung_incursion_lzd", "default"},
{"wizard", "wh2_main_nor_hung_incursion_lzd", "wh_dlc08_nor_shaman_sorcerer_death"},
{"wizard", "wh2_main_nor_hung_incursion_lzd", "wh_dlc08_nor_shaman_sorcerer_fire"},
{"wizard", "wh2_main_nor_hung_incursion_lzd", "wh_dlc08_nor_shaman_sorcerer_metal"},
{"champion", "wh2_main_nor_hung_incursion_skv", "wh_dlc08_nor_skin_wolf_werekin"},
{"colonel", "wh2_main_nor_hung_incursion_skv", "nor_marauder_chieftain"},
{"dignitary", "wh2_main_nor_hung_incursion_skv", "wh_dlc08_nor_fimir_balefiend_fire"},
{"dignitary", "wh2_main_nor_hung_incursion_skv", "wh_dlc08_nor_fimir_balefiend_shadow"},
{"engineer", "wh2_main_nor_hung_incursion_skv", "default"},
{"general", "wh2_main_nor_hung_incursion_skv", "nor_marauder_chieftain"},
{"minister", "wh2_main_nor_hung_incursion_skv", "default"},
{"runesmith", "wh2_main_nor_hung_incursion_skv", "default"},
{"spy", "wh2_main_nor_hung_incursion_skv", "default"},
{"wizard", "wh2_main_nor_hung_incursion_skv", "wh_dlc08_nor_shaman_sorcerer_death"},
{"wizard", "wh2_main_nor_hung_incursion_skv", "wh_dlc08_nor_shaman_sorcerer_fire"},
{"wizard", "wh2_main_nor_hung_incursion_skv", "wh_dlc08_nor_shaman_sorcerer_metal"},
{"champion", "wh2_main_nor_mung", "wh_dlc08_nor_skin_wolf_werekin"},
{"colonel", "wh2_main_nor_mung", "nor_marauder_chieftain"},
{"dignitary", "wh2_main_nor_mung", "wh_dlc08_nor_fimir_balefiend_fire"},
{"dignitary", "wh2_main_nor_mung", "wh_dlc08_nor_fimir_balefiend_shadow"},
{"engineer", "wh2_main_nor_mung", "default"},
{"general", "wh2_main_nor_mung", "nor_marauder_chieftain"},
{"minister", "wh2_main_nor_mung", "default"},
{"runesmith", "wh2_main_nor_mung", "default"},
{"spy", "wh2_main_nor_mung", "default"},
{"wizard", "wh2_main_nor_mung", "wh_dlc08_nor_shaman_sorcerer_death"},
{"wizard", "wh2_main_nor_mung", "wh_dlc08_nor_shaman_sorcerer_fire"},
{"wizard", "wh2_main_nor_mung", "wh_dlc08_nor_shaman_sorcerer_metal"},
{"champion", "wh2_main_nor_skeggi", "wh_dlc08_nor_skin_wolf_werekin"},
{"colonel", "wh2_main_nor_skeggi", "nor_marauder_chieftain"},
{"dignitary", "wh2_main_nor_skeggi", "wh_dlc08_nor_fimir_balefiend_fire"},
{"dignitary", "wh2_main_nor_skeggi", "wh_dlc08_nor_fimir_balefiend_shadow"},
{"engineer", "wh2_main_nor_skeggi", "default"},
{"general", "wh2_main_nor_skeggi", "nor_marauder_chieftain"},
{"minister", "wh2_main_nor_skeggi", "default"},
{"runesmith", "wh2_main_nor_skeggi", "default"},
{"spy", "wh2_main_nor_skeggi", "default"},
{"wizard", "wh2_main_nor_skeggi", "wh_dlc08_nor_shaman_sorcerer_death"},
{"wizard", "wh2_main_nor_skeggi", "wh_dlc08_nor_shaman_sorcerer_fire"},
{"wizard", "wh2_main_nor_skeggi", "wh_dlc08_nor_shaman_sorcerer_metal"},
{"colonel", "wh2_main_rogue_abominations", "chs_lord"},
{"general", "wh2_main_rogue_abominations", "chs_lord"},
{"general", "wh2_main_rogue_abominations", "dlc03_bst_beastlord"},
{"colonel", "wh2_main_rogue_beastcatchas", "grn_goblin_great_shaman"},
{"general", "wh2_main_rogue_beastcatchas", "grn_goblin_great_shaman"},
{"colonel", "wh2_main_rogue_bernhoffs_brigands", "emp_lord"},
{"general", "wh2_main_rogue_bernhoffs_brigands", "emp_lord"},
{"colonel", "wh2_main_rogue_black_spider_tribe", "grn_goblin_great_shaman"},
{"general", "wh2_main_rogue_black_spider_tribe", "grn_goblin_great_shaman"},
{"colonel", "wh2_main_rogue_boneclubbers_tribe", "grn_orc_warboss"},
{"general", "wh2_main_rogue_boneclubbers_tribe", "grn_orc_warboss"},
{"colonel", "wh2_main_rogue_celestial_storm", "wh2_main_lzd_saurus_old_blood"},
{"general", "wh2_main_rogue_celestial_storm", "wh2_main_lzd_saurus_old_blood"},
{"colonel", "wh2_main_rogue_college_of_pyrotechnics", "emp_lord"},
{"general", "wh2_main_rogue_college_of_pyrotechnics", "emp_lord"},
{"colonel", "wh2_main_rogue_def_chs_vashnaar", "wh2_main_def_dreadlord"},
{"general", "wh2_main_rogue_def_chs_vashnaar", "chs_lord"},
{"general", "wh2_main_rogue_def_chs_vashnaar", "wh2_main_def_dreadlord"},
{"general", "wh2_main_rogue_def_chs_vashnaar", "wh2_main_def_dreadlord_fem"},
{"colonel", "wh2_main_rogue_def_mengils_manflayers", "wh2_main_def_dreadlord"},
{"general", "wh2_main_rogue_def_mengils_manflayers", "wh2_dlc14_def_high_beastmaster"},
{"general", "wh2_main_rogue_def_mengils_manflayers", "wh2_main_def_dreadlord"},
{"general", "wh2_main_rogue_def_mengils_manflayers", "wh2_main_def_dreadlord_fem"},
{"colonel", "wh2_main_rogue_doomseekers_qb1", "dwf_lord"},
{"general", "wh2_main_rogue_doomseekers_qb1", "dwf_lord"},
{"colonel", "wh2_main_rogue_doomseekers", "dwf_lord"},
{"general", "wh2_main_rogue_doomseekers", "dwf_lord"},
{"colonel", "wh2_main_rogue_gerhardts_mercenaries_qb1", "emp_lord"},
{"general", "wh2_main_rogue_gerhardts_mercenaries_qb1", "emp_lord"},
{"colonel", "wh2_main_rogue_gerhardts_mercenaries", "emp_lord"},
{"general", "wh2_main_rogue_gerhardts_mercenaries", "emp_lord"},
{"colonel", "wh2_main_rogue_hef_tor_elithis", "wh2_main_hef_prince"},
{"general", "wh2_main_rogue_hef_tor_elithis", "wh2_main_hef_prince"},
{"colonel", "wh2_main_rogue_hung_warband", "nor_marauder_chieftain"},
{"general", "wh2_main_rogue_hung_warband", "nor_marauder_chieftain"},
{"colonel", "wh2_main_rogue_jerrods_errantry", "brt_lord"},
{"general", "wh2_main_rogue_jerrods_errantry", "brt_lord"},
{"colonel", "wh2_main_rogue_mangy_houndz", "dlc06_grn_night_goblin_warboss"},
{"general", "wh2_main_rogue_mangy_houndz", "dlc06_grn_night_goblin_warboss"},
{"colonel", "wh2_main_rogue_morrsliebs_howlers", "wh2_main_skv_warlord"},
{"general", "wh2_main_rogue_morrsliebs_howlers", "wh2_main_skv_warlord"},
{"colonel", "wh2_main_rogue_pirates_of_the_far_sea", "emp_lord"},
{"general", "wh2_main_rogue_pirates_of_the_far_sea", "emp_lord"},
{"colonel", "wh2_main_rogue_pirates_of_the_southern_ocean", "emp_lord"},
{"general", "wh2_main_rogue_pirates_of_the_southern_ocean", "emp_lord"},
{"colonel", "wh2_main_rogue_pirates_of_trantio", "emp_lord"},
{"general", "wh2_main_rogue_pirates_of_trantio", "emp_lord"},
{"colonel", "wh2_main_rogue_scions_of_tesseninck", "emp_lord"},
{"general", "wh2_main_rogue_scions_of_tesseninck", "emp_lord"},
{"colonel", "wh2_main_rogue_scourge_of_aquitaine", "vmp_lord"},
{"general", "wh2_main_rogue_scourge_of_aquitaine", "vmp_lord"},
{"colonel", "wh2_main_rogue_stuff_snatchers", "dlc06_grn_night_goblin_warboss"},
{"general", "wh2_main_rogue_stuff_snatchers", "dlc06_grn_night_goblin_warboss"},
{"colonel", "wh2_main_rogue_teef_snatchaz", "dlc06_grn_night_goblin_warboss"},
{"general", "wh2_main_rogue_teef_snatchaz", "dlc06_grn_night_goblin_warboss"},
{"general", "wh2_main_rogue_teef_snatchaz", "grn_goblin_great_shaman"},
{"general", "wh2_main_rogue_teef_snatchaz", "grn_orc_warboss"},
{"colonel", "wh2_main_rogue_the_wandering_dead", "vmp_master_necromancer"},
{"general", "wh2_main_rogue_the_wandering_dead", "vmp_master_necromancer"},
{"colonel", "wh2_main_rogue_troll_skullz", "grn_orc_warboss"},
{"general", "wh2_main_rogue_troll_skullz", "grn_orc_warboss"},
{"colonel", "wh2_main_rogue_vauls_expedition", "wh2_main_hef_prince"},
{"general", "wh2_main_rogue_vauls_expedition", "wh2_main_hef_prince"},
{"general", "wh2_main_rogue_vauls_expedition", "wh2_main_hef_princess"},
{"colonel", "wh2_main_rogue_vmp_heirs_of_mourkain", "dlc04_vmp_strigoi_ghoul_king"},
{"general", "wh2_main_rogue_vmp_heirs_of_mourkain", "dlc04_vmp_strigoi_ghoul_king"},
{"colonel", "wh2_main_rogue_wef_hunters_of_kurnous", "dlc05_wef_glade_lord"},
{"general", "wh2_main_rogue_wef_hunters_of_kurnous", "dlc05_wef_glade_lord"},
{"colonel", "wh2_main_rogue_worldroot_rangers", "dlc05_wef_glade_lord"},
{"general", "wh2_main_rogue_worldroot_rangers", "dlc05_wef_ancient_treeman"},
{"general", "wh2_main_rogue_worldroot_rangers", "dlc05_wef_glade_lord"},
{"general", "wh2_main_rogue_worldroot_rangers", "dlc05_wef_glade_lord_fem"},
{"champion", "wh2_main_skv_clan_eshin_separatists", "default"},
{"colonel", "wh2_main_skv_clan_eshin_separatists", "wh2_main_skv_warlord"},
{"dignitary", "wh2_main_skv_clan_eshin_separatists", "default"},
{"engineer", "wh2_main_skv_clan_eshin_separatists", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_main_skv_clan_eshin_separatists", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_main_skv_clan_eshin_separatists", "wh2_dlc09_skv_tretch_craventail"},
{"general", "wh2_main_skv_clan_eshin_separatists", "wh2_dlc12_skv_warlock_master"},
{"general", "wh2_main_skv_clan_eshin_separatists", "wh2_dlc14_skv_master_assassin"},
{"general", "wh2_main_skv_clan_eshin_separatists", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_main_skv_clan_eshin_separatists", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_main_skv_clan_eshin_separatists", "wh2_main_skv_queek_headtaker"},
{"general", "wh2_main_skv_clan_eshin_separatists", "wh2_main_skv_warlord"},
{"minister", "wh2_main_skv_clan_eshin_separatists", "default"},
{"runesmith", "wh2_main_skv_clan_eshin_separatists", "default"},
{"spy", "wh2_main_skv_clan_eshin_separatists", "wh2_main_skv_assassin"},
{"wizard", "wh2_main_skv_clan_eshin_separatists", "wh2_dlc14_skv_eshin_sorcerer"},
{"wizard", "wh2_main_skv_clan_eshin_separatists", "wh2_main_skv_plague_priest"},
{"wizard", "wh2_main_skv_clan_eshin_separatists", "wh2_main_skv_plague_priest_ritual"},
{"champion", "wh2_main_skv_clan_eshin", "default"},
{"colonel", "wh2_main_skv_clan_eshin", "wh2_main_skv_warlord"},
{"dignitary", "wh2_main_skv_clan_eshin", "default"},
{"engineer", "wh2_main_skv_clan_eshin", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_main_skv_clan_eshin", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_main_skv_clan_eshin", "wh2_dlc12_skv_warlock_master"},
{"general", "wh2_main_skv_clan_eshin", "wh2_dlc14_skv_deathmaster_snikch"},
{"general", "wh2_main_skv_clan_eshin", "wh2_dlc14_skv_master_assassin"},
{"general", "wh2_main_skv_clan_eshin", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_main_skv_clan_eshin", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_main_skv_clan_eshin", "wh2_main_skv_warlord"},
{"minister", "wh2_main_skv_clan_eshin", "default"},
{"runesmith", "wh2_main_skv_clan_eshin", "default"},
{"spy", "wh2_main_skv_clan_eshin", "wh2_main_skv_assassin"},
{"wizard", "wh2_main_skv_clan_eshin", "wh2_dlc14_skv_eshin_sorcerer"},
{"wizard", "wh2_main_skv_clan_eshin", "wh2_main_skv_plague_priest"},
{"wizard", "wh2_main_skv_clan_eshin", "wh2_main_skv_plague_priest_ritual"},
{"champion", "wh2_main_skv_clan_gnaw", "default"},
{"colonel", "wh2_main_skv_clan_gnaw", "wh2_main_skv_warlord"},
{"dignitary", "wh2_main_skv_clan_gnaw", "default"},
{"engineer", "wh2_main_skv_clan_gnaw", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_main_skv_clan_gnaw", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_main_skv_clan_gnaw", "wh2_dlc12_skv_warlock_master"},
{"general", "wh2_main_skv_clan_gnaw", "wh2_dlc14_skv_master_assassin"},
{"general", "wh2_main_skv_clan_gnaw", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_main_skv_clan_gnaw", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_main_skv_clan_gnaw", "wh2_main_skv_warlord"},
{"minister", "wh2_main_skv_clan_gnaw", "default"},
{"runesmith", "wh2_main_skv_clan_gnaw", "default"},
{"spy", "wh2_main_skv_clan_gnaw", "wh2_main_skv_assassin"},
{"wizard", "wh2_main_skv_clan_gnaw", "wh2_dlc14_skv_eshin_sorcerer"},
{"wizard", "wh2_main_skv_clan_gnaw", "wh2_main_skv_plague_priest"},
{"wizard", "wh2_main_skv_clan_gnaw", "wh2_main_skv_plague_priest_ritual"},
{"champion", "wh2_main_skv_clan_mordkin", "default"},
{"colonel", "wh2_main_skv_clan_mordkin", "wh2_main_skv_warlord"},
{"dignitary", "wh2_main_skv_clan_mordkin", "default"},
{"engineer", "wh2_main_skv_clan_mordkin", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_main_skv_clan_mordkin", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_main_skv_clan_mordkin", "wh2_dlc12_skv_warlock_master"},
{"general", "wh2_main_skv_clan_mordkin", "wh2_dlc14_skv_master_assassin"},
{"general", "wh2_main_skv_clan_mordkin", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_main_skv_clan_mordkin", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_main_skv_clan_mordkin", "wh2_main_skv_warlord"},
{"minister", "wh2_main_skv_clan_mordkin", "default"},
{"runesmith", "wh2_main_skv_clan_mordkin", "default"},
{"spy", "wh2_main_skv_clan_mordkin", "wh2_main_skv_assassin"},
{"wizard", "wh2_main_skv_clan_mordkin", "wh2_dlc14_skv_eshin_sorcerer"},
{"wizard", "wh2_main_skv_clan_mordkin", "wh2_main_skv_plague_priest"},
{"wizard", "wh2_main_skv_clan_mordkin", "wh2_main_skv_plague_priest_ritual"},
{"champion", "wh2_main_skv_clan_mors_separatists", "default"},
{"colonel", "wh2_main_skv_clan_mors_separatists", "wh2_main_skv_warlord"},
{"dignitary", "wh2_main_skv_clan_mors_separatists", "default"},
{"engineer", "wh2_main_skv_clan_mors_separatists", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_main_skv_clan_mors_separatists", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_main_skv_clan_mors_separatists", "wh2_dlc09_skv_tretch_craventail"},
{"general", "wh2_main_skv_clan_mors_separatists", "wh2_dlc12_skv_warlock_master"},
{"general", "wh2_main_skv_clan_mors_separatists", "wh2_dlc14_skv_master_assassin"},
{"general", "wh2_main_skv_clan_mors_separatists", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_main_skv_clan_mors_separatists", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_main_skv_clan_mors_separatists", "wh2_main_skv_queek_headtaker"},
{"general", "wh2_main_skv_clan_mors_separatists", "wh2_main_skv_warlord"},
{"minister", "wh2_main_skv_clan_mors_separatists", "default"},
{"runesmith", "wh2_main_skv_clan_mors_separatists", "default"},
{"spy", "wh2_main_skv_clan_mors_separatists", "wh2_main_skv_assassin"},
{"wizard", "wh2_main_skv_clan_mors_separatists", "wh2_dlc14_skv_eshin_sorcerer"},
{"wizard", "wh2_main_skv_clan_mors_separatists", "wh2_main_skv_plague_priest"},
{"wizard", "wh2_main_skv_clan_mors_separatists", "wh2_main_skv_plague_priest_ritual"},
{"champion", "wh2_main_skv_clan_mors", "default"},
{"colonel", "wh2_main_skv_clan_mors", "wh2_main_skv_warlord"},
{"dignitary", "wh2_main_skv_clan_mors", "default"},
{"engineer", "wh2_main_skv_clan_mors", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_main_skv_clan_mors", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_main_skv_clan_mors", "wh2_dlc09_skv_tretch_craventail"},
{"general", "wh2_main_skv_clan_mors", "wh2_dlc12_skv_warlock_master"},
{"general", "wh2_main_skv_clan_mors", "wh2_dlc14_skv_master_assassin"},
{"general", "wh2_main_skv_clan_mors", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_main_skv_clan_mors", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_main_skv_clan_mors", "wh2_main_skv_queek_headtaker"},
{"general", "wh2_main_skv_clan_mors", "wh2_main_skv_warlord"},
{"minister", "wh2_main_skv_clan_mors", "default"},
{"runesmith", "wh2_main_skv_clan_mors", "default"},
{"spy", "wh2_main_skv_clan_mors", "wh2_main_skv_assassin"},
{"wizard", "wh2_main_skv_clan_mors", "wh2_dlc14_skv_eshin_sorcerer"},
{"wizard", "wh2_main_skv_clan_mors", "wh2_main_skv_plague_priest"},
{"wizard", "wh2_main_skv_clan_mors", "wh2_main_skv_plague_priest_ritual"},
{"champion", "wh2_main_skv_clan_moulder", "default"},
{"colonel", "wh2_main_skv_clan_moulder", "wh2_main_skv_warlord"},
{"dignitary", "wh2_main_skv_clan_moulder", "default"},
{"engineer", "wh2_main_skv_clan_moulder", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_main_skv_clan_moulder", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_main_skv_clan_moulder", "wh2_dlc12_skv_warlock_master"},
{"general", "wh2_main_skv_clan_moulder", "wh2_dlc14_skv_master_assassin"},
{"general", "wh2_main_skv_clan_moulder", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_main_skv_clan_moulder", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_main_skv_clan_moulder", "wh2_main_skv_warlord"},
{"minister", "wh2_main_skv_clan_moulder", "default"},
{"runesmith", "wh2_main_skv_clan_moulder", "default"},
{"spy", "wh2_main_skv_clan_moulder", "wh2_main_skv_assassin"},
{"wizard", "wh2_main_skv_clan_moulder", "wh2_dlc14_skv_eshin_sorcerer"},
{"wizard", "wh2_main_skv_clan_moulder", "wh2_main_skv_plague_priest"},
{"wizard", "wh2_main_skv_clan_moulder", "wh2_main_skv_plague_priest_ritual"},
{"champion", "wh2_main_skv_clan_pestilens_separatists", "default"},
{"colonel", "wh2_main_skv_clan_pestilens_separatists", "wh2_main_skv_warlord"},
{"dignitary", "wh2_main_skv_clan_pestilens_separatists", "default"},
{"engineer", "wh2_main_skv_clan_pestilens_separatists", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_main_skv_clan_pestilens_separatists", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_main_skv_clan_pestilens_separatists", "wh2_dlc12_skv_warlock_master"},
{"general", "wh2_main_skv_clan_pestilens_separatists", "wh2_dlc14_skv_master_assassin"},
{"general", "wh2_main_skv_clan_pestilens_separatists", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_main_skv_clan_pestilens_separatists", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_main_skv_clan_pestilens_separatists", "wh2_main_skv_lord_skrolk"},
{"general", "wh2_main_skv_clan_pestilens_separatists", "wh2_main_skv_warlord"},
{"minister", "wh2_main_skv_clan_pestilens_separatists", "default"},
{"runesmith", "wh2_main_skv_clan_pestilens_separatists", "default"},
{"spy", "wh2_main_skv_clan_pestilens_separatists", "wh2_main_skv_assassin"},
{"wizard", "wh2_main_skv_clan_pestilens_separatists", "wh2_dlc14_skv_eshin_sorcerer"},
{"wizard", "wh2_main_skv_clan_pestilens_separatists", "wh2_main_skv_plague_priest"},
{"wizard", "wh2_main_skv_clan_pestilens_separatists", "wh2_main_skv_plague_priest_ritual"},
{"champion", "wh2_main_skv_clan_pestilens", "default"},
{"colonel", "wh2_main_skv_clan_pestilens", "wh2_main_skv_warlord"},
{"dignitary", "wh2_main_skv_clan_pestilens", "default"},
{"engineer", "wh2_main_skv_clan_pestilens", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_main_skv_clan_pestilens", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_main_skv_clan_pestilens", "wh2_dlc12_skv_warlock_master"},
{"general", "wh2_main_skv_clan_pestilens", "wh2_dlc14_skv_master_assassin"},
{"general", "wh2_main_skv_clan_pestilens", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_main_skv_clan_pestilens", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_main_skv_clan_pestilens", "wh2_main_skv_lord_skrolk"},
{"general", "wh2_main_skv_clan_pestilens", "wh2_main_skv_warlord"},
{"minister", "wh2_main_skv_clan_pestilens", "default"},
{"runesmith", "wh2_main_skv_clan_pestilens", "default"},
{"spy", "wh2_main_skv_clan_pestilens", "wh2_main_skv_assassin"},
{"wizard", "wh2_main_skv_clan_pestilens", "wh2_dlc14_skv_eshin_sorcerer"},
{"wizard", "wh2_main_skv_clan_pestilens", "wh2_main_skv_plague_priest"},
{"wizard", "wh2_main_skv_clan_pestilens", "wh2_main_skv_plague_priest_ritual"},
{"champion", "wh2_main_skv_clan_septik", "default"},
{"colonel", "wh2_main_skv_clan_septik", "wh2_main_skv_warlord"},
{"dignitary", "wh2_main_skv_clan_septik", "default"},
{"engineer", "wh2_main_skv_clan_septik", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_main_skv_clan_septik", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_main_skv_clan_septik", "wh2_dlc12_skv_warlock_master"},
{"general", "wh2_main_skv_clan_septik", "wh2_dlc14_skv_master_assassin"},
{"general", "wh2_main_skv_clan_septik", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_main_skv_clan_septik", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_main_skv_clan_septik", "wh2_main_skv_warlord"},
{"minister", "wh2_main_skv_clan_septik", "default"},
{"runesmith", "wh2_main_skv_clan_septik", "default"},
{"spy", "wh2_main_skv_clan_septik", "wh2_main_skv_assassin"},
{"wizard", "wh2_main_skv_clan_septik", "wh2_dlc14_skv_eshin_sorcerer"},
{"wizard", "wh2_main_skv_clan_septik", "wh2_main_skv_plague_priest"},
{"wizard", "wh2_main_skv_clan_septik", "wh2_main_skv_plague_priest_ritual"},
{"champion", "wh2_main_skv_clan_skryre_separatists", "default"},
{"colonel", "wh2_main_skv_clan_skryre_separatists", "wh2_main_skv_warlord"},
{"dignitary", "wh2_main_skv_clan_skryre_separatists", "default"},
{"engineer", "wh2_main_skv_clan_skryre_separatists", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_main_skv_clan_skryre_separatists", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_main_skv_clan_skryre_separatists", "wh2_dlc09_skv_tretch_craventail"},
{"general", "wh2_main_skv_clan_skryre_separatists", "wh2_dlc12_skv_warlock_master"},
{"general", "wh2_main_skv_clan_skryre_separatists", "wh2_dlc14_skv_master_assassin"},
{"general", "wh2_main_skv_clan_skryre_separatists", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_main_skv_clan_skryre_separatists", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_main_skv_clan_skryre_separatists", "wh2_main_skv_queek_headtaker"},
{"general", "wh2_main_skv_clan_skryre_separatists", "wh2_main_skv_warlord"},
{"minister", "wh2_main_skv_clan_skryre_separatists", "default"},
{"runesmith", "wh2_main_skv_clan_skryre_separatists", "default"},
{"spy", "wh2_main_skv_clan_skryre_separatists", "wh2_main_skv_assassin"},
{"wizard", "wh2_main_skv_clan_skryre_separatists", "wh2_dlc14_skv_eshin_sorcerer"},
{"wizard", "wh2_main_skv_clan_skryre_separatists", "wh2_main_skv_plague_priest"},
{"wizard", "wh2_main_skv_clan_skryre_separatists", "wh2_main_skv_plague_priest_ritual"},
{"champion", "wh2_main_skv_clan_skyre", "default"},
{"colonel", "wh2_main_skv_clan_skyre", "wh2_main_skv_warlord"},
{"dignitary", "wh2_main_skv_clan_skyre", "default"},
{"engineer", "wh2_main_skv_clan_skyre", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_main_skv_clan_skyre", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_main_skv_clan_skyre", "wh2_dlc12_skv_ikit_claw"},
{"general", "wh2_main_skv_clan_skyre", "wh2_dlc12_skv_warlock_master"},
{"general", "wh2_main_skv_clan_skyre", "wh2_dlc14_skv_master_assassin"},
{"general", "wh2_main_skv_clan_skyre", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_main_skv_clan_skyre", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_main_skv_clan_skyre", "wh2_main_skv_warlord"},
{"minister", "wh2_main_skv_clan_skyre", "default"},
{"runesmith", "wh2_main_skv_clan_skyre", "default"},
{"spy", "wh2_main_skv_clan_skyre", "wh2_main_skv_assassin"},
{"wizard", "wh2_main_skv_clan_skyre", "wh2_dlc14_skv_eshin_sorcerer"},
{"wizard", "wh2_main_skv_clan_skyre", "wh2_main_skv_plague_priest"},
{"wizard", "wh2_main_skv_clan_skyre", "wh2_main_skv_plague_priest_ritual"},
{"champion", "wh2_main_skv_clan_spittel", "default"},
{"colonel", "wh2_main_skv_clan_spittel", "wh2_main_skv_warlord"},
{"dignitary", "wh2_main_skv_clan_spittel", "default"},
{"engineer", "wh2_main_skv_clan_spittel", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_main_skv_clan_spittel", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_main_skv_clan_spittel", "wh2_dlc12_skv_warlock_master"},
{"general", "wh2_main_skv_clan_spittel", "wh2_dlc14_skv_master_assassin"},
{"general", "wh2_main_skv_clan_spittel", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_main_skv_clan_spittel", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_main_skv_clan_spittel", "wh2_main_skv_warlord"},
{"minister", "wh2_main_skv_clan_spittel", "default"},
{"runesmith", "wh2_main_skv_clan_spittel", "default"},
{"spy", "wh2_main_skv_clan_spittel", "wh2_main_skv_assassin"},
{"wizard", "wh2_main_skv_clan_spittel", "wh2_dlc14_skv_eshin_sorcerer"},
{"wizard", "wh2_main_skv_clan_spittel", "wh2_main_skv_plague_priest"},
{"wizard", "wh2_main_skv_clan_spittel", "wh2_main_skv_plague_priest_ritual"},
{"champion", "wh2_main_skv_grey_seer_clan", "default"},
{"colonel", "wh2_main_skv_grey_seer_clan", "wh2_main_skv_warlord"},
{"dignitary", "wh2_main_skv_grey_seer_clan", "default"},
{"engineer", "wh2_main_skv_grey_seer_clan", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_main_skv_grey_seer_clan", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_main_skv_grey_seer_clan", "wh2_dlc09_skv_tretch_craventail"},
{"general", "wh2_main_skv_grey_seer_clan", "wh2_dlc12_skv_warlock_master"},
{"general", "wh2_main_skv_grey_seer_clan", "wh2_dlc14_skv_master_assassin"},
{"general", "wh2_main_skv_grey_seer_clan", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_main_skv_grey_seer_clan", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_main_skv_grey_seer_clan", "wh2_main_skv_lord_skrolk"},
{"general", "wh2_main_skv_grey_seer_clan", "wh2_main_skv_queek_headtaker"},
{"general", "wh2_main_skv_grey_seer_clan", "wh2_main_skv_warlord"},
{"minister", "wh2_main_skv_grey_seer_clan", "default"},
{"runesmith", "wh2_main_skv_grey_seer_clan", "default"},
{"spy", "wh2_main_skv_grey_seer_clan", "wh2_main_skv_assassin"},
{"wizard", "wh2_main_skv_grey_seer_clan", "wh2_dlc14_skv_eshin_sorcerer"},
{"wizard", "wh2_main_skv_grey_seer_clan", "wh2_main_skv_plague_priest"},
{"wizard", "wh2_main_skv_grey_seer_clan", "wh2_main_skv_plague_priest_ritual"},
{"champion", "wh2_main_skv_skaven_intervention", "default"},
{"colonel", "wh2_main_skv_skaven_intervention", "wh2_main_skv_warlord"},
{"dignitary", "wh2_main_skv_skaven_intervention", "default"},
{"engineer", "wh2_main_skv_skaven_intervention", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_main_skv_skaven_intervention", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_main_skv_skaven_intervention", "wh2_dlc12_skv_warlock_master"},
{"general", "wh2_main_skv_skaven_intervention", "wh2_dlc14_skv_master_assassin"},
{"general", "wh2_main_skv_skaven_intervention", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_main_skv_skaven_intervention", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_main_skv_skaven_intervention", "wh2_main_skv_warlord"},
{"minister", "wh2_main_skv_skaven_intervention", "default"},
{"runesmith", "wh2_main_skv_skaven_intervention", "default"},
{"spy", "wh2_main_skv_skaven_intervention", "wh2_main_skv_assassin"},
{"wizard", "wh2_main_skv_skaven_intervention", "wh2_dlc14_skv_eshin_sorcerer"},
{"wizard", "wh2_main_skv_skaven_intervention", "wh2_main_skv_plague_priest"},
{"wizard", "wh2_main_skv_skaven_intervention", "wh2_main_skv_plague_priest_ritual"},
{"champion", "wh2_main_skv_skaven_qb1", "default"},
{"colonel", "wh2_main_skv_skaven_qb1", "wh2_main_skv_warlord"},
{"dignitary", "wh2_main_skv_skaven_qb1", "default"},
{"engineer", "wh2_main_skv_skaven_qb1", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_main_skv_skaven_qb1", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_main_skv_skaven_qb1", "wh2_dlc09_skv_tretch_craventail"},
{"general", "wh2_main_skv_skaven_qb1", "wh2_dlc12_skv_warlock_master"},
{"general", "wh2_main_skv_skaven_qb1", "wh2_dlc14_skv_master_assassin"},
{"general", "wh2_main_skv_skaven_qb1", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_main_skv_skaven_qb1", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_main_skv_skaven_qb1", "wh2_main_skv_lord_skrolk"},
{"general", "wh2_main_skv_skaven_qb1", "wh2_main_skv_queek_headtaker"},
{"general", "wh2_main_skv_skaven_qb1", "wh2_main_skv_warlord"},
{"minister", "wh2_main_skv_skaven_qb1", "default"},
{"runesmith", "wh2_main_skv_skaven_qb1", "default"},
{"spy", "wh2_main_skv_skaven_qb1", "wh2_main_skv_assassin"},
{"wizard", "wh2_main_skv_skaven_qb1", "wh2_dlc14_skv_eshin_sorcerer"},
{"wizard", "wh2_main_skv_skaven_qb1", "wh2_main_skv_plague_priest"},
{"wizard", "wh2_main_skv_skaven_qb1", "wh2_main_skv_plague_priest_ritual"},
{"champion", "wh2_main_skv_skaven_qb2", "default"},
{"colonel", "wh2_main_skv_skaven_qb2", "wh2_main_skv_warlord"},
{"dignitary", "wh2_main_skv_skaven_qb2", "default"},
{"engineer", "wh2_main_skv_skaven_qb2", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_main_skv_skaven_qb2", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_main_skv_skaven_qb2", "wh2_dlc09_skv_tretch_craventail"},
{"general", "wh2_main_skv_skaven_qb2", "wh2_dlc12_skv_warlock_master"},
{"general", "wh2_main_skv_skaven_qb2", "wh2_dlc14_skv_master_assassin"},
{"general", "wh2_main_skv_skaven_qb2", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_main_skv_skaven_qb2", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_main_skv_skaven_qb2", "wh2_main_skv_lord_skrolk"},
{"general", "wh2_main_skv_skaven_qb2", "wh2_main_skv_queek_headtaker"},
{"general", "wh2_main_skv_skaven_qb2", "wh2_main_skv_warlord"},
{"minister", "wh2_main_skv_skaven_qb2", "default"},
{"runesmith", "wh2_main_skv_skaven_qb2", "default"},
{"spy", "wh2_main_skv_skaven_qb2", "wh2_main_skv_assassin"},
{"wizard", "wh2_main_skv_skaven_qb2", "wh2_dlc14_skv_eshin_sorcerer"},
{"wizard", "wh2_main_skv_skaven_qb2", "wh2_main_skv_plague_priest"},
{"wizard", "wh2_main_skv_skaven_qb2", "wh2_main_skv_plague_priest_ritual"},
{"champion", "wh2_main_skv_skaven_qb3", "default"},
{"colonel", "wh2_main_skv_skaven_qb3", "wh2_main_skv_warlord"},
{"dignitary", "wh2_main_skv_skaven_qb3", "default"},
{"engineer", "wh2_main_skv_skaven_qb3", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_main_skv_skaven_qb3", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_main_skv_skaven_qb3", "wh2_dlc09_skv_tretch_craventail"},
{"general", "wh2_main_skv_skaven_qb3", "wh2_dlc12_skv_warlock_master"},
{"general", "wh2_main_skv_skaven_qb3", "wh2_dlc14_skv_master_assassin"},
{"general", "wh2_main_skv_skaven_qb3", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_main_skv_skaven_qb3", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_main_skv_skaven_qb3", "wh2_main_skv_lord_skrolk"},
{"general", "wh2_main_skv_skaven_qb3", "wh2_main_skv_queek_headtaker"},
{"general", "wh2_main_skv_skaven_qb3", "wh2_main_skv_warlord"},
{"minister", "wh2_main_skv_skaven_qb3", "default"},
{"runesmith", "wh2_main_skv_skaven_qb3", "default"},
{"spy", "wh2_main_skv_skaven_qb3", "wh2_main_skv_assassin"},
{"wizard", "wh2_main_skv_skaven_qb3", "wh2_dlc14_skv_eshin_sorcerer"},
{"wizard", "wh2_main_skv_skaven_qb3", "wh2_main_skv_plague_priest"},
{"wizard", "wh2_main_skv_skaven_qb3", "wh2_main_skv_plague_priest_ritual"},
{"champion", "wh2_main_skv_skaven_qb4", "default"},
{"colonel", "wh2_main_skv_skaven_qb4", "wh2_main_skv_warlord"},
{"dignitary", "wh2_main_skv_skaven_qb4", "default"},
{"engineer", "wh2_main_skv_skaven_qb4", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_main_skv_skaven_qb4", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_main_skv_skaven_qb4", "wh2_dlc09_skv_tretch_craventail"},
{"general", "wh2_main_skv_skaven_qb4", "wh2_dlc12_skv_warlock_master"},
{"general", "wh2_main_skv_skaven_qb4", "wh2_dlc14_skv_master_assassin"},
{"general", "wh2_main_skv_skaven_qb4", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_main_skv_skaven_qb4", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_main_skv_skaven_qb4", "wh2_main_skv_lord_skrolk"},
{"general", "wh2_main_skv_skaven_qb4", "wh2_main_skv_queek_headtaker"},
{"general", "wh2_main_skv_skaven_qb4", "wh2_main_skv_warlord"},
{"minister", "wh2_main_skv_skaven_qb4", "default"},
{"runesmith", "wh2_main_skv_skaven_qb4", "default"},
{"spy", "wh2_main_skv_skaven_qb4", "wh2_main_skv_assassin"},
{"wizard", "wh2_main_skv_skaven_qb4", "wh2_dlc14_skv_eshin_sorcerer"},
{"wizard", "wh2_main_skv_skaven_qb4", "wh2_main_skv_plague_priest"},
{"wizard", "wh2_main_skv_skaven_qb4", "wh2_main_skv_plague_priest_ritual"},
{"champion", "wh2_main_skv_skaven_rebels", "default"},
{"colonel", "wh2_main_skv_skaven_rebels", "wh2_main_skv_warlord"},
{"dignitary", "wh2_main_skv_skaven_rebels", "default"},
{"engineer", "wh2_main_skv_skaven_rebels", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_main_skv_skaven_rebels", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_main_skv_skaven_rebels", "wh2_dlc12_skv_warlock_master"},
{"general", "wh2_main_skv_skaven_rebels", "wh2_dlc14_skv_master_assassin"},
{"general", "wh2_main_skv_skaven_rebels", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_main_skv_skaven_rebels", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_main_skv_skaven_rebels", "wh2_main_skv_warlord"},
{"minister", "wh2_main_skv_skaven_rebels", "default"},
{"runesmith", "wh2_main_skv_skaven_rebels", "default"},
{"spy", "wh2_main_skv_skaven_rebels", "wh2_main_skv_assassin"},
{"wizard", "wh2_main_skv_skaven_rebels", "wh2_dlc14_skv_eshin_sorcerer"},
{"wizard", "wh2_main_skv_skaven_rebels", "wh2_main_skv_plague_priest"},
{"wizard", "wh2_main_skv_skaven_rebels", "wh2_main_skv_plague_priest_ritual"},
{"champion", "wh2_main_skv_skaven", "default"},
{"colonel", "wh2_main_skv_skaven", "wh2_main_skv_warlord"},
{"dignitary", "wh2_main_skv_skaven", "default"},
{"engineer", "wh2_main_skv_skaven", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_main_skv_skaven", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_main_skv_skaven", "wh2_dlc09_skv_tretch_craventail"},
{"general", "wh2_main_skv_skaven", "wh2_dlc12_skv_warlock_master"},
{"general", "wh2_main_skv_skaven", "wh2_dlc14_skv_master_assassin"},
{"general", "wh2_main_skv_skaven", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_main_skv_skaven", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_main_skv_skaven", "wh2_main_skv_lord_skrolk"},
{"general", "wh2_main_skv_skaven", "wh2_main_skv_queek_headtaker"},
{"general", "wh2_main_skv_skaven", "wh2_main_skv_warlord"},
{"minister", "wh2_main_skv_skaven", "default"},
{"runesmith", "wh2_main_skv_skaven", "default"},
{"spy", "wh2_main_skv_skaven", "wh2_main_skv_assassin"},
{"wizard", "wh2_main_skv_skaven", "wh2_dlc14_skv_eshin_sorcerer"},
{"wizard", "wh2_main_skv_skaven", "wh2_main_skv_plague_priest"},
{"wizard", "wh2_main_skv_skaven", "wh2_main_skv_plague_priest_ritual"},
{"champion", "wh2_main_skv_unknown_clan_def", "default"},
{"colonel", "wh2_main_skv_unknown_clan_def", "wh2_main_skv_warlord"},
{"dignitary", "wh2_main_skv_unknown_clan_def", "default"},
{"engineer", "wh2_main_skv_unknown_clan_def", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_main_skv_unknown_clan_def", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_main_skv_unknown_clan_def", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_main_skv_unknown_clan_def", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_main_skv_unknown_clan_def", "wh2_main_skv_warlord"},
{"minister", "wh2_main_skv_unknown_clan_def", "default"},
{"runesmith", "wh2_main_skv_unknown_clan_def", "default"},
{"spy", "wh2_main_skv_unknown_clan_def", "wh2_main_skv_assassin"},
{"wizard", "wh2_main_skv_unknown_clan_def", "wh2_dlc14_skv_eshin_sorcerer"},
{"wizard", "wh2_main_skv_unknown_clan_def", "wh2_main_skv_plague_priest"},
{"wizard", "wh2_main_skv_unknown_clan_def", "wh2_main_skv_plague_priest_ritual"},
{"champion", "wh2_main_skv_unknown_clan_hef", "default"},
{"colonel", "wh2_main_skv_unknown_clan_hef", "wh2_main_skv_warlord"},
{"dignitary", "wh2_main_skv_unknown_clan_hef", "default"},
{"engineer", "wh2_main_skv_unknown_clan_hef", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_main_skv_unknown_clan_hef", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_main_skv_unknown_clan_hef", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_main_skv_unknown_clan_hef", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_main_skv_unknown_clan_hef", "wh2_main_skv_warlord"},
{"minister", "wh2_main_skv_unknown_clan_hef", "default"},
{"runesmith", "wh2_main_skv_unknown_clan_hef", "default"},
{"spy", "wh2_main_skv_unknown_clan_hef", "wh2_main_skv_assassin"},
{"wizard", "wh2_main_skv_unknown_clan_hef", "wh2_dlc14_skv_eshin_sorcerer"},
{"wizard", "wh2_main_skv_unknown_clan_hef", "wh2_main_skv_plague_priest"},
{"wizard", "wh2_main_skv_unknown_clan_hef", "wh2_main_skv_plague_priest_ritual"},
{"champion", "wh2_main_skv_unknown_clan_lzd", "default"},
{"colonel", "wh2_main_skv_unknown_clan_lzd", "wh2_main_skv_warlord"},
{"dignitary", "wh2_main_skv_unknown_clan_lzd", "default"},
{"engineer", "wh2_main_skv_unknown_clan_lzd", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_main_skv_unknown_clan_lzd", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_main_skv_unknown_clan_lzd", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_main_skv_unknown_clan_lzd", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_main_skv_unknown_clan_lzd", "wh2_main_skv_warlord"},
{"minister", "wh2_main_skv_unknown_clan_lzd", "default"},
{"runesmith", "wh2_main_skv_unknown_clan_lzd", "default"},
{"spy", "wh2_main_skv_unknown_clan_lzd", "wh2_main_skv_assassin"},
{"wizard", "wh2_main_skv_unknown_clan_lzd", "wh2_dlc14_skv_eshin_sorcerer"},
{"wizard", "wh2_main_skv_unknown_clan_lzd", "wh2_main_skv_plague_priest"},
{"wizard", "wh2_main_skv_unknown_clan_lzd", "wh2_main_skv_plague_priest_ritual"},
{"champion", "wh2_main_skv_unknown_clan_skv", "default"},
{"colonel", "wh2_main_skv_unknown_clan_skv", "wh2_main_skv_warlord"},
{"dignitary", "wh2_main_skv_unknown_clan_skv", "default"},
{"engineer", "wh2_main_skv_unknown_clan_skv", "wh2_main_skv_warlock_engineer"},
{"engineer", "wh2_main_skv_unknown_clan_skv", "wh2_main_skv_warlock_engineer_ritual"},
{"general", "wh2_main_skv_unknown_clan_skv", "wh2_main_skv_grey_seer_plague"},
{"general", "wh2_main_skv_unknown_clan_skv", "wh2_main_skv_grey_seer_ruin"},
{"general", "wh2_main_skv_unknown_clan_skv", "wh2_main_skv_warlord"},
{"minister", "wh2_main_skv_unknown_clan_skv", "default"},
{"runesmith", "wh2_main_skv_unknown_clan_skv", "default"},
{"spy", "wh2_main_skv_unknown_clan_skv", "wh2_main_skv_assassin"},
{"wizard", "wh2_main_skv_unknown_clan_skv", "wh2_dlc14_skv_eshin_sorcerer"},
{"wizard", "wh2_main_skv_unknown_clan_skv", "wh2_main_skv_plague_priest"},
{"wizard", "wh2_main_skv_unknown_clan_skv", "wh2_main_skv_plague_priest_ritual"},
{"champion", "wh2_main_vmp_necrarch_brotherhood", "vmp_wight_king"},
{"colonel", "wh2_main_vmp_necrarch_brotherhood", "vmp_lord"},
{"dignitary", "wh2_main_vmp_necrarch_brotherhood", "vmp_vampire"},
{"dignitary", "wh2_main_vmp_necrarch_brotherhood", "wh_dlc05_vmp_vampire_shadow"},
{"engineer", "wh2_main_vmp_necrarch_brotherhood", "default"},
{"general", "wh2_main_vmp_necrarch_brotherhood", "dlc04_vmp_strigoi_ghoul_king"},
{"general", "wh2_main_vmp_necrarch_brotherhood", "vmp_lord"},
{"general", "wh2_main_vmp_necrarch_brotherhood", "vmp_master_necromancer"},
{"general", "wh2_main_vmp_necrarch_brotherhood", "wh2_dlc11_vmp_bloodline_blood_dragon"},
{"general", "wh2_main_vmp_necrarch_brotherhood", "wh2_dlc11_vmp_bloodline_lahmian"},
{"general", "wh2_main_vmp_necrarch_brotherhood", "wh2_dlc11_vmp_bloodline_necrarch"},
{"general", "wh2_main_vmp_necrarch_brotherhood", "wh2_dlc11_vmp_bloodline_strigoi"},
{"general", "wh2_main_vmp_necrarch_brotherhood", "wh2_dlc11_vmp_bloodline_von_carstein"},
{"minister", "wh2_main_vmp_necrarch_brotherhood", "default"},
{"runesmith", "wh2_main_vmp_necrarch_brotherhood", "default"},
{"spy", "wh2_main_vmp_necrarch_brotherhood", "vmp_banshee"},
{"wizard", "wh2_main_vmp_necrarch_brotherhood", "vmp_necromancer"},
{"champion", "wh2_main_vmp_strygos_empire", "vmp_wight_king"},
{"colonel", "wh2_main_vmp_strygos_empire", "vmp_lord"},
{"dignitary", "wh2_main_vmp_strygos_empire", "vmp_vampire"},
{"dignitary", "wh2_main_vmp_strygos_empire", "wh_dlc05_vmp_vampire_shadow"},
{"engineer", "wh2_main_vmp_strygos_empire", "default"},
{"general", "wh2_main_vmp_strygos_empire", "dlc04_vmp_strigoi_ghoul_king"},
{"general", "wh2_main_vmp_strygos_empire", "vmp_lord"},
{"general", "wh2_main_vmp_strygos_empire", "vmp_master_necromancer"},
{"general", "wh2_main_vmp_strygos_empire", "wh2_dlc11_vmp_bloodline_blood_dragon"},
{"general", "wh2_main_vmp_strygos_empire", "wh2_dlc11_vmp_bloodline_lahmian"},
{"general", "wh2_main_vmp_strygos_empire", "wh2_dlc11_vmp_bloodline_necrarch"},
{"general", "wh2_main_vmp_strygos_empire", "wh2_dlc11_vmp_bloodline_strigoi"},
{"general", "wh2_main_vmp_strygos_empire", "wh2_dlc11_vmp_bloodline_von_carstein"},
{"minister", "wh2_main_vmp_strygos_empire", "default"},
{"runesmith", "wh2_main_vmp_strygos_empire", "default"},
{"spy", "wh2_main_vmp_strygos_empire", "vmp_banshee"},
{"wizard", "wh2_main_vmp_strygos_empire", "vmp_necromancer"},
{"champion", "wh2_main_vmp_the_silver_host", "vmp_wight_king"},
{"colonel", "wh2_main_vmp_the_silver_host", "vmp_lord"},
{"dignitary", "wh2_main_vmp_the_silver_host", "vmp_vampire"},
{"dignitary", "wh2_main_vmp_the_silver_host", "wh_dlc05_vmp_vampire_shadow"},
{"engineer", "wh2_main_vmp_the_silver_host", "default"},
{"general", "wh2_main_vmp_the_silver_host", "dlc04_vmp_strigoi_ghoul_king"},
{"general", "wh2_main_vmp_the_silver_host", "vmp_lord"},
{"general", "wh2_main_vmp_the_silver_host", "vmp_master_necromancer"},
{"general", "wh2_main_vmp_the_silver_host", "wh2_dlc11_vmp_bloodline_blood_dragon"},
{"general", "wh2_main_vmp_the_silver_host", "wh2_dlc11_vmp_bloodline_lahmian"},
{"general", "wh2_main_vmp_the_silver_host", "wh2_dlc11_vmp_bloodline_necrarch"},
{"general", "wh2_main_vmp_the_silver_host", "wh2_dlc11_vmp_bloodline_strigoi"},
{"general", "wh2_main_vmp_the_silver_host", "wh2_dlc11_vmp_bloodline_von_carstein"},
{"minister", "wh2_main_vmp_the_silver_host", "default"},
{"runesmith", "wh2_main_vmp_the_silver_host", "default"},
{"spy", "wh2_main_vmp_the_silver_host", "vmp_banshee"},
{"wizard", "wh2_main_vmp_the_silver_host", "vmp_necromancer"},
{"champion", "wh2_main_wef_bowmen_of_oreon", "wh_dlc05_wef_branchwraith"},
{"colonel", "wh2_main_wef_bowmen_of_oreon", "dlc05_wef_glade_lord"},
{"dignitary", "wh2_main_wef_bowmen_of_oreon", "default"},
{"engineer", "wh2_main_wef_bowmen_of_oreon", "default"},
{"general", "wh2_main_wef_bowmen_of_oreon", "dlc05_wef_ancient_treeman"},
{"general", "wh2_main_wef_bowmen_of_oreon", "dlc05_wef_glade_lord"},
{"general", "wh2_main_wef_bowmen_of_oreon", "dlc05_wef_glade_lord_fem"},
{"minister", "wh2_main_wef_bowmen_of_oreon", "default"},
{"runesmith", "wh2_main_wef_bowmen_of_oreon", "default"},
{"spy", "wh2_main_wef_bowmen_of_oreon", "dlc05_wef_waystalker"},
{"wizard", "wh2_main_wef_bowmen_of_oreon", "dlc05_wef_spellsinger_beasts"},
{"wizard", "wh2_main_wef_bowmen_of_oreon", "dlc05_wef_spellsinger_life"},
{"wizard", "wh2_main_wef_bowmen_of_oreon", "dlc05_wef_spellsinger_shadow"},
{"colonel", "wh_dlc03_bst_beastmen_ally", "dlc03_bst_beastlord"},
{"general", "wh_dlc03_bst_beastmen_ally", "dlc03_bst_beastlord"},
{"general", "wh_dlc03_bst_beastmen_ally", "dlc03_bst_graktar"},
{"champion", "wh_dlc03_bst_beastmen_brayherd", "dlc03_bst_gorebull"},
{"colonel", "wh_dlc03_bst_beastmen_brayherd", "dlc03_bst_beastlord"},
{"dignitary", "wh_dlc03_bst_beastmen_brayherd", "default"},
{"engineer", "wh_dlc03_bst_beastmen_brayherd", "default"},
{"general", "wh_dlc03_bst_beastmen_brayherd", "dlc03_bst_beastlord"},
{"minister", "wh_dlc03_bst_beastmen_brayherd", "default"},
{"runesmith", "wh_dlc03_bst_beastmen_brayherd", "default"},
{"spy", "wh_dlc03_bst_beastmen_brayherd", "default"},
{"champion", "wh_dlc03_bst_beastmen_chaos_brayherd", "dlc03_bst_gorebull"},
{"colonel", "wh_dlc03_bst_beastmen_chaos_brayherd", "dlc03_bst_beastlord"},
{"dignitary", "wh_dlc03_bst_beastmen_chaos_brayherd", "default"},
{"engineer", "wh_dlc03_bst_beastmen_chaos_brayherd", "default"},
{"general", "wh_dlc03_bst_beastmen_chaos_brayherd", "dlc03_bst_beastlord"},
{"minister", "wh_dlc03_bst_beastmen_chaos_brayherd", "default"},
{"runesmith", "wh_dlc03_bst_beastmen_chaos_brayherd", "default"},
{"spy", "wh_dlc03_bst_beastmen_chaos_brayherd", "default"},
{"wizard", "wh_dlc03_bst_beastmen_chaos_brayherd", "dlc03_bst_bray_shaman_beasts"},
{"wizard", "wh_dlc03_bst_beastmen_chaos_brayherd", "dlc03_bst_bray_shaman_death"},
{"wizard", "wh_dlc03_bst_beastmen_chaos_brayherd", "dlc03_bst_bray_shaman_shadows"},
{"wizard", "wh_dlc03_bst_beastmen_chaos_brayherd", "dlc03_bst_bray_shaman_wild"},
{"champion", "wh_dlc03_bst_beastmen_chaos", "dlc03_bst_gorebull"},
{"colonel", "wh_dlc03_bst_beastmen_chaos", "dlc03_bst_beastlord"},
{"dignitary", "wh_dlc03_bst_beastmen_chaos", "default"},
{"engineer", "wh_dlc03_bst_beastmen_chaos", "default"},
{"general", "wh_dlc03_bst_beastmen_chaos", "dlc03_bst_beastlord"},
{"minister", "wh_dlc03_bst_beastmen_chaos", "default"},
{"runesmith", "wh_dlc03_bst_beastmen_chaos", "default"},
{"spy", "wh_dlc03_bst_beastmen_chaos", "default"},
{"wizard", "wh_dlc03_bst_beastmen_chaos", "dlc03_bst_bray_shaman_beasts"},
{"wizard", "wh_dlc03_bst_beastmen_chaos", "dlc03_bst_bray_shaman_death"},
{"wizard", "wh_dlc03_bst_beastmen_chaos", "dlc03_bst_bray_shaman_shadows"},
{"wizard", "wh_dlc03_bst_beastmen_chaos", "dlc03_bst_bray_shaman_wild"},
{"colonel", "wh_dlc03_bst_beastmen_qb1", "dlc03_bst_beastlord"},
{"general", "wh_dlc03_bst_beastmen_qb1", "dlc03_bst_beastlord"},
{"general", "wh_dlc03_bst_beastmen_qb1", "dlc03_bst_graktar"},
{"general", "wh_dlc03_bst_beastmen_qb1", "wh_dlc08_bst_cygor_boss"},
{"colonel", "wh_dlc03_bst_beastmen_qb2", "dlc03_bst_beastlord"},
{"general", "wh_dlc03_bst_beastmen_qb2", "dlc03_bst_beastlord"},
{"general", "wh_dlc03_bst_beastmen_qb2", "dlc03_bst_graktar"},
{"colonel", "wh_dlc03_bst_beastmen_qb3", "dlc03_bst_beastlord"},
{"general", "wh_dlc03_bst_beastmen_qb3", "dlc03_bst_beastlord"},
{"general", "wh_dlc03_bst_beastmen_qb3", "dlc03_bst_graktar"},
{"champion", "wh_dlc03_bst_beastmen_rebels", "default"},
{"colonel", "wh_dlc03_bst_beastmen_rebels", "dlc03_bst_beastlord"},
{"dignitary", "wh_dlc03_bst_beastmen_rebels", "default"},
{"engineer", "wh_dlc03_bst_beastmen_rebels", "default"},
{"general", "wh_dlc03_bst_beastmen_rebels", "dlc03_bst_beastlord"},
{"minister", "wh_dlc03_bst_beastmen_rebels", "default"},
{"runesmith", "wh_dlc03_bst_beastmen_rebels", "default"},
{"spy", "wh_dlc03_bst_beastmen_rebels", "default"},
{"wizard", "wh_dlc03_bst_beastmen_rebels", "dlc03_bst_bray_shaman_beasts"},
{"wizard", "wh_dlc03_bst_beastmen_rebels", "dlc03_bst_bray_shaman_death"},
{"wizard", "wh_dlc03_bst_beastmen_rebels", "dlc03_bst_bray_shaman_shadows"},
{"wizard", "wh_dlc03_bst_beastmen_rebels", "dlc03_bst_bray_shaman_wild"},
{"champion", "wh_dlc03_bst_beastmen", "dlc03_bst_gorebull"},
{"colonel", "wh_dlc03_bst_beastmen", "dlc03_bst_beastlord"},
{"dignitary", "wh_dlc03_bst_beastmen", "default"},
{"engineer", "wh_dlc03_bst_beastmen", "default"},
{"general", "wh_dlc03_bst_beastmen", "dlc03_bst_beastlord"},
{"general", "wh_dlc03_bst_beastmen", "dlc03_bst_khazrak"},
{"general", "wh_dlc03_bst_beastmen", "dlc03_bst_malagor"},
{"general", "wh_dlc03_bst_beastmen", "dlc05_bst_morghur"},
{"minister", "wh_dlc03_bst_beastmen", "default"},
{"runesmith", "wh_dlc03_bst_beastmen", "default"},
{"spy", "wh_dlc03_bst_beastmen", "default"},
{"wizard", "wh_dlc03_bst_beastmen", "dlc03_bst_bray_shaman_beasts"},
{"wizard", "wh_dlc03_bst_beastmen", "dlc03_bst_bray_shaman_death"},
{"wizard", "wh_dlc03_bst_beastmen", "dlc03_bst_bray_shaman_shadows"},
{"wizard", "wh_dlc03_bst_beastmen", "dlc03_bst_bray_shaman_wild"},
{"champion", "wh_dlc03_bst_jagged_horn_brayherd", "dlc03_bst_gorebull"},
{"colonel", "wh_dlc03_bst_jagged_horn_brayherd", "dlc03_bst_beastlord"},
{"dignitary", "wh_dlc03_bst_jagged_horn_brayherd", "default"},
{"engineer", "wh_dlc03_bst_jagged_horn_brayherd", "default"},
{"general", "wh_dlc03_bst_jagged_horn_brayherd", "dlc03_bst_beastlord"},
{"minister", "wh_dlc03_bst_jagged_horn_brayherd", "default"},
{"runesmith", "wh_dlc03_bst_jagged_horn_brayherd", "default"},
{"spy", "wh_dlc03_bst_jagged_horn_brayherd", "default"},
{"wizard", "wh_dlc03_bst_jagged_horn_brayherd", "dlc03_bst_bray_shaman_beasts"},
{"wizard", "wh_dlc03_bst_jagged_horn_brayherd", "dlc03_bst_bray_shaman_death"},
{"wizard", "wh_dlc03_bst_jagged_horn_brayherd", "dlc03_bst_bray_shaman_shadows"},
{"wizard", "wh_dlc03_bst_jagged_horn_brayherd", "dlc03_bst_bray_shaman_wild"},
{"champion", "wh_dlc03_bst_jagged_horn", "dlc03_bst_gorebull"},
{"colonel", "wh_dlc03_bst_jagged_horn", "dlc03_bst_beastlord"},
{"dignitary", "wh_dlc03_bst_jagged_horn", "default"},
{"engineer", "wh_dlc03_bst_jagged_horn", "default"},
{"general", "wh_dlc03_bst_jagged_horn", "dlc03_bst_beastlord"},
{"minister", "wh_dlc03_bst_jagged_horn", "default"},
{"runesmith", "wh_dlc03_bst_jagged_horn", "default"},
{"spy", "wh_dlc03_bst_jagged_horn", "default"},
{"wizard", "wh_dlc03_bst_jagged_horn", "dlc03_bst_bray_shaman_beasts"},
{"wizard", "wh_dlc03_bst_jagged_horn", "dlc03_bst_bray_shaman_death"},
{"wizard", "wh_dlc03_bst_jagged_horn", "dlc03_bst_bray_shaman_shadows"},
{"wizard", "wh_dlc03_bst_jagged_horn", "dlc03_bst_bray_shaman_wild"},
{"champion", "wh_dlc03_bst_redhorn_brayherd", "dlc03_bst_gorebull"},
{"colonel", "wh_dlc03_bst_redhorn_brayherd", "dlc03_bst_beastlord"},
{"dignitary", "wh_dlc03_bst_redhorn_brayherd", "default"},
{"engineer", "wh_dlc03_bst_redhorn_brayherd", "default"},
{"general", "wh_dlc03_bst_redhorn_brayherd", "dlc03_bst_beastlord"},
{"minister", "wh_dlc03_bst_redhorn_brayherd", "default"},
{"runesmith", "wh_dlc03_bst_redhorn_brayherd", "default"},
{"spy", "wh_dlc03_bst_redhorn_brayherd", "default"},
{"wizard", "wh_dlc03_bst_redhorn_brayherd", "dlc03_bst_bray_shaman_beasts"},
{"wizard", "wh_dlc03_bst_redhorn_brayherd", "dlc03_bst_bray_shaman_death"},
{"wizard", "wh_dlc03_bst_redhorn_brayherd", "dlc03_bst_bray_shaman_shadows"},
{"wizard", "wh_dlc03_bst_redhorn_brayherd", "dlc03_bst_bray_shaman_wild"},
{"champion", "wh_dlc03_bst_redhorn", "dlc03_bst_gorebull"},
{"colonel", "wh_dlc03_bst_redhorn", "dlc03_bst_beastlord"},
{"dignitary", "wh_dlc03_bst_redhorn", "default"},
{"engineer", "wh_dlc03_bst_redhorn", "default"},
{"general", "wh_dlc03_bst_redhorn", "dlc03_bst_beastlord"},
{"minister", "wh_dlc03_bst_redhorn", "default"},
{"runesmith", "wh_dlc03_bst_redhorn", "default"},
{"spy", "wh_dlc03_bst_redhorn", "default"},
{"wizard", "wh_dlc03_bst_redhorn", "dlc03_bst_bray_shaman_beasts"},
{"wizard", "wh_dlc03_bst_redhorn", "dlc03_bst_bray_shaman_death"},
{"wizard", "wh_dlc03_bst_redhorn", "dlc03_bst_bray_shaman_shadows"},
{"wizard", "wh_dlc03_bst_redhorn", "dlc03_bst_bray_shaman_wild"},
{"champion", "wh_dlc05_wef_argwylon", "wh_dlc05_wef_branchwraith"},
{"colonel", "wh_dlc05_wef_argwylon", "dlc05_wef_glade_lord"},
{"dignitary", "wh_dlc05_wef_argwylon", "default"},
{"engineer", "wh_dlc05_wef_argwylon", "default"},
{"general", "wh_dlc05_wef_argwylon", "dlc05_wef_ancient_treeman"},
{"general", "wh_dlc05_wef_argwylon", "dlc05_wef_durthu"},
{"general", "wh_dlc05_wef_argwylon", "dlc05_wef_glade_lord"},
{"general", "wh_dlc05_wef_argwylon", "dlc05_wef_glade_lord_fem"},
{"general", "wh_dlc05_wef_argwylon", "dlc05_wef_orion"},
{"minister", "wh_dlc05_wef_argwylon", "default"},
{"runesmith", "wh_dlc05_wef_argwylon", "default"},
{"spy", "wh_dlc05_wef_argwylon", "dlc05_wef_waystalker"},
{"wizard", "wh_dlc05_wef_argwylon", "dlc05_wef_spellsinger_beasts"},
{"wizard", "wh_dlc05_wef_argwylon", "dlc05_wef_spellsinger_life"},
{"wizard", "wh_dlc05_wef_argwylon", "dlc05_wef_spellsinger_shadow"},
{"champion", "wh_dlc05_wef_torgovann", "wh_dlc05_wef_branchwraith"},
{"colonel", "wh_dlc05_wef_torgovann", "dlc05_wef_glade_lord"},
{"dignitary", "wh_dlc05_wef_torgovann", "default"},
{"engineer", "wh_dlc05_wef_torgovann", "default"},
{"general", "wh_dlc05_wef_torgovann", "dlc05_wef_ancient_treeman"},
{"general", "wh_dlc05_wef_torgovann", "dlc05_wef_glade_lord"},
{"general", "wh_dlc05_wef_torgovann", "dlc05_wef_glade_lord_fem"},
{"minister", "wh_dlc05_wef_torgovann", "default"},
{"runesmith", "wh_dlc05_wef_torgovann", "default"},
{"spy", "wh_dlc05_wef_torgovann", "dlc05_wef_waystalker"},
{"wizard", "wh_dlc05_wef_torgovann", "dlc05_wef_spellsinger_beasts"},
{"wizard", "wh_dlc05_wef_torgovann", "dlc05_wef_spellsinger_life"},
{"wizard", "wh_dlc05_wef_torgovann", "dlc05_wef_spellsinger_shadow"},
{"colonel", "wh_dlc05_wef_wood_elves_qb1", "dlc05_wef_glade_lord"},
{"general", "wh_dlc05_wef_wood_elves_qb1", "wh_dlc08_wef_forest_dragon_boss"},
{"champion", "wh_dlc05_wef_wood_elves_qb2", "wh_dlc05_wef_branchwraith"},
{"colonel", "wh_dlc05_wef_wood_elves_qb2", "dlc05_wef_glade_lord"},
{"dignitary", "wh_dlc05_wef_wood_elves_qb2", "default"},
{"engineer", "wh_dlc05_wef_wood_elves_qb2", "default"},
{"general", "wh_dlc05_wef_wood_elves_qb2", "dlc05_wef_ancient_treeman"},
{"general", "wh_dlc05_wef_wood_elves_qb2", "dlc05_wef_glade_lord"},
{"general", "wh_dlc05_wef_wood_elves_qb2", "dlc05_wef_glade_lord_fem"},
{"general", "wh_dlc05_wef_wood_elves_qb2", "wh2_dlc15_hef_forest_dragon_boss_imrik"},
{"minister", "wh_dlc05_wef_wood_elves_qb2", "default"},
{"runesmith", "wh_dlc05_wef_wood_elves_qb2", "default"},
{"spy", "wh_dlc05_wef_wood_elves_qb2", "dlc05_wef_waystalker"},
{"wizard", "wh_dlc05_wef_wood_elves_qb2", "dlc05_wef_spellsinger_beasts"},
{"wizard", "wh_dlc05_wef_wood_elves_qb2", "dlc05_wef_spellsinger_life"},
{"wizard", "wh_dlc05_wef_wood_elves_qb2", "dlc05_wef_spellsinger_shadow"},
{"colonel", "wh_dlc05_wef_wood_elves_qb3", "dlc05_wef_glade_lord"},
{"champion", "wh_dlc05_wef_wood_elves_rebels", "wh_dlc05_wef_branchwraith"},
{"colonel", "wh_dlc05_wef_wood_elves_rebels", "dlc05_wef_glade_lord"},
{"dignitary", "wh_dlc05_wef_wood_elves_rebels", "default"},
{"engineer", "wh_dlc05_wef_wood_elves_rebels", "default"},
{"general", "wh_dlc05_wef_wood_elves_rebels", "dlc05_wef_ancient_treeman"},
{"general", "wh_dlc05_wef_wood_elves_rebels", "dlc05_wef_glade_lord"},
{"general", "wh_dlc05_wef_wood_elves_rebels", "dlc05_wef_glade_lord_fem"},
{"minister", "wh_dlc05_wef_wood_elves_rebels", "default"},
{"runesmith", "wh_dlc05_wef_wood_elves_rebels", "default"},
{"spy", "wh_dlc05_wef_wood_elves_rebels", "dlc05_wef_waystalker"},
{"wizard", "wh_dlc05_wef_wood_elves_rebels", "dlc05_wef_spellsinger_beasts"},
{"wizard", "wh_dlc05_wef_wood_elves_rebels", "dlc05_wef_spellsinger_life"},
{"wizard", "wh_dlc05_wef_wood_elves_rebels", "dlc05_wef_spellsinger_shadow"},
{"champion", "wh_dlc05_wef_wood_elves", "wh_dlc05_wef_branchwraith"},
{"colonel", "wh_dlc05_wef_wood_elves", "dlc05_wef_glade_lord"},
{"dignitary", "wh_dlc05_wef_wood_elves", "default"},
{"engineer", "wh_dlc05_wef_wood_elves", "default"},
{"general", "wh_dlc05_wef_wood_elves", "dlc05_wef_ancient_treeman"},
{"general", "wh_dlc05_wef_wood_elves", "dlc05_wef_durthu"},
{"general", "wh_dlc05_wef_wood_elves", "dlc05_wef_glade_lord"},
{"general", "wh_dlc05_wef_wood_elves", "dlc05_wef_glade_lord_fem"},
{"general", "wh_dlc05_wef_wood_elves", "dlc05_wef_orion"},
{"minister", "wh_dlc05_wef_wood_elves", "default"},
{"runesmith", "wh_dlc05_wef_wood_elves", "default"},
{"spy", "wh_dlc05_wef_wood_elves", "dlc05_wef_waystalker"},
{"wizard", "wh_dlc05_wef_wood_elves", "dlc05_wef_spellsinger_beasts"},
{"wizard", "wh_dlc05_wef_wood_elves", "dlc05_wef_spellsinger_life"},
{"wizard", "wh_dlc05_wef_wood_elves", "dlc05_wef_spellsinger_shadow"},
{"champion", "wh_dlc05_wef_wydrioth", "wh_dlc05_wef_branchwraith"},
{"colonel", "wh_dlc05_wef_wydrioth", "dlc05_wef_glade_lord"},
{"dignitary", "wh_dlc05_wef_wydrioth", "default"},
{"engineer", "wh_dlc05_wef_wydrioth", "default"},
{"general", "wh_dlc05_wef_wydrioth", "dlc05_wef_ancient_treeman"},
{"general", "wh_dlc05_wef_wydrioth", "dlc05_wef_glade_lord"},
{"general", "wh_dlc05_wef_wydrioth", "dlc05_wef_glade_lord_fem"},
{"minister", "wh_dlc05_wef_wydrioth", "default"},
{"runesmith", "wh_dlc05_wef_wydrioth", "default"},
{"spy", "wh_dlc05_wef_wydrioth", "dlc05_wef_waystalker"},
{"wizard", "wh_dlc05_wef_wydrioth", "dlc05_wef_spellsinger_beasts"},
{"wizard", "wh_dlc05_wef_wydrioth", "dlc05_wef_spellsinger_life"},
{"wizard", "wh_dlc05_wef_wydrioth", "dlc05_wef_spellsinger_shadow"},
{"colonel", "wh_dlc08_chs_chaos_challenger_khorne_qb", "wh_dlc08_chs_challenger_khorne"},
{"general", "wh_dlc08_chs_chaos_challenger_khorne_qb", "wh_dlc08_chs_challenger_khorne"},
{"colonel", "wh_dlc08_chs_chaos_challenger_khorne", "wh_dlc08_chs_challenger_khorne"},
{"general", "wh_dlc08_chs_chaos_challenger_khorne", "chs_lord"},
{"general", "wh_dlc08_chs_chaos_challenger_khorne", "wh_dlc08_chs_challenger_khorne"},
{"colonel", "wh_dlc08_chs_chaos_challenger_nurgle_qb", "wh_dlc08_chs_challenger_nurgle"},
{"general", "wh_dlc08_chs_chaos_challenger_nurgle_qb", "wh_dlc08_chs_challenger_nurgle"},
{"colonel", "wh_dlc08_chs_chaos_challenger_nurgle", "wh_dlc08_chs_challenger_nurgle"},
{"general", "wh_dlc08_chs_chaos_challenger_nurgle", "chs_lord"},
{"general", "wh_dlc08_chs_chaos_challenger_nurgle", "wh_dlc08_chs_challenger_nurgle"},
{"colonel", "wh_dlc08_chs_chaos_challenger_slaanesh_qb", "wh_dlc08_chs_challenger_slaanesh"},
{"general", "wh_dlc08_chs_chaos_challenger_slaanesh_qb", "wh_dlc08_chs_challenger_slaanesh"},
{"wizard", "wh_dlc08_chs_chaos_challenger_slaanesh_qb", "dlc08_nor_kihar"},
{"colonel", "wh_dlc08_chs_chaos_challenger_slaanesh", "wh_dlc08_chs_challenger_slaanesh"},
{"general", "wh_dlc08_chs_chaos_challenger_slaanesh", "chs_lord"},
{"general", "wh_dlc08_chs_chaos_challenger_slaanesh", "wh_dlc08_chs_challenger_slaanesh"},
{"wizard", "wh_dlc08_chs_chaos_challenger_slaanesh", "dlc08_nor_kihar"},
{"colonel", "wh_dlc08_chs_chaos_challenger_tzeentch_qb", "wh_dlc08_chs_challenger_tzeentch"},
{"general", "wh_dlc08_chs_chaos_challenger_tzeentch_qb", "wh_dlc08_chs_challenger_tzeentch"},
{"general", "wh_dlc08_chs_chaos_challenger_tzeentch_qb", "wh_dlc08_nor_arzik"},
{"colonel", "wh_dlc08_chs_chaos_challenger_tzeentch", "wh_dlc08_chs_challenger_tzeentch"},
{"general", "wh_dlc08_chs_chaos_challenger_tzeentch", "chs_lord"},
{"general", "wh_dlc08_chs_chaos_challenger_tzeentch", "wh_dlc08_chs_challenger_tzeentch"},
{"general", "wh_dlc08_chs_chaos_challenger_tzeentch", "wh_dlc08_nor_arzik"},
{"champion", "wh_dlc08_nor_goromadny_tribe", "wh_dlc08_nor_skin_wolf_werekin"},
{"colonel", "wh_dlc08_nor_goromadny_tribe", "nor_marauder_chieftain"},
{"dignitary", "wh_dlc08_nor_goromadny_tribe", "wh_dlc08_nor_fimir_balefiend_fire"},
{"dignitary", "wh_dlc08_nor_goromadny_tribe", "wh_dlc08_nor_fimir_balefiend_shadow"},
{"engineer", "wh_dlc08_nor_goromadny_tribe", "default"},
{"general", "wh_dlc08_nor_goromadny_tribe", "nor_marauder_chieftain"},
{"minister", "wh_dlc08_nor_goromadny_tribe", "default"},
{"runesmith", "wh_dlc08_nor_goromadny_tribe", "default"},
{"spy", "wh_dlc08_nor_goromadny_tribe", "default"},
{"wizard", "wh_dlc08_nor_goromadny_tribe", "wh_dlc08_nor_shaman_sorcerer_death"},
{"wizard", "wh_dlc08_nor_goromadny_tribe", "wh_dlc08_nor_shaman_sorcerer_fire"},
{"wizard", "wh_dlc08_nor_goromadny_tribe", "wh_dlc08_nor_shaman_sorcerer_metal"},
{"champion", "wh_dlc08_nor_helspire_tribe", "wh_dlc08_nor_skin_wolf_werekin"},
{"colonel", "wh_dlc08_nor_helspire_tribe", "nor_marauder_chieftain"},
{"dignitary", "wh_dlc08_nor_helspire_tribe", "wh_dlc08_nor_fimir_balefiend_fire"},
{"dignitary", "wh_dlc08_nor_helspire_tribe", "wh_dlc08_nor_fimir_balefiend_shadow"},
{"engineer", "wh_dlc08_nor_helspire_tribe", "default"},
{"general", "wh_dlc08_nor_helspire_tribe", "nor_marauder_chieftain"},
{"minister", "wh_dlc08_nor_helspire_tribe", "default"},
{"runesmith", "wh_dlc08_nor_helspire_tribe", "default"},
{"spy", "wh_dlc08_nor_helspire_tribe", "default"},
{"wizard", "wh_dlc08_nor_helspire_tribe", "wh_dlc08_nor_shaman_sorcerer_death"},
{"wizard", "wh_dlc08_nor_helspire_tribe", "wh_dlc08_nor_shaman_sorcerer_fire"},
{"wizard", "wh_dlc08_nor_helspire_tribe", "wh_dlc08_nor_shaman_sorcerer_metal"},
{"champion", "wh_dlc08_nor_naglfarlings", "wh_dlc08_nor_skin_wolf_werekin"},
{"colonel", "wh_dlc08_nor_naglfarlings", "nor_marauder_chieftain"},
{"dignitary", "wh_dlc08_nor_naglfarlings", "wh_dlc08_nor_fimir_balefiend_fire"},
{"dignitary", "wh_dlc08_nor_naglfarlings", "wh_dlc08_nor_fimir_balefiend_shadow"},
{"engineer", "wh_dlc08_nor_naglfarlings", "default"},
{"general", "wh_dlc08_nor_naglfarlings", "nor_marauder_chieftain"},
{"minister", "wh_dlc08_nor_naglfarlings", "default"},
{"runesmith", "wh_dlc08_nor_naglfarlings", "default"},
{"spy", "wh_dlc08_nor_naglfarlings", "default"},
{"wizard", "wh_dlc08_nor_naglfarlings", "wh_dlc08_nor_shaman_sorcerer_death"},
{"wizard", "wh_dlc08_nor_naglfarlings", "wh_dlc08_nor_shaman_sorcerer_fire"},
{"wizard", "wh_dlc08_nor_naglfarlings", "wh_dlc08_nor_shaman_sorcerer_metal"},
{"champion", "wh_dlc08_nor_norsca", "wh_dlc08_nor_skin_wolf_werekin"},
{"colonel", "wh_dlc08_nor_norsca", "nor_marauder_chieftain"},
{"dignitary", "wh_dlc08_nor_norsca", "wh_dlc08_nor_fimir_balefiend_fire"},
{"dignitary", "wh_dlc08_nor_norsca", "wh_dlc08_nor_fimir_balefiend_shadow"},
{"engineer", "wh_dlc08_nor_norsca", "default"},
{"general", "wh_dlc08_nor_norsca", "nor_marauder_chieftain"},
{"general", "wh_dlc08_nor_norsca", "wh_dlc08_nor_arzik"},
{"general", "wh_dlc08_nor_norsca", "wh_dlc08_nor_wulfrik"},
{"minister", "wh_dlc08_nor_norsca", "default"},
{"runesmith", "wh_dlc08_nor_norsca", "default"},
{"spy", "wh_dlc08_nor_norsca", "default"},
{"wizard", "wh_dlc08_nor_norsca", "dlc08_nor_kihar"},
{"wizard", "wh_dlc08_nor_norsca", "wh_dlc08_nor_shaman_sorcerer_death"},
{"wizard", "wh_dlc08_nor_norsca", "wh_dlc08_nor_shaman_sorcerer_fire"},
{"wizard", "wh_dlc08_nor_norsca", "wh_dlc08_nor_shaman_sorcerer_metal"},
{"champion", "wh_dlc08_nor_vanaheimlings", "wh_dlc08_nor_skin_wolf_werekin"},
{"colonel", "wh_dlc08_nor_vanaheimlings", "nor_marauder_chieftain"},
{"dignitary", "wh_dlc08_nor_vanaheimlings", "wh_dlc08_nor_fimir_balefiend_fire"},
{"dignitary", "wh_dlc08_nor_vanaheimlings", "wh_dlc08_nor_fimir_balefiend_shadow"},
{"engineer", "wh_dlc08_nor_vanaheimlings", "default"},
{"general", "wh_dlc08_nor_vanaheimlings", "nor_marauder_chieftain"},
{"minister", "wh_dlc08_nor_vanaheimlings", "default"},
{"runesmith", "wh_dlc08_nor_vanaheimlings", "default"},
{"spy", "wh_dlc08_nor_vanaheimlings", "default"},
{"wizard", "wh_dlc08_nor_vanaheimlings", "wh_dlc08_nor_shaman_sorcerer_death"},
{"wizard", "wh_dlc08_nor_vanaheimlings", "wh_dlc08_nor_shaman_sorcerer_fire"},
{"wizard", "wh_dlc08_nor_vanaheimlings", "wh_dlc08_nor_shaman_sorcerer_metal"},
{"champion", "wh_dlc08_nor_wintertooth", "wh_dlc08_nor_skin_wolf_werekin"},
{"colonel", "wh_dlc08_nor_wintertooth", "nor_marauder_chieftain"},
{"dignitary", "wh_dlc08_nor_wintertooth", "wh_dlc08_nor_fimir_balefiend_fire"},
{"dignitary", "wh_dlc08_nor_wintertooth", "wh_dlc08_nor_fimir_balefiend_shadow"},
{"engineer", "wh_dlc08_nor_wintertooth", "default"},
{"general", "wh_dlc08_nor_wintertooth", "nor_marauder_chieftain"},
{"general", "wh_dlc08_nor_wintertooth", "wh_dlc08_nor_arzik"},
{"general", "wh_dlc08_nor_wintertooth", "wh_dlc08_nor_throgg"},
{"minister", "wh_dlc08_nor_wintertooth", "default"},
{"runesmith", "wh_dlc08_nor_wintertooth", "default"},
{"spy", "wh_dlc08_nor_wintertooth", "default"},
{"wizard", "wh_dlc08_nor_wintertooth", "dlc08_nor_kihar"},
{"wizard", "wh_dlc08_nor_wintertooth", "wh_dlc08_nor_shaman_sorcerer_death"},
{"wizard", "wh_dlc08_nor_wintertooth", "wh_dlc08_nor_shaman_sorcerer_fire"},
{"wizard", "wh_dlc08_nor_wintertooth", "wh_dlc08_nor_shaman_sorcerer_metal"},
{"champion", "wh_main_brt_artois", "brt_paladin"},
{"colonel", "wh_main_brt_artois", "brt_lord"},
{"dignitary", "wh_main_brt_artois", "default"},
{"engineer", "wh_main_brt_artois", "default"},
{"general", "wh_main_brt_artois", "brt_lord"},
{"general", "wh_main_brt_artois", "dlc07_brt_prophetess_beasts"},
{"general", "wh_main_brt_artois", "dlc07_brt_prophetess_heavens"},
{"general", "wh_main_brt_artois", "dlc07_brt_prophetess_life"},
{"minister", "wh_main_brt_artois", "default"},
{"runesmith", "wh_main_brt_artois", "default"},
{"spy", "wh_main_brt_artois", "default"},
{"wizard", "wh_main_brt_artois", "brt_damsel"},
{"wizard", "wh_main_brt_artois", "brt_damsel_beasts"},
{"wizard", "wh_main_brt_artois", "brt_damsel_life"},
{"champion", "wh_main_brt_bastonne", "brt_paladin"},
{"colonel", "wh_main_brt_bastonne", "brt_lord"},
{"dignitary", "wh_main_brt_bastonne", "default"},
{"engineer", "wh_main_brt_bastonne", "default"},
{"general", "wh_main_brt_bastonne", "brt_lord"},
{"general", "wh_main_brt_bastonne", "dlc07_brt_prophetess_beasts"},
{"general", "wh_main_brt_bastonne", "dlc07_brt_prophetess_heavens"},
{"general", "wh_main_brt_bastonne", "dlc07_brt_prophetess_life"},
{"minister", "wh_main_brt_bastonne", "default"},
{"runesmith", "wh_main_brt_bastonne", "default"},
{"spy", "wh_main_brt_bastonne", "default"},
{"wizard", "wh_main_brt_bastonne", "brt_damsel"},
{"wizard", "wh_main_brt_bastonne", "brt_damsel_beasts"},
{"wizard", "wh_main_brt_bastonne", "brt_damsel_life"},
{"champion", "wh_main_brt_bordeleaux", "brt_paladin"},
{"champion", "wh_main_brt_bordeleaux", "dlc07_brt_green_knight"},
{"colonel", "wh_main_brt_bordeleaux", "brt_lord"},
{"dignitary", "wh_main_brt_bordeleaux", "default"},
{"engineer", "wh_main_brt_bordeleaux", "default"},
{"general", "wh_main_brt_bordeleaux", "brt_lord"},
{"general", "wh_main_brt_bordeleaux", "dlc07_brt_alberic"},
{"general", "wh_main_brt_bordeleaux", "dlc07_brt_prophetess_beasts"},
{"general", "wh_main_brt_bordeleaux", "dlc07_brt_prophetess_heavens"},
{"general", "wh_main_brt_bordeleaux", "dlc07_brt_prophetess_life"},
{"minister", "wh_main_brt_bordeleaux", "default"},
{"runesmith", "wh_main_brt_bordeleaux", "default"},
{"spy", "wh_main_brt_bordeleaux", "default"},
{"wizard", "wh_main_brt_bordeleaux", "brt_damsel"},
{"wizard", "wh_main_brt_bordeleaux", "brt_damsel_beasts"},
{"wizard", "wh_main_brt_bordeleaux", "brt_damsel_life"},
{"champion", "wh_main_brt_bretonnia_qb1", "brt_paladin"},
{"colonel", "wh_main_brt_bretonnia_qb1", "brt_lord"},
{"dignitary", "wh_main_brt_bretonnia_qb1", "default"},
{"engineer", "wh_main_brt_bretonnia_qb1", "default"},
{"general", "wh_main_brt_bretonnia_qb1", "brt_lord"},
{"general", "wh_main_brt_bretonnia_qb1", "dlc07_brt_prophetess_beasts"},
{"general", "wh_main_brt_bretonnia_qb1", "dlc07_brt_prophetess_heavens"},
{"general", "wh_main_brt_bretonnia_qb1", "dlc07_brt_prophetess_life"},
{"minister", "wh_main_brt_bretonnia_qb1", "default"},
{"runesmith", "wh_main_brt_bretonnia_qb1", "default"},
{"spy", "wh_main_brt_bretonnia_qb1", "default"},
{"wizard", "wh_main_brt_bretonnia_qb1", "brt_damsel"},
{"wizard", "wh_main_brt_bretonnia_qb1", "brt_damsel_beasts"},
{"wizard", "wh_main_brt_bretonnia_qb1", "brt_damsel_life"},
{"champion", "wh_main_brt_bretonnia_qb2", "brt_paladin"},
{"colonel", "wh_main_brt_bretonnia_qb2", "brt_lord"},
{"dignitary", "wh_main_brt_bretonnia_qb2", "default"},
{"engineer", "wh_main_brt_bretonnia_qb2", "default"},
{"general", "wh_main_brt_bretonnia_qb2", "brt_lord"},
{"general", "wh_main_brt_bretonnia_qb2", "dlc07_brt_prophetess_beasts"},
{"general", "wh_main_brt_bretonnia_qb2", "dlc07_brt_prophetess_heavens"},
{"general", "wh_main_brt_bretonnia_qb2", "dlc07_brt_prophetess_life"},
{"minister", "wh_main_brt_bretonnia_qb2", "default"},
{"runesmith", "wh_main_brt_bretonnia_qb2", "default"},
{"spy", "wh_main_brt_bretonnia_qb2", "default"},
{"wizard", "wh_main_brt_bretonnia_qb2", "brt_damsel"},
{"wizard", "wh_main_brt_bretonnia_qb2", "brt_damsel_beasts"},
{"wizard", "wh_main_brt_bretonnia_qb2", "brt_damsel_life"},
{"champion", "wh_main_brt_bretonnia_qb3", "brt_paladin"},
{"colonel", "wh_main_brt_bretonnia_qb3", "brt_lord"},
{"dignitary", "wh_main_brt_bretonnia_qb3", "default"},
{"engineer", "wh_main_brt_bretonnia_qb3", "default"},
{"general", "wh_main_brt_bretonnia_qb3", "brt_lord"},
{"general", "wh_main_brt_bretonnia_qb3", "dlc07_brt_prophetess_beasts"},
{"general", "wh_main_brt_bretonnia_qb3", "dlc07_brt_prophetess_heavens"},
{"general", "wh_main_brt_bretonnia_qb3", "dlc07_brt_prophetess_life"},
{"minister", "wh_main_brt_bretonnia_qb3", "default"},
{"runesmith", "wh_main_brt_bretonnia_qb3", "default"},
{"spy", "wh_main_brt_bretonnia_qb3", "default"},
{"wizard", "wh_main_brt_bretonnia_qb3", "brt_damsel"},
{"wizard", "wh_main_brt_bretonnia_qb3", "brt_damsel_beasts"},
{"wizard", "wh_main_brt_bretonnia_qb3", "brt_damsel_life"},
{"champion", "wh_main_brt_bretonnia_rebels", "brt_paladin"},
{"colonel", "wh_main_brt_bretonnia_rebels", "brt_lord"},
{"dignitary", "wh_main_brt_bretonnia_rebels", "default"},
{"engineer", "wh_main_brt_bretonnia_rebels", "default"},
{"general", "wh_main_brt_bretonnia_rebels", "brt_lord"},
{"general", "wh_main_brt_bretonnia_rebels", "dlc07_brt_prophetess_beasts"},
{"general", "wh_main_brt_bretonnia_rebels", "dlc07_brt_prophetess_heavens"},
{"general", "wh_main_brt_bretonnia_rebels", "dlc07_brt_prophetess_life"},
{"minister", "wh_main_brt_bretonnia_rebels", "default"},
{"runesmith", "wh_main_brt_bretonnia_rebels", "default"},
{"spy", "wh_main_brt_bretonnia_rebels", "default"},
{"wizard", "wh_main_brt_bretonnia_rebels", "brt_damsel"},
{"wizard", "wh_main_brt_bretonnia_rebels", "brt_damsel_beasts"},
{"wizard", "wh_main_brt_bretonnia_rebels", "brt_damsel_life"},
{"champion", "wh_main_brt_bretonnia", "brt_paladin"},
{"champion", "wh_main_brt_bretonnia", "dlc07_brt_green_knight"},
{"colonel", "wh_main_brt_bretonnia", "brt_lord"},
{"dignitary", "wh_main_brt_bretonnia", "default"},
{"engineer", "wh_main_brt_bretonnia", "default"},
{"general", "wh_main_brt_bretonnia", "brt_lord"},
{"general", "wh_main_brt_bretonnia", "brt_louen_leoncouer"},
{"general", "wh_main_brt_bretonnia", "dlc07_brt_prophetess_beasts"},
{"general", "wh_main_brt_bretonnia", "dlc07_brt_prophetess_heavens"},
{"general", "wh_main_brt_bretonnia", "dlc07_brt_prophetess_life"},
{"minister", "wh_main_brt_bretonnia", "default"},
{"runesmith", "wh_main_brt_bretonnia", "default"},
{"spy", "wh_main_brt_bretonnia", "default"},
{"wizard", "wh_main_brt_bretonnia", "brt_damsel"},
{"wizard", "wh_main_brt_bretonnia", "brt_damsel_beasts"},
{"wizard", "wh_main_brt_bretonnia", "brt_damsel_life"},
{"champion", "wh_main_brt_carcassonne", "brt_paladin"},
{"champion", "wh_main_brt_carcassonne", "dlc07_brt_green_knight"},
{"colonel", "wh_main_brt_carcassonne", "brt_lord"},
{"dignitary", "wh_main_brt_carcassonne", "default"},
{"engineer", "wh_main_brt_carcassonne", "default"},
{"general", "wh_main_brt_carcassonne", "brt_lord"},
{"general", "wh_main_brt_carcassonne", "dlc07_brt_fay_enchantress"},
{"general", "wh_main_brt_carcassonne", "dlc07_brt_prophetess_beasts"},
{"general", "wh_main_brt_carcassonne", "dlc07_brt_prophetess_heavens"},
{"general", "wh_main_brt_carcassonne", "dlc07_brt_prophetess_life"},
{"minister", "wh_main_brt_carcassonne", "default"},
{"runesmith", "wh_main_brt_carcassonne", "default"},
{"spy", "wh_main_brt_carcassonne", "default"},
{"wizard", "wh_main_brt_carcassonne", "brt_damsel"},
{"wizard", "wh_main_brt_carcassonne", "brt_damsel_beasts"},
{"wizard", "wh_main_brt_carcassonne", "brt_damsel_life"},
{"champion", "wh_main_brt_lyonesse", "brt_paladin"},
{"colonel", "wh_main_brt_lyonesse", "brt_lord"},
{"dignitary", "wh_main_brt_lyonesse", "default"},
{"engineer", "wh_main_brt_lyonesse", "default"},
{"general", "wh_main_brt_lyonesse", "brt_lord"},
{"general", "wh_main_brt_lyonesse", "dlc07_brt_prophetess_beasts"},
{"general", "wh_main_brt_lyonesse", "dlc07_brt_prophetess_heavens"},
{"general", "wh_main_brt_lyonesse", "dlc07_brt_prophetess_life"},
{"minister", "wh_main_brt_lyonesse", "default"},
{"runesmith", "wh_main_brt_lyonesse", "default"},
{"spy", "wh_main_brt_lyonesse", "default"},
{"wizard", "wh_main_brt_lyonesse", "brt_damsel"},
{"wizard", "wh_main_brt_lyonesse", "brt_damsel_beasts"},
{"wizard", "wh_main_brt_lyonesse", "brt_damsel_life"},
{"champion", "wh_main_brt_parravon", "brt_paladin"},
{"colonel", "wh_main_brt_parravon", "brt_lord"},
{"dignitary", "wh_main_brt_parravon", "default"},
{"engineer", "wh_main_brt_parravon", "default"},
{"general", "wh_main_brt_parravon", "brt_lord"},
{"general", "wh_main_brt_parravon", "dlc07_brt_prophetess_beasts"},
{"general", "wh_main_brt_parravon", "dlc07_brt_prophetess_heavens"},
{"general", "wh_main_brt_parravon", "dlc07_brt_prophetess_life"},
{"minister", "wh_main_brt_parravon", "default"},
{"runesmith", "wh_main_brt_parravon", "default"},
{"spy", "wh_main_brt_parravon", "default"},
{"wizard", "wh_main_brt_parravon", "brt_damsel"},
{"wizard", "wh_main_brt_parravon", "brt_damsel_beasts"},
{"wizard", "wh_main_brt_parravon", "brt_damsel_life"},
{"champion", "wh_main_chs_chaos_qb1", "chs_exalted_hero"},
{"colonel", "wh_main_chs_chaos_qb1", "chs_lord"},
{"dignitary", "wh_main_chs_chaos_qb1", "default"},
{"engineer", "wh_main_chs_chaos_qb1", "default"},
{"general", "wh_main_chs_chaos_qb1", "chs_lord"},
{"general", "wh_main_chs_chaos_qb1", "chs_lord_of_change"},
{"general", "wh_main_chs_chaos_qb1", "chs_sorcerer_lord_death"},
{"general", "wh_main_chs_chaos_qb1", "chs_sorcerer_lord_fire"},
{"general", "wh_main_chs_chaos_qb1", "chs_sorcerer_lord_metal"},
{"general", "wh_main_chs_chaos_qb1", "dlc07_chs_sorcerer_lord_shadow"},
{"general", "wh_main_chs_chaos_qb1", "wh_dlc08_chs_dragon_ogre_shaggoth_boss"},
{"minister", "wh_main_chs_chaos_qb1", "default"},
{"runesmith", "wh_main_chs_chaos_qb1", "default"},
{"spy", "wh_main_chs_chaos_qb1", "default"},
{"wizard", "wh_main_chs_chaos_qb1", "chs_chaos_sorcerer_death"},
{"wizard", "wh_main_chs_chaos_qb1", "chs_chaos_sorcerer_fire"},
{"wizard", "wh_main_chs_chaos_qb1", "chs_chaos_sorcerer_metal"},
{"wizard", "wh_main_chs_chaos_qb1", "dlc07_chs_chaos_sorcerer_shadow"},
{"champion", "wh_main_chs_chaos_qb2", "chs_exalted_hero"},
{"colonel", "wh_main_chs_chaos_qb2", "chs_lord"},
{"dignitary", "wh_main_chs_chaos_qb2", "default"},
{"engineer", "wh_main_chs_chaos_qb2", "default"},
{"general", "wh_main_chs_chaos_qb2", "chs_lord"},
{"general", "wh_main_chs_chaos_qb2", "chs_lord_of_change"},
{"general", "wh_main_chs_chaos_qb2", "chs_sorcerer_lord_death"},
{"general", "wh_main_chs_chaos_qb2", "chs_sorcerer_lord_fire"},
{"general", "wh_main_chs_chaos_qb2", "chs_sorcerer_lord_metal"},
{"general", "wh_main_chs_chaos_qb2", "dlc07_chs_sorcerer_lord_shadow"},
{"minister", "wh_main_chs_chaos_qb2", "default"},
{"runesmith", "wh_main_chs_chaos_qb2", "default"},
{"spy", "wh_main_chs_chaos_qb2", "default"},
{"wizard", "wh_main_chs_chaos_qb2", "chs_chaos_sorcerer_death"},
{"wizard", "wh_main_chs_chaos_qb2", "chs_chaos_sorcerer_fire"},
{"wizard", "wh_main_chs_chaos_qb2", "chs_chaos_sorcerer_metal"},
{"wizard", "wh_main_chs_chaos_qb2", "dlc07_chs_chaos_sorcerer_shadow"},
{"champion", "wh_main_chs_chaos_qb3", "chs_exalted_hero"},
{"colonel", "wh_main_chs_chaos_qb3", "chs_lord"},
{"dignitary", "wh_main_chs_chaos_qb3", "default"},
{"engineer", "wh_main_chs_chaos_qb3", "default"},
{"general", "wh_main_chs_chaos_qb3", "chs_lord"},
{"general", "wh_main_chs_chaos_qb3", "chs_lord_of_change"},
{"general", "wh_main_chs_chaos_qb3", "chs_sorcerer_lord_death"},
{"general", "wh_main_chs_chaos_qb3", "chs_sorcerer_lord_fire"},
{"general", "wh_main_chs_chaos_qb3", "chs_sorcerer_lord_metal"},
{"general", "wh_main_chs_chaos_qb3", "dlc07_chs_sorcerer_lord_shadow"},
{"minister", "wh_main_chs_chaos_qb3", "default"},
{"runesmith", "wh_main_chs_chaos_qb3", "default"},
{"spy", "wh_main_chs_chaos_qb3", "default"},
{"wizard", "wh_main_chs_chaos_qb3", "chs_chaos_sorcerer_death"},
{"wizard", "wh_main_chs_chaos_qb3", "chs_chaos_sorcerer_fire"},
{"wizard", "wh_main_chs_chaos_qb3", "chs_chaos_sorcerer_metal"},
{"wizard", "wh_main_chs_chaos_qb3", "dlc07_chs_chaos_sorcerer_shadow"},
{"champion", "wh_main_chs_chaos_rebels", "chs_exalted_hero"},
{"colonel", "wh_main_chs_chaos_rebels", "chs_lord"},
{"dignitary", "wh_main_chs_chaos_rebels", "default"},
{"engineer", "wh_main_chs_chaos_rebels", "default"},
{"general", "wh_main_chs_chaos_rebels", "chs_lord"},
{"general", "wh_main_chs_chaos_rebels", "chs_sorcerer_lord_death"},
{"general", "wh_main_chs_chaos_rebels", "chs_sorcerer_lord_fire"},
{"general", "wh_main_chs_chaos_rebels", "chs_sorcerer_lord_metal"},
{"general", "wh_main_chs_chaos_rebels", "dlc07_chs_sorcerer_lord_shadow"},
{"minister", "wh_main_chs_chaos_rebels", "default"},
{"runesmith", "wh_main_chs_chaos_rebels", "default"},
{"spy", "wh_main_chs_chaos_rebels", "default"},
{"wizard", "wh_main_chs_chaos_rebels", "chs_chaos_sorcerer_death"},
{"wizard", "wh_main_chs_chaos_rebels", "chs_chaos_sorcerer_fire"},
{"wizard", "wh_main_chs_chaos_rebels", "chs_chaos_sorcerer_metal"},
{"wizard", "wh_main_chs_chaos_rebels", "dlc07_chs_chaos_sorcerer_shadow"},
{"champion", "wh_main_chs_chaos_separatists", "chs_exalted_hero"},
{"colonel", "wh_main_chs_chaos_separatists", "chs_lord"},
{"dignitary", "wh_main_chs_chaos_separatists", "default"},
{"engineer", "wh_main_chs_chaos_separatists", "default"},
{"general", "wh_main_chs_chaos_separatists", "chs_lord"},
{"general", "wh_main_chs_chaos_separatists", "chs_sorcerer_lord_death"},
{"general", "wh_main_chs_chaos_separatists", "chs_sorcerer_lord_fire"},
{"general", "wh_main_chs_chaos_separatists", "chs_sorcerer_lord_metal"},
{"general", "wh_main_chs_chaos_separatists", "dlc07_chs_sorcerer_lord_shadow"},
{"minister", "wh_main_chs_chaos_separatists", "default"},
{"runesmith", "wh_main_chs_chaos_separatists", "default"},
{"spy", "wh_main_chs_chaos_separatists", "default"},
{"wizard", "wh_main_chs_chaos_separatists", "chs_chaos_sorcerer_death"},
{"wizard", "wh_main_chs_chaos_separatists", "chs_chaos_sorcerer_fire"},
{"wizard", "wh_main_chs_chaos_separatists", "chs_chaos_sorcerer_metal"},
{"wizard", "wh_main_chs_chaos_separatists", "dlc07_chs_chaos_sorcerer_shadow"},
{"champion", "wh_main_chs_chaos", "chs_exalted_hero"},
{"colonel", "wh_main_chs_chaos", "chs_lord"},
{"dignitary", "wh_main_chs_chaos", "default"},
{"engineer", "wh_main_chs_chaos", "default"},
{"general", "wh_main_chs_chaos", "chs_archaon"},
{"general", "wh_main_chs_chaos", "chs_kholek_suneater"},
{"general", "wh_main_chs_chaos", "chs_lord"},
{"general", "wh_main_chs_chaos", "chs_lord_of_change"},
{"general", "wh_main_chs_chaos", "chs_prince_sigvald"},
{"general", "wh_main_chs_chaos", "chs_sorcerer_lord_death"},
{"general", "wh_main_chs_chaos", "chs_sorcerer_lord_fire"},
{"general", "wh_main_chs_chaos", "chs_sorcerer_lord_metal"},
{"general", "wh_main_chs_chaos", "dlc07_chs_sorcerer_lord_shadow"},
{"minister", "wh_main_chs_chaos", "default"},
{"runesmith", "wh_main_chs_chaos", "default"},
{"spy", "wh_main_chs_chaos", "default"},
{"wizard", "wh_main_chs_chaos", "chs_chaos_sorcerer_death"},
{"wizard", "wh_main_chs_chaos", "chs_chaos_sorcerer_fire"},
{"wizard", "wh_main_chs_chaos", "chs_chaos_sorcerer_metal"},
{"wizard", "wh_main_chs_chaos", "dlc07_chs_chaos_sorcerer_shadow"},
{"champion", "wh_main_dwf_barak_varr", "dwf_thane"},
{"colonel", "wh_main_dwf_barak_varr", "dwf_lord"},
{"dignitary", "wh_main_dwf_barak_varr", "default"},
{"engineer", "wh_main_dwf_barak_varr", "dwf_master_engineer"},
{"general", "wh_main_dwf_barak_varr", "dlc06_dwf_runelord"},
{"general", "wh_main_dwf_barak_varr", "dwf_lord"},
{"minister", "wh_main_dwf_barak_varr", "default"},
{"runesmith", "wh_main_dwf_barak_varr", "dwf_runesmith"},
{"spy", "wh_main_dwf_barak_varr", "default"},
{"wizard", "wh_main_dwf_barak_varr", "default"},
{"champion", "wh_main_dwf_dwarf_rebels", "dwf_thane"},
{"colonel", "wh_main_dwf_dwarf_rebels", "dwf_lord"},
{"dignitary", "wh_main_dwf_dwarf_rebels", "default"},
{"engineer", "wh_main_dwf_dwarf_rebels", "dwf_master_engineer"},
{"general", "wh_main_dwf_dwarf_rebels", "dlc06_dwf_runelord"},
{"general", "wh_main_dwf_dwarf_rebels", "dwf_lord"},
{"minister", "wh_main_dwf_dwarf_rebels", "default"},
{"runesmith", "wh_main_dwf_dwarf_rebels", "dwf_runesmith"},
{"spy", "wh_main_dwf_dwarf_rebels", "default"},
{"wizard", "wh_main_dwf_dwarf_rebels", "default"},
{"champion", "wh_main_dwf_dwarfs_qb1", "dwf_thane"},
{"colonel", "wh_main_dwf_dwarfs_qb1", "dwf_lord"},
{"dignitary", "wh_main_dwf_dwarfs_qb1", "default"},
{"engineer", "wh_main_dwf_dwarfs_qb1", "dwf_master_engineer"},
{"general", "wh_main_dwf_dwarfs_qb1", "dlc06_dwf_belegar"},
{"general", "wh_main_dwf_dwarfs_qb1", "dlc06_dwf_runelord"},
{"general", "wh_main_dwf_dwarfs_qb1", "dwf_lord"},
{"general", "wh_main_dwf_dwarfs_qb1", "dwf_thorgrim_grudgebearer"},
{"minister", "wh_main_dwf_dwarfs_qb1", "default"},
{"runesmith", "wh_main_dwf_dwarfs_qb1", "dwf_runesmith"},
{"spy", "wh_main_dwf_dwarfs_qb1", "default"},
{"wizard", "wh_main_dwf_dwarfs_qb1", "default"},
{"champion", "wh_main_dwf_dwarfs_qb2", "dwf_thane"},
{"colonel", "wh_main_dwf_dwarfs_qb2", "dwf_lord"},
{"dignitary", "wh_main_dwf_dwarfs_qb2", "default"},
{"engineer", "wh_main_dwf_dwarfs_qb2", "dwf_master_engineer"},
{"general", "wh_main_dwf_dwarfs_qb2", "dlc06_dwf_belegar"},
{"general", "wh_main_dwf_dwarfs_qb2", "dlc06_dwf_runelord"},
{"general", "wh_main_dwf_dwarfs_qb2", "dwf_lord"},
{"general", "wh_main_dwf_dwarfs_qb2", "dwf_thorgrim_grudgebearer"},
{"minister", "wh_main_dwf_dwarfs_qb2", "default"},
{"runesmith", "wh_main_dwf_dwarfs_qb2", "dwf_runesmith"},
{"spy", "wh_main_dwf_dwarfs_qb2", "default"},
{"wizard", "wh_main_dwf_dwarfs_qb2", "default"},
{"champion", "wh_main_dwf_dwarfs_qb3", "dwf_thane"},
{"colonel", "wh_main_dwf_dwarfs_qb3", "dwf_lord"},
{"dignitary", "wh_main_dwf_dwarfs_qb3", "default"},
{"engineer", "wh_main_dwf_dwarfs_qb3", "dwf_master_engineer"},
{"general", "wh_main_dwf_dwarfs_qb3", "dlc06_dwf_belegar"},
{"general", "wh_main_dwf_dwarfs_qb3", "dlc06_dwf_runelord"},
{"general", "wh_main_dwf_dwarfs_qb3", "dwf_lord"},
{"general", "wh_main_dwf_dwarfs_qb3", "dwf_thorgrim_grudgebearer"},
{"minister", "wh_main_dwf_dwarfs_qb3", "default"},
{"runesmith", "wh_main_dwf_dwarfs_qb3", "dwf_runesmith"},
{"spy", "wh_main_dwf_dwarfs_qb3", "default"},
{"wizard", "wh_main_dwf_dwarfs_qb3", "default"},
{"champion", "wh_main_dwf_dwarfs_qb4", "dwf_thane"},
{"colonel", "wh_main_dwf_dwarfs_qb4", "dwf_lord"},
{"dignitary", "wh_main_dwf_dwarfs_qb4", "default"},
{"engineer", "wh_main_dwf_dwarfs_qb4", "dwf_master_engineer"},
{"general", "wh_main_dwf_dwarfs_qb4", "dlc06_dwf_belegar"},
{"general", "wh_main_dwf_dwarfs_qb4", "dlc06_dwf_runelord"},
{"general", "wh_main_dwf_dwarfs_qb4", "dwf_lord"},
{"general", "wh_main_dwf_dwarfs_qb4", "dwf_thorgrim_grudgebearer"},
{"minister", "wh_main_dwf_dwarfs_qb4", "default"},
{"runesmith", "wh_main_dwf_dwarfs_qb4", "dwf_runesmith"},
{"spy", "wh_main_dwf_dwarfs_qb4", "default"},
{"wizard", "wh_main_dwf_dwarfs_qb4", "default"},
{"champion", "wh_main_dwf_dwarfs", "dlc06_dwf_thane_ghost_1"},
{"champion", "wh_main_dwf_dwarfs", "dlc06_dwf_thane_ghost_2"},
{"champion", "wh_main_dwf_dwarfs", "dwf_thane"},
{"colonel", "wh_main_dwf_dwarfs", "dwf_lord"},
{"dignitary", "wh_main_dwf_dwarfs", "default"},
{"engineer", "wh_main_dwf_dwarfs", "dlc06_dwf_master_engineer_ghost"},
{"engineer", "wh_main_dwf_dwarfs", "dwf_master_engineer"},
{"general", "wh_main_dwf_dwarfs", "dlc06_dwf_belegar"},
{"general", "wh_main_dwf_dwarfs", "dlc06_dwf_runelord"},
{"general", "wh_main_dwf_dwarfs", "dwf_lord"},
{"general", "wh_main_dwf_dwarfs", "dwf_thorgrim_grudgebearer"},
{"general", "wh_main_dwf_dwarfs", "dwf_ungrim_ironfist"},
{"general", "wh_main_dwf_dwarfs", "pro01_dwf_grombrindal"},
{"minister", "wh_main_dwf_dwarfs", "default"},
{"runesmith", "wh_main_dwf_dwarfs", "dlc06_dwf_runesmith_ghost"},
{"runesmith", "wh_main_dwf_dwarfs", "dwf_runesmith"},
{"spy", "wh_main_dwf_dwarfs", "default"},
{"wizard", "wh_main_dwf_dwarfs", "default"},
{"champion", "wh_main_dwf_karak_azul", "dwf_thane"},
{"colonel", "wh_main_dwf_karak_azul", "dwf_lord"},
{"dignitary", "wh_main_dwf_karak_azul", "default"},
{"engineer", "wh_main_dwf_karak_azul", "dwf_master_engineer"},
{"general", "wh_main_dwf_karak_azul", "dlc06_dwf_runelord"},
{"general", "wh_main_dwf_karak_azul", "dwf_lord"},
{"minister", "wh_main_dwf_karak_azul", "default"},
{"runesmith", "wh_main_dwf_karak_azul", "dwf_runesmith"},
{"spy", "wh_main_dwf_karak_azul", "default"},
{"wizard", "wh_main_dwf_karak_azul", "default"},
{"champion", "wh_main_dwf_karak_hirn", "dwf_thane"},
{"colonel", "wh_main_dwf_karak_hirn", "dwf_lord"},
{"dignitary", "wh_main_dwf_karak_hirn", "default"},
{"engineer", "wh_main_dwf_karak_hirn", "dwf_master_engineer"},
{"general", "wh_main_dwf_karak_hirn", "dlc06_dwf_runelord"},
{"general", "wh_main_dwf_karak_hirn", "dwf_lord"},
{"minister", "wh_main_dwf_karak_hirn", "default"},
{"runesmith", "wh_main_dwf_karak_hirn", "dwf_runesmith"},
{"spy", "wh_main_dwf_karak_hirn", "default"},
{"wizard", "wh_main_dwf_karak_hirn", "default"},
{"champion", "wh_main_dwf_karak_izor", "dlc06_dwf_thane_ghost_1"},
{"champion", "wh_main_dwf_karak_izor", "dlc06_dwf_thane_ghost_2"},
{"champion", "wh_main_dwf_karak_izor", "dwf_thane"},
{"colonel", "wh_main_dwf_karak_izor", "dwf_lord"},
{"dignitary", "wh_main_dwf_karak_izor", "default"},
{"engineer", "wh_main_dwf_karak_izor", "dlc06_dwf_master_engineer_ghost"},
{"engineer", "wh_main_dwf_karak_izor", "dwf_master_engineer"},
{"general", "wh_main_dwf_karak_izor", "dlc06_dwf_belegar"},
{"general", "wh_main_dwf_karak_izor", "dlc06_dwf_runelord"},
{"general", "wh_main_dwf_karak_izor", "dwf_lord"},
{"minister", "wh_main_dwf_karak_izor", "default"},
{"runesmith", "wh_main_dwf_karak_izor", "dlc06_dwf_runesmith_ghost"},
{"runesmith", "wh_main_dwf_karak_izor", "dwf_runesmith"},
{"spy", "wh_main_dwf_karak_izor", "default"},
{"wizard", "wh_main_dwf_karak_izor", "default"},
{"champion", "wh_main_dwf_karak_kadrin", "dwf_thane"},
{"colonel", "wh_main_dwf_karak_kadrin", "dwf_lord"},
{"dignitary", "wh_main_dwf_karak_kadrin", "default"},
{"engineer", "wh_main_dwf_karak_kadrin", "dwf_master_engineer"},
{"general", "wh_main_dwf_karak_kadrin", "dlc06_dwf_runelord"},
{"general", "wh_main_dwf_karak_kadrin", "dwf_lord"},
{"general", "wh_main_dwf_karak_kadrin", "dwf_ungrim_ironfist"},
{"minister", "wh_main_dwf_karak_kadrin", "default"},
{"runesmith", "wh_main_dwf_karak_kadrin", "dwf_runesmith"},
{"spy", "wh_main_dwf_karak_kadrin", "default"},
{"wizard", "wh_main_dwf_karak_kadrin", "default"},
{"champion", "wh_main_dwf_karak_norn", "dwf_thane"},
{"colonel", "wh_main_dwf_karak_norn", "dwf_lord"},
{"dignitary", "wh_main_dwf_karak_norn", "default"},
{"engineer", "wh_main_dwf_karak_norn", "dwf_master_engineer"},
{"general", "wh_main_dwf_karak_norn", "dlc06_dwf_runelord"},
{"general", "wh_main_dwf_karak_norn", "dwf_lord"},
{"minister", "wh_main_dwf_karak_norn", "default"},
{"runesmith", "wh_main_dwf_karak_norn", "dwf_runesmith"},
{"spy", "wh_main_dwf_karak_norn", "default"},
{"wizard", "wh_main_dwf_karak_norn", "default"},
{"champion", "wh_main_dwf_karak_ziflin", "dwf_thane"},
{"colonel", "wh_main_dwf_karak_ziflin", "dwf_lord"},
{"dignitary", "wh_main_dwf_karak_ziflin", "default"},
{"engineer", "wh_main_dwf_karak_ziflin", "dwf_master_engineer"},
{"general", "wh_main_dwf_karak_ziflin", "dlc06_dwf_runelord"},
{"general", "wh_main_dwf_karak_ziflin", "dwf_lord"},
{"minister", "wh_main_dwf_karak_ziflin", "default"},
{"runesmith", "wh_main_dwf_karak_ziflin", "dwf_runesmith"},
{"spy", "wh_main_dwf_karak_ziflin", "default"},
{"wizard", "wh_main_dwf_karak_ziflin", "default"},
{"champion", "wh_main_dwf_kraka_drak", "dwf_thane"},
{"colonel", "wh_main_dwf_kraka_drak", "dwf_lord"},
{"dignitary", "wh_main_dwf_kraka_drak", "default"},
{"engineer", "wh_main_dwf_kraka_drak", "dwf_master_engineer"},
{"general", "wh_main_dwf_kraka_drak", "dlc06_dwf_runelord"},
{"general", "wh_main_dwf_kraka_drak", "dwf_lord"},
{"minister", "wh_main_dwf_kraka_drak", "default"},
{"runesmith", "wh_main_dwf_kraka_drak", "dwf_runesmith"},
{"spy", "wh_main_dwf_kraka_drak", "default"},
{"wizard", "wh_main_dwf_kraka_drak", "default"},
{"champion", "wh_main_dwf_zhufbar", "dwf_thane"},
{"colonel", "wh_main_dwf_zhufbar", "dwf_lord"},
{"dignitary", "wh_main_dwf_zhufbar", "default"},
{"engineer", "wh_main_dwf_zhufbar", "dwf_master_engineer"},
{"general", "wh_main_dwf_zhufbar", "dlc06_dwf_runelord"},
{"general", "wh_main_dwf_zhufbar", "dwf_lord"},
{"minister", "wh_main_dwf_zhufbar", "default"},
{"runesmith", "wh_main_dwf_zhufbar", "dwf_runesmith"},
{"spy", "wh_main_dwf_zhufbar", "default"},
{"wizard", "wh_main_dwf_zhufbar", "default"},
{"champion", "wh_main_emp_averland", "emp_captain"},
{"colonel", "wh_main_emp_averland", "emp_lord"},
{"dignitary", "wh_main_emp_averland", "emp_warrior_priest"},
{"engineer", "wh_main_emp_averland", "default"},
{"general", "wh_main_emp_averland", "dlc04_emp_arch_lector"},
{"general", "wh_main_emp_averland", "emp_lord"},
{"general", "wh_main_emp_averland", "wh2_dlc13_emp_cha_huntsmarshal_0"},
{"minister", "wh_main_emp_averland", "default"},
{"runesmith", "wh_main_emp_averland", "default"},
{"spy", "wh_main_emp_averland", "emp_witch_hunter"},
{"wizard", "wh_main_emp_averland", "dlc03_emp_amber_wizard"},
{"wizard", "wh_main_emp_averland", "dlc05_emp_grey_wizard"},
{"wizard", "wh_main_emp_averland", "dlc05_emp_jade_wizard"},
{"wizard", "wh_main_emp_averland", "emp_bright_wizard"},
{"wizard", "wh_main_emp_averland", "emp_celestial_wizard"},
{"wizard", "wh_main_emp_averland", "emp_light_wizard"},
{"wizard", "wh_main_emp_averland", "wh2_pro07_emp_amethyst_wizard"},
{"champion", "wh_main_emp_empire_qb1", "emp_captain"},
{"colonel", "wh_main_emp_empire_qb1", "emp_lord"},
{"dignitary", "wh_main_emp_empire_qb1", "emp_warrior_priest"},
{"engineer", "wh_main_emp_empire_qb1", "default"},
{"general", "wh_main_emp_empire_qb1", "dlc04_emp_arch_lector"},
{"general", "wh_main_emp_empire_qb1", "emp_karl_franz"},
{"general", "wh_main_emp_empire_qb1", "emp_lord"},
{"general", "wh_main_emp_empire_qb1", "wh2_dlc13_emp_cha_huntsmarshal_0"},
{"minister", "wh_main_emp_empire_qb1", "default"},
{"runesmith", "wh_main_emp_empire_qb1", "default"},
{"spy", "wh_main_emp_empire_qb1", "emp_witch_hunter"},
{"wizard", "wh_main_emp_empire_qb1", "dlc03_emp_amber_wizard"},
{"wizard", "wh_main_emp_empire_qb1", "dlc05_emp_grey_wizard"},
{"wizard", "wh_main_emp_empire_qb1", "dlc05_emp_jade_wizard"},
{"wizard", "wh_main_emp_empire_qb1", "emp_bright_wizard"},
{"wizard", "wh_main_emp_empire_qb1", "emp_celestial_wizard"},
{"wizard", "wh_main_emp_empire_qb1", "emp_light_wizard"},
{"wizard", "wh_main_emp_empire_qb1", "wh2_pro07_emp_amethyst_wizard"},
{"champion", "wh_main_emp_empire_qb2", "emp_captain"},
{"colonel", "wh_main_emp_empire_qb2", "emp_lord"},
{"dignitary", "wh_main_emp_empire_qb2", "emp_warrior_priest"},
{"engineer", "wh_main_emp_empire_qb2", "default"},
{"general", "wh_main_emp_empire_qb2", "dlc04_emp_arch_lector"},
{"general", "wh_main_emp_empire_qb2", "emp_karl_franz"},
{"general", "wh_main_emp_empire_qb2", "emp_lord"},
{"general", "wh_main_emp_empire_qb2", "wh2_dlc13_emp_cha_huntsmarshal_0"},
{"minister", "wh_main_emp_empire_qb2", "default"},
{"runesmith", "wh_main_emp_empire_qb2", "default"},
{"spy", "wh_main_emp_empire_qb2", "emp_witch_hunter"},
{"wizard", "wh_main_emp_empire_qb2", "dlc03_emp_amber_wizard"},
{"wizard", "wh_main_emp_empire_qb2", "dlc05_emp_grey_wizard"},
{"wizard", "wh_main_emp_empire_qb2", "dlc05_emp_jade_wizard"},
{"wizard", "wh_main_emp_empire_qb2", "emp_bright_wizard"},
{"wizard", "wh_main_emp_empire_qb2", "emp_celestial_wizard"},
{"wizard", "wh_main_emp_empire_qb2", "emp_light_wizard"},
{"wizard", "wh_main_emp_empire_qb2", "wh2_pro07_emp_amethyst_wizard"},
{"champion", "wh_main_emp_empire_qb3", "emp_captain"},
{"colonel", "wh_main_emp_empire_qb3", "emp_lord"},
{"dignitary", "wh_main_emp_empire_qb3", "emp_warrior_priest"},
{"engineer", "wh_main_emp_empire_qb3", "default"},
{"general", "wh_main_emp_empire_qb3", "dlc04_emp_arch_lector"},
{"general", "wh_main_emp_empire_qb3", "emp_karl_franz"},
{"general", "wh_main_emp_empire_qb3", "emp_lord"},
{"general", "wh_main_emp_empire_qb3", "wh2_dlc13_emp_cha_huntsmarshal_0"},
{"minister", "wh_main_emp_empire_qb3", "default"},
{"runesmith", "wh_main_emp_empire_qb3", "default"},
{"spy", "wh_main_emp_empire_qb3", "emp_witch_hunter"},
{"wizard", "wh_main_emp_empire_qb3", "dlc03_emp_amber_wizard"},
{"wizard", "wh_main_emp_empire_qb3", "dlc05_emp_grey_wizard"},
{"wizard", "wh_main_emp_empire_qb3", "dlc05_emp_jade_wizard"},
{"wizard", "wh_main_emp_empire_qb3", "emp_bright_wizard"},
{"wizard", "wh_main_emp_empire_qb3", "emp_celestial_wizard"},
{"wizard", "wh_main_emp_empire_qb3", "emp_light_wizard"},
{"wizard", "wh_main_emp_empire_qb3", "wh2_pro07_emp_amethyst_wizard"},
{"champion", "wh_main_emp_empire_qb4", "emp_captain"},
{"colonel", "wh_main_emp_empire_qb4", "emp_lord"},
{"dignitary", "wh_main_emp_empire_qb4", "emp_warrior_priest"},
{"engineer", "wh_main_emp_empire_qb4", "default"},
{"general", "wh_main_emp_empire_qb4", "dlc04_emp_arch_lector"},
{"general", "wh_main_emp_empire_qb4", "emp_lord"},
{"general", "wh_main_emp_empire_qb4", "wh2_dlc13_emp_cha_huntsmarshal_0"},
{"minister", "wh_main_emp_empire_qb4", "default"},
{"runesmith", "wh_main_emp_empire_qb4", "default"},
{"spy", "wh_main_emp_empire_qb4", "emp_witch_hunter"},
{"wizard", "wh_main_emp_empire_qb4", "dlc03_emp_amber_wizard"},
{"wizard", "wh_main_emp_empire_qb4", "dlc05_emp_grey_wizard"},
{"wizard", "wh_main_emp_empire_qb4", "dlc05_emp_jade_wizard"},
{"wizard", "wh_main_emp_empire_qb4", "emp_bright_wizard"},
{"wizard", "wh_main_emp_empire_qb4", "emp_celestial_wizard"},
{"wizard", "wh_main_emp_empire_qb4", "emp_light_wizard"},
{"wizard", "wh_main_emp_empire_qb4", "wh2_pro07_emp_amethyst_wizard"},
{"champion", "wh_main_emp_empire_rebels", "emp_captain"},
{"colonel", "wh_main_emp_empire_rebels", "emp_lord"},
{"dignitary", "wh_main_emp_empire_rebels", "emp_warrior_priest"},
{"engineer", "wh_main_emp_empire_rebels", "default"},
{"general", "wh_main_emp_empire_rebels", "dlc04_emp_arch_lector"},
{"general", "wh_main_emp_empire_rebels", "emp_lord"},
{"minister", "wh_main_emp_empire_rebels", "default"},
{"runesmith", "wh_main_emp_empire_rebels", "default"},
{"spy", "wh_main_emp_empire_rebels", "emp_witch_hunter"},
{"wizard", "wh_main_emp_empire_rebels", "dlc03_emp_amber_wizard"},
{"wizard", "wh_main_emp_empire_rebels", "dlc05_emp_grey_wizard"},
{"wizard", "wh_main_emp_empire_rebels", "dlc05_emp_jade_wizard"},
{"wizard", "wh_main_emp_empire_rebels", "emp_bright_wizard"},
{"wizard", "wh_main_emp_empire_rebels", "emp_celestial_wizard"},
{"wizard", "wh_main_emp_empire_rebels", "emp_light_wizard"},
{"wizard", "wh_main_emp_empire_rebels", "wh2_pro07_emp_amethyst_wizard"},
{"champion", "wh_main_emp_empire_separatists", "emp_captain"},
{"colonel", "wh_main_emp_empire_separatists", "emp_lord"},
{"dignitary", "wh_main_emp_empire_separatists", "emp_warrior_priest"},
{"engineer", "wh_main_emp_empire_separatists", "default"},
{"general", "wh_main_emp_empire_separatists", "dlc04_emp_arch_lector"},
{"general", "wh_main_emp_empire_separatists", "emp_lord"},
{"general", "wh_main_emp_empire_separatists", "wh2_dlc13_emp_cha_huntsmarshal_0"},
{"minister", "wh_main_emp_empire_separatists", "default"},
{"runesmith", "wh_main_emp_empire_separatists", "default"},
{"spy", "wh_main_emp_empire_separatists", "emp_witch_hunter"},
{"wizard", "wh_main_emp_empire_separatists", "dlc03_emp_amber_wizard"},
{"wizard", "wh_main_emp_empire_separatists", "dlc05_emp_grey_wizard"},
{"wizard", "wh_main_emp_empire_separatists", "dlc05_emp_jade_wizard"},
{"wizard", "wh_main_emp_empire_separatists", "emp_bright_wizard"},
{"wizard", "wh_main_emp_empire_separatists", "emp_celestial_wizard"},
{"wizard", "wh_main_emp_empire_separatists", "emp_light_wizard"},
{"wizard", "wh_main_emp_empire_separatists", "wh2_pro07_emp_amethyst_wizard"},
{"champion", "wh_main_emp_empire", "emp_captain"},
{"champion", "wh_main_emp_empire", "wh2_pro08_neu_felix"},
{"colonel", "wh_main_emp_empire", "emp_lord"},
{"dignitary", "wh_main_emp_empire", "emp_warrior_priest"},
{"engineer", "wh_main_emp_empire", "default"},
{"general", "wh_main_emp_empire", "dlc04_emp_arch_lector"},
{"general", "wh_main_emp_empire", "dlc04_emp_volkmar"},
{"general", "wh_main_emp_empire", "emp_balthasar_gelt"},
{"general", "wh_main_emp_empire", "emp_karl_franz"},
{"general", "wh_main_emp_empire", "emp_lord"},
{"general", "wh_main_emp_empire", "wh2_dlc13_emp_cha_huntsmarshal_0"},
{"general", "wh_main_emp_empire", "wh2_pro08_neu_gotrek"},
{"minister", "wh_main_emp_empire", "default"},
{"runesmith", "wh_main_emp_empire", "default"},
{"spy", "wh_main_emp_empire", "emp_witch_hunter"},
{"wizard", "wh_main_emp_empire", "dlc03_emp_amber_wizard"},
{"wizard", "wh_main_emp_empire", "dlc05_emp_grey_wizard"},
{"wizard", "wh_main_emp_empire", "dlc05_emp_jade_wizard"},
{"wizard", "wh_main_emp_empire", "emp_bright_wizard"},
{"wizard", "wh_main_emp_empire", "emp_celestial_wizard"},
{"wizard", "wh_main_emp_empire", "emp_light_wizard"},
{"wizard", "wh_main_emp_empire", "wh2_pro07_emp_amethyst_wizard"},
{"champion", "wh_main_emp_hochland", "emp_captain"},
{"colonel", "wh_main_emp_hochland", "emp_lord"},
{"dignitary", "wh_main_emp_hochland", "emp_warrior_priest"},
{"engineer", "wh_main_emp_hochland", "default"},
{"general", "wh_main_emp_hochland", "dlc04_emp_arch_lector"},
{"general", "wh_main_emp_hochland", "emp_lord"},
{"general", "wh_main_emp_hochland", "wh2_dlc13_emp_cha_huntsmarshal_0"},
{"minister", "wh_main_emp_hochland", "default"},
{"runesmith", "wh_main_emp_hochland", "default"},
{"spy", "wh_main_emp_hochland", "emp_witch_hunter"},
{"wizard", "wh_main_emp_hochland", "dlc03_emp_amber_wizard"},
{"wizard", "wh_main_emp_hochland", "dlc05_emp_grey_wizard"},
{"wizard", "wh_main_emp_hochland", "dlc05_emp_jade_wizard"},
{"wizard", "wh_main_emp_hochland", "emp_bright_wizard"},
{"wizard", "wh_main_emp_hochland", "emp_celestial_wizard"},
{"wizard", "wh_main_emp_hochland", "emp_light_wizard"},
{"wizard", "wh_main_emp_hochland", "wh2_pro07_emp_amethyst_wizard"},
{"champion", "wh_main_emp_marienburg_rebels", "emp_captain"},
{"colonel", "wh_main_emp_marienburg_rebels", "emp_lord"},
{"dignitary", "wh_main_emp_marienburg_rebels", "emp_warrior_priest"},
{"engineer", "wh_main_emp_marienburg_rebels", "default"},
{"general", "wh_main_emp_marienburg_rebels", "dlc04_emp_arch_lector"},
{"general", "wh_main_emp_marienburg_rebels", "emp_lord"},
{"general", "wh_main_emp_marienburg_rebels", "wh2_dlc13_emp_cha_huntsmarshal_0"},
{"minister", "wh_main_emp_marienburg_rebels", "default"},
{"runesmith", "wh_main_emp_marienburg_rebels", "default"},
{"spy", "wh_main_emp_marienburg_rebels", "emp_witch_hunter"},
{"wizard", "wh_main_emp_marienburg_rebels", "dlc03_emp_amber_wizard"},
{"wizard", "wh_main_emp_marienburg_rebels", "dlc05_emp_grey_wizard"},
{"wizard", "wh_main_emp_marienburg_rebels", "dlc05_emp_jade_wizard"},
{"wizard", "wh_main_emp_marienburg_rebels", "emp_bright_wizard"},
{"wizard", "wh_main_emp_marienburg_rebels", "emp_celestial_wizard"},
{"wizard", "wh_main_emp_marienburg_rebels", "emp_light_wizard"},
{"wizard", "wh_main_emp_marienburg_rebels", "wh2_pro07_emp_amethyst_wizard"},
{"champion", "wh_main_emp_marienburg", "emp_captain"},
{"colonel", "wh_main_emp_marienburg", "emp_lord"},
{"dignitary", "wh_main_emp_marienburg", "emp_warrior_priest"},
{"engineer", "wh_main_emp_marienburg", "default"},
{"general", "wh_main_emp_marienburg", "dlc04_emp_arch_lector"},
{"general", "wh_main_emp_marienburg", "emp_lord"},
{"general", "wh_main_emp_marienburg", "wh2_dlc13_emp_cha_huntsmarshal_0"},
{"minister", "wh_main_emp_marienburg", "default"},
{"runesmith", "wh_main_emp_marienburg", "default"},
{"spy", "wh_main_emp_marienburg", "emp_witch_hunter"},
{"wizard", "wh_main_emp_marienburg", "dlc03_emp_amber_wizard"},
{"wizard", "wh_main_emp_marienburg", "dlc05_emp_grey_wizard"},
{"wizard", "wh_main_emp_marienburg", "dlc05_emp_jade_wizard"},
{"wizard", "wh_main_emp_marienburg", "emp_bright_wizard"},
{"wizard", "wh_main_emp_marienburg", "emp_celestial_wizard"},
{"wizard", "wh_main_emp_marienburg", "emp_light_wizard"},
{"wizard", "wh_main_emp_marienburg", "wh2_pro07_emp_amethyst_wizard"},
{"champion", "wh_main_emp_middenland", "emp_captain"},
{"colonel", "wh_main_emp_middenland", "emp_lord"},
{"dignitary", "wh_main_emp_middenland", "emp_warrior_priest"},
{"engineer", "wh_main_emp_middenland", "default"},
{"general", "wh_main_emp_middenland", "dlc04_emp_arch_lector"},
{"general", "wh_main_emp_middenland", "emp_lord"},
{"general", "wh_main_emp_middenland", "wh2_dlc13_emp_cha_huntsmarshal_0"},
{"minister", "wh_main_emp_middenland", "default"},
{"runesmith", "wh_main_emp_middenland", "default"},
{"spy", "wh_main_emp_middenland", "emp_witch_hunter"},
{"wizard", "wh_main_emp_middenland", "dlc03_emp_amber_wizard"},
{"wizard", "wh_main_emp_middenland", "dlc05_emp_grey_wizard"},
{"wizard", "wh_main_emp_middenland", "dlc05_emp_jade_wizard"},
{"wizard", "wh_main_emp_middenland", "emp_bright_wizard"},
{"wizard", "wh_main_emp_middenland", "emp_celestial_wizard"},
{"wizard", "wh_main_emp_middenland", "emp_light_wizard"},
{"wizard", "wh_main_emp_middenland", "wh2_pro07_emp_amethyst_wizard"},
{"champion", "wh_main_emp_nordland", "emp_captain"},
{"colonel", "wh_main_emp_nordland", "emp_lord"},
{"dignitary", "wh_main_emp_nordland", "emp_warrior_priest"},
{"engineer", "wh_main_emp_nordland", "default"},
{"general", "wh_main_emp_nordland", "dlc04_emp_arch_lector"},
{"general", "wh_main_emp_nordland", "emp_lord"},
{"general", "wh_main_emp_nordland", "wh2_dlc13_emp_cha_huntsmarshal_0"},
{"minister", "wh_main_emp_nordland", "default"},
{"runesmith", "wh_main_emp_nordland", "default"},
{"spy", "wh_main_emp_nordland", "emp_witch_hunter"},
{"wizard", "wh_main_emp_nordland", "dlc03_emp_amber_wizard"},
{"wizard", "wh_main_emp_nordland", "dlc05_emp_grey_wizard"},
{"wizard", "wh_main_emp_nordland", "dlc05_emp_jade_wizard"},
{"wizard", "wh_main_emp_nordland", "emp_bright_wizard"},
{"wizard", "wh_main_emp_nordland", "emp_celestial_wizard"},
{"wizard", "wh_main_emp_nordland", "emp_light_wizard"},
{"wizard", "wh_main_emp_nordland", "wh2_pro07_emp_amethyst_wizard"},
{"champion", "wh_main_emp_ostermark", "emp_captain"},
{"colonel", "wh_main_emp_ostermark", "emp_lord"},
{"dignitary", "wh_main_emp_ostermark", "emp_warrior_priest"},
{"engineer", "wh_main_emp_ostermark", "default"},
{"general", "wh_main_emp_ostermark", "dlc04_emp_arch_lector"},
{"general", "wh_main_emp_ostermark", "emp_lord"},
{"minister", "wh_main_emp_ostermark", "default"},
{"runesmith", "wh_main_emp_ostermark", "default"},
{"spy", "wh_main_emp_ostermark", "emp_witch_hunter"},
{"wizard", "wh_main_emp_ostermark", "dlc03_emp_amber_wizard"},
{"wizard", "wh_main_emp_ostermark", "dlc05_emp_grey_wizard"},
{"wizard", "wh_main_emp_ostermark", "dlc05_emp_jade_wizard"},
{"wizard", "wh_main_emp_ostermark", "emp_bright_wizard"},
{"wizard", "wh_main_emp_ostermark", "emp_celestial_wizard"},
{"wizard", "wh_main_emp_ostermark", "emp_light_wizard"},
{"wizard", "wh_main_emp_ostermark", "wh2_pro07_emp_amethyst_wizard"},
{"champion", "wh_main_emp_ostland", "emp_captain"},
{"colonel", "wh_main_emp_ostland", "emp_lord"},
{"dignitary", "wh_main_emp_ostland", "emp_warrior_priest"},
{"engineer", "wh_main_emp_ostland", "default"},
{"general", "wh_main_emp_ostland", "dlc04_emp_arch_lector"},
{"general", "wh_main_emp_ostland", "emp_lord"},
{"general", "wh_main_emp_ostland", "wh2_dlc13_emp_cha_huntsmarshal_0"},
{"minister", "wh_main_emp_ostland", "default"},
{"runesmith", "wh_main_emp_ostland", "default"},
{"spy", "wh_main_emp_ostland", "emp_witch_hunter"},
{"wizard", "wh_main_emp_ostland", "dlc03_emp_amber_wizard"},
{"wizard", "wh_main_emp_ostland", "dlc05_emp_grey_wizard"},
{"wizard", "wh_main_emp_ostland", "dlc05_emp_jade_wizard"},
{"wizard", "wh_main_emp_ostland", "emp_bright_wizard"},
{"wizard", "wh_main_emp_ostland", "emp_celestial_wizard"},
{"wizard", "wh_main_emp_ostland", "emp_light_wizard"},
{"wizard", "wh_main_emp_ostland", "wh2_pro07_emp_amethyst_wizard"},
{"champion", "wh_main_emp_stirland", "emp_captain"},
{"colonel", "wh_main_emp_stirland", "emp_lord"},
{"dignitary", "wh_main_emp_stirland", "emp_warrior_priest"},
{"engineer", "wh_main_emp_stirland", "default"},
{"general", "wh_main_emp_stirland", "dlc04_emp_arch_lector"},
{"general", "wh_main_emp_stirland", "emp_lord"},
{"general", "wh_main_emp_stirland", "wh2_dlc13_emp_cha_huntsmarshal_0"},
{"minister", "wh_main_emp_stirland", "default"},
{"runesmith", "wh_main_emp_stirland", "default"},
{"spy", "wh_main_emp_stirland", "emp_witch_hunter"},
{"wizard", "wh_main_emp_stirland", "dlc03_emp_amber_wizard"},
{"wizard", "wh_main_emp_stirland", "dlc05_emp_grey_wizard"},
{"wizard", "wh_main_emp_stirland", "dlc05_emp_jade_wizard"},
{"wizard", "wh_main_emp_stirland", "emp_bright_wizard"},
{"wizard", "wh_main_emp_stirland", "emp_celestial_wizard"},
{"wizard", "wh_main_emp_stirland", "emp_light_wizard"},
{"wizard", "wh_main_emp_stirland", "wh2_pro07_emp_amethyst_wizard"},
{"champion", "wh_main_emp_talabecland", "emp_captain"},
{"colonel", "wh_main_emp_talabecland", "emp_lord"},
{"dignitary", "wh_main_emp_talabecland", "emp_warrior_priest"},
{"engineer", "wh_main_emp_talabecland", "default"},
{"general", "wh_main_emp_talabecland", "dlc04_emp_arch_lector"},
{"general", "wh_main_emp_talabecland", "emp_lord"},
{"general", "wh_main_emp_talabecland", "wh2_dlc13_emp_cha_huntsmarshal_0"},
{"minister", "wh_main_emp_talabecland", "default"},
{"runesmith", "wh_main_emp_talabecland", "default"},
{"spy", "wh_main_emp_talabecland", "emp_witch_hunter"},
{"wizard", "wh_main_emp_talabecland", "dlc03_emp_amber_wizard"},
{"wizard", "wh_main_emp_talabecland", "dlc05_emp_grey_wizard"},
{"wizard", "wh_main_emp_talabecland", "dlc05_emp_jade_wizard"},
{"wizard", "wh_main_emp_talabecland", "emp_bright_wizard"},
{"wizard", "wh_main_emp_talabecland", "emp_celestial_wizard"},
{"wizard", "wh_main_emp_talabecland", "emp_light_wizard"},
{"wizard", "wh_main_emp_talabecland", "wh2_pro07_emp_amethyst_wizard"},
{"champion", "wh_main_emp_wissenland", "emp_captain"},
{"colonel", "wh_main_emp_wissenland", "emp_lord"},
{"dignitary", "wh_main_emp_wissenland", "emp_warrior_priest"},
{"engineer", "wh_main_emp_wissenland", "default"},
{"general", "wh_main_emp_wissenland", "dlc04_emp_arch_lector"},
{"general", "wh_main_emp_wissenland", "emp_lord"},
{"general", "wh_main_emp_wissenland", "wh2_dlc13_emp_cha_huntsmarshal_0"},
{"minister", "wh_main_emp_wissenland", "default"},
{"runesmith", "wh_main_emp_wissenland", "default"},
{"spy", "wh_main_emp_wissenland", "emp_witch_hunter"},
{"wizard", "wh_main_emp_wissenland", "dlc03_emp_amber_wizard"},
{"wizard", "wh_main_emp_wissenland", "dlc05_emp_grey_wizard"},
{"wizard", "wh_main_emp_wissenland", "dlc05_emp_jade_wizard"},
{"wizard", "wh_main_emp_wissenland", "emp_bright_wizard"},
{"wizard", "wh_main_emp_wissenland", "emp_celestial_wizard"},
{"wizard", "wh_main_emp_wissenland", "emp_light_wizard"},
{"wizard", "wh_main_emp_wissenland", "wh2_pro07_emp_amethyst_wizard"},
{"champion", "wh_main_grn_black_venom_waaagh", "default"},
{"colonel", "wh_main_grn_black_venom_waaagh", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_black_venom_waaagh", "default"},
{"engineer", "wh_main_grn_black_venom_waaagh", "default"},
{"general", "wh_main_grn_black_venom_waaagh", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_black_venom_waaagh", "grn_orc_warboss"},
{"minister", "wh_main_grn_black_venom_waaagh", "default"},
{"runesmith", "wh_main_grn_black_venom_waaagh", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_black_venom_waaagh", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_black_venom_waaagh", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_black_venom_waaagh", "grn_orc_shaman"},
{"colonel", "wh_main_grn_black_venom", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_black_venom", "default"},
{"engineer", "wh_main_grn_black_venom", "default"},
{"general", "wh_main_grn_black_venom", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_black_venom", "grn_goblin_great_shaman"},
{"general", "wh_main_grn_black_venom", "grn_orc_warboss"},
{"minister", "wh_main_grn_black_venom", "default"},
{"runesmith", "wh_main_grn_black_venom", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_black_venom", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_black_venom", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_black_venom", "grn_orc_shaman"},
{"champion", "wh_main_grn_bloody_spearz_waaagh", "default"},
{"colonel", "wh_main_grn_bloody_spearz_waaagh", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_bloody_spearz_waaagh", "default"},
{"engineer", "wh_main_grn_bloody_spearz_waaagh", "default"},
{"general", "wh_main_grn_bloody_spearz_waaagh", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_bloody_spearz_waaagh", "grn_orc_warboss"},
{"minister", "wh_main_grn_bloody_spearz_waaagh", "default"},
{"runesmith", "wh_main_grn_bloody_spearz_waaagh", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_bloody_spearz_waaagh", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_bloody_spearz_waaagh", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_bloody_spearz_waaagh", "grn_orc_shaman"},
{"colonel", "wh_main_grn_bloody_spearz", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_bloody_spearz", "default"},
{"engineer", "wh_main_grn_bloody_spearz", "default"},
{"general", "wh_main_grn_bloody_spearz", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_bloody_spearz", "grn_goblin_great_shaman"},
{"general", "wh_main_grn_bloody_spearz", "grn_orc_warboss"},
{"minister", "wh_main_grn_bloody_spearz", "default"},
{"runesmith", "wh_main_grn_bloody_spearz", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_bloody_spearz", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_bloody_spearz", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_bloody_spearz", "grn_orc_shaman"},
{"champion", "wh_main_grn_broken_nose_waaagh", "default"},
{"colonel", "wh_main_grn_broken_nose_waaagh", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_broken_nose_waaagh", "default"},
{"engineer", "wh_main_grn_broken_nose_waaagh", "default"},
{"general", "wh_main_grn_broken_nose_waaagh", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_broken_nose_waaagh", "grn_orc_warboss"},
{"minister", "wh_main_grn_broken_nose_waaagh", "default"},
{"runesmith", "wh_main_grn_broken_nose_waaagh", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_broken_nose_waaagh", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_broken_nose_waaagh", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_broken_nose_waaagh", "grn_orc_shaman"},
{"colonel", "wh_main_grn_broken_nose", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_broken_nose", "default"},
{"engineer", "wh_main_grn_broken_nose", "default"},
{"general", "wh_main_grn_broken_nose", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_broken_nose", "grn_goblin_great_shaman"},
{"general", "wh_main_grn_broken_nose", "grn_orc_warboss"},
{"minister", "wh_main_grn_broken_nose", "default"},
{"runesmith", "wh_main_grn_broken_nose", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_broken_nose", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_broken_nose", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_broken_nose", "grn_orc_shaman"},
{"champion", "wh_main_grn_crooked_moon_waaagh", "default"},
{"colonel", "wh_main_grn_crooked_moon_waaagh", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_crooked_moon_waaagh", "default"},
{"engineer", "wh_main_grn_crooked_moon_waaagh", "default"},
{"general", "wh_main_grn_crooked_moon_waaagh", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_crooked_moon_waaagh", "grn_orc_warboss"},
{"minister", "wh_main_grn_crooked_moon_waaagh", "default"},
{"runesmith", "wh_main_grn_crooked_moon_waaagh", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_crooked_moon_waaagh", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_crooked_moon_waaagh", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_crooked_moon_waaagh", "grn_orc_shaman"},
{"colonel", "wh_main_grn_crooked_moon", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_crooked_moon", "default"},
{"engineer", "wh_main_grn_crooked_moon", "default"},
{"general", "wh_main_grn_crooked_moon", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_crooked_moon", "dlc06_grn_skarsnik"},
{"general", "wh_main_grn_crooked_moon", "grn_goblin_great_shaman"},
{"general", "wh_main_grn_crooked_moon", "grn_orc_warboss"},
{"general", "wh_main_grn_crooked_moon", "wh2_dlc15_grn_goblin_great_shaman_raknik"},
{"general", "wh_main_grn_crooked_moon", "wh2_dlc15_grn_orc_warboss_oglok"},
{"minister", "wh_main_grn_crooked_moon", "default"},
{"runesmith", "wh_main_grn_crooked_moon", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_crooked_moon", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_crooked_moon", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_crooked_moon", "grn_orc_shaman"},
{"colonel", "wh_main_grn_greenskins_qb1", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_greenskins_qb1", "default"},
{"engineer", "wh_main_grn_greenskins_qb1", "default"},
{"general", "wh_main_grn_greenskins_qb1", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_greenskins_qb1", "dlc06_grn_skarsnik"},
{"general", "wh_main_grn_greenskins_qb1", "dlc06_grn_wurrzag_da_great_prophet"},
{"general", "wh_main_grn_greenskins_qb1", "grn_goblin_great_shaman"},
{"general", "wh_main_grn_greenskins_qb1", "grn_orc_warboss"},
{"general", "wh_main_grn_greenskins_qb1", "wh_dlc08_grn_giant_boss"},
{"general", "wh_main_grn_greenskins_qb1", "wh_dlc08_grn_venom_queen_boss"},
{"minister", "wh_main_grn_greenskins_qb1", "default"},
{"runesmith", "wh_main_grn_greenskins_qb1", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_greenskins_qb1", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_greenskins_qb1", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_greenskins_qb1", "grn_orc_shaman"},
{"colonel", "wh_main_grn_greenskins_qb2", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_greenskins_qb2", "default"},
{"engineer", "wh_main_grn_greenskins_qb2", "default"},
{"general", "wh_main_grn_greenskins_qb2", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_greenskins_qb2", "dlc06_grn_skarsnik"},
{"general", "wh_main_grn_greenskins_qb2", "dlc06_grn_wurrzag_da_great_prophet"},
{"general", "wh_main_grn_greenskins_qb2", "grn_goblin_great_shaman"},
{"general", "wh_main_grn_greenskins_qb2", "grn_orc_warboss"},
{"minister", "wh_main_grn_greenskins_qb2", "default"},
{"runesmith", "wh_main_grn_greenskins_qb2", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_greenskins_qb2", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_greenskins_qb2", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_greenskins_qb2", "grn_orc_shaman"},
{"colonel", "wh_main_grn_greenskins_qb3", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_greenskins_qb3", "default"},
{"engineer", "wh_main_grn_greenskins_qb3", "default"},
{"general", "wh_main_grn_greenskins_qb3", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_greenskins_qb3", "dlc06_grn_skarsnik"},
{"general", "wh_main_grn_greenskins_qb3", "dlc06_grn_wurrzag_da_great_prophet"},
{"general", "wh_main_grn_greenskins_qb3", "grn_goblin_great_shaman"},
{"general", "wh_main_grn_greenskins_qb3", "grn_orc_warboss"},
{"minister", "wh_main_grn_greenskins_qb3", "default"},
{"runesmith", "wh_main_grn_greenskins_qb3", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_greenskins_qb3", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_greenskins_qb3", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_greenskins_qb3", "grn_orc_shaman"},
{"colonel", "wh_main_grn_greenskins_qb4", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_greenskins_qb4", "default"},
{"engineer", "wh_main_grn_greenskins_qb4", "default"},
{"general", "wh_main_grn_greenskins_qb4", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_greenskins_qb4", "dlc06_grn_skarsnik"},
{"general", "wh_main_grn_greenskins_qb4", "dlc06_grn_wurrzag_da_great_prophet"},
{"general", "wh_main_grn_greenskins_qb4", "grn_goblin_great_shaman"},
{"general", "wh_main_grn_greenskins_qb4", "grn_orc_warboss"},
{"minister", "wh_main_grn_greenskins_qb4", "default"},
{"runesmith", "wh_main_grn_greenskins_qb4", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_greenskins_qb4", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_greenskins_qb4", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_greenskins_qb4", "grn_orc_shaman"},
{"champion", "wh_main_grn_greenskins_rebels_waaagh", "default"},
{"colonel", "wh_main_grn_greenskins_rebels_waaagh", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_greenskins_rebels_waaagh", "default"},
{"engineer", "wh_main_grn_greenskins_rebels_waaagh", "default"},
{"general", "wh_main_grn_greenskins_rebels_waaagh", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_greenskins_rebels_waaagh", "grn_orc_warboss"},
{"minister", "wh_main_grn_greenskins_rebels_waaagh", "default"},
{"runesmith", "wh_main_grn_greenskins_rebels_waaagh", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_greenskins_rebels_waaagh", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_greenskins_rebels_waaagh", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_greenskins_rebels_waaagh", "grn_orc_shaman"},
{"colonel", "wh_main_grn_greenskins_rebels", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_greenskins_rebels", "default"},
{"engineer", "wh_main_grn_greenskins_rebels", "default"},
{"general", "wh_main_grn_greenskins_rebels", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_greenskins_rebels", "grn_goblin_great_shaman"},
{"general", "wh_main_grn_greenskins_rebels", "grn_orc_warboss"},
{"minister", "wh_main_grn_greenskins_rebels", "default"},
{"runesmith", "wh_main_grn_greenskins_rebels", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_greenskins_rebels", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_greenskins_rebels", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_greenskins_rebels", "grn_orc_shaman"},
{"champion", "wh_main_grn_greenskins_waaagh", "default"},
{"colonel", "wh_main_grn_greenskins_waaagh", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_greenskins_waaagh", "default"},
{"engineer", "wh_main_grn_greenskins_waaagh", "default"},
{"general", "wh_main_grn_greenskins_waaagh", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_greenskins_waaagh", "grn_orc_warboss"},
{"minister", "wh_main_grn_greenskins_waaagh", "default"},
{"runesmith", "wh_main_grn_greenskins_waaagh", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_greenskins_waaagh", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_greenskins_waaagh", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_greenskins_waaagh", "grn_orc_shaman"},
{"colonel", "wh_main_grn_greenskins", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_greenskins", "default"},
{"engineer", "wh_main_grn_greenskins", "default"},
{"general", "wh_main_grn_greenskins", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_greenskins", "dlc06_grn_skarsnik"},
{"general", "wh_main_grn_greenskins", "dlc06_grn_wurrzag_da_great_prophet"},
{"general", "wh_main_grn_greenskins", "grn_azhag_the_slaughterer"},
{"general", "wh_main_grn_greenskins", "grn_goblin_great_shaman"},
{"general", "wh_main_grn_greenskins", "grn_grimgor_ironhide"},
{"general", "wh_main_grn_greenskins", "grn_orc_warboss"},
{"general", "wh_main_grn_greenskins", "wh2_dlc15_grn_goblin_great_shaman_raknik"},
{"general", "wh_main_grn_greenskins", "wh2_dlc15_grn_orc_warboss_oglok"},
{"minister", "wh_main_grn_greenskins", "default"},
{"runesmith", "wh_main_grn_greenskins", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_greenskins", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_greenskins", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_greenskins", "grn_orc_shaman"},
{"champion", "wh_main_grn_necksnappers_waaagh", "default"},
{"colonel", "wh_main_grn_necksnappers_waaagh", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_necksnappers_waaagh", "default"},
{"engineer", "wh_main_grn_necksnappers_waaagh", "default"},
{"general", "wh_main_grn_necksnappers_waaagh", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_necksnappers_waaagh", "grn_orc_warboss"},
{"minister", "wh_main_grn_necksnappers_waaagh", "default"},
{"runesmith", "wh_main_grn_necksnappers_waaagh", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_necksnappers_waaagh", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_necksnappers_waaagh", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_necksnappers_waaagh", "grn_orc_shaman"},
{"colonel", "wh_main_grn_necksnappers", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_necksnappers", "default"},
{"engineer", "wh_main_grn_necksnappers", "default"},
{"general", "wh_main_grn_necksnappers", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_necksnappers", "grn_goblin_great_shaman"},
{"general", "wh_main_grn_necksnappers", "grn_orc_warboss"},
{"minister", "wh_main_grn_necksnappers", "default"},
{"runesmith", "wh_main_grn_necksnappers", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_necksnappers", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_necksnappers", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_necksnappers", "grn_orc_shaman"},
{"champion", "wh_main_grn_orcs_of_the_bloody_hand_waaagh", "default"},
{"colonel", "wh_main_grn_orcs_of_the_bloody_hand_waaagh", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_orcs_of_the_bloody_hand_waaagh", "default"},
{"engineer", "wh_main_grn_orcs_of_the_bloody_hand_waaagh", "default"},
{"general", "wh_main_grn_orcs_of_the_bloody_hand_waaagh", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_orcs_of_the_bloody_hand_waaagh", "grn_orc_warboss"},
{"minister", "wh_main_grn_orcs_of_the_bloody_hand_waaagh", "default"},
{"runesmith", "wh_main_grn_orcs_of_the_bloody_hand_waaagh", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_orcs_of_the_bloody_hand_waaagh", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_orcs_of_the_bloody_hand_waaagh", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_orcs_of_the_bloody_hand_waaagh", "grn_orc_shaman"},
{"colonel", "wh_main_grn_orcs_of_the_bloody_hand", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_orcs_of_the_bloody_hand", "default"},
{"engineer", "wh_main_grn_orcs_of_the_bloody_hand", "default"},
{"general", "wh_main_grn_orcs_of_the_bloody_hand", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_orcs_of_the_bloody_hand", "dlc06_grn_wurrzag_da_great_prophet"},
{"general", "wh_main_grn_orcs_of_the_bloody_hand", "grn_goblin_great_shaman"},
{"general", "wh_main_grn_orcs_of_the_bloody_hand", "grn_orc_warboss"},
{"general", "wh_main_grn_orcs_of_the_bloody_hand", "wh2_dlc15_grn_goblin_great_shaman_raknik"},
{"general", "wh_main_grn_orcs_of_the_bloody_hand", "wh2_dlc15_grn_orc_warboss_oglok"},
{"minister", "wh_main_grn_orcs_of_the_bloody_hand", "default"},
{"runesmith", "wh_main_grn_orcs_of_the_bloody_hand", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_orcs_of_the_bloody_hand", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_orcs_of_the_bloody_hand", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_orcs_of_the_bloody_hand", "grn_orc_shaman"},
{"champion", "wh_main_grn_red_eye_waaagh", "default"},
{"colonel", "wh_main_grn_red_eye_waaagh", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_red_eye_waaagh", "default"},
{"engineer", "wh_main_grn_red_eye_waaagh", "default"},
{"general", "wh_main_grn_red_eye_waaagh", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_red_eye_waaagh", "grn_orc_warboss"},
{"minister", "wh_main_grn_red_eye_waaagh", "default"},
{"runesmith", "wh_main_grn_red_eye_waaagh", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_red_eye_waaagh", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_red_eye_waaagh", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_red_eye_waaagh", "grn_orc_shaman"},
{"colonel", "wh_main_grn_red_eye", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_red_eye", "default"},
{"engineer", "wh_main_grn_red_eye", "default"},
{"general", "wh_main_grn_red_eye", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_red_eye", "grn_goblin_great_shaman"},
{"general", "wh_main_grn_red_eye", "grn_orc_warboss"},
{"minister", "wh_main_grn_red_eye", "default"},
{"runesmith", "wh_main_grn_red_eye", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_red_eye", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_red_eye", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_red_eye", "grn_orc_shaman"},
{"champion", "wh_main_grn_red_fangs_waaagh", "default"},
{"colonel", "wh_main_grn_red_fangs_waaagh", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_red_fangs_waaagh", "default"},
{"engineer", "wh_main_grn_red_fangs_waaagh", "default"},
{"general", "wh_main_grn_red_fangs_waaagh", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_red_fangs_waaagh", "grn_orc_warboss"},
{"minister", "wh_main_grn_red_fangs_waaagh", "default"},
{"runesmith", "wh_main_grn_red_fangs_waaagh", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_red_fangs_waaagh", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_red_fangs_waaagh", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_red_fangs_waaagh", "grn_orc_shaman"},
{"colonel", "wh_main_grn_red_fangs", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_red_fangs", "default"},
{"engineer", "wh_main_grn_red_fangs", "default"},
{"general", "wh_main_grn_red_fangs", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_red_fangs", "grn_goblin_great_shaman"},
{"general", "wh_main_grn_red_fangs", "grn_orc_warboss"},
{"minister", "wh_main_grn_red_fangs", "default"},
{"runesmith", "wh_main_grn_red_fangs", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_red_fangs", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_red_fangs", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_red_fangs", "grn_orc_shaman"},
{"champion", "wh_main_grn_scabby_eye_waaagh", "default"},
{"colonel", "wh_main_grn_scabby_eye_waaagh", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_scabby_eye_waaagh", "default"},
{"engineer", "wh_main_grn_scabby_eye_waaagh", "default"},
{"general", "wh_main_grn_scabby_eye_waaagh", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_scabby_eye_waaagh", "grn_orc_warboss"},
{"minister", "wh_main_grn_scabby_eye_waaagh", "default"},
{"runesmith", "wh_main_grn_scabby_eye_waaagh", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_scabby_eye_waaagh", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_scabby_eye_waaagh", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_scabby_eye_waaagh", "grn_orc_shaman"},
{"colonel", "wh_main_grn_scabby_eye", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_scabby_eye", "default"},
{"engineer", "wh_main_grn_scabby_eye", "default"},
{"general", "wh_main_grn_scabby_eye", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_scabby_eye", "grn_goblin_great_shaman"},
{"general", "wh_main_grn_scabby_eye", "grn_orc_warboss"},
{"minister", "wh_main_grn_scabby_eye", "default"},
{"runesmith", "wh_main_grn_scabby_eye", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_scabby_eye", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_scabby_eye", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_scabby_eye", "grn_orc_shaman"},
{"champion", "wh_main_grn_skull-takerz_waaagh", "default"},
{"colonel", "wh_main_grn_skull-takerz_waaagh", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_skull-takerz_waaagh", "default"},
{"engineer", "wh_main_grn_skull-takerz_waaagh", "default"},
{"general", "wh_main_grn_skull-takerz_waaagh", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_skull-takerz_waaagh", "grn_orc_warboss"},
{"minister", "wh_main_grn_skull-takerz_waaagh", "default"},
{"runesmith", "wh_main_grn_skull-takerz_waaagh", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_skull-takerz_waaagh", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_skull-takerz_waaagh", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_skull-takerz_waaagh", "grn_orc_shaman"},
{"colonel", "wh_main_grn_skull-takerz", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_skull-takerz", "default"},
{"engineer", "wh_main_grn_skull-takerz", "default"},
{"general", "wh_main_grn_skull-takerz", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_skull-takerz", "grn_goblin_great_shaman"},
{"general", "wh_main_grn_skull-takerz", "grn_orc_warboss"},
{"minister", "wh_main_grn_skull-takerz", "default"},
{"runesmith", "wh_main_grn_skull-takerz", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_skull-takerz", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_skull-takerz", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_skull-takerz", "grn_orc_shaman"},
{"champion", "wh_main_grn_skullsmasherz_waaagh", "default"},
{"colonel", "wh_main_grn_skullsmasherz_waaagh", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_skullsmasherz_waaagh", "default"},
{"engineer", "wh_main_grn_skullsmasherz_waaagh", "default"},
{"general", "wh_main_grn_skullsmasherz_waaagh", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_skullsmasherz_waaagh", "grn_orc_warboss"},
{"minister", "wh_main_grn_skullsmasherz_waaagh", "default"},
{"runesmith", "wh_main_grn_skullsmasherz_waaagh", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_skullsmasherz_waaagh", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_skullsmasherz_waaagh", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_skullsmasherz_waaagh", "grn_orc_shaman"},
{"colonel", "wh_main_grn_skullsmasherz", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_skullsmasherz", "default"},
{"engineer", "wh_main_grn_skullsmasherz", "default"},
{"general", "wh_main_grn_skullsmasherz", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_skullsmasherz", "grn_goblin_great_shaman"},
{"general", "wh_main_grn_skullsmasherz", "grn_orc_warboss"},
{"minister", "wh_main_grn_skullsmasherz", "default"},
{"runesmith", "wh_main_grn_skullsmasherz", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_skullsmasherz", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_skullsmasherz", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_skullsmasherz", "grn_orc_shaman"},
{"champion", "wh_main_grn_teef_snatchaz_waaagh", "default"},
{"colonel", "wh_main_grn_teef_snatchaz_waaagh", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_teef_snatchaz_waaagh", "default"},
{"engineer", "wh_main_grn_teef_snatchaz_waaagh", "default"},
{"general", "wh_main_grn_teef_snatchaz_waaagh", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_teef_snatchaz_waaagh", "grn_orc_warboss"},
{"minister", "wh_main_grn_teef_snatchaz_waaagh", "default"},
{"runesmith", "wh_main_grn_teef_snatchaz_waaagh", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_teef_snatchaz_waaagh", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_teef_snatchaz_waaagh", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_teef_snatchaz_waaagh", "grn_orc_shaman"},
{"colonel", "wh_main_grn_teef_snatchaz", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_teef_snatchaz", "default"},
{"engineer", "wh_main_grn_teef_snatchaz", "default"},
{"general", "wh_main_grn_teef_snatchaz", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_teef_snatchaz", "grn_goblin_great_shaman"},
{"general", "wh_main_grn_teef_snatchaz", "grn_orc_warboss"},
{"minister", "wh_main_grn_teef_snatchaz", "default"},
{"runesmith", "wh_main_grn_teef_snatchaz", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_teef_snatchaz", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_teef_snatchaz", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_teef_snatchaz", "grn_orc_shaman"},
{"champion", "wh_main_grn_top_knotz_waaagh", "default"},
{"colonel", "wh_main_grn_top_knotz_waaagh", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_top_knotz_waaagh", "default"},
{"engineer", "wh_main_grn_top_knotz_waaagh", "default"},
{"general", "wh_main_grn_top_knotz_waaagh", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_top_knotz_waaagh", "grn_orc_warboss"},
{"minister", "wh_main_grn_top_knotz_waaagh", "default"},
{"runesmith", "wh_main_grn_top_knotz_waaagh", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_top_knotz_waaagh", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_top_knotz_waaagh", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_top_knotz_waaagh", "grn_orc_shaman"},
{"colonel", "wh_main_grn_top_knotz", "grn_orc_warboss"},
{"dignitary", "wh_main_grn_top_knotz", "default"},
{"engineer", "wh_main_grn_top_knotz", "default"},
{"general", "wh_main_grn_top_knotz", "dlc06_grn_night_goblin_warboss"},
{"general", "wh_main_grn_top_knotz", "grn_goblin_great_shaman"},
{"general", "wh_main_grn_top_knotz", "grn_orc_warboss"},
{"minister", "wh_main_grn_top_knotz", "default"},
{"runesmith", "wh_main_grn_top_knotz", "wh2_dlc15_grn_river_troll_hag"},
{"spy", "wh_main_grn_top_knotz", "grn_goblin_big_boss"},
{"wizard", "wh_main_grn_top_knotz", "grn_night_goblin_shaman"},
{"wizard", "wh_main_grn_top_knotz", "grn_orc_shaman"},
{"champion", "wh_main_ksl_kislev_rebels", "ksl_captain"},
{"colonel", "wh_main_ksl_kislev_rebels", "ksl_lord"},
{"dignitary", "wh_main_ksl_kislev_rebels", "emp_warrior_priest"},
{"engineer", "wh_main_ksl_kislev_rebels", "default"},
{"general", "wh_main_ksl_kislev_rebels", "ksl_lord"},
{"minister", "wh_main_ksl_kislev_rebels", "default"},
{"runesmith", "wh_main_ksl_kislev_rebels", "default"},
{"spy", "wh_main_ksl_kislev_rebels", "emp_witch_hunter"},
{"wizard", "wh_main_ksl_kislev_rebels", "ksl_celestial_wizard"},
{"champion", "wh_main_ksl_kislev", "ksl_captain"},
{"colonel", "wh_main_ksl_kislev", "ksl_lord"},
{"dignitary", "wh_main_ksl_kislev", "emp_warrior_priest"},
{"engineer", "wh_main_ksl_kislev", "default"},
{"general", "wh_main_ksl_kislev", "ksl_lord"},
{"minister", "wh_main_ksl_kislev", "default"},
{"runesmith", "wh_main_ksl_kislev", "default"},
{"spy", "wh_main_ksl_kislev", "emp_witch_hunter"},
{"wizard", "wh_main_ksl_kislev", "ksl_celestial_wizard"},
{"champion", "wh_main_nor_aesling", "wh_dlc08_nor_skin_wolf_werekin"},
{"colonel", "wh_main_nor_aesling", "nor_marauder_chieftain"},
{"dignitary", "wh_main_nor_aesling", "wh_dlc08_nor_fimir_balefiend_fire"},
{"dignitary", "wh_main_nor_aesling", "wh_dlc08_nor_fimir_balefiend_shadow"},
{"engineer", "wh_main_nor_aesling", "default"},
{"general", "wh_main_nor_aesling", "nor_marauder_chieftain"},
{"minister", "wh_main_nor_aesling", "default"},
{"runesmith", "wh_main_nor_aesling", "default"},
{"spy", "wh_main_nor_aesling", "default"},
{"wizard", "wh_main_nor_aesling", "wh_dlc08_nor_shaman_sorcerer_death"},
{"wizard", "wh_main_nor_aesling", "wh_dlc08_nor_shaman_sorcerer_fire"},
{"wizard", "wh_main_nor_aesling", "wh_dlc08_nor_shaman_sorcerer_metal"},
{"champion", "wh_main_nor_baersonling", "wh_dlc08_nor_skin_wolf_werekin"},
{"colonel", "wh_main_nor_baersonling", "nor_marauder_chieftain"},
{"dignitary", "wh_main_nor_baersonling", "wh_dlc08_nor_fimir_balefiend_fire"},
{"dignitary", "wh_main_nor_baersonling", "wh_dlc08_nor_fimir_balefiend_shadow"},
{"engineer", "wh_main_nor_baersonling", "default"},
{"general", "wh_main_nor_baersonling", "nor_marauder_chieftain"},
{"minister", "wh_main_nor_baersonling", "default"},
{"runesmith", "wh_main_nor_baersonling", "default"},
{"spy", "wh_main_nor_baersonling", "default"},
{"wizard", "wh_main_nor_baersonling", "wh_dlc08_nor_shaman_sorcerer_death"},
{"wizard", "wh_main_nor_baersonling", "wh_dlc08_nor_shaman_sorcerer_fire"},
{"wizard", "wh_main_nor_baersonling", "wh_dlc08_nor_shaman_sorcerer_metal"},
{"champion", "wh_main_nor_bjornling", "wh_dlc08_nor_skin_wolf_werekin"},
{"colonel", "wh_main_nor_bjornling", "nor_marauder_chieftain"},
{"dignitary", "wh_main_nor_bjornling", "wh_dlc08_nor_fimir_balefiend_fire"},
{"dignitary", "wh_main_nor_bjornling", "wh_dlc08_nor_fimir_balefiend_shadow"},
{"engineer", "wh_main_nor_bjornling", "default"},
{"general", "wh_main_nor_bjornling", "nor_marauder_chieftain"},
{"minister", "wh_main_nor_bjornling", "default"},
{"runesmith", "wh_main_nor_bjornling", "default"},
{"spy", "wh_main_nor_bjornling", "default"},
{"wizard", "wh_main_nor_bjornling", "wh_dlc08_nor_shaman_sorcerer_death"},
{"wizard", "wh_main_nor_bjornling", "wh_dlc08_nor_shaman_sorcerer_fire"},
{"wizard", "wh_main_nor_bjornling", "wh_dlc08_nor_shaman_sorcerer_metal"},
{"champion", "wh_main_nor_graeling", "wh_dlc08_nor_skin_wolf_werekin"},
{"colonel", "wh_main_nor_graeling", "nor_marauder_chieftain"},
{"dignitary", "wh_main_nor_graeling", "wh_dlc08_nor_fimir_balefiend_fire"},
{"dignitary", "wh_main_nor_graeling", "wh_dlc08_nor_fimir_balefiend_shadow"},
{"engineer", "wh_main_nor_graeling", "default"},
{"general", "wh_main_nor_graeling", "nor_marauder_chieftain"},
{"minister", "wh_main_nor_graeling", "default"},
{"runesmith", "wh_main_nor_graeling", "default"},
{"spy", "wh_main_nor_graeling", "default"},
{"wizard", "wh_main_nor_graeling", "wh_dlc08_nor_shaman_sorcerer_death"},
{"wizard", "wh_main_nor_graeling", "wh_dlc08_nor_shaman_sorcerer_fire"},
{"wizard", "wh_main_nor_graeling", "wh_dlc08_nor_shaman_sorcerer_metal"},
{"champion", "wh_main_nor_norsca_qb1", "wh_dlc08_nor_skin_wolf_werekin"},
{"colonel", "wh_main_nor_norsca_qb1", "nor_marauder_chieftain"},
{"dignitary", "wh_main_nor_norsca_qb1", "default"},
{"dignitary", "wh_main_nor_norsca_qb1", "wh_dlc08_nor_fimir_balefiend_fire"},
{"dignitary", "wh_main_nor_norsca_qb1", "wh_dlc08_nor_fimir_balefiend_shadow"},
{"engineer", "wh_main_nor_norsca_qb1", "default"},
{"general", "wh_main_nor_norsca_qb1", "default"},
{"general", "wh_main_nor_norsca_qb1", "wh2_dlc15_hef_moon_dragon_boss_imrik"},
{"general", "wh_main_nor_norsca_qb1", "wh_dlc08_nor_frost_wyrm_boss"},
{"minister", "wh_main_nor_norsca_qb1", "default"},
{"runesmith", "wh_main_nor_norsca_qb1", "default"},
{"spy", "wh_main_nor_norsca_qb1", "default"},
{"wizard", "wh_main_nor_norsca_qb1", "wh_dlc08_nor_shaman_sorcerer_death"},
{"wizard", "wh_main_nor_norsca_qb1", "wh_dlc08_nor_shaman_sorcerer_fire"},
{"wizard", "wh_main_nor_norsca_qb1", "wh_dlc08_nor_shaman_sorcerer_metal"},
{"champion", "wh_main_nor_norsca_qb2", "wh_dlc08_nor_skin_wolf_werekin"},
{"colonel", "wh_main_nor_norsca_qb2", "nor_marauder_chieftain"},
{"dignitary", "wh_main_nor_norsca_qb2", "wh_dlc08_nor_fimir_balefiend_fire"},
{"dignitary", "wh_main_nor_norsca_qb2", "wh_dlc08_nor_fimir_balefiend_shadow"},
{"engineer", "wh_main_nor_norsca_qb2", "default"},
{"general", "wh_main_nor_norsca_qb2", "default"},
{"minister", "wh_main_nor_norsca_qb2", "default"},
{"runesmith", "wh_main_nor_norsca_qb2", "default"},
{"spy", "wh_main_nor_norsca_qb2", "default"},
{"wizard", "wh_main_nor_norsca_qb2", "wh_dlc08_nor_shaman_sorcerer_death"},
{"wizard", "wh_main_nor_norsca_qb2", "wh_dlc08_nor_shaman_sorcerer_fire"},
{"wizard", "wh_main_nor_norsca_qb2", "wh_dlc08_nor_shaman_sorcerer_metal"},
{"champion", "wh_main_nor_norsca_qb3", "wh_dlc08_nor_skin_wolf_werekin"},
{"colonel", "wh_main_nor_norsca_qb3", "nor_marauder_chieftain"},
{"dignitary", "wh_main_nor_norsca_qb3", "wh_dlc08_nor_fimir_balefiend_fire"},
{"dignitary", "wh_main_nor_norsca_qb3", "wh_dlc08_nor_fimir_balefiend_shadow"},
{"engineer", "wh_main_nor_norsca_qb3", "default"},
{"general", "wh_main_nor_norsca_qb3", "default"},
{"minister", "wh_main_nor_norsca_qb3", "default"},
{"runesmith", "wh_main_nor_norsca_qb3", "default"},
{"spy", "wh_main_nor_norsca_qb3", "default"},
{"wizard", "wh_main_nor_norsca_qb3", "wh_dlc08_nor_shaman_sorcerer_death"},
{"wizard", "wh_main_nor_norsca_qb3", "wh_dlc08_nor_shaman_sorcerer_fire"},
{"wizard", "wh_main_nor_norsca_qb3", "wh_dlc08_nor_shaman_sorcerer_metal"},
{"champion", "wh_main_nor_norsca_rebels", "wh_dlc08_nor_skin_wolf_werekin"},
{"colonel", "wh_main_nor_norsca_rebels", "nor_marauder_chieftain"},
{"dignitary", "wh_main_nor_norsca_rebels", "wh_dlc08_nor_fimir_balefiend_fire"},
{"dignitary", "wh_main_nor_norsca_rebels", "wh_dlc08_nor_fimir_balefiend_shadow"},
{"engineer", "wh_main_nor_norsca_rebels", "default"},
{"general", "wh_main_nor_norsca_rebels", "nor_marauder_chieftain"},
{"minister", "wh_main_nor_norsca_rebels", "default"},
{"runesmith", "wh_main_nor_norsca_rebels", "default"},
{"spy", "wh_main_nor_norsca_rebels", "default"},
{"wizard", "wh_main_nor_norsca_rebels", "wh_dlc08_nor_shaman_sorcerer_death"},
{"wizard", "wh_main_nor_norsca_rebels", "wh_dlc08_nor_shaman_sorcerer_fire"},
{"wizard", "wh_main_nor_norsca_rebels", "wh_dlc08_nor_shaman_sorcerer_metal"},
{"champion", "wh_main_nor_norsca_separatists_sorcerer_lord", "wh_dlc08_nor_skin_wolf_werekin"},
{"dignitary", "wh_main_nor_norsca_separatists_sorcerer_lord", "wh_dlc08_nor_fimir_balefiend_fire"},
{"dignitary", "wh_main_nor_norsca_separatists_sorcerer_lord", "wh_dlc08_nor_fimir_balefiend_shadow"},
{"general", "wh_main_nor_norsca_separatists_sorcerer_lord", "nor_marauder_chieftain"},
{"wizard", "wh_main_nor_norsca_separatists_sorcerer_lord", "wh_dlc08_nor_shaman_sorcerer_death"},
{"wizard", "wh_main_nor_norsca_separatists_sorcerer_lord", "wh_dlc08_nor_shaman_sorcerer_fire"},
{"wizard", "wh_main_nor_norsca_separatists_sorcerer_lord", "wh_dlc08_nor_shaman_sorcerer_metal"},
{"champion", "wh_main_nor_norsca_separatists", "wh_dlc08_nor_skin_wolf_werekin"},
{"dignitary", "wh_main_nor_norsca_separatists", "wh_dlc08_nor_fimir_balefiend_fire"},
{"dignitary", "wh_main_nor_norsca_separatists", "wh_dlc08_nor_fimir_balefiend_shadow"},
{"general", "wh_main_nor_norsca_separatists", "nor_marauder_chieftain"},
{"wizard", "wh_main_nor_norsca_separatists", "wh_dlc08_nor_shaman_sorcerer_death"},
{"wizard", "wh_main_nor_norsca_separatists", "wh_dlc08_nor_shaman_sorcerer_fire"},
{"wizard", "wh_main_nor_norsca_separatists", "wh_dlc08_nor_shaman_sorcerer_metal"},
{"champion", "wh_main_nor_sarl", "wh_dlc08_nor_skin_wolf_werekin"},
{"colonel", "wh_main_nor_sarl", "nor_marauder_chieftain"},
{"dignitary", "wh_main_nor_sarl", "wh_dlc08_nor_fimir_balefiend_fire"},
{"dignitary", "wh_main_nor_sarl", "wh_dlc08_nor_fimir_balefiend_shadow"},
{"engineer", "wh_main_nor_sarl", "default"},
{"general", "wh_main_nor_sarl", "nor_marauder_chieftain"},
{"minister", "wh_main_nor_sarl", "default"},
{"runesmith", "wh_main_nor_sarl", "default"},
{"spy", "wh_main_nor_sarl", "default"},
{"wizard", "wh_main_nor_sarl", "wh_dlc08_nor_shaman_sorcerer_death"},
{"wizard", "wh_main_nor_sarl", "wh_dlc08_nor_shaman_sorcerer_fire"},
{"wizard", "wh_main_nor_sarl", "wh_dlc08_nor_shaman_sorcerer_metal"},
{"champion", "wh_main_nor_skaeling", "wh_dlc08_nor_skin_wolf_werekin"},
{"colonel", "wh_main_nor_skaeling", "nor_marauder_chieftain"},
{"dignitary", "wh_main_nor_skaeling", "wh_dlc08_nor_fimir_balefiend_fire"},
{"dignitary", "wh_main_nor_skaeling", "wh_dlc08_nor_fimir_balefiend_shadow"},
{"engineer", "wh_main_nor_skaeling", "default"},
{"general", "wh_main_nor_skaeling", "nor_marauder_chieftain"},
{"minister", "wh_main_nor_skaeling", "default"},
{"runesmith", "wh_main_nor_skaeling", "default"},
{"spy", "wh_main_nor_skaeling", "default"},
{"wizard", "wh_main_nor_skaeling", "wh_dlc08_nor_shaman_sorcerer_death"},
{"wizard", "wh_main_nor_skaeling", "wh_dlc08_nor_shaman_sorcerer_fire"},
{"wizard", "wh_main_nor_skaeling", "wh_dlc08_nor_shaman_sorcerer_metal"},
{"champion", "wh_main_nor_varg", "wh_dlc08_nor_skin_wolf_werekin"},
{"colonel", "wh_main_nor_varg", "nor_marauder_chieftain"},
{"dignitary", "wh_main_nor_varg", "wh_dlc08_nor_fimir_balefiend_fire"},
{"dignitary", "wh_main_nor_varg", "wh_dlc08_nor_fimir_balefiend_shadow"},
{"engineer", "wh_main_nor_varg", "default"},
{"general", "wh_main_nor_varg", "nor_marauder_chieftain"},
{"minister", "wh_main_nor_varg", "default"},
{"runesmith", "wh_main_nor_varg", "default"},
{"spy", "wh_main_nor_varg", "default"},
{"wizard", "wh_main_nor_varg", "wh_dlc08_nor_shaman_sorcerer_death"},
{"wizard", "wh_main_nor_varg", "wh_dlc08_nor_shaman_sorcerer_fire"},
{"wizard", "wh_main_nor_varg", "wh_dlc08_nor_shaman_sorcerer_metal"},
{"champion", "wh_main_teb_border_princes_rebels", "teb_captain"},
{"colonel", "wh_main_teb_border_princes_rebels", "teb_lord"},
{"dignitary", "wh_main_teb_border_princes_rebels", "emp_warrior_priest"},
{"engineer", "wh_main_teb_border_princes_rebels", "default"},
{"general", "wh_main_teb_border_princes_rebels", "teb_lord"},
{"minister", "wh_main_teb_border_princes_rebels", "default"},
{"runesmith", "wh_main_teb_border_princes_rebels", "default"},
{"spy", "wh_main_teb_border_princes_rebels", "emp_witch_hunter"},
{"wizard", "wh_main_teb_border_princes_rebels", "teb_bright_wizard"},
{"champion", "wh_main_teb_border_princes", "teb_captain"},
{"colonel", "wh_main_teb_border_princes", "teb_lord"},
{"dignitary", "wh_main_teb_border_princes", "emp_warrior_priest"},
{"engineer", "wh_main_teb_border_princes", "default"},
{"general", "wh_main_teb_border_princes", "teb_lord"},
{"minister", "wh_main_teb_border_princes", "default"},
{"runesmith", "wh_main_teb_border_princes", "default"},
{"spy", "wh_main_teb_border_princes", "emp_witch_hunter"},
{"wizard", "wh_main_teb_border_princes", "teb_bright_wizard"},
{"champion", "wh_main_teb_estalia_rebels", "teb_captain"},
{"colonel", "wh_main_teb_estalia_rebels", "teb_lord"},
{"dignitary", "wh_main_teb_estalia_rebels", "emp_warrior_priest"},
{"engineer", "wh_main_teb_estalia_rebels", "default"},
{"general", "wh_main_teb_estalia_rebels", "teb_lord"},
{"minister", "wh_main_teb_estalia_rebels", "default"},
{"runesmith", "wh_main_teb_estalia_rebels", "default"},
{"spy", "wh_main_teb_estalia_rebels", "emp_witch_hunter"},
{"wizard", "wh_main_teb_estalia_rebels", "teb_bright_wizard"},
{"champion", "wh_main_teb_estalia", "teb_captain"},
{"colonel", "wh_main_teb_estalia", "teb_lord"},
{"dignitary", "wh_main_teb_estalia", "emp_warrior_priest"},
{"engineer", "wh_main_teb_estalia", "default"},
{"general", "wh_main_teb_estalia", "teb_lord"},
{"minister", "wh_main_teb_estalia", "default"},
{"runesmith", "wh_main_teb_estalia", "default"},
{"spy", "wh_main_teb_estalia", "emp_witch_hunter"},
{"wizard", "wh_main_teb_estalia", "teb_bright_wizard"},
{"champion", "wh_main_teb_tilea_rebels", "teb_captain"},
{"colonel", "wh_main_teb_tilea_rebels", "teb_lord"},
{"dignitary", "wh_main_teb_tilea_rebels", "emp_warrior_priest"},
{"engineer", "wh_main_teb_tilea_rebels", "default"},
{"general", "wh_main_teb_tilea_rebels", "teb_lord"},
{"minister", "wh_main_teb_tilea_rebels", "default"},
{"runesmith", "wh_main_teb_tilea_rebels", "default"},
{"spy", "wh_main_teb_tilea_rebels", "emp_witch_hunter"},
{"wizard", "wh_main_teb_tilea_rebels", "teb_bright_wizard"},
{"champion", "wh_main_teb_tilea", "teb_captain"},
{"colonel", "wh_main_teb_tilea", "teb_lord"},
{"dignitary", "wh_main_teb_tilea", "emp_warrior_priest"},
{"engineer", "wh_main_teb_tilea", "default"},
{"general", "wh_main_teb_tilea", "teb_lord"},
{"minister", "wh_main_teb_tilea", "default"},
{"runesmith", "wh_main_teb_tilea", "default"},
{"spy", "wh_main_teb_tilea", "emp_witch_hunter"},
{"wizard", "wh_main_teb_tilea", "teb_bright_wizard"},
{"champion", "wh_main_vmp_mousillon", "vmp_wight_king"},
{"colonel", "wh_main_vmp_mousillon", "vmp_lord"},
{"dignitary", "wh_main_vmp_mousillon", "vmp_vampire"},
{"dignitary", "wh_main_vmp_mousillon", "wh_dlc05_vmp_vampire_shadow"},
{"engineer", "wh_main_vmp_mousillon", "default"},
{"general", "wh_main_vmp_mousillon", "dlc04_vmp_strigoi_ghoul_king"},
{"general", "wh_main_vmp_mousillon", "vmp_lord"},
{"general", "wh_main_vmp_mousillon", "vmp_master_necromancer"},
{"general", "wh_main_vmp_mousillon", "wh2_dlc11_vmp_bloodline_blood_dragon"},
{"general", "wh_main_vmp_mousillon", "wh2_dlc11_vmp_bloodline_lahmian"},
{"general", "wh_main_vmp_mousillon", "wh2_dlc11_vmp_bloodline_necrarch"},
{"general", "wh_main_vmp_mousillon", "wh2_dlc11_vmp_bloodline_strigoi"},
{"general", "wh_main_vmp_mousillon", "wh2_dlc11_vmp_bloodline_von_carstein"},
{"general", "wh_main_vmp_mousillon", "wh_dlc05_vmp_red_duke"},
{"minister", "wh_main_vmp_mousillon", "default"},
{"runesmith", "wh_main_vmp_mousillon", "default"},
{"spy", "wh_main_vmp_mousillon", "vmp_banshee"},
{"wizard", "wh_main_vmp_mousillon", "vmp_necromancer"},
{"champion", "wh_main_vmp_rival_sylvanian_vamps", "vmp_wight_king"},
{"colonel", "wh_main_vmp_rival_sylvanian_vamps", "vmp_lord"},
{"dignitary", "wh_main_vmp_rival_sylvanian_vamps", "vmp_vampire"},
{"dignitary", "wh_main_vmp_rival_sylvanian_vamps", "wh_dlc05_vmp_vampire_shadow"},
{"engineer", "wh_main_vmp_rival_sylvanian_vamps", "default"},
{"general", "wh_main_vmp_rival_sylvanian_vamps", "dlc04_vmp_strigoi_ghoul_king"},
{"general", "wh_main_vmp_rival_sylvanian_vamps", "vmp_lord"},
{"general", "wh_main_vmp_rival_sylvanian_vamps", "vmp_master_necromancer"},
{"general", "wh_main_vmp_rival_sylvanian_vamps", "wh2_dlc11_vmp_bloodline_blood_dragon"},
{"general", "wh_main_vmp_rival_sylvanian_vamps", "wh2_dlc11_vmp_bloodline_lahmian"},
{"general", "wh_main_vmp_rival_sylvanian_vamps", "wh2_dlc11_vmp_bloodline_necrarch"},
{"general", "wh_main_vmp_rival_sylvanian_vamps", "wh2_dlc11_vmp_bloodline_strigoi"},
{"general", "wh_main_vmp_rival_sylvanian_vamps", "wh2_dlc11_vmp_bloodline_von_carstein"},
{"minister", "wh_main_vmp_rival_sylvanian_vamps", "default"},
{"runesmith", "wh_main_vmp_rival_sylvanian_vamps", "default"},
{"spy", "wh_main_vmp_rival_sylvanian_vamps", "vmp_banshee"},
{"wizard", "wh_main_vmp_rival_sylvanian_vamps", "vmp_necromancer"},
{"champion", "wh_main_vmp_schwartzhafen", "vmp_wight_king"},
{"colonel", "wh_main_vmp_schwartzhafen", "vmp_lord"},
{"dignitary", "wh_main_vmp_schwartzhafen", "vmp_vampire"},
{"dignitary", "wh_main_vmp_schwartzhafen", "wh_dlc05_vmp_vampire_shadow"},
{"engineer", "wh_main_vmp_schwartzhafen", "default"},
{"general", "wh_main_vmp_schwartzhafen", "dlc04_vmp_strigoi_ghoul_king"},
{"general", "wh_main_vmp_schwartzhafen", "dlc04_vmp_vlad_con_carstein"},
{"general", "wh_main_vmp_schwartzhafen", "pro02_vmp_isabella_von_carstein"},
{"general", "wh_main_vmp_schwartzhafen", "vmp_lord"},
{"general", "wh_main_vmp_schwartzhafen", "vmp_master_necromancer"},
{"general", "wh_main_vmp_schwartzhafen", "wh2_dlc11_vmp_bloodline_blood_dragon"},
{"general", "wh_main_vmp_schwartzhafen", "wh2_dlc11_vmp_bloodline_lahmian"},
{"general", "wh_main_vmp_schwartzhafen", "wh2_dlc11_vmp_bloodline_necrarch"},
{"general", "wh_main_vmp_schwartzhafen", "wh2_dlc11_vmp_bloodline_strigoi"},
{"general", "wh_main_vmp_schwartzhafen", "wh2_dlc11_vmp_bloodline_von_carstein"},
{"minister", "wh_main_vmp_schwartzhafen", "default"},
{"runesmith", "wh_main_vmp_schwartzhafen", "default"},
{"spy", "wh_main_vmp_schwartzhafen", "vmp_banshee"},
{"wizard", "wh_main_vmp_schwartzhafen", "vmp_necromancer"},
{"champion", "wh_main_vmp_vampire_counts_qb1", "vmp_wight_king"},
{"colonel", "wh_main_vmp_vampire_counts_qb1", "vmp_lord"},
{"dignitary", "wh_main_vmp_vampire_counts_qb1", "vmp_vampire"},
{"dignitary", "wh_main_vmp_vampire_counts_qb1", "wh_dlc05_vmp_vampire_shadow"},
{"engineer", "wh_main_vmp_vampire_counts_qb1", "default"},
{"general", "wh_main_vmp_vampire_counts_qb1", "dlc04_vmp_strigoi_ghoul_king"},
{"general", "wh_main_vmp_vampire_counts_qb1", "vmp_lord"},
{"general", "wh_main_vmp_vampire_counts_qb1", "vmp_master_necromancer"},
{"general", "wh_main_vmp_vampire_counts_qb1", "wh2_dlc11_vmp_bloodline_blood_dragon"},
{"general", "wh_main_vmp_vampire_counts_qb1", "wh2_dlc11_vmp_bloodline_lahmian"},
{"general", "wh_main_vmp_vampire_counts_qb1", "wh2_dlc11_vmp_bloodline_necrarch"},
{"general", "wh_main_vmp_vampire_counts_qb1", "wh2_dlc11_vmp_bloodline_strigoi"},
{"general", "wh_main_vmp_vampire_counts_qb1", "wh2_dlc11_vmp_bloodline_von_carstein"},
{"general", "wh_main_vmp_vampire_counts_qb1", "wh_dlc08_vmp_terrorgheist_boss"},
{"minister", "wh_main_vmp_vampire_counts_qb1", "default"},
{"runesmith", "wh_main_vmp_vampire_counts_qb1", "default"},
{"spy", "wh_main_vmp_vampire_counts_qb1", "vmp_banshee"},
{"wizard", "wh_main_vmp_vampire_counts_qb1", "vmp_necromancer"},
{"champion", "wh_main_vmp_vampire_counts_qb2", "vmp_wight_king"},
{"colonel", "wh_main_vmp_vampire_counts_qb2", "vmp_lord"},
{"dignitary", "wh_main_vmp_vampire_counts_qb2", "vmp_vampire"},
{"dignitary", "wh_main_vmp_vampire_counts_qb2", "wh_dlc05_vmp_vampire_shadow"},
{"engineer", "wh_main_vmp_vampire_counts_qb2", "default"},
{"general", "wh_main_vmp_vampire_counts_qb2", "dlc04_vmp_strigoi_ghoul_king"},
{"general", "wh_main_vmp_vampire_counts_qb2", "vmp_lord"},
{"general", "wh_main_vmp_vampire_counts_qb2", "vmp_master_necromancer"},
{"general", "wh_main_vmp_vampire_counts_qb2", "wh2_dlc11_vmp_bloodline_blood_dragon"},
{"general", "wh_main_vmp_vampire_counts_qb2", "wh2_dlc11_vmp_bloodline_lahmian"},
{"general", "wh_main_vmp_vampire_counts_qb2", "wh2_dlc11_vmp_bloodline_necrarch"},
{"general", "wh_main_vmp_vampire_counts_qb2", "wh2_dlc11_vmp_bloodline_strigoi"},
{"general", "wh_main_vmp_vampire_counts_qb2", "wh2_dlc11_vmp_bloodline_von_carstein"},
{"minister", "wh_main_vmp_vampire_counts_qb2", "default"},
{"runesmith", "wh_main_vmp_vampire_counts_qb2", "default"},
{"spy", "wh_main_vmp_vampire_counts_qb2", "vmp_banshee"},
{"wizard", "wh_main_vmp_vampire_counts_qb2", "vmp_necromancer"},
{"champion", "wh_main_vmp_vampire_counts_qb3", "vmp_wight_king"},
{"colonel", "wh_main_vmp_vampire_counts_qb3", "vmp_lord"},
{"dignitary", "wh_main_vmp_vampire_counts_qb3", "vmp_vampire"},
{"dignitary", "wh_main_vmp_vampire_counts_qb3", "wh_dlc05_vmp_vampire_shadow"},
{"engineer", "wh_main_vmp_vampire_counts_qb3", "default"},
{"general", "wh_main_vmp_vampire_counts_qb3", "dlc04_vmp_strigoi_ghoul_king"},
{"general", "wh_main_vmp_vampire_counts_qb3", "vmp_lord"},
{"general", "wh_main_vmp_vampire_counts_qb3", "vmp_master_necromancer"},
{"general", "wh_main_vmp_vampire_counts_qb3", "wh2_dlc11_vmp_bloodline_blood_dragon"},
{"general", "wh_main_vmp_vampire_counts_qb3", "wh2_dlc11_vmp_bloodline_lahmian"},
{"general", "wh_main_vmp_vampire_counts_qb3", "wh2_dlc11_vmp_bloodline_necrarch"},
{"general", "wh_main_vmp_vampire_counts_qb3", "wh2_dlc11_vmp_bloodline_strigoi"},
{"general", "wh_main_vmp_vampire_counts_qb3", "wh2_dlc11_vmp_bloodline_von_carstein"},
{"minister", "wh_main_vmp_vampire_counts_qb3", "default"},
{"runesmith", "wh_main_vmp_vampire_counts_qb3", "default"},
{"spy", "wh_main_vmp_vampire_counts_qb3", "vmp_banshee"},
{"wizard", "wh_main_vmp_vampire_counts_qb3", "vmp_necromancer"},
{"champion", "wh_main_vmp_vampire_counts", "vmp_wight_king"},
{"colonel", "wh_main_vmp_vampire_counts", "vmp_lord"},
{"dignitary", "wh_main_vmp_vampire_counts", "vmp_vampire"},
{"dignitary", "wh_main_vmp_vampire_counts", "wh_dlc05_vmp_vampire_shadow"},
{"engineer", "wh_main_vmp_vampire_counts", "default"},
{"general", "wh_main_vmp_vampire_counts", "dlc04_vmp_helman_ghorst"},
{"general", "wh_main_vmp_vampire_counts", "dlc04_vmp_strigoi_ghoul_king"},
{"general", "wh_main_vmp_vampire_counts", "vmp_lord"},
{"general", "wh_main_vmp_vampire_counts", "vmp_mannfred_von_carstein"},
{"general", "wh_main_vmp_vampire_counts", "vmp_master_necromancer"},
{"general", "wh_main_vmp_vampire_counts", "wh2_dlc11_vmp_bloodline_blood_dragon"},
{"general", "wh_main_vmp_vampire_counts", "wh2_dlc11_vmp_bloodline_lahmian"},
{"general", "wh_main_vmp_vampire_counts", "wh2_dlc11_vmp_bloodline_necrarch"},
{"general", "wh_main_vmp_vampire_counts", "wh2_dlc11_vmp_bloodline_strigoi"},
{"general", "wh_main_vmp_vampire_counts", "wh2_dlc11_vmp_bloodline_von_carstein"},
{"minister", "wh_main_vmp_vampire_counts", "default"},
{"runesmith", "wh_main_vmp_vampire_counts", "default"},
{"spy", "wh_main_vmp_vampire_counts", "vmp_banshee"},
{"wizard", "wh_main_vmp_vampire_counts", "vmp_necromancer"},
{"champion", "wh_main_vmp_vampire_rebels", "vmp_wight_king"},
{"colonel", "wh_main_vmp_vampire_rebels", "vmp_lord"},
{"dignitary", "wh_main_vmp_vampire_rebels", "vmp_vampire"},
{"dignitary", "wh_main_vmp_vampire_rebels", "wh_dlc05_vmp_vampire_shadow"},
{"engineer", "wh_main_vmp_vampire_rebels", "default"},
{"general", "wh_main_vmp_vampire_rebels", "dlc04_vmp_strigoi_ghoul_king"},
{"general", "wh_main_vmp_vampire_rebels", "vmp_lord"},
{"general", "wh_main_vmp_vampire_rebels", "vmp_master_necromancer"},
{"general", "wh_main_vmp_vampire_rebels", "wh2_dlc11_vmp_bloodline_blood_dragon"},
{"general", "wh_main_vmp_vampire_rebels", "wh2_dlc11_vmp_bloodline_lahmian"},
{"general", "wh_main_vmp_vampire_rebels", "wh2_dlc11_vmp_bloodline_necrarch"},
{"general", "wh_main_vmp_vampire_rebels", "wh2_dlc11_vmp_bloodline_strigoi"},
{"general", "wh_main_vmp_vampire_rebels", "wh2_dlc11_vmp_bloodline_von_carstein"},
{"minister", "wh_main_vmp_vampire_rebels", "default"},
{"runesmith", "wh_main_vmp_vampire_rebels", "default"},
{"spy", "wh_main_vmp_vampire_rebels", "vmp_banshee"},
{"wizard", "wh_main_vmp_vampire_rebels", "vmp_necromancer"},
{"champion", "wh_main_vmp_waldenhof", "vmp_wight_king"},
{"colonel", "wh_main_vmp_waldenhof", "vmp_lord"},
{"dignitary", "wh_main_vmp_waldenhof", "vmp_vampire"},
{"dignitary", "wh_main_vmp_waldenhof", "wh_dlc05_vmp_vampire_shadow"},
{"engineer", "wh_main_vmp_waldenhof", "default"},
{"general", "wh_main_vmp_waldenhof", "dlc04_vmp_strigoi_ghoul_king"},
{"general", "wh_main_vmp_waldenhof", "vmp_lord"},
{"general", "wh_main_vmp_waldenhof", "vmp_master_necromancer"},
{"general", "wh_main_vmp_waldenhof", "wh2_dlc11_vmp_bloodline_blood_dragon"},
{"general", "wh_main_vmp_waldenhof", "wh2_dlc11_vmp_bloodline_lahmian"},
{"general", "wh_main_vmp_waldenhof", "wh2_dlc11_vmp_bloodline_necrarch"},
{"general", "wh_main_vmp_waldenhof", "wh2_dlc11_vmp_bloodline_strigoi"},
{"general", "wh_main_vmp_waldenhof", "wh2_dlc11_vmp_bloodline_von_carstein"},
{"minister", "wh_main_vmp_waldenhof", "default"},
{"runesmith", "wh_main_vmp_waldenhof", "default"},
{"spy", "wh_main_vmp_waldenhof", "vmp_banshee"},
{"wizard", "wh_main_vmp_waldenhof", "vmp_necromancer"}
}
}
|
object_tangible_loot_creature_loot_collections_fried_icecream_components_dantooine_yot_beans = object_tangible_loot_creature_loot_collections_fried_icecream_components_dantooine_shared_yot_beans:new {
}
ObjectTemplates:addTemplate(object_tangible_loot_creature_loot_collections_fried_icecream_components_dantooine_yot_beans, "object/tangible/loot/creature/loot/collections/fried/icecream/components/dantooine/yot_beans.iff")
|
----------------------------------------
-- Sassilization
-- http://sassilization.com
-- By Sassafrass
----------------------------------------
function LocalEmpire()
local pl = LocalPlayer()
if(IsValid(pl)) then
return pl:GetEmpire()
end
return false
end
local assert = assert
local require = require
local pairs = pairs
local setmetatable = setmetatable
local print = print
local PrintTable = PrintTable
local Msg = Msg
local table = table
local tostring = tostring
local usermessage = usermessage
local net = net
local IsValid = IsValid
local tonumber = tonumber
local Color = Color
local Entity = Entity
local LocalPlayer = LocalPlayer
local hook = hook
local gamemode = gamemode
local LocalEmpire = LocalEmpire
local Material = Material
local GetRenderTarget = GetRenderTarget
local CreateMaterial = CreateMaterial
local render = render
local cam = cam
local surface = surface
local ScrW = ScrW
local ScrH = ScrH
local print = print
local ErrorNoHalt = ErrorNoHalt
local _G = _G
module( "empire" )
if( not _G.sh_empire ) then return end
for k, v in pairs( _G.sh_empire ) do
if not _M[k] then
_M[k] = v
end
end
_G.sh_empire = nil
_G = nil
function Create( id, nick, cid )
local empire = {}
setmetatable( empire, mt )
print( "Creating Empire "..id.."\n" )
empire.NWVars = table.Copy( methods.NWVars )
empire:SetID( id )
empire:SetColorID( cid )
empire:SetName( nick )
empire.structures = {}
empire.units = {}
empire.selected = {}
empire.selected.units = {}
empire.selected.unitcount = 0
print( "Created "..tostring(empire).."\n" )
return empire
end
net.Receive( "empire.AssociatePlayer", function( len )
local pl = net.ReadEntity()
local eid = net.ReadUInt(8)
print(pl)
print(eid)
AssociatePlayer( pl, eid )
end )
function AssociatePlayer( pl, eid )
if( not IsValid( pl ) ) then return end
for _, e in pairs( GetAll() ) do
if (e:GetID() == eid) then
pl:SetEmpire( e )
e:SetPlayer( pl )
print( "Associated Player ", pl:Nick(), "\n" )
return
end
end
end
net.Receive( "empire.Create", function( len )
local pl = net.ReadEntity()
local id = net.ReadUInt(8)
local cid = net.ReadUInt(8)
local nick = net.ReadString()
assert( pl )
print( pl, eid, "\n" )
print( "Loading Empire "..id.."\n" )
local E = EMPIRES[id] or Create( id, nick, cid )
EMPIRES[id] = E
AssociatePlayer( pl, id )
print( pl, "\t", LocalPlayer(), "\n" )
if( pl == LocalPlayer() ) then
print(pl)
gamemode.Call( "OnEmpireCreated", pl, E )
end
end )
-- local MatsToGen = {}
-- local Materials = {}
-- local ColoredTextures = {}
-- local MatRoofRT = Material("models/mrgiggles/sassilization/roof")
-- local RTTexture = GetRenderTarget("SassRoofColor", 256, 256)
-- function UpdateColoredTexture( CID, path )
-- if( Materials[ path ] and ColoredTextures[ path ] and ColoredTextures[ path ][ CID ] ) then
-- --Materials[ path ]:SetTexture( "$basetexture", ColoredTextures[ path ][ CID ] )
-- local r, g, b, a = GetColorByID( CID )
-- Materials[ path ]:SetMaterialString( "$blendtintbybasealpha", r/255 .. " " .. g/255 .. " " .. b/255 )
-- else
-- --table.insert( MatsToGen, { path, CID } )
-- local tex = CreateMaterial( "path"..CID, "VertexlitGeneric", { ['$basetexture'] = path .. "colors/" .. CID } ):GetMaterialTexture( "$basetexture" )
-- Materials[ path ] = Material( path )
-- ColoredTextures[ path ] = ColoredTextures[ path ] or {}
-- ColoredTextures[ path ][ CID ] = tex
-- end
-- end
-- hook.Add( "RenderScreenspaceEffects", "sass.SetupRoofRT", function()
-- if(not RTTexture) then return end
-- if(#MatsToGen == 0) then return end
-- local OldRT = render.GetRenderTarget()
-- render.SetRenderTarget( RTTexture )
-- render.SetViewPort( 0, 0, 256, 256 )
-- for _, info in pairs( MatsToGen ) do
-- render.Clear( 0, 0, 0, 255 )
-- local path = info[ 1 ]
-- local cid = info[ 2 ]
-- print( "Setting up Texture ", path, "\n" )
-- Materials[ path ] = Material( path )
-- ColoredTextures[ path ] = ColoredTextures[ path ] or {}
-- local refTex = surface.GetTextureID( path )
-- local tex = CreateMaterial( "path"..cid, "VertexlitGeneric", { ['$basetexture'] = path .. "colors/" .. cid } ):GetMaterialTexture( "$basetexture" )
-- cam.Start2D()
-- local r, g, b, a = GetColorByID( cid )
-- print( r, " ", g, " ", b, "\n" )
-- surface.SetTexture( refTex )
-- surface.SetDrawColor( 255, 255, 255, 255 )
-- surface.DrawTexturedRect( 0, 0, 256, 256 )
-- surface.SetDrawColor( r, g, b, 100 )
-- surface.DrawRect( 0, 0, 256, 256 )
-- cam.End2D()
-- render.CopyRenderTargetToTexture( tex )
-- ColoredTextures[ path ][ cid ] = tex
-- print( tex, "\n" )
-- end
-- MatsToGen = {}
-- render.SetRenderTarget(OldRT)
-- render.SetViewPort(0, 0, ScrW(), ScrH())
-- end )
|
slot0 = class("EquipUpgradeMediator", import("..base.ContextMediator"))
slot0.EQUIPMENT_UPGRDE = "EquipUpgradeMediator:EQUIPMENT_UPGRDE"
slot0.REPLACE_EQUIP = "EquipUpgradeMediator:REPLACE_EQUIP"
slot0.ON_ITEM = "EquipUpgradeMediator:ON_ITEM"
slot0.register = function (slot0)
slot0.bagProxy = getProxy(BagProxy)
slot0.viewComponent:setItems(slot1)
slot0.viewComponent:updateRes(getProxy(PlayerProxy).getData(slot2))
slot0:bind(slot0.EQUIPMENT_UPGRDE, function (slot0)
slot0:sendNotification(GAME.UPGRADE_EQUIPMENTS, {
shipId = slot0.contextData.shipId,
pos = slot0.contextData.pos,
equipmentId = slot0.contextData.equipmentId
})
end)
slot0.bind(slot0, slot0.ON_ITEM, function (slot0, slot1)
pg.MsgboxMgr.GetInstance():ShowMsgBox({
hideNo = true,
content = "",
yesText = "text_confirm",
type = MSGBOX_TYPE_SINGLE_ITEM,
drop = {
type = DROP_TYPE_ITEM,
id = slot1,
cfg = pg.item_data_statistics[slot1]
},
weight = LayerWeightConst.TOP_LAYER
})
end)
if slot0.contextData.shipId ~= nil then
slot5 = getProxy(BayProxy).getShipById(slot4, slot3)
slot0.contextData.shipVO = slot5
slot0.contextData.equipmentVO = slot5:getEquip(slot0.contextData.pos)
elseif slot0.contextData.equipmentId ~= nil then
slot0.contextData.equipmentVO = getProxy(EquipmentProxy):getEquipmentById(slot4)
end
end
slot0.listNotificationInterests = function (slot0)
return {
GAME.UPGRADE_EQUIPMENTS_DONE,
BagProxy.ITEM_UPDATED,
PlayerProxy.UPDATED
}
end
slot0.handleNotification = function (slot0, slot1)
slot3 = slot1:getBody()
if slot1:getName() == GAME.UPGRADE_EQUIPMENTS_DONE then
slot0.contextData.shipVO = slot3.ship
slot0.contextData.equipmentVO = slot3.newEquip
slot0.viewComponent:updateAll()
slot0.viewComponent:upgradeFinish(slot3.equip, slot3.newEquip)
elseif slot2 == BagProxy.ITEM_UPDATED then
slot0.viewComponent:setItems(slot0.bagProxy:getData())
elseif slot2 == PlayerProxy.UPDATED then
slot0.viewComponent:updateRes(getProxy(PlayerProxy):getData())
end
end
return slot0
|
--吞式者的异化
local m=14000329
local cm=_G["c"..m]
cm.named_with_Aotual=1
function cm.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0))
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--search
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(m,1))
e2:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND+CATEGORY_RELEASE)
e2:SetType(EFFECT_TYPE_ACTIVATE)
e2:SetCode(EVENT_CHAINING)
e2:SetCondition(cm.thcon)
e2:SetTarget(cm.thtg)
e2:SetOperation(cm.thop)
c:RegisterEffect(e2)
local e3=e2:Clone()
e3:SetDescription(aux.Stringid(m,2))
e3:SetType(EFFECT_TYPE_QUICK_O)
e3:SetRange(LOCATION_SZONE)
c:RegisterEffect(e3)
end
function cm.AOTU(c)
local m=_G["c"..c:GetCode()]
return m and m.named_with_Aotual
end
function cm.rfilter(c)
return c:IsReleasable() and c:IsType(TYPE_RITUAL) and c:IsType(TYPE_SPELL)
end
function cm.thcon(e,tp,eg,ep,ev,re,r,rp)
return rp==tp and re:IsHasType(EFFECT_TYPE_ACTIVATE) and re:IsActiveType(TYPE_SPELL) and re:GetHandler():IsType(TYPE_RITUAL)
end
function cm.thfilter(c)
return cm.AOTU(c) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
end
function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return eg:IsExists(cm.rfilter,1,nil) and Duel.IsExistingMatchingCard(cm.thfilter,tp,LOCATION_DECK,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
end
function cm.thop(e,tp,eg,ep,ev,re,r,rp)
if not e:GetHandler():IsRelateToEffect(e) then return end
local g=eg:Filter(cm.rfilter,nil)
if g:GetCount()>0 then
local tc=g:GetFirst()
if not tc:IsLocation(LOCATION_SZONE) then return end
if Duel.Release(tc,REASON_EFFECT)~=0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.SelectMatchingCard(tp,cm.thfilter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then
Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g)
end
end
end
end
|
--[[
© 2018 Thriving Ventures AB do not share, re-distribute or modify
without permission of its author (gustaf@thrivingventures.com).
]]
local category = {}
category.name = "Lists"
category.material = "serverguard/menuicons/icon_banlist.png"
category.permissions = {"Ban", "Unban", "Set Rank", "Edit Ranks", "Manage Watchlist"}
function category:Create(categoryBase)
categoryBase.base = categoryBase:Add("tiger.base")
categoryBase.base:SetFooterEnabled(false)
categoryBase.base:UseSmallPanels(true)
categoryBase.base:Dock(FILL)
end
serverguard.menu.AddCategory(category)
|
local L = Apollo.GetPackage("Gemini:Locale-1.0").tPackage:NewLocale("Gear_Mount", "enUS", true)
if not L then return end
L["GP_FLAVOR"] = "Equip a 'Gear' profile if you use your mount."
L["GP_O_SETTINGS"] = "Mount"
L["GP_O_SETTING_1"] = "Don't use LAS from Mount Profile"
|
local tclass= {}
local setmetatable=setmetatable
local getmetatable=getmetatable
local assert = assert
local rawequal=rawequal
local type=type
local mt = {}
local function get(func, t, k)
if type(func)=="table" then
return func[k]
elseif type(func)=="function" then
return func(t, k)
else
error("get(): Invalid __index type")
end
end
local instancebannedfunctions={}
function tclass:new(args)
local o = {}
setmetatable(o, setmetatable({__metatable=self,__index=setmetatable({}, {__index=function (t, k) local got=get(self, t, k) for _, v in pairs(instancebannedfunctions) do if got==v then return nil end end return got end})}, {__index=self}))
if o.init then
assert(type(o.init)=="function", "Class:init() must be a function (or nil)")
o:init(args) end
return o
end
function tclass:getSuperclass()
return ((self==tclass) and tclass) or getmetatable(self)
end
function tclass:extend()
local o = {}
setmetatable(o, self)
if o.init then
assert(type(o.init)=="function", "Class:init() must be a function (or nil)") end
o.__call=tclass.new
o.__index=setmetatable({ getSuperclass=tclass.getSuperclass, is=tclass.is}, {__index=function (_, k) return o[k] end})
return o
end
local notallowed={}
notallowed.__call=true
notallowed.__metatable=true
function tclass:include(mixin)
for k, v in pairs(mixin) do
if self[k] then
if k=="init" then
assert(type(v)=="function", "Mixin:init() must be a function (or nil)")
assert(type(self.init)=="function", "Class:init() must be a function (or nil)")
local o=self.init
self.init = function(_o, args)
_o=v(_o, args)
_o=o(_o, args)
return _o
end
elseif k=="__index" then
assert(type(v)=="function" or type(v)=="table", "Mixin.__index must be a function or a table.")
assert(type(self.__index)=="function" or type(self.__index)=="table", "Class.__index must be a function or a table.")
local o = self.__index
self.__index = function(t, z)
if rawget(t, z)~=nil then return rawget(t, z) elseif v[z]~=nil then return v[z] else return get(o, t, z) end
end
else
assert(not notallowed[k], k.." isn't allowed in a Mixin")
if type(v)=="function" and type(self[k])=="function" then
local o = self[k]
self[k]=function(...)
v(...)
o(...)
end
else
if not rawequal(self[k], v) then error("Conflicting Values from Class: ( " ..tostring(self[k]).." ) and Mixin ( " .. tostring(v) .. " )") end
end
end
else self[k]=v end
end
end
function tclass:is(class)
local curclass=self
local found=false
repeat
if curclass==class then found=true else curclass=curclass:getSuperclass() end
until found==true or rawequal(tclass, curclass)
return found or rawequal(tclass, class)
end
mt.__tostring=function() return "base class" end
mt.__call=tclass.extend
mt.__index=mt
tclass.__index=tclass
tclass.__call=tclass.new
setmetatable(tclass, mt)
table.insert(instancebannedfunctions, tclass.new)
table.insert(instancebannedfunctions, tclass.extend)
table.insert(instancebannedfunctions, tclass.include)
return tclass
|
wait(0.2)
local p = game.Players.LocalPlayer
local char = p.Character
local mouse = p:GetMouse()
local larm = char["Left Arm"]
local rarm = char["Right Arm"]
local lleg = char["Left Leg"]
local rleg = char["Right Leg"]
local hed = char.Head
local torso = char.Torso
local hum = char.Humanoid
local cam = game.Workspace.CurrentCamera
local root = char.HumanoidRootPart
local deb = false
local shot = 0
--ki = 0
local debris=game:service"Debris"
local l = game:GetService("Lighting")
local rs = game:GetService("RunService").RenderStepped
ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
math.randomseed(os.time())
for i,v in pairs(char:children()) do
if v:IsA("Hat") then
v:Destroy()
end
end
for i,v in pairs (hed:GetChildren()) do
if v:IsA("Sound") then
v:Destroy()
end
end
----------------------------------------------------
Debounces = {
CanAttack = true;
NoIdl = false;
Slashing = false;
Slashed = false;
RPunch = false;
RPunched = false;
LPunch = false;
LPunched = false;
}
local Touche = {char.Name, }
----------------------------------------------------
hed.face.Texture = "rbxassetid://34668268"
char["Body Colors"].HeadColor = BrickColor.new("Pastel brown")
char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown")
char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown")
char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown")
----------------------------------------------------
ypcall(function()
char.Shirt:Destroy()
char.Pants:Destroy()
shirt = Instance.new("Shirt", char)
shirt.Name = "Shirt"
pants = Instance.new("Pants", char)
pants.Name = "Pants"
char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=236410507"
char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=236412261"
end)
----------------------------------------------------
--[[local scr = Instance.new("ScreenGui", p.PlayerGui)
scr.Name="Ki"
scr.Archivable=true
local fr1=Instance.new("Frame", scr)
fr1.Active=false
fr1.BackgroundColor3=Color3.fromRGB(0,0,0)
fr1.BackgroundTransparency=0
fr1.BorderSizePixel=1
fr1.Name="fr1"
fr1.Position=UDim2.new(1,-100,0.1,0)
fr1.Selectable=false
fr1.Size=UDim2.new(0,60,0,500)
fr1.Style="Custom"
fr1.Visible=true
fr1.ZIndex=1
fr1.Draggable=false
fr1.Archivable=true
local fr2=Instance.new("Frame", scr)
fr2.Active=false
fr2.BackgroundColor3=Color3.fromRGB(170,0,255)
fr2.BackgroundTransparency=0
fr2.BorderSizePixel=1
fr2.Name="fr2"
fr2.Position=UDim2.new(1, -100,0.61, 0)
fr2.Selectable=false
fr2.Size=UDim2.new(0,60,0,-500)
fr2.Style="Custom"
fr2.Visible=true
fr2.ZIndex=2
fr2.Draggable=false
fr2.Archivable=true
local tl=Instance.new("TextLabel", fr1)
tl.BackgroundTransparency=1
tl.Name="tl"
tl.Position=UDim2.new(0,0,0,-40)
tl.Size=UDim2.new(0,60,0,30)
tl.Visible=true
tl.Draggable=false
tl.Archivable=true
tl.Font="SourceSansBold"
tl.FontSize="Size28"
tl.Text="Ki"
tl.TextColor3=Color3.fromRGB(27,42,53)
tl.TextStrokeTransparency=1
tl.TextTransparency=0
t2=Instance.new("TextLabel", fr1)
t2.BackgroundTransparency=1
t2.Name="tl2"
t2.Position=UDim2.new(0,0,0,500)
t2.Size=UDim2.new(0,60,0,30)
t2.Visible=true
t2.Draggable=false
t2.Archivable=true
t2.Font="SourceSansBold"
t2.FontSize="Size28"
t2.Text="{0}"
t2.TextColor3=Color3.fromRGB(27,42,53)
t2.TextStrokeTransparency=1
t2.TextTransparency=0
local kiupdater = coroutine.wrap(function()
while wait() do
fr2.Size=UDim2.new(0,60,0,ki-ki*2*3)
t2.Text=("{" .. ki .."}")
if ki > 100 then
ki = 100
end
end
end)
kiupdater()--]]
---------------------------------------------------
function lerp(a, b, t) -- Linear interpolation
return a + (b - a)*t
end
function slerp(a, b, t) --Spherical interpolation
dot = a:Dot(b)
if dot > 0.99999 or dot < -0.99999 then
return t <= 0.5 and a or b
else
r = math.acos(dot)
return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
end
end
function matrixInterpolate(a, b, t)
local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
local t = v1:Dot(v2)
if not (t < 0 or t == 0 or t > 0) then -- Failsafe
return CFrame.new()
end
return CFrame.new(
v0.x, v0.y, v0.z,
v1.x, v1.y, v1.z,
v2.x, v2.y, v2.z,
v3.x, v3.y, v3.z)
end
----------------------------------------------------
function genWeld(a,b)
local w = Instance.new("Weld",a)
w.Part0 = a
w.Part1 = b
return w
end
function weld(a, b)
local weld = Instance.new("Weld")
weld.Name = "W"
weld.Part0 = a
weld.Part1 = b
weld.C0 = a.CFrame:inverse() * b.CFrame
weld.Parent = a
return weld;
end
----------------------------------------------------
function Lerp(c1,c2,al)
local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
for i,v in pairs(com1) do
com1[i] = v+(com2[i]-v)*al
end
return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
end
----------------------------------------------------
newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
local wld = Instance.new("Weld", wp1)
wld.Part0 = wp0
wld.Part1 = wp1
wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
end
----------------------------------------------------
function weld5(part0, part1, c0, c1)
weeld=Instance.new("Weld", part0)
weeld.Part0=part0
weeld.Part1=part1
weeld.C0=c0
weeld.C1=c1
return weeld
end
----------------------------------------------------
function HasntTouched(plrname)
local ret = true
for _, v in pairs(Touche) do
if v == plrname then
ret = false
end
end
return ret
end
----------------------------------------------------
newWeld(torso, larm, -1.5, 0.5, 0)
larm.Weld.C1 = CFrame.new(0, 0.5, 0)
newWeld(torso, rarm, 1.5, 0.5, 0)
rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
newWeld(torso, hed, 0, 1.5, 0)
newWeld(torso, lleg, -0.5, -1, 0)
lleg.Weld.C1 = CFrame.new(0, 1, 0)
newWeld(torso, rleg, 0.5, -1, 0)
rleg.Weld.C1 = CFrame.new(0, 1, 0)
newWeld(root, torso, 0, -1, 0)
torso.Weld.C1 = CFrame.new(0, -1, 0)
----------------------------------------------------
z = Instance.new("Sound", char)
z.SoundId = "rbxassetid://275282542"--303570180
z.Looped = true
z.Pitch = 1
z.Volume = 1
wait(.1)
z:Play()
----------------------------------------------------
local Transforming = true
hum.WalkSpeed = 0
local fx = Instance.new("Part",torso)
fx.Anchored = true
fx.CanCollide = false
fx.Locked = true
fx.Transparency = 1
fx.Material = "Neon"
fx.Size = Vector3.new(1,1,1)
fx.TopSurface = "SmoothNoOutlines"
fx.BottomSurface = "SmoothNoOutlines"
fx.BrickColor = BrickColor.new("Really black")
fxm = Instance.new("SpecialMesh",fx)
fxm.MeshType = "Sphere"
fxm.Scale = Vector3.new(1,1,1)
for i = 1, 20 do rs:wait()
fx.Transparency = fx.Transparency - (1/20)
fx.CFrame = torso.CFrame
fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
rs:wait()
end
----------------------------------------------------
local m = Instance.new("Model")
m.Name = "Hair"
p1 = Instance.new("Part", m)
p1.BrickColor = BrickColor.new("Really black")
p1.FormFactor = Enum.FormFactor.Symmetric
p1.Size = Vector3.new(1, 1, 1)
p1.CFrame = CFrame.new(-2.49043155, 8.24595642, -3.40113306, -5.48362732e-006, -0.978699088, 0.205299795, 3.27825546e-007, -0.205299854, -0.978699148, 1, -5.28991222e-006, 1.48639083e-006)
p1.CanCollide = false
p1.Locked = true
p1.BottomSurface = Enum.SurfaceType.Smooth
p1.TopSurface = Enum.SurfaceType.Smooth
b1 = Instance.new("SpecialMesh", p1)
b1.MeshId = "http://www.roblox.com/asset/?id=12212520"
b1.TextureId = ""
b1.MeshType = Enum.MeshType.FileMesh
b1.Name = "Mesh"
b1.VertexColor = Vector3.new(0, 0, 0)
b1.Scale = Vector3.new(1, 1.60000002, 1.29999995)
p2 = Instance.new("Part", m)
p2.BrickColor = BrickColor.new("Pastel brown")
p2.Transparency = 1
p2.Name = "Head"
p2.FormFactor = Enum.FormFactor.Symmetric
p2.Size = Vector3.new(2, 1, 1)
p2.CFrame = CFrame.new(-1.70008016, 8.14794922, -3.40013027, 4.24603923e-006, 7.4505806e-008, -1, -1.50268988e-007, 1, 1.49011612e-008, 1.00000012, 6.79109462e-008, 4.23316806e-006)
p2.CanCollide = false
p2.Locked = true
p2.TopSurface = Enum.SurfaceType.Smooth
b2 = Instance.new("SpecialMesh", p2)
b2.MeshType = Enum.MeshType.Head
b2.Name = "Mesh"
b2.Scale = Vector3.new(1.25, 1.25, 1.25)
p3 = Instance.new("Part", m)
p3.BrickColor = BrickColor.new("Really black")
p3.FormFactor = Enum.FormFactor.Symmetric
p3.Size = Vector3.new(2, 2, 2)
p3.CFrame = CFrame.new(-1.70003617, 8.71796131, -3.4000442, 2.57710985e-006, 6.95607483e-008, -1.00000012, -1.20466638e-007, 1, 9.95640903e-009, 1.00000024, 3.81086345e-008, 2.56423846e-006)
p3.CanCollide = false
p3.Locked = true
p3.BottomSurface = Enum.SurfaceType.Smooth
p3.TopSurface = Enum.SurfaceType.Smooth
b3 = Instance.new("SpecialMesh", p3)
b3.MeshId = "http://www.roblox.com/asset/?id=16627529"
b3.TextureId = ""
b3.MeshType = Enum.MeshType.FileMesh
b3.Name = "Mesh"
b3.VertexColor = Vector3.new(0, 0, 0)
b3.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
p4 = Instance.new("Part", m)
p4.BrickColor = BrickColor.new("Really black")
p4.FormFactor = Enum.FormFactor.Symmetric
p4.Size = Vector3.new(1, 1, 1)
p4.CFrame = CFrame.new(-1.77981007, 8.84795475, -3.40016508, 5.79576135e-006, 7.9450956e-008, -1.00000012, -1.80071311e-007, 1, 1.98458743e-008, 1.00000024, 9.77132402e-008, 5.78289018e-006)
p4.CanCollide = false
p4.Locked = true
p4.BottomSurface = Enum.SurfaceType.Smooth
p4.TopSurface = Enum.SurfaceType.Smooth
b4 = Instance.new("SpecialMesh", p4)
b4.MeshId = "http://www.roblox.com/asset/?id=19326912"
b4.TextureId = ""
b4.MeshType = Enum.MeshType.FileMesh
b4.Name = "Mesh"
b4.VertexColor = Vector3.new(0, 0, 0)
p5 = Instance.new("Part", m)
p5.BrickColor = BrickColor.new("Really black")
p5.FormFactor = Enum.FormFactor.Symmetric
p5.Size = Vector3.new(1, 1, 1)
p5.CFrame = CFrame.new(-1.70003772, 8.46796131, -3.40004301, -3.43517968e-007, 2.98088111e-007, -1, -1.00421907e-007, 1, 2.38484063e-007, 1.00000012, 1.80640072e-008, -3.56389592e-007)
p5.CanCollide = false
p5.Locked = true
p5.BottomSurface = Enum.SurfaceType.Smooth
p5.TopSurface = Enum.SurfaceType.Smooth
b5 = Instance.new("SpecialMesh", p5)
b5.MeshId = "http://www.roblox.com/asset/?id=45916884"
b5.TextureId = ""
b5.MeshType = Enum.MeshType.FileMesh
b5.Name = "Mesh"
b5.VertexColor = Vector3.new(0, 0, 0)
b5.Scale = Vector3.new(1, 0.899999976, 1)
p6 = Instance.new("Part", m)
p6.BrickColor = BrickColor.new("Really black")
p6.FormFactor = Enum.FormFactor.Symmetric
p6.Size = Vector3.new(1, 1, 1)
p6.CFrame = CFrame.new(-1.89967656, 8.58795834, -3.44990659, -5.81936433e-007, 5.36502284e-007, -0.99999994, -1.3998249e-007, 1, 4.76898265e-007, 1, 5.76247672e-008, -5.94808171e-007)
p6.CanCollide = false
p6.Locked = true
p6.BottomSurface = Enum.SurfaceType.Smooth
p6.TopSurface = Enum.SurfaceType.Smooth
b6 = Instance.new("SpecialMesh", p6)
b6.MeshId = "http://www.roblox.com/asset/?id=62246019"
b6.TextureId = ""
b6.MeshType = Enum.MeshType.FileMesh
b6.Name = "Mesh"
b6.VertexColor = Vector3.new(0, 0, 0)
p7 = Instance.new("Part", m)
p7.BrickColor = BrickColor.new("Really black")
p7.FormFactor = Enum.FormFactor.Symmetric
p7.Size = Vector3.new(1, 1, 1)
p7.CFrame = CFrame.new(-1.89918542, 8.31796837, -3.50097537, -4.62727087e-007, 5.36502228e-007, -0.999999881, -1.39982518e-007, 1, 4.76898208e-007, 0.99999994, 5.76247459e-008, -4.75598938e-007)
p7.CanCollide = false
p7.Locked = true
p7.BottomSurface = Enum.SurfaceType.Smooth
p7.TopSurface = Enum.SurfaceType.Smooth
b7 = Instance.new("SpecialMesh", p7)
b7.MeshId = "http://www.roblox.com/asset/?id=76056263"
b7.TextureId = ""
b7.MeshType = Enum.MeshType.FileMesh
b7.Name = "Mesh"
b7.VertexColor = Vector3.new(0, 0, 0)
p8 = Instance.new("Part", m)
p8.BrickColor = BrickColor.new("Really black")
p8.FormFactor = Enum.FormFactor.Symmetric
p8.Size = Vector3.new(1, 1, 1)
p8.CFrame = CFrame.new(-2.62433338, 7.66397905, -3.4010179, -1.17798254e-006, -0.805111349, 0.593123376, -2.5008859e-007, -0.593123615, -0.805111527, 0.999999881, -9.58229293e-007, 4.4941558e-007)
p8.CanCollide = false
p8.Locked = true
p8.BottomSurface = Enum.SurfaceType.Smooth
p8.TopSurface = Enum.SurfaceType.Smooth
b8 = Instance.new("SpecialMesh", p8)
b8.MeshId = "http://www.roblox.com/asset/?id=12212520"
b8.TextureId = ""
b8.MeshType = Enum.MeshType.FileMesh
b8.Name = "Mesh"
b8.VertexColor = Vector3.new(0, 0, 0)
b8.Scale = Vector3.new(1, 1.60000002, 1.29999995)
p9 = Instance.new("Part", m)
p9.BrickColor = BrickColor.new("Really black")
p9.FormFactor = Enum.FormFactor.Symmetric
p9.Size = Vector3.new(2, 1, 2)
p9.CFrame = CFrame.new(-1.76505995, 8.56096649, -3.40065479, -9.73168881e-007, -0.0995008349, -0.995037436, -1.70322267e-007, 0.995037675, -0.0995009243, 1, 1.13823972e-007, -6.80968242e-007)
p9.CanCollide = false
p9.Locked = true
p9.BottomSurface = Enum.SurfaceType.Smooth
p9.TopSurface = Enum.SurfaceType.Smooth
b9 = Instance.new("SpecialMesh", p9)
b9.MeshId = "http://www.roblox.com/asset/?id=12259089"
b9.TextureId = ""
b9.MeshType = Enum.MeshType.FileMesh
b9.Name = "Mesh"
b9.VertexColor = Vector3.new(0, 0, 0)
b9.Scale = Vector3.new(1.01999998, 1.04999995, 1.04999995)
p10 = Instance.new("Part", m)
p10.BrickColor = BrickColor.new("Really black")
p10.FormFactor = Enum.FormFactor.Symmetric
p10.Size = Vector3.new(1, 1, 1)
p10.CFrame = CFrame.new(-2.0207715, 9.06097031, -3.39961624, -1.10652763e-006, -0.683569431, -0.729885519, -2.85231891e-007, 0.729885638, -0.68356967, 1.00000012, -3.22293062e-007, -8.40051371e-007)
p10.CanCollide = false
p10.Locked = true
p10.BottomSurface = Enum.SurfaceType.Smooth
p10.TopSurface = Enum.SurfaceType.Smooth
b10 = Instance.new("SpecialMesh", p10)
b10.MeshId = "http://www.roblox.com/asset/?id=12212520"
b10.TextureId = ""
b10.MeshType = Enum.MeshType.FileMesh
b10.Name = "Mesh"
b10.VertexColor = Vector3.new(0, 0, 0)
b10.Scale = Vector3.new(1, 1.60000002, 1.29999995)
p11 = Instance.new("Part", m)
p11.BrickColor = BrickColor.new("Really black")
p11.FormFactor = Enum.FormFactor.Symmetric
p11.Size = Vector3.new(1, 1, 1)
p11.CFrame = CFrame.new(-2.16468835, 8.78595829, -3.40089417, -1.41617738e-006, -0.989475727, -0.144699216, -4.36450762e-007, 0.144699067, -0.989476085, 1.00000024, -9.47996682e-007, -7.38401468e-007)
p11.CanCollide = false
p11.Locked = true
p11.BottomSurface = Enum.SurfaceType.Smooth
p11.TopSurface = Enum.SurfaceType.Smooth
b11 = Instance.new("SpecialMesh", p11)
b11.MeshId = "http://www.roblox.com/asset/?id=12212520"
b11.TextureId = ""
b11.MeshType = Enum.MeshType.FileMesh
b11.Name = "Mesh"
b11.VertexColor = Vector3.new(0, 0, 0)
b11.Scale = Vector3.new(1, 1.60000002, 1.29999995)
p12 = Instance.new("Part", m)
p12.BrickColor = BrickColor.new("Really black")
p12.FormFactor = Enum.FormFactor.Custom
p12.Size = Vector3.new(1, 3.5, 1)
p12.CFrame = CFrame.new(-3.74216318, 6.74288082, -3.40101933, -1.20476273e-006, -0.553697288, 0.832718134, -3.31002866e-007, -0.832718611, -0.553697169, 1.00000036, -8.7345768e-007, 3.69213154e-007)
p12.CanCollide = false
p12.Locked = true
p12.BottomSurface = Enum.SurfaceType.Smooth
p12.TopSurface = Enum.SurfaceType.Smooth
b12 = Instance.new("SpecialMesh", p12)
b12.MeshId = "http://www.roblox.com/asset/?id=12212520"
b12.TextureId = ""
b12.MeshType = Enum.MeshType.FileMesh
b12.Name = "Mesh"
b12.VertexColor = Vector3.new(0, 0, 0)
b12.Scale = Vector3.new(1, 3, 1.29999995)
p13 = Instance.new("Part", m)
p13.BrickColor = BrickColor.new("Really black")
p13.FormFactor = Enum.FormFactor.Custom
p13.Size = Vector3.new(1, 2, 1)
p13.CFrame = CFrame.new(-3.32689047, 6.86741829, -3.40101862, -9.81709945e-007, -0.319307148, 0.947651446, -5.6545997e-007, -0.947651923, -0.31930691, 1.00000048, -8.39551717e-007, 1.79318391e-007)
p13.CanCollide = false
p13.Locked = true
p13.BottomSurface = Enum.SurfaceType.Smooth
p13.TopSurface = Enum.SurfaceType.Smooth
b13 = Instance.new("SpecialMesh", p13)
b13.MeshId = "http://www.roblox.com/asset/?id=12212520"
b13.TextureId = ""
b13.MeshType = Enum.MeshType.FileMesh
b13.Name = "Mesh"
b13.VertexColor = Vector3.new(0, 0, 0)
b13.Scale = Vector3.new(1, 3, 1.29999995)
p14 = Instance.new("Part", m)
p14.BrickColor = BrickColor.new("Really black")
p14.FormFactor = Enum.FormFactor.Custom
p14.Size = Vector3.new(1, 2, 1)
p14.CFrame = CFrame.new(-3.02689028, 7.96740961, -3.40101862, -1.33478545e-006, -0.750354111, 0.661036491, -5.20037702e-008, -0.661037207, -0.750354171, 1.0000006, -6.31296757e-007, 2.01137496e-007)
p14.CanCollide = false
p14.Locked = true
p14.BottomSurface = Enum.SurfaceType.Smooth
p14.TopSurface = Enum.SurfaceType.Smooth
b14 = Instance.new("SpecialMesh", p14)
b14.MeshId = "http://www.roblox.com/asset/?id=12212520"
b14.TextureId = ""
b14.MeshType = Enum.MeshType.FileMesh
b14.Name = "Mesh"
b14.VertexColor = Vector3.new(0, 0, 0)
b14.Scale = Vector3.new(1, 3, 1.29999995)
p15 = Instance.new("Part", m)
p15.BrickColor = BrickColor.new("Really black")
p15.FormFactor = Enum.FormFactor.Custom
p15.Size = Vector3.new(1, 2.5, 1)
p15.CFrame = CFrame.new(-2.96531463, 7.75924349, -2.90101862, 0.342019022, -0.520305753, 0.782499552, -1.1920929e-007, -0.832718909, -0.553697407, 0.939693451, 0.189374983, -0.284806281)
p15.CanCollide = false
p15.Locked = true
p15.BottomSurface = Enum.SurfaceType.Smooth
p15.TopSurface = Enum.SurfaceType.Smooth
b15 = Instance.new("SpecialMesh", p15)
b15.MeshId = "http://www.roblox.com/asset/?id=12212520"
b15.TextureId = ""
b15.MeshType = Enum.MeshType.FileMesh
b15.Name = "Mesh"
b15.VertexColor = Vector3.new(0, 0, 0)
b15.Scale = Vector3.new(1, 3, 1.29999995)
p16 = Instance.new("Part", m)
p16.BrickColor = BrickColor.new("Really black")
p16.FormFactor = Enum.FormFactor.Custom
p16.Size = Vector3.new(1, 2.5, 1)
p16.CFrame = CFrame.new(-2.96531439, 7.75924349, -3.80101967, -0.258820295, -0.534830391, 0.804343879, -1.78813934e-007, -0.832718968, -0.553697228, 0.96592629, -0.143308073, 0.215523779)
p16.CanCollide = false
p16.Locked = true
p16.BottomSurface = Enum.SurfaceType.Smooth
p16.TopSurface = Enum.SurfaceType.Smooth
b16 = Instance.new("SpecialMesh", p16)
b16.MeshId = "http://www.roblox.com/asset/?id=12212520"
b16.TextureId = ""
b16.MeshType = Enum.MeshType.FileMesh
b16.Name = "Mesh"
b16.VertexColor = Vector3.new(0, 0, 0)
b16.Scale = Vector3.new(1, 3, 1.29999995)
p17 = Instance.new("Part", m)
p17.BrickColor = BrickColor.new("Really black")
p17.FormFactor = Enum.FormFactor.Custom
p17.Size = Vector3.new(1, 2.4000001, 1)
p17.CFrame = CFrame.new(-2.69075108, 7.07788849, -3.40101933, -1.13248825e-006, -0.319307148, 0.947651625, -1.1920929e-006, -0.947652161, -0.319306791, 1.0000006, -1.54972076e-006, 1.04308128e-007)
p17.CanCollide = false
p17.Locked = true
p17.BottomSurface = Enum.SurfaceType.Smooth
p17.TopSurface = Enum.SurfaceType.Smooth
b17 = Instance.new("SpecialMesh", p17)
b17.MeshId = "http://www.roblox.com/asset/?id=12212520"
b17.TextureId = ""
b17.MeshType = Enum.MeshType.FileMesh
b17.Name = "Mesh"
b17.VertexColor = Vector3.new(0, 0, 0)
b17.Scale = Vector3.new(1, 3, 1.29999995)
p18 = Instance.new("Part", m)
p18.BrickColor = BrickColor.new("Really black")
p18.FormFactor = Enum.FormFactor.Custom
p18.Size = Vector3.new(2, 2, 2)
p18.CFrame = CFrame.new(-1.70003319, 8.71796608, -3.40004444, -2.37434961e-006, 1.78813934e-007, 1.00000036, -2.35242567e-007, 1.00000072, 3.27825546e-007, -1.0000006, 7.95440158e-009, -2.91315405e-006)
p18.CanCollide = false
p18.Locked = true
p18.BottomSurface = Enum.SurfaceType.Smooth
p18.TopSurface = Enum.SurfaceType.Smooth
b18 = Instance.new("SpecialMesh", p18)
b18.MeshId = "http://www.roblox.com/asset/?id=16627529"
b18.TextureId = ""
b18.MeshType = Enum.MeshType.FileMesh
b18.Name = "Mesh"
b18.VertexColor = Vector3.new(0, 0, 0)
b18.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
w1 = Instance.new("Weld", p1)
w1.Name = "Head_Weld"
w1.Part0 = p1
w1.C0 = CFrame.new(3.40111661, -0.744508088, 8.58160019, -5.48362732e-006, 3.27825546e-007, 1, -0.978699088, -0.205299854, -5.30481339e-006, 0.205299824, -0.978699148, 1.49011612e-006)
w1.Part1 = p2
w1.C1 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006)
w2 = Instance.new("Weld", p2)
w2.Name = "Part_Weld"
w2.Part0 = p2
w2.C0 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006)
w2.Part1 = p3
w2.C1 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006)
w3 = Instance.new("Weld", p3)
w3.Name = "Part_Weld"
w3.Part0 = p3
w3.C0 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006)
w3.Part1 = p4
w3.C1 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006)
w4 = Instance.new("Weld", p4)
w4.Name = "Part_Weld"
w4.Part0 = p4
w4.C0 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006)
w4.Part1 = p5
w4.C1 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007)
w5 = Instance.new("Weld", p5)
w5.Name = "Part_Weld"
w5.Part0 = p5
w5.C0 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007)
w5.Part1 = p6
w5.C1 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007)
w6 = Instance.new("Weld", p6)
w6.Name = "Part_Weld"
w6.Part0 = p6
w6.C0 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007)
w6.Part1 = p7
w6.C1 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007)
w7 = Instance.new("Weld", p7)
w7.Name = "Part_Weld"
w7.Part0 = p7
w7.C0 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007)
w7.Part1 = p8
w7.C1 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007)
w8 = Instance.new("Weld", p8)
w8.Name = "Part_Weld"
w8.Part0 = p8
w8.C0 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007)
w8.Part1 = p9
w8.C1 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007)
w9 = Instance.new("Weld", p9)
w9.Name = "Part_Weld"
w9.Part0 = p9
w9.C0 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007)
w9.Part1 = p10
w9.C1 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007)
w10 = Instance.new("Weld", p10)
w10.Name = "Part_Weld"
w10.Part0 = p10
w10.C0 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007)
w10.Part1 = p11
w10.C1 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007)
w11 = Instance.new("Weld", p11)
w11.Name = "Part_Weld"
w11.Part0 = p11
w11.C0 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007)
w11.Part1 = p12
w11.C1 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007)
w12 = Instance.new("Weld", p12)
w12.Name = "Part_Weld"
w12.Part0 = p12
w12.C0 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007)
w12.Part1 = p13
w12.C1 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007)
w13 = Instance.new("Weld", p13)
w13.Name = "Part_Weld"
w13.Part0 = p13
w13.C0 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007)
w13.Part1 = p14
w13.C1 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007)
w14 = Instance.new("Weld", p14)
w14.Name = "Part_Weld"
w14.Part0 = p14
w14.C0 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007)
w14.Part1 = p15
w14.C1 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775)
w15 = Instance.new("Weld", p15)
w15.Name = "Part_Weld"
w15.Part0 = p15
w15.C0 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775)
w15.Part1 = p16
w15.C1 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928)
w16 = Instance.new("Weld", p16)
w16.Name = "Part_Weld"
w16.Part0 = p16
w16.C0 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928)
w16.Part1 = p17
w16.C1 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007)
w17 = Instance.new("Weld", p17)
w17.Name = "Part_Weld"
w17.Part0 = p17
w17.C0 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007)
w17.Part1 = p18
w17.C1 = CFrame.new(-3.40004683, -8.71796036, 1.70002675, -2.6504224e-006, -7.89943471e-008, -1, -2.47197018e-008, 1, -7.89942831e-008, 1, 2.47194887e-008, -2.6504224e-006)
m.Parent = char
m:MakeJoints()
----------------------------------------------------
local cor = Instance.new("Part", char.Hair)
cor.Name = "Link"
cor.Locked = true
cor.BottomSurface = 0
cor.CanCollide = false
cor.Size = Vector3.new(1, 9, 1)
cor.Transparency = 1
cor.TopSurface = 0
corw = Instance.new("Weld", cor)
corw.Part0 = hed
corw.Part1 = cor
corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
weld1 = Instance.new("Weld", char.Hair)
weld1.Part0 = cor
weld1.Part1 = char.Hair.Head
weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
----------------------------------------------------
GroundWave1 = function()
local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
local Colors = {"Royal purple", "Really black"}
local wave = Instance.new("Part", torso)
wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
wave.Anchored = true
wave.CanCollide = false
wave.Locked = true
wave.Size = Vector3.new(1, 1, 1)
wave.TopSurface = "Smooth"
wave.BottomSurface = "Smooth"
wave.Transparency = 0.35
wave.CFrame = HandCF
wm = Instance.new("SpecialMesh", wave)
wm.MeshId = "rbxassetid://3270017"
coroutine.wrap(function()
for i = 1, 30, 1 do
wm.Scale = Vector3.new(1 + i*2, 1 + i*2, 1)
wave.Size = wm.Scale
wave.CFrame = HandCF
wave.Transparency = i/30
wait()
end
wait(0.5)
wave:Destroy()
end)()
end
----
ring = function()
local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
local Colors = {"Royal purple", "Really black"}
local wave = Instance.new("Part", torso)
wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
wave.Anchored = true
wave.CanCollide = false
wave.Locked = true
wave.Size = Vector3.new(1, 1, 1)
wave.TopSurface = "Smooth"
wave.BottomSurface = "Smooth"
wave.Transparency = 0.35
wave.CFrame = HandCF
wm = Instance.new("SpecialMesh", wave)
wm.MeshId = "rbxassetid://3270017"
coroutine.wrap(function()
for i = 1, 30 do
wm.Scale = Vector3.new(1 + i*2, 1 + i*2, 1)
wave.Size = wm.Scale
wave.CFrame = HandCF
wave.Transparency = i/30
wait()
end
wait()
wave:Destroy()
end)()
end
----------------------------------------------------
GroundWave = function()
if Transforming == true then
local wave = Instance.new("Part", torso)
wave.BrickColor = BrickColor.new("Royal purple")
wave.Anchored = true
wave.CanCollide = false
wave.Locked = true
wave.Size = Vector3.new(1, 1, 1)
wave.TopSurface = "Smooth"
wave.BottomSurface = "Smooth"
wave.Material="Neon"
wave.Transparency = 0.35
wave.CFrame = fx.CFrame
wm = Instance.new("SpecialMesh", wave)
wm.MeshType = "Sphere"
wm.Scale = Vector3.new(1,1,1)
coroutine.wrap(function()
for i = 1, 18, 1 do
wm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2)
--wave.Size = wm.Scale
wave.CFrame = fx.CFrame
wave.Transparency = i/14
wait()
end
wait()
wave:Destroy()
end)()
elseif Transforming == false then
wait()
end
end
for i = 1, 100 do rs:wait()
fx.CFrame = torso.CFrame
end
Spawn(function()
while wait(1) do
GroundWave()
end
end)
wait(4)
Transforming = false
for i = 1, 20 do rs:wait()
fx.Transparency = fx.Transparency + (1/20)
fx.CFrame = torso.CFrame
fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
rs:wait()
end
local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
local wave = Instance.new("Part", torso)
wave.BrickColor = BrickColor.new("Really black")
wave.Anchored = true
wave.CanCollide = false
wave.Locked = true
wave.Size = Vector3.new(1, 1, 1)
wave.TopSurface = "Smooth"
wave.BottomSurface = "Smooth"
wave.Material="Neon"
wave.Transparency = 0.35
wave.CFrame = HandCF
wm = Instance.new("SpecialMesh", wave)
wm.MeshId = "rbxassetid://3270017"
coroutine.wrap(function()
for i = 1, 14, 1 do
wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
wave.Size = wm.Scale
wave.CFrame = HandCF
wave.Transparency = i/14
wait()
end
wait()
wave:Destroy()
end)()
hum.WalkSpeed = 16
----------------------------------------------------
Blast = function()
local Colors = {"Really black", "Really black"}
local wave = Instance.new("Part", torso)
wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
wave.Anchored = true
wave.CanCollide = false
wave.Locked = true
wave.Size = Vector3.new(1, 1, 1)
wave.TopSurface = "Smooth"
wave.BottomSurface = "Smooth"
wave.Transparency = 0.35
wave.CFrame = rarm.CFrame
wm = Instance.new("SpecialMesh", wave)
wm.MeshType = "Sphere"
wm.Scale = Vector3.new(1,1,1)
z = Instance.new("Sound",wave)
z.SoundId = "rbxassetid://237035051"
z.Volume = 1
z.Pitch = .9
z:Play()
coroutine.wrap(function()
for i = 1, 30, 1 do
wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4)
--wave.Size = wm.Scale
wave.CFrame = rarm.CFrame
wave.Transparency = (1/14)
rs:wait()
end
rs:wait()
wave:Destroy()
z:Destroy()
end)()
end
----------------------------------------------------
rarm.Touched:connect(function(ht)
hit = ht.Parent
if ht and hit:IsA("Model") then
if hit:FindFirstChild("Humanoid") then
if hit.Name ~= p.Name then
if Debounces.RPunch == true and Debounces.RPunched == false then
Debounces.RPunched = true
hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
if Debounces.ks==true then
z = Instance.new("Sound",hed)
z.SoundId = "rbxassetid://169380525"
z.Pitch = ptz[math.random(1,#ptz)]
z.Volume = 1
z:Play()
end
wait(.2)
Debounces.RPunched = false
end
end
end
elseif ht and hit:IsA("Hat") then
if hit.Parent.Name ~= p.Name then
if hit.Parent:FindFirstChild("Humanoid") then
if Debounces.RPunch == true and Debounces.RPunched == false then
Debounces.RPunched = true
hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
if Debounces.ks==true then
z = Instance.new("Sound",hed)
z.SoundId = "rbxassetid://169380525"
z.Pitch = ptz[math.random(1,#ptz)]
z.Volume = 1
z:Play()
end
wait(.2)
Debounces.RPunched = false
end
end
end
end
end)
larm.Touched:connect(function(ht)
hit = ht.Parent
if ht and hit:IsA("Model") then
if hit:FindFirstChild("Humanoid") then
if hit.Name ~= p.Name then
if Debounces.LPunch == true and Debounces.LPunched == false then
Debounces.LPunched = true
hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
if Debounces.ks2==true then
z = Instance.new("Sound",hed)
z.SoundId = "rbxassetid://169380525"
z.Pitch = ptz[math.random(1,#ptz)]
z.Volume = 1
z:Play()
end
wait(.2)
Debounces.LPunched = false
end
end
end
elseif ht and hit:IsA("Hat") then
if hit.Parent.Name ~= p.Name then
if hit.Parent:FindFirstChild("Humanoid") then
if Debounces.LPunch == true and Debounces.LPunched == false then
Debounces.LPunched = true
hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
if Debounces.ks2==true then
z = Instance.new("Sound",hed)
z.SoundId = "rbxassetid://169380525"
z.Pitch = ptz[math.random(1,#ptz)]
z.Volume = 1
z:Play()
end
wait(.2)
Debounces.LPunched = false
end
end
end
end
end)
----------------------------------------------------
mod4 = Instance.new("Model",char)
ptez = {0.7, 0.8, 0.9, 1}
function FindNearestTorso(Position,Distance,SinglePlayer)
if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
local List = {}
for i,v in pairs(workspace:GetChildren())do
if v:IsA("Model")then
if v:findFirstChild("Torso")then
if v ~= char then
if(v.Torso.Position -Position).magnitude <= Distance then
table.insert(List,v)
end
end
end
end
end
return List
end
function Punch()
part=Instance.new('Part',mod4)
part.Anchored=true
part.CanCollide=false
part.FormFactor='Custom'
part.Size=Vector3.new(.2,.2,.2)
part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0)
part.Transparency=.7
part.BrickColor=BrickColor.new('Really black')
mesh=Instance.new('SpecialMesh',part)
mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
mesh.Scale=Vector3.new(3,3,3)
part2=Instance.new('Part',mod4)
part2.Anchored=true
part2.CanCollide=false
part2.FormFactor='Custom'
part2.Size=Vector3.new(.2,.2,.2)
part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0)
part2.Transparency=.7
part2.BrickColor=BrickColor.new('Really black')
mesh2=Instance.new('SpecialMesh',part2)
mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
mesh2.Scale=Vector3.new(3,1.5,3)
for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
if v:FindFirstChild('Humanoid') then
v.Humanoid:TakeDamage(math.random(2,6))
end
end
coroutine.resume(coroutine.create(function()
for i=0,0.62,0.4 do
wait()
part.CFrame=part.CFrame
part.Transparency=i
mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
part2.CFrame=part2.CFrame
part2.Transparency=i
mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
end
part.Parent=nil
part2.Parent=nil
end))
end
----------------------------------------------------
rarm.Touched:connect(function(ht)
hit = ht.Parent
if ht and hit:IsA("Model") then
if hit:FindFirstChild("Humanoid") then
if hit.Name ~= p.Name then
if Debounces.RPunch == true and Debounces.RPunched == false then
Debounces.RPunched = true
hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
if Debounces.ks==true then
z = Instance.new("Sound",hed)
z.SoundId = "rbxassetid://169380525"
z.Pitch = ptz[math.random(1,#ptz)]
z.Volume = 1
z:Play()
end
wait(.2)
Debounces.RPunched = false
end
end
end
elseif ht and hit:IsA("Hat") then
if hit.Parent.Name ~= p.Name then
if hit.Parent:FindFirstChild("Humanoid") then
if Debounces.RPunch == true and Debounces.RPunched == false then
Debounces.RPunched = true
hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
if Debounces.ks==true then
z = Instance.new("Sound",hed)
z.SoundId = "rbxassetid://169380525"
z.Pitch = ptz[math.random(1,#ptz)]
z.Volume = 1
z:Play()
end
wait(.2)
Debounces.RPunched = false
end
end
end
end
end)
larm.Touched:connect(function(ht)
hit = ht.Parent
if ht and hit:IsA("Model") then
if hit:FindFirstChild("Humanoid") then
if hit.Name ~= p.Name then
if Debounces.LPunch == true and Debounces.LPunched == false then
Debounces.LPunched = true
hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
if Debounces.ks2==true then
z = Instance.new("Sound",hed)
z.SoundId = "rbxassetid://169380525"
z.Pitch = ptz[math.random(1,#ptz)]
z.Volume = 1
z:Play()
end
wait(.2)
Debounces.LPunched = false
end
end
end
elseif ht and hit:IsA("Hat") then
if hit.Parent.Name ~= p.Name then
if hit.Parent:FindFirstChild("Humanoid") then
if Debounces.LPunch == true and Debounces.LPunched == false then
Debounces.LPunched = true
hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
if Debounces.ks2==true then
z = Instance.new("Sound",hed)
z.SoundId = "rbxassetid://169380525"
z.Pitch = ptz[math.random(1,#ptz)]
z.Volume = 1
z:Play()
end
wait(.2)
Debounces.LPunched = false
end
end
end
end
end)
----------------------------------------------------
local player = game.Players.LocalPlayer
local pchar = player.Character
local mouse = player:GetMouse()
local cam = workspace.CurrentCamera
local rad = math.rad
local keysDown = {}
local flySpeed = 0
local MAX_FLY_SPEED = 150
local canFly = false
local flyToggled = false
local forward, side = 0, 0
local lastForward, lastSide = 0, 0
local floatBP = Instance.new("BodyPosition")
floatBP.maxForce = Vector3.new(0, math.huge, 0)
local flyBV = Instance.new("BodyVelocity")
flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
local turnBG = Instance.new("BodyGyro")
turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
mouse.KeyDown:connect(function(key)
keysDown[key] = true
if key == "f" then
flyToggled = not flyToggled
if not flyToggled then
stanceToggle = "Normal"
floatBP.Parent = nil
flyBV.Parent = nil
turnBG.Parent = nil
root.Velocity = Vector3.new()
pchar.Humanoid.PlatformStand = false
end
end
end)
mouse.KeyUp:connect(function(key)
keysDown[key] = nil
end)
local function updateFly()
if not flyToggled then return end
lastForward = forward
lastSide = side
forward = 0
side = 0
if keysDown.w then
forward = forward + 1
end
if keysDown.s then
forward = forward - 1
end
if keysDown.a then
side = side - 1
end
if keysDown.d then
side = side + 1
end
canFly = (forward ~= 0 or side ~= 0)
if canFly then
stanceToggle = "Floating"
turnBG.Parent = root
floatBP.Parent = nil
flyBV.Parent = root
flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
else
floatBP.position = root.Position
floatBP.Parent = root
flySpeed = flySpeed - 1
if flySpeed < 0 then flySpeed = 0 end
end
local camCF = cam.CoordinateFrame
local in_forward = canFly and forward or lastForward
local in_side = canFly and side or lastSide
flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,
in_forward * 0.2, 0).p) - camCF.p) * flySpeed
turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,
0)
end
game:service'RunService'.RenderStepped:connect(function()
if flyToggled then
pchar.Humanoid.PlatformStand = true
end
updateFly()
end)
-------------------------------
mouse.KeyDown:connect(function(key)
if key == "q"--[[ and ki > 25]] then
if Debounces.CanAttack == true then
Debounces.CanAttack = false
Debounces.NoIdl = true
Debounces.on = true
function FindNearestTorso(Position,Distance,SinglePlayer)
if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
local List = {}
for i,v in pairs(workspace:GetChildren())do
if v:IsA("Model")then
if v:findFirstChild("Torso")then
if v ~= char then
if(v.Torso.Position -Position).magnitude <= Distance then
table.insert(List,v)
end
end
end
end
end
return List
end
--ki=ki-25
z = Instance.new("Sound",hed)
z.SoundId = "rbxassetid://232213955"
z.Pitch = 1
z.Volume = 1
wait(0.2)
z:Play()
sp = Instance.new("Part",rarm)
sp.Anchored = true
sp.CanCollide = false
sp.Locked = true
sp.Transparency = 0
sp.Material = "Neon"
sp.Size = Vector3.new(1,1,1)
sp.TopSurface = "SmoothNoOutlines"
sp.BottomSurface = "SmoothNoOutlines"
sp.BrickColor = BrickColor.new("Royal purple")
spm = Instance.new("SpecialMesh",sp)
spm.MeshType = "Sphere"
spm.Scale = Vector3.new(21,21,21)
sp2 = Instance.new("Part", rarm)
sp2.Name = "Energy"
sp2.BrickColor = BrickColor.new("Royal purple")
sp2.Size = Vector3.new(1, 1, 1)
sp2.Shape = "Ball"
sp2.CanCollide = false
sp2.Anchored = true
sp2.Locked = true
sp2.TopSurface = 0
sp2.BottomSurface = 0
sp2.Transparency = 1
spm2 = Instance.new("SpecialMesh",sp2)
spm2.MeshId = "rbxassetid://9982590"
spm2.Scale = Vector3.new(2,2,2)
for i = 1, 20 do
spm.Scale = spm.Scale - Vector3.new(1,1,1)
sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
if Debounces.on == false then break end
rs:wait()
end
for i = 1, 100, 20 do rs:wait()
sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
end
for i = 1, 20 do
sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.4)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
if Debounces.on == false then break end
rs:wait()
end
sp.Transparency = 1
for i = 1, 20 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.4)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
if Debounces.on == false then break end
rs:wait()
end
wait(1)
sp.Transparency = 0
sp2.Transparency = 0.84
for i = 1, 20 do
--spm.Scale = spm.Scale - Vector3.new(1,1,1)
sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i))
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2)
if Debounces.on == false then break end
rs:wait()
end
for i = 1, 2880, 50 do
rs:wait()
sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
rs:wait()
end
sp:Destroy()
sp2:Destroy()
local X = Instance.new("Part",char)
local O = Instance.new("ObjectValue",X)
O.Name = "creator"
X.Locked = true
X.Name = "Shell"
X.Anchored = false
X.CanCollide = false
X.Transparency = 0
X.Reflectance = 0
X.BottomSurface = 0
X.TopSurface = 0
X.Shape = 0
local V = Instance.new("ObjectValue",X)
V.Value = char
V.Name = "creator"
X.BrickColor = BrickColor.new("Royal purple")
X.Size = Vector3.new(2,2,2)
X.Material = "Neon"
local Z = Instance.new("SpecialMesh",X)
Z.MeshType = "Sphere"
Z.Scale = Vector3.new(0.5,0.5,1)
X.CFrame = rarm.CFrame*CFrame.new(-3,0,0)
local bv = Instance.new("BodyVelocity",X)
bv.maxForce = Vector3.new(99999,99999,99999)
X.CFrame = CFrame.new(X.Position,mouse.Hit.p)
bv.velocity = X.CFrame.lookVector*65
Explode = X.Touched:connect(function(hit)
if hit ~= char and hit.Name ~= "Shell" then
local cf = X.CFrame
bv:Destroy()
X.Anchored = true
Z:Remove()
Explode:disconnect()
X.Size = Vector3.new(3,3,3)
X.Touched:connect(function(hit) end)
X.CanCollide = false
local part3 = Instance.new("Part", rarm)
part3.Anchored=true
part3.CanCollide=false
part3.Locked = true
part3.TopSurface = "SmoothNoOutlines"
part3.BottomSurface = "SmoothNoOutlines"
part3.FormFactor='Custom'
part3.Size=Vector3.new(1,1, 1)
part3.CFrame=X.CFrame
part3.Transparency=0
part3.BrickColor=BrickColor.new("Royal purple")
local mesh3 = Instance.new("SpecialMesh",part3)
mesh3.MeshType = "Sphere"
mesh3.Scale = Vector3.new(1,1,1)
--debris:AddItem(X,8)
local part4 = Instance.new("Part", rarm)
part4.Material = "Neon"
part4.Anchored=true
part4.CanCollide=false
part4.Locked = true
part4.TopSurface = "SmoothNoOutlines"
part4.BottomSurface = "SmoothNoOutlines"
part4.FormFactor='Custom'
part4.Size=Vector3.new(1,1, 1)
part4.CFrame=X.CFrame
part4.Transparency=0
part4.BrickColor=BrickColor.new("Hot pink")
local mesh4 = Instance.new("SpecialMesh",part4)
mesh4.MeshType = "Sphere"
mesh4.Scale = Vector3.new(.5,.5,.5)
local part7 = Instance.new("Part", rarm)
part7.Material = "Neon"
part7.Anchored=true
part7.CanCollide=false
part7.Locked = true
part7.TopSurface = "SmoothNoOutlines"
part7.BottomSurface = "SmoothNoOutlines"
part7.FormFactor='Custom'
part7.Size=Vector3.new(1,1, 1)
part7.CFrame=X.CFrame
part7.Transparency=0
part7.BrickColor=BrickColor.new("Really black")
local mesh7 = Instance.new("SpecialMesh",part7)
mesh7.MeshType = "Sphere"
mesh7.Scale = Vector3.new(0.1, 0.1, 0.1)
--[[X.Touched:connect(function(ht)
hit = ht.Parent
if ht and hit:IsA("Model") then
if hit:FindFirstChild("Humanoid") then
if hit.Name ~= p.Name then
hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
wait(.3)
end
end
elseif ht and hit:IsA("Hat") then
if hit.Parent.Name ~= p.Name then
if hit.Parent:FindFirstChild("Humanoid") then
hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
wait(.3)
end
end
end
end)
part3.Touched:connect(function(ht)
hit = ht.Parent
if ht and hit:IsA("Model") then
if hit:FindFirstChild("Humanoid") then
if hit.Name ~= p.Name then
hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
wait(.3)
end
end
elseif ht and hit:IsA("Hat") then
if hit.Parent.Name ~= p.Name then
if hit.Parent:FindFirstChild("Humanoid") then
hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
wait(.3)
end
end
end
end)]]--
for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do
if v:FindFirstChild('Humanoid') then
v.Humanoid:TakeDamage(math.random(60,90))
v.Humanoid.PlatformStand = true
v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
end
end
local acos = math.acos
local sqrt = math.sqrt
local Vec3 = Vector3.new
local fromAxisAngle = CFrame.fromAxisAngle
local function toAxisAngle(CFr)
local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
local Angle = math.acos((R00+R11+R22-1)/2)
local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
A = A == 0 and 0.00001 or A
local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
B = B == 0 and 0.00001 or B
local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
C = C == 0 and 0.00001 or C
local x = (R21-R12)/sqrt(A)
local y = (R02-R20)/sqrt(B)
local z = (R10-R01)/sqrt(C)
return Vec3(x,y,z),Angle
end
function ApplyTrig(Num,Func)
local Min,Max = Func(0),Func(1)
local i = Func(Num)
return (i-Min)/(Max-Min)
end
function LerpCFrame(CFrame1,CFrame2,Num)
local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
end
function Crater(Torso,Radius)
Spawn(function()
local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
local Ignore = {}
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
if v.Character ~= nil then
Ignore[#Ignore+1] = v.Character
end
end
local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
if Hit == nil then return end
local Parts = {}
for i = 1,360,10 do
local P = Instance.new("Part",Torso.Parent)
P.Anchored = true
P.FormFactor = "Custom"
P.BrickColor = Hit.BrickColor
P.Material = Hit.Material
P.TopSurface = "Smooth"
P.BottomSurface = "Smooth"
P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
if math.random(0,5) == 0 then -- rubble
local P = Instance.new("Part",Torso.Parent)
P.Anchored = true
P.FormFactor = "Custom"
P.BrickColor = Hit.BrickColor
P.Material = Hit.Material
P.TopSurface = "Smooth"
P.BottomSurface = "Smooth"
P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
end
end
for i = 0,1,0.05 do
for i2,v in pairs(Parts) do
v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
end
wait(0.02)
end
for i,v in pairs(Parts) do
if v[1].Size.X > 2.1 then
v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
end
v[1].Anchored = false
end
for i = 0,1,0.05 do
for i2,v in pairs(Parts) do
v[1].Transparency = i
if i == 1 then
v[1]:Destroy()
elseif i >= 0.25 then
v[1].CanCollide = false
end
end
wait(0.02)
end
Parts = nil
end)
end
ROW = function(out, trans, s, wt, t, ang, plus)
for i = 1, 360, 360/t do
local c = Instance.new("Part", game.Workspace)
c.FormFactor = 3
c.TopSurface = 0
c.BottomSurface = 0
c.Size = s
c.Anchored = true
c.CanCollide = wt
c.Material="Neon"
c.Transparency = trans
c.BrickColor = BrickColor.new("Really black")
c.CFrame = CFrame.new(X.CFrame.x,0,X.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang
c.Locked=true
game.Debris:AddItem(c,15)
end
end
Part = function(x,y,z,color,tr,cc,an,parent)
local p = Instance.new('Part',parent or Weapon)
p.formFactor = 'Custom'
p.Size = Vector3.new(x,y,z)
p.BrickColor = BrickColor.new(color)
p.CanCollide = cc
p.Transparency = tr
p.Anchored = an
p.TopSurface,p.BottomSurface = 0,0
p.Locked=true
p:BreakJoints()
return p end
Mesh = function(par,num,x,y,z)
local msh = _
if num == 1 then msh = Instance.new("CylinderMesh",par)
elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
elseif num == 3 then msh = Instance.new("BlockMesh",par)
elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
end msh.Scale = Vector3.new(x,y,z)
return msh end
function explosion(col1,col2,cfr,sz,rng,dmg)
local a= Part(1,1,1,col1,.5,false,true,workspace)
local a2= Part(1,1,1,col2,.5,false,true,workspace)
local a3= Part(1,1,1,col2,.5,false,true,workspace)
v1,v2,v3=sz.x,sz.y,sz.z
local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3)
local m2= Mesh(a2,3,v1/3,v2/3,v3/3)
local m3= Mesh(a3,3,v1/3,v2/3,v3/3)
a.CFrame=cfr
a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
Spawn(function()
while wait() do
if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end
m.Scale=m.Scale+Vector3.new(.1,0.1,0.1)
m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1)
m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1)
a.Transparency=a.Transparency+0.05
a2.Transparency=a2.Transparency+0.05
a3.Transparency=a3.Transparency+0.05
end
end)
end
Crater(X,20)
ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0)
z = Instance.new("Sound",X)
z.SoundId = "rbxassetid://231917744"
z.Pitch = .5
z.Volume = 10
z1 = Instance.new("Sound",X)
z1.SoundId = "rbxassetid://231917744"
z1.Pitch = .5
z1.Volume = 10
z2 = Instance.new("Sound",X)
z2.SoundId = "rbxassetid://231917744"
z2.Pitch = .5
z2.Volume = 10
z3 = Instance.new("Sound",X)
z3.SoundId = "rbxassetid://245537790"
z3.Pitch = .7
z3.Volume = 1
z4 = Instance.new("Sound",X)
z4.SoundId = "rbxassetid://245537790"
z4.Pitch = .7
z4.Volume = 1
wait(0.1)
z:Play()
z1:Play()
z2:Play()
z3:Play()
z4:Play()
local part=Instance.new('Part',rarm)
part.Anchored=true
part.CanCollide=false
part.Locked = true
part.FormFactor='Custom'
part.Size=Vector3.new(1,1,1)
part.CFrame=X.CFrame*CFrame.new(0,0,0)
part.Transparency=0
part.BrickColor=BrickColor.new('Really black')
local mesh=Instance.new('SpecialMesh',part)
mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
mesh.Scale=Vector3.new(2,2,2)
local part2=part:clone()
part2.Parent = rarm
part2.BrickColor=BrickColor.new("Royal purple")
local part5=part:clone()
part5.Parent = rarm
part5.BrickColor=BrickColor.new("Magenta")
local part6=part:clone()
part6.Parent = rarm
part6.BrickColor=BrickColor.new("Black")
local mesh2=mesh:clone()
mesh2.Parent=part2
mesh2.Scale=Vector3.new(3, 3, 3)
local mesh5=mesh:clone()
mesh5.Parent=part5
mesh5.Scale=Vector3.new(3, 3, 3)
local mesh6=mesh:clone()
mesh6.Parent=part6
mesh6.Scale=Vector3.new(3, 3, 3)
local blast = Instance.new("Part", rarm)
blast.BrickColor = BrickColor.new("Really black")
blast.Anchored = true
blast.CanCollide = false
blast.Locked = true
blast.Size = Vector3.new(1, 1, 1)
blast.TopSurface = "Smooth"
blast.BottomSurface = "Smooth"
blast.Transparency = 0
blast.CFrame = HandCF
local bm = Instance.new("SpecialMesh", blast)
bm.Scale = Vector3.new(5,1,5)
bm.MeshId = "rbxassetid://3270017"
local blast2 = Instance.new("Part", rarm)
blast2.BrickColor = BrickColor.new("Really black")
blast2.Anchored = true
blast2.CanCollide = false
blast2.Locked = true
blast2.Size = Vector3.new(1, 1, 1)
blast2.TopSurface = "Smooth"
blast2.BottomSurface = "Smooth"
blast2.Transparency = 0
blast2.CFrame = HandCF
local bm2 = Instance.new("SpecialMesh", blast2)
bm2.Scale = Vector3.new(3,1,3)
bm2.MeshId = "rbxassetid://3270017"
local blast3 = Instance.new("Part", rarm)
blast3.BrickColor = BrickColor.new("Really black")
blast3.Anchored = true
blast3.CanCollide = false
blast3.Locked = true
blast3.Size = Vector3.new(1, 1, 1)
blast3.TopSurface = "Smooth"
blast3.BottomSurface = "Smooth"
blast3.Transparency = 0
blast3.CFrame = HandCF
local bm3 = Instance.new("SpecialMesh", blast3)
bm3.Scale = Vector3.new(3,1,3)
bm3.MeshId = "rbxassetid://3270017"
for i = 1,120 do rs:wait()
X.Transparency = X.Transparency + (1/120)
part.Transparency = part.Transparency + (1/120)
part2.Transparency = part2.Transparency + (1/120)
part3.Transparency = part3.Transparency + (1/120)
part4.Transparency = part4.Transparency + (1/120)
part5.Transparency = part5.Transparency + (1/120)
part6.Transparency = part6.Transparency + (1/120)
part7.Transparency = part7.Transparency + (1/120)
blast.Transparency = blast.Transparency + (1/120)
blast2.Transparency = blast2.Transparency + (1/120)
blast3.Transparency = blast3.Transparency + (1/120)
X.Size = X.Size + Vector3.new(.8,.8,.8)
--part3.Size = part3.Size + Vector3.new(3,3,3)
mesh.Scale = mesh.Scale + Vector3.new(1,.2,1)
mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1)
mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3)
mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7)
mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6)
mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2)
mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4)
bm.Scale = bm.Scale + Vector3.new(6,6,.2)
bm2.Scale = bm2.Scale + Vector3.new(4,4,.2)
bm3.Scale = bm3.Scale + Vector3.new(4,4,.2)
X.CFrame = cf
part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0)
part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0)
part3.CFrame=X.CFrame
part4.CFrame=X.CFrame
part7.CFrame=X.CFrame
part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0)
part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0)
blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0))
blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0))
rs:wait()
end
X:Destroy()
part:Destroy()
part2:Destroy()
part3:Destroy()
part4:Destroy()
part5:Destroy()
part6:Destroy()
blast:Destroy()
blast2:Destroy()
blast3:Destroy()
z:Destroy()
z1:Destroy()
z2:Destroy()
z3:Destroy()
z4:Destroy()
end
end)
for i = 1, 20 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2)
if Debounces.on == false then break end
rs:wait()
end
if Debounces.CanAttack == false then
Debounces.CanAttack = true
Debounces.NoIdl = false
Debounces.on = false
end
end
end
end)
----------------------------------------------------
mouse.KeyDown:connect(function(key)
if key == "e" --[[and ki > 5--]] then
if Debounces.CanAttack == true then
Debounces.CanAttack = false
Debounces.on = true
Debounces.NoIdl = true
--ki=ki-5
pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
z = Instance.new("Sound", rarm)
z.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
z.Volume = .6
z.Pitch = pt[math.random(1,#pt)]
z.Looped = false
z:Play()
Debounces.RPunch = true
Debounces.LPunch = true
Debounces.ks = true
Debounces.ks2 = true
for i = 1, 3 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
if Debounces.on == false then break end
wait()
end
z2 = Instance.new("Sound", larm)
z2.SoundId = "http://www.roblox.com/asset/?id=206083107"
z2.Volume = .6
z2.Pitch = pt[math.random(1,#pt)]
z2.Looped = false
z2:Play()
for i = 1, 3 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
if Debounces.on == false then break end
wait()
end
z3 = Instance.new("Sound", rarm)
z3.SoundId = "http://www.roblox.com/asset/?id=206083107"
z3.Volume = 0.6
z3.Pitch = pt[math.random(1,#pt)]
z3.Looped = false
z3:Play()
for i = 1, 3 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
if Debounces.on == false then break end
wait()
end
z4 = Instance.new("Sound", larm)
z4.SoundId = "http://www.roblox.com/asset/?id=206083107"
z4.Volume = .6
z4.Pitch = pt[math.random(1,#pt)]
z4.Looped = false
z4:Play()
for i = 1, 3 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
if Debounces.on == false then break end
wait()
end
z5 = Instance.new("Sound", rarm)
z5.SoundId = "http://www.roblox.com/asset/?id=206083107"
z5.Volume = .6
z5.Pitch = pt[math.random(1,#pt)]
z5.Looped = false
z5:Play()
for i = 1, 3 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
if Debounces.on == false then break end
wait()
end
z6 = Instance.new("Sound", larm)
z6.SoundId = "http://www.roblox.com/asset/?id=206083107"
z6.Volume = .6
z6.Pitch = pt[math.random(1,#pt)]
z6.Looped = false
z6:Play()
for i = 1, 3 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
if Debounces.on == false then break end
wait()
end
z7 = Instance.new("Sound", rarm)
z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
z7.Volume = .6
z7.Pitch = pt[math.random(1,#pt)]
z7.Looped = false
z7:Play()
for i = 1, 3 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
if Debounces.on == false then break end
wait()
end
z8 = Instance.new("Sound", larm)
z8.SoundId = "http://www.roblox.com/asset/?id=206083107"
z8.Volume = .6
z8.Pitch = pt[math.random(1,#pt)]
z8.Looped = false
z8:Play()
for i = 1, 3 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
if Debounces.on == false then break end
wait()
end
z9 = Instance.new("Sound", rarm)
z9.SoundId = "http://www.roblox.com/asset/?id=206083107"
z9.Volume = 0.6
z9.Pitch = pt[math.random(1,#pt)]
z9.Looped = false
z9:Play()
for i = 1, 3 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
if Debounces.on == false then break end
wait()
end
z10 = Instance.new("Sound", larm)
z10.SoundId = "http://www.roblox.com/asset/?id=206083107"
z10.Volume = .6
z10.Pitch = pt[math.random(1,#pt)]
z10.Looped = false
z10:Play()
for i = 1, 3 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
if Debounces.on == false then break end
wait()
end
z11 = Instance.new("Sound", rarm)
z11.SoundId = "http://www.roblox.com/asset/?id=206083107"
z11.Volume = .6
z11.Pitch = pt[math.random(1,#pt)]
z11.Looped = false
z11:Play()
for i = 1, 3 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
if Debounces.on == false then break end
wait()
end
z12 = Instance.new("Sound", larm)
z12.SoundId = "http://www.roblox.com/asset/?id=206083107"
z12.Volume = .6
z12.Pitch = pt[math.random(1,#pt)]
z12.Looped = false
z12:Play()
for i = 1, 3 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
if Debounces.on == false then break end
wait()
end
z13 = Instance.new("Sound", rarm)
z13.SoundId = "http://www.roblox.com/asset/?id=206083107"
z13.Volume = 0.6
z13.Pitch = pt[math.random(1,#pt)]
z13.Looped = false
z13:Play()
for i = 1, 3 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
if Debounces.on == false then break end
wait()
end
z14 = Instance.new("Sound", larm)
z14.SoundId = "http://www.roblox.com/asset/?id=206083107"
z14.Volume = .6
z14.Pitch = pt[math.random(1,#pt)]
z14.Looped = false
z14:Play()
for i = 1, 3 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
if Debounces.on == false then break end
wait()
end
z15 = Instance.new("Sound", rarm)
z15.SoundId = "http://www.roblox.com/asset/?id=206083107"
z15.Volume = .6
z15.Pitch = pt[math.random(1,#pt)]
z15.Looped = false
z15:Play()
for i = 1, 3 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
if Debounces.on == false then break end
wait()
end
z16 = Instance.new("Sound", larm)
z16.SoundId = "http://www.roblox.com/asset/?id=206083107"
z16.Volume = .6
z16.Pitch = pt[math.random(1,#pt)]
z16.Looped = false
z16:Play()
for i = 1, 3 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
if Debounces.on == false then break end
wait()
end
z17 = Instance.new("Sound", rarm)
z17.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
z17.Volume = .6
z17.Pitch = pt[math.random(1,#pt)]
z17.Looped = false
z17:Play()
for i = 1, 3 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
if Debounces.on == false then break end
wait()
end
z18 = Instance.new("Sound", larm)
z18.SoundId = "http://www.roblox.com/asset/?id=206083107"
z18.Volume = .6
z18.Pitch = pt[math.random(1,#pt)]
z18.Looped = false
z18:Play()
for i = 1, 3 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
if Debounces.on == false then break end
wait()
end
z19 = Instance.new("Sound", rarm)
z19.SoundId = "http://www.roblox.com/asset/?id=206083107"
z19.Volume = 0.6
z19.Pitch = pt[math.random(1,#pt)]
z19.Looped = false
z19:Play()
for i = 1, 3 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
if Debounces.on == false then break end
wait()
end
z20 = Instance.new("Sound", larm)
z20.SoundId = "http://www.roblox.com/asset/?id=206083107"
z20.Volume = .6
z20.Pitch = pt[math.random(1,#pt)]
z20.Looped = false
z20:Play()
for i = 1, 3 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
if Debounces.on == false then break end
wait()
end
z:Destroy()
z2:Destroy()
z3:Destroy()
z4:Destroy()
z5:Destroy()
z6:Destroy()
z7:Destroy()
z8:Destroy()
z9:Destroy()
z10:Destroy()
z11:Destroy()
z12:Destroy()
z13:Destroy()
z14:Destroy()
z15:Destroy()
z16:Destroy()
z17:Destroy()
z18:Destroy()
z19:Destroy()
z20:Destroy()
Debounces.LPunch = false
Debounces.RPunch = false
Debounces.ks = false
Debounces.ks2 = false
if Debounces.CanAttack == false then
Debounces.CanAttack = true
Debounces.on = false
Debounces.NoIdl = false
end
end
end
end)
-------------------------------
mouse.KeyDown:connect(function(key)
if key == "t"--[[ and ki > 2.5--]] then
if Debounces.CanAttack == true then
Debounces.CanAttack = false
Debounces.NoIdl = true
Debounces.on = true
Debounces.ks = true
--ki=ki-2.5
kik = rleg.Touched:connect(function(ht)
hit = ht.Parent
if ht and hit:IsA("Model") then
if hit:FindFirstChild("Humanoid") then
if hit.Name ~= p.Name then
--[[if Debounces.Slashing == true and Debounces.Slashed == false then
Debounces.Slashed = true]]--
if Debounces.ks==true then
z = Instance.new("Sound",hed)
z.SoundId = "rbxassetid://169380525"
z.Volume = 1
z:Play()
Debounces.ks=false
end
hit:FindFirstChild("Humanoid"):TakeDamage(2)
hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
--Debounces.Slashed = false
--end
end
end
elseif ht and hit:IsA("Hat") then
if hit.Parent.Name ~= p.Name then
if hit.Parent:FindFirstChild("Humanoid") then
--[[if Debounces.Slashing == true and Debounces.Slashed == false then
Debounces.Slashed = true]]--
hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
--Debounces.Slashed = false
--end
end
end
end
end)
for i = 1,20 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.4)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
if Debounces.on == false then break end
rs:wait()
end
kik:disconnect()
if Debounces.CanAttack == false then
Debounces.CanAttack = true
Debounces.NoIdl = false
Debounces.on = false
end
end
end
end)
----------------------------------------------------
mouse.KeyDown:connect(function(key)
if key == "y" --[[and ki > 15--]] then
if Debounces.CanAttack == true then
Debounces.CanAttack = false
Debounces.on = true
Debounces.NoIdl = true
--ki=ki-15
for i = 1, 15 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.2)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.6)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
if Debounces.on == false then break end
rs:wait(2.7)
end
x = Instance.new("Sound",char)
x.SoundId = "rbxassetid://228343271"
x.Pitch = 1
x.Volume = .8
wait(.1)
x:Play()
Debounces.on = false
Debounces.Here = false
shot = shot + 1
local rng = Instance.new("Part", larm)
rng.Anchored = true
rng.BrickColor = BrickColor.new("Royal purple")
rng.CanCollide = false
rng.FormFactor = 3
rng.Name = "Ring"
rng.Size = Vector3.new(1, 1, 1)
rng.Transparency = 0.35
rng.TopSurface = 0
rng.BottomSurface = 0
rng2 = rng:clone()
rng3 = rng2:clone()
rng4 = rng2:clone()
local rngm = Instance.new("SpecialMesh", rng)
rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
rngm.Scale = Vector3.new(10, 10, 1)
rngm2 = rngm:clone()
rngm2.Scale = Vector3.new(5, 5, 3)
rngm3=rngm2:clone()
rngm3.Parent = rng3
rngm3.Scale = Vector3.new(8, 8, 1)
rngm4 = rngm2:clone()
rngm4.Parent = rng4
rngm4.Scale = Vector3.new(6, 6, 1)
local bem = Instance.new("Part", larm)
bem.Anchored = true
bem.BrickColor = BrickColor.new("Really black")
bem.CanCollide = false
bem.FormFactor = 3
bem.Name = "Beam" .. shot
bem.Size = Vector3.new(1, 1, 1)
bem.Transparency = 0.35
bem.TopSurface = 0
bem.BottomSurface = 0
local bemm = Instance.new("SpecialMesh", bem)
bemm.MeshType = 4
bemm.Scale = Vector3.new(1, 4, 4)
local out = Instance.new("Part", larm)
out.Anchored = true
out.BrickColor = BrickColor.new("Really black")
out.CanCollide = false
out.FormFactor = 3
out.Name = "Out"
out.Size = Vector3.new(4, 4, 4)
out.Transparency = 0.35
out.TopSurface = 0
out.BottomSurface = 0
local outm = Instance.new("SpecialMesh", out)
outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
outm.Scale = Vector3.new(6, 4, 6)
local bnd = Instance.new("Part", larm)
bnd.Anchored = true
bnd.BrickColor = BrickColor.new("Really black")
bnd.CanCollide = false
bnd.FormFactor = 3
bnd.Name = "Bend"
bnd.Size = Vector3.new(1, 1, 1)
bnd.Transparency = 1
bnd.TopSurface = 0
bnd.BottomSurface = 0
local bndm = Instance.new("SpecialMesh", bnd)
bndm.MeshType = 3
bndm.Scale = Vector3.new(8, 8, 8)
out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0)
rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0)
Debounces.Shewt = true
coroutine.wrap(function()
for i = 1, 20, 0.2 do
rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1)
rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1)
rng.Transparency = i/20
rng3.Transparency = 1/24
rng4.Transparency = i/26
wait()
end
wait()
rng:Destroy()
end)()
if Debounces.Shewt == true then
larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
hit = ht.Parent
if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
if HasntTouched(hit.Name) == true and deb == false then
deb = true
coroutine.wrap(function()
hit:FindFirstChild("Humanoid").PlatformStand = true
hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
end)()
table.insert(Touche, hit.Name)
deb = false
end
elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
if HasntTouched(hit.Parent.Name) == true and deb == false then
deb = true
coroutine.wrap(function()
hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
wait(1)
hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
end)()
table.insert(Touche, hit.Parent.Name)
deb = false
for i, v in pairs(Touche) do
print(v)
end
end
end
end)
end
for i = 0, 260, 8 do
bem.Size = Vector3.new(i, 3, 3)
out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
bnd.Size = Vector3.new(1,1,1)
bndm.Scale = Vector3.new(8,8,8)
if i % 10 == 0 then
local newRng = rng2:Clone()
newRng.Parent = larm
newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
local newRngm = rngm2:clone()
newRngm.Parent=newRng
coroutine.wrap(function()
for i = 1, 10, 0.2 do
newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3)
newRng.Transparency = i/10
wait()
end
wait()
newRng:Destroy()
end)()
end
wait()
end
wait()
Debounces.Shewt = false
bem:Destroy()
out:Destroy()
bnd:Destroy()
Debounces.Ready = false
for i, v in pairs(Touche) do
table.remove(Touche, i)
end
wait()
table.insert(Touche, char.Name)
Debounces.NoIdl = false
if Debounces.CanAttack == false then
Debounces.CanAttack = true
end
end
end
end)
----------------------------------------------------
--[[mouse.KeyDown:connect(function(key)
if key == "y" then
if Debounces.CanAttack == true then
Debounces.CanAttack = false
Debounces.NoIdl = true
Debounces.on = true
local shell = Instance.new("Part",torso)
shell.BrickColor = BrickColor.new("Royal purple")
shell.Anchored = false
shell.CanCollide = false
shell.Locked = true
shell.TopSurface = "SmoothNoOutlines"
shell.BottomSurface = "SmoothNoOutlines"
shell.Size = Vector3.new(1.2,1.2,1.2)
shell.FormFactor = 3
local shellm = Instance.new("SpecialMesh",shell)
shellm.MeshType = "Sphere"
shellm.Scale = Vector3.new(1.2,1.2,1.2)
Omega = function()
local X = Instance.new("Part",char)
local O = Instance.new("ObjectValue",X)
O.Name = "creator"
X.Locked = true
X.Name = "Shell"
X.Anchored = false
X.CanCollide = false
X.Transparency = 0.5
X.Reflectance = 0
X.BottomSurface = 0
X.TopSurface = 0
X.Shape = 0
local V = Instance.new("ObjectValue",X)
V.Value = char
V.Name = "creator"
X.BrickColor = BrickColor.new("Royal purple")
X.Size = Vector3.new(40,40,40)
--X.Material = "Neon"
local Z = Instance.new("SpecialMesh",X)
Z.MeshType = "Sphere"
Z.Scale = Vector3.new(0.2,0.2,0.2)
X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
local bv = Instance.new("BodyVelocity",X)
bv.maxForce = Vector3.new(99999,99999,99999)
X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
bv.velocity = root.CFrame.lookVector*10
Explode = X.Touched:connect(function(hit)
if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart}") then
local cf = X.CFrame
bv:Destroy()
X.Anchored = true
Z:Remove()
Explode:disconnect()
X.Size = Vector3.new(3,3,3)
X.Touched:connect(function(hit) end)
X.CanCollide = false
for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do
if v:FindFirstChild('Humanoid') then
v.Humanoid:TakeDamage(math.random(80,120))
end
end
for i = 1, (40) do rs:wait()
X.Transparency = X.Transparency + (1/40)
X.Size = X.Size + Vector3.new(1,1,1)
X.CFrame = root.CFrame * CFrame.new(0,0,-10)
end
X:Destroy()
end
end)
end
for i = 1,200 do
shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.03)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
if Debounces.on == false then break end
rs:wait()
end
for i = 1,30 do
shell.CFrame = torso.CFrame * CFrame.new(0,8,0)
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.4)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-170)), 0.4)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
if Debounces.on == false then break end
rs:wait()
end
for i = 1,40 do
shell.CFrame = torso.CFrame * CFrame.new(0,20,0)
shell.Size = shell.Size + Vector3.new(1,1,1)
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(100)), 0.4)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-100)), 0.4)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
if Debounces.on == false then break end
rs:wait()
end
for i = 1,40 do
shell.CFrame = torso.CFrame * CFrame.new(0,0,-30)
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(20)), 0.4)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.4)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
if Debounces.on == false then break end
rs:wait()
end
for i = 1,60 do
shell.CFrame = torso.CFrame * CFrame.new(0,0,-60)
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-30)), 0.4)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.4)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
if Debounces.on == false then break end
rs:wait()
end
for i = 1,60 do
shell.CFrame = torso.CFrame * CFrame.new(0,0,-60)
shell.Size = shell.Size + Vector3.new(1,1,1)
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(120)), 0.4)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-120)), 0.4)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
if Debounces.on == false then break end
rs:wait()
end
if Debounces.CanAttack == false then
Debounces.CanAttack = true
Debounces.NoIdl = false
Debounces.on = false
end
end
end
end)]]--
----------------------------------------------------
Charging = false
mouse.KeyDown:connect(function(key)
if key == "r" then
if Charging == false then
Charging = true
if Debounces.CanAttack == true then
Debounces.CanAttack = false
Debounces.NoIdl = true
Debounces.on = true
for i = 1,20 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
if Debounces.on == false then break end
rs:wait()
end
--[[for i = 1,20 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4)
if Debounces.on == false then break end
rs:wait()
end]]--
pt=Instance.new('Part',torso)
pt.Anchored=true
pt.CanCollide=false
pt.Locked = true
pt.FormFactor='Custom'
pt.Size=Vector3.new(1,1,1)
pt.CFrame=root.CFrame*CFrame.new(0,-1,0)
pt.Transparency=.6
pt.BrickColor=BrickColor.new('Really black')
msh=Instance.new('SpecialMesh',pt)
msh.MeshId='http://www.roblox.com/asset/?id=20329976'
msh.Scale=Vector3.new(8,4,8)
pt2=pt:clone()
pt2.Parent = torso
pt2.CFrame=root.CFrame*CFrame.new(0,-1,0)
pt2.BrickColor=BrickColor.new("Royal purple")
msh2=msh:clone()
msh2.Parent=pt2
msh2.Scale=Vector3.new(10,5,10)
custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
bl = Instance.new("Part", char)
bl.Locked = true
bl.Name = "Shell"
bl.BrickColor = BrickColor.new("Really black")
bl.Anchored = true
bl.CanCollide = false
bl.Transparency = 0
bl.Reflectance = 0
bl.BottomSurface = 0
bl.TopSurface = 0
bl.Shape = 0
blm = Instance.new("SpecialMesh",bl)
blm.MeshType = "Sphere"
blm.Scale = Vector3.new(1,1,1)
blm.MeshId = "rbxassetid://9982590"
coroutine.resume(coroutine.create(function()
for i=1, math.huge, 4 do
if Charging == true then
rs:wait()
bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1)
bl.Transparency = bl.Transparency + 0.005
pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0)
pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0)
msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05)
msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05)
elseif Charging == false then break
end
end
end))
--[[coroutine.wrap(function()
while Charging == true do
ring()
wait(1)
end
end)()
coroutine.wrap(function()
while Charging == true do
ki = ki+0.3
wait()
end
end)()--]]
repeat
--[[local p = Instance.new('Part',torso)
p.formFactor = 'Custom'
p.Size = Vector3.new(1,1,1)
p.BrickColor = BrickColor.new("Royal purple")
p.CanCollide = false
p.Transparency = 0
p.Anchored = true
p.Locked=true
p.Material = "Neon"
s = math.random(1,40)/10
local m = Instance.new("BlockMesh",p)
m.Scale = Vector3.new(s,s,s)
p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random())
--]]Spawn(function()
while rs:wait() do
if Charging == true then
rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50)))
larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30)))
hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0))
torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10)))
rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20)))
elseif Charging == false then break
end
end
end)
Spawn(function()
while rs:wait() do
if p.Transparency >= 1 then p:Destroy() break end
p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
p.Transparency = p.Transparency+0.01
end
end)
wait(0.05)
until Charging == false
end
end
end
end)
----------------------------------------------------
mouse.KeyUp:connect(function(key)
if key == "r" then
if Charging == true then
Charging = false
pt:Destroy()
pt2:Destroy()
bl:Destroy()
if Debounces.CanAttack == false then
Debounces.CanAttack = true
Debounces.NoIdl = false
Debounces.on = false
end
end
end
end)
----------------------------------------------------
mouse.KeyDown:connect(function(key)
if key == "g" --[[and ki > 10--]] then
if Debounces.CanAttack == true then
Debounces.CanAttack = false
Debounces.NoIdl = true
Debounces.on = true
--ki=ki-10
local shell = Instance.new("Part",torso)
shell.BrickColor = BrickColor.new("Royal purple")
shell.Anchored = true
shell.CanCollide = false
shell.Locked = true
shell.TopSurface = "SmoothNoOutlines"
shell.BottomSurface = "SmoothNoOutlines"
shell.Size = Vector3.new(1,1,1)
shellm = Instance.new("SpecialMesh",shell)
shellm.MeshType = "Sphere"
shellm.Scale = Vector3.new(1,1,1)
local shell2 = Instance.new("Part",torso)
shell2.BrickColor = BrickColor.new("Royal purple")
shell2.Anchored = true
shell2.CanCollide = false
shell2.Locked = true
shell2.TopSurface = "SmoothNoOutlines"
shell2.BottomSurface = "SmoothNoOutlines"
shell2.Size = Vector3.new(1,1,1)
shellm2 = Instance.new("SpecialMesh",shell2)
shellm2.MeshType = "Sphere"
shellm2.Scale = Vector3.new(1,1,1)
function FindNearestTorso(Position,Distance,SinglePlayer)
if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
local List = {}
for i,v in pairs(workspace:GetChildren())do
if v:IsA("Model")then
if v:findFirstChild("Torso")then
if v ~= char then
if(v.Torso.Position -Position).magnitude <= Distance then
table.insert(List,v)
end
end
end
end
end
return List
end
Shell = function()
local X = Instance.new("Part",char)
local O = Instance.new("ObjectValue",X)
O.Name = "creator"
X.Locked = true
X.Name = "Shell"
X.Anchored = false
X.CanCollide = false
X.Transparency = 0
X.Reflectance = 0
X.BottomSurface = 0
X.TopSurface = 0
X.Shape = 0
local V = Instance.new("ObjectValue",X)
V.Value = char
V.Name = "creator"
X.BrickColor = BrickColor.new("Royal purple")
X.Size = Vector3.new(1,1,1)
X.Material = "Neon"
local Z = Instance.new("SpecialMesh",X)
Z.MeshType = "Sphere"
Z.Scale = Vector3.new(1,1,1)
X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
local bv = Instance.new("BodyVelocity",X)
bv.maxForce = Vector3.new(99999,99999,99999)
X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
bv.velocity = root.CFrame.lookVector*65
Explode = X.Touched:connect(function(hit)
if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then
local cf = X.CFrame
bv:Destroy()
X.Anchored = true
Z:Remove()
Explode:disconnect()
X.Size = Vector3.new(3,3,3)
X.Touched:connect(function(hit) end)
X.CanCollide = false
for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do
if v:FindFirstChild('Humanoid') then
v.Humanoid:TakeDamage(math.random(6,12))
end
end
for i = 1, (40) do rs:wait()
X.Transparency = X.Transparency + (1/40)
X.Size = X.Size + Vector3.new(1,1,1)
X.CFrame = cf
end
X:Destroy()
end
end)
end
Shell()
for i = 1, 10 do
shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.7)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.7)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.7)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.7)
if Debounces.on == false then break end
rs:wait()
end
Shell()
shell.Transparency = 1
for i = 1, 10 do
shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
if Debounces.on == false then break end
rs:wait()
end
Shell()
shell.Transparency = 0
shell2.Transparency = 1
for i = 1, 10 do
shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
if Debounces.on == false then break end
rs:wait()
end
Shell()
shell2.Transparency = 0
shell.Transparency = 1
for i = 1, 10 do
shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
if Debounces.on == false then break end
rs:wait()
end
Shell()
shell.Transparency = 0
shell2.Transparency = 1
for i = 1, 10 do
shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
if Debounces.on == false then break end
rs:wait()
end
Shell()
shell2.Transparency = 0
shell.Transparency = 1
for i = 1, 10 do
shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
if Debounces.on == false then break end
rs:wait()
end
Shell()
shell.Transparency = 0
shell2.Transparency = 1
for i = 1, 10 do
shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.5)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
if Debounces.on == false then break end
rs:wait()
end
Shell()
shell2.Transparency = 0
shell.Transparency = 1
for i = 1, 10 do
shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
if Debounces.on == false then break end
rs:wait()
end
Shell()
shell.Transparency = 0
shell2.Transparency = 1
for i = 1, 10 do
shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
if Debounces.on == false then break end
rs:wait()
end
Shell()
shell2.Transparency = 0
shell.Transparency = 1
for i = 1, 10 do
shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
if Debounces.on == false then break end
rs:wait()
end
Shell()
shell.Transparency = 0
shell2.Transparency = 1
for i = 1, 10 do
shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
if Debounces.on == false then break end
rs:wait()
end
Shell()
shell2.Transparency = 0
shell.Transparency = 1
for i = 1, 10 do
shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
if Debounces.on == false then break end
rs:wait()
end
Shell()
shell.Transparency = 0
shell2.Transparency = 1
for i = 1, 10 do
shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
if Debounces.on == false then break end
rs:wait()
end
shell.Transparency = 1
if Debounces.CanAttack == false then
Debounces.CanAttack = true
Debounces.NoIdl = false
Debounces.on = false
end
end
end
end)
----------------------------------------------------
Search = false
mouse.KeyDown:connect(function(key)
if key == "n" --[[ and ki > 1--]] then
--ki=ki-1
if Search == false then
Search = true
for i,v in pairs(game.Players:getPlayers()) do
if v.Name~=char.Name then
for j,k in pairs(v.Character:GetChildren()) do
if k:IsA("BasePart") and k.Transparency >= 1 then
bawx=Instance.new("SelectionBox",cam)
bawx.Color = BrickColor.new("Royal purple")
bawx.Transparency = .5
bawx.Adornee = k
end
end
end
end
elseif Search == true then
Search = false
for i, v in pairs(cam:GetChildren()) do
if v:IsA("SelectionBox") then
v:Destroy()
end
end
end
end
end)
----------------------------------------------------
Grab = false
mouse.KeyDown:connect(function(key)
if key == "z" --[[ and ki > 10--]] then
Debounces.on = true
Debounces.NoIdl = true
Debounces.ks = true
if Grab == false then
--ki=ki-2
gp = nil
for i = 1, 20 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.2)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.2)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2)
if Debounces.on == false then break end
rs:wait()
end
con1=larm.Touched:connect(function(hit) -- this is grab
ht = hit.Parent
hum1=ht:FindFirstChild('Humanoid')
if hum1 ~= nil then
if Debounces.ks==true then
z = Instance.new("Sound",hed)
z.SoundId = "rbxassetid://169380525"
z.Volume = 1
z:Play()
Debounces.ks=false
end
hum1.PlatformStand=true
gp = ht
Grab = true
asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0))
asd.Parent = larm
asd.Name = "asd"
asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0)
elseif hum1 == nil then
con1:disconnect()
wait() return
end
end)
for i = 1, 20 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.2)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.2)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2)
if Debounces.on == false then break end
rs:wait()
end
if hum1 == nil then
Debounces.on = false
Debounces.NoIdl = false
end
con1:disconnect()
elseif Grab == true then
Grab = false
Punch()
z = Instance.new("Sound",hed)
z.SoundId = "rbxassetid://169380525"
z.Pitch = ptz[math.random(1,#ptz)]
z.Volume = 1
z:Play()
for i = 1, 10 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
if Debounces.on == false then break end
rs:wait()
end
Punch()
z = Instance.new("Sound",hed)
z.SoundId = "rbxassetid://169380525"
z.Pitch = ptz[math.random(1,#ptz)]
z.Volume = 1
z:Play()
for i = 1, 10 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
if Debounces.on == false then break end
rs:wait()
end
Punch()
z = Instance.new("Sound",hed)
z.SoundId = "rbxassetid://169380525"
z.Pitch = ptz[math.random(1,#ptz)]
z.Volume = 1
z:Play()
for i = 1, 10 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
if Debounces.on == false then break end
rs:wait()
end
Punch()
z = Instance.new("Sound",hed)
z.SoundId = "rbxassetid://169380525"
z.Pitch = ptz[math.random(1,#ptz)]
z.Volume = 1
z:Play()
for i = 1, 10 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
if Debounces.on == false then break end
rs:wait()
end
Punch()
z = Instance.new("Sound",hed)
z.SoundId = "rbxassetid://169380525"
z.Pitch = ptz[math.random(1,#ptz)]
z.Volume = 1
z:Play()
for i = 1, 10 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
if Debounces.on == false then break end
rs:wait()
end
Punch()
z = Instance.new("Sound",hed)
z.SoundId = "rbxassetid://169380525"
z.Pitch = ptz[math.random(1,#ptz)]
z.Volume = 1
z:Play()
for i = 1, 10 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
if Debounces.on == false then break end
rs:wait()
end
Punch()
z = Instance.new("Sound",hed)
z.SoundId = "rbxassetid://169380525"
z.Pitch = ptz[math.random(1,#ptz)]
z.Volume = 1
z:Play()
for i = 1, 10 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
if Debounces.on == false then break end
rs:wait()
end
Punch()
z = Instance.new("Sound",hed)
z.SoundId = "rbxassetid://169380525"
z.Pitch = ptz[math.random(1,#ptz)]
z.Volume = 1
z:Play()
for i = 1, 10 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
if Debounces.on == false then break end
rs:wait()
end
Punch()
z = Instance.new("Sound",hed)
z.SoundId = "rbxassetid://169380525"
z.Pitch = ptz[math.random(1,#ptz)]
z.Volume = 1
z:Play()
for i = 1, 10 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
if Debounces.on == false then break end
rs:wait()
end
Punch()
z = Instance.new("Sound",hed)
z.SoundId = "rbxassetid://169380525"
z.Pitch = ptz[math.random(1,#ptz)]
z.Volume = 1
z:Play()
for i = 1, 10 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
if Debounces.on == false then break end
rs:wait()
end
Punch()
z = Instance.new("Sound",hed)
z.SoundId = "rbxassetid://169380525"
z.Pitch = ptz[math.random(1,#ptz)]
z.Volume = 1
z:Play()
for i = 1, 10 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
if Debounces.on == false then break end
rs:wait()
end
Punch()
z = Instance.new("Sound",hed)
z.SoundId = "rbxassetid://169380525"
z.Pitch = ptz[math.random(1,#ptz)]
z.Volume = 1
z:Play()
for i = 1, 10 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
if Debounces.on == false then break end
rs:wait()
end
con1:disconnect()
wait()
con1:disconnect()
con1:disconnect()
con1:disconnect()
Debounces.on = false
Debounces.NoIdl = false
if gp ~= nil then
gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140
for i,v in pairs(larm:GetChildren()) do
if v.Name == "asd" and v:IsA("Weld") then
v:Remove()
end
end
--[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
bv.maxForce = Vector3.new(400000, 400000, 400000)
bv.P = 125000
bv.velocity = char.Head.CFrame.lookVector * 200]]--
hum1=nil
ht=nil
Debounces.on = false
Debounces.NoIdl = false
elseif ht == nil then wait()
Grab = false
Debounces.on = false
Debounces.NoIdl = false
end
end
end
end)
----------------------------------------------------
mouse.KeyDown:connect(function(key)
if string.byte(key) == 52 then
char.Humanoid.WalkSpeed = 60
end
end)
mouse.KeyUp:connect(function(key)
if string.byte(key) == 52 then
char.Humanoid.WalkSpeed = 8
end
end)
-------------------------------
local animpose = "Idle"
local lastanimpose = "Idle"
local sine = 0
local change = 1
local val = 0
local ffing = false
-------------------------------
game:GetService("RunService").RenderStepped:connect(function()
--[[if char.Humanoid.Jump == true then
jump = true
else
jump = false
end]]
char.Humanoid.FreeFalling:connect(function(f)
if f then
ffing = true
else
ffing = false
end
end)
sine = sine + change
if jumpn == true then
animpose = "Jumping"
elseif ffing == true then
animpose = "Freefalling"
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
animpose = "Idle"
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
animpose = "Walking"
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
animpose = "Running"
end
if animpose ~= lastanimpose then
sine = 0
if Debounces.NoIdl == false then
if animpose == "Idle" then
for i = 1, 2 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
end
elseif animpose == "Walking" then
for i = 1, 2 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
end
elseif animpose == "Running" then
for i = 1, 2 do
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(-14),math.rad(8+2*math.cos(sine/14))), 0.2)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(14),math.rad(-8-2*math.cos(sine/14))), 0.2)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4)
wait()
end
end
else
end
end
lastanimpose = animpose
if Debounces.NoIdl == false then
if animpose == "Idle" then
change = 0.5
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8+2*math.cos(sine/14))), 0.4)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8-2*math.cos(sine/14))), 0.4)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
elseif animpose == "Walking" then
change = 1
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
elseif animpose == "Running" then
change = 1
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.35,.4)*CFrame.Angles(math.rad(-30),math.rad(14),math.rad(-30+2*math.cos(sine/14))), 0.2)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2)
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.2) * CFrame.Angles(math.rad(-20), math.rad(10), math.rad(0)), 0.4)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(10), math.rad(0)), 0.4)
end
end
end)
hum.MaxHealth = math.huge
wait(1)
hum.Health = math.huge
function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
--[[Part0 = Vector3 (Start pos)
Part1 = Vector3 (End pos)
Times = number (Amount of lightning parts)
Offset = number (Offset)
Color = color (brickcolor value)
Thickness = number (thickness)
Trans = number (transparency)
]]--
local magz = (Part0 - Part1).magnitude
local curpos = Part0
local trz = {-Offset,Offset}
for i=1,Times do
local li = Instance.new("Part", torso)
li.Name = "Lightning"
li.TopSurface =0
li.Material = "Neon"
li.BottomSurface = 0
li.Anchored = true
li.Locked = true
li.Transparency = Trans or 0.4
li.BrickColor = BrickColor.new(Color)
li.formFactor = "Custom"
li.CanCollide = false
li.Size = Vector3.new(Thickness,Thickness,magz/Times)
local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
if Times == i then
local magz2 = (curpos - Part1).magnitude
li.Size = Vector3.new(Thickness,Thickness,magz2)
li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
else
li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
end
curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
game.Debris:AddItem(li,.1)
end
end
BodyParts = {} -- Parts to emit lightning effects from
for _, v in pairs(char:GetChildren()) do
if v:IsA("Part") then
table.insert(BodyParts, v)
end
end
Bounding = {} -- Calculate the bounding boxes
for _, v in pairs(BodyParts) do
local temp = {X=nil, Y=nil, Z=nil}
temp.X = v.Size.X/2 * 10
temp.Y = v.Size.Y/2 * 10
temp.Z = v.Size.Z/2 * 10
Bounding[v.Name] = temp
--table.insert(Bounding, v.Name, temp)
end
while wait(math.random(1,10)/10) do -- Emit the Lightning effects randomly
local Body1 = BodyParts[math.random(#BodyParts)]
local Body2 = BodyParts[math.random(#BodyParts)]
local Pos1 = Vector3.new(
math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
)
local Pos2 = Vector3.new(
math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
)
local SPos1 = Body1.Position + Pos1
local SPos2 = Body2.Position + Pos2
Lightning(SPos1, SPos2, 4, 3, "Royal purple", .3, .56)
end
|
local z,x,y,tryme
-- test 1
do
local z = function(a)
return a+1
end
local x = function(f)
local j = 5
j = f(j)
return j
end
local y = x(z)
assert(x(z) == 6 and y == 6)
end
print("Test 1 OK")
-- test 2
do
local x = function ()
local i, j:integer
j=0
for i=1,10 do
j = j+1
end
return j
end
assert(x() == 10)
end
print("Test 2 OK")
-- test 3
do
local x = function ()
local j:number
for i=1,10 do
j = j+1
end
return j
end
assert(x() == 10.0)
end
print("Test 3 OK")
-- test 4
do
local x = function ()
local j = 0
for i=2,6,3 do
j = i
end
return j
end
assert(x() == 5)
end
print("Test 4 OK")
-- test 5
do
local x = function ()
if 1 == 2 then
return 5.0
end
return 1.0
end
assert(x() == 1.0)
end
print("Test 5 OK")
-- test 6
do
local x = function (a: integer, b: integer)
if a == b then
return 5.0
end
return 1.0
end
assert(x(1,2) == 1.0)
end
print("Test 6 OK")
-- test 7
do
local x = function (y: integer)
if y < 1 then
return 1.0
elseif y >= 5 then
return 2.0
else
return 3.0
end
end
assert(x(5) == 2.0)
assert(x(4) == 3.0)
end
print("Test 7 OK")
-- test 8
do
local x = function (y: number)
if y < 1.0 then
return 1.0
elseif y >= 5.0 then
return 2.0
else
return 3.0
end
end
assert(x(5.1) == 2.0)
assert(x(4.0) == 3.0)
end
print("Test 8 OK")
-- test 9
do
local x = function (y: integer, z)
if y == 1 then
if z == 1 then
return 99.0
else
return z
end
elseif y >= 5 then
return 2.0
else
return 3.0
end
end
assert(x(1,1) == 99.0)
assert(x(1,2) == 2)
assert(x(1,5.3) == 5.3)
assert(x(5) == 2.0)
assert(x(4) == 3.0)
end
print("Test 9 OK")
-- test 10
do
local x = function()
local function tryme()
local i,j = 5,6
return i,j
end
local i:integer, j:integer = tryme()
assert(i+j == 11)
end
x()
end
print("Test 10 OK")
-- test 11
do
local function x()
local a : number[], j:number = {}
for i=1,10 do
a[i] = i
j = j + a[i]
end
return j
end
assert(x() == 55.0)
end
print("Test 11 OK")
-- test 12
do
local function pisum()
local sum : number
for j = 1,500 do
sum = 0.0
for k = 1,10000 do
sum = sum + 1.0/(k*k)
end
end
return sum
end
assert(math.abs(pisum()-1.644834071848065) < 1e-12)
end
print("Test 12 OK")
-- test 13
do
local function y()
local i,j = 5.1,6.2
return i,j
end
local function x(f)
local i:number, j:number = f()
return i+j
end
assert(math.abs(x(y) - 11.3) < 0.0001)
end
print("Test 13 OK")
-- test 14
do
local function tryme(x,y)
if x < y then
return 1
else
return 0
end
end
assert(tryme(1,2) == 1)
assert(tryme(2,1) == 0)
end
print("Test 14 OK")
-- test 15
do
local function tryme(x,y)
return x < y
end
assert(tryme(1,2))
assert(not tryme(2,1))
end
print("Test 15 OK")
-- test 16
do
local function tabtest(x)
x[1] = 5
return x[1]
end
assert(tabtest({}) == 5)
end
print("Test 16 OK")
-- test 17
do
local function optest()
local a,b,c = 1, 5
c = a and b
return c
end
assert(optest() == 5)
end
print("Test 17 OK")
-- test 18
do
local function optest()
local a,b,c = 1, 5
c = a or b
return c
end
assert(optest() == 1)
end
print("Test 18 OK")
-- test 19
do
local function optest()
local a,b = 1, 5
if a and b then
return b
end
return a
end
assert(optest() == 5)
end
print("Test 19 OK")
-- test 20
do
local function optest()
local a,b = nil, 5
if a or b then
return b
end
return a
end
assert(optest() == 5)
end
print("Test 20 OK")
-- test 21
do
local y
local z = function()
local x=function()
local j:number[] = {}
return j
end
y=x()
y[1] = 99.67
assert(y[1], 99.67)
assert(@integer (#y) == 1)
end
z()
end
print("Test 21 OK")
-- test 22
do
local x
local z = function()
local days: table = {"Sunday", "Monday", "Tuesday", "Wednesday",
"Thursday", "Friday", "Saturda"}
assert(days[1] == 'Sunday')
assert(#days == 7)
assert(days[3] == 'Tuesday')
days[7] = days[7] .. 'y'
x = function()
local t = ''
for k,v in pairs(days) do
t = t .. v
end
return t
end
assert(x() == "SundayMondayTuesdayWednesdayThursdayFridaySaturday")
end
z()
end
print("Test 22 OK")
-- test 23
do
local x = function(a)
return not a
end
local y = function(a)
return a
end
assert(y(x()))
assert(y(x(false)))
assert(not y(x(true)))
end
print("Test 23 OK")
-- test 24
do
local t = { name_ = "ravi" }
function t:name()
return self.name_
end
local function z(t)
return t:name()
end
assert(z(t) == "ravi")
end
print("Test 24 OK")
-- test 25
do
-- test ravi integer array
local function f()
local x: integer[] = { 1, 5 }
local y: integer
x[3] = x[1] + x[2]
y = x[3]
return y
end
assert(f() == 6)
end
print("Test 25 OK")
-- test 26
do
local function f()
local x: number[] = { 5.0, 6.1 }
x[3] = x[1] + x[2]
return x[3]
end
assert(math.abs(f()-11.1) < 1e-12)
end
print("Test 26 OK")
-- test 27
do
-- Ravi arrays support for ipairs()
-- Plus special slot at [0]
local x = function()
local nums: integer[] = {1, 2, 3, 4, 5, 6, 7}
local t = 0
assert(#nums == 7)
nums[0] = 558
for k,v in ipairs(nums) do
t = t + v
end
assert(nums[0] == 558)
return t
end
assert(x() == 28)
end
print("Test 27 OK")
-- test 28
do
-- Ravi arrays support for pairs()
-- Plus special slot at [0]
local x = function()
local nums: integer[] = {1, 2, 3, 4, 5, 6, 7}
local t = 0
assert(#nums == 7)
nums[0] = 558
for k,v in pairs(nums) do
t = t + v
end
assert(nums[0] == 558)
return t
end
assert(x() == 28)
end
print("Test 28 OK")
-- test 29
-- test creation of arrays and slice
do
local x = function()
local zeros: integer[] = table.intarray(10, 0)
local ones: integer[] = table.intarray(10, 1)
local a : integer[] = table.slice(ones, 1, 10)
assert(#zeros == 10)
assert(#ones == 10)
assert(#a == 10)
local i = 0
for k,v in ipairs(a) do
i = i + v
end
assert(i == 10)
local y = table.slice(ones, 10, 1)
y[1] = 115
return ones[10] == 115
end
assert(x() == true)
end
print("Test 29 OK")
-- test 30
do
local matrix = {}
matrix.new = function (m, n)
local t = {m, n, table.numarray(m*n, 0)}
return t
end
matrix.getcol = function(m, col)
local rows = m[1]
local cols = m[2]
local data = m[3]
assert(col > 0 and col <= cols)
return table.slice(data, (col-1)*rows+1, rows)
end
matrix.getdata = function(m)
return m[3]
end
matrix.datalen = function(data)
return #data
end
local x = function()
local m = matrix.new(5,5)
local data: number[] = matrix.getdata(m)
local data_len: integer = matrix.datalen(data)
for i = 1,data_len do
data[i] = i
end
-- get third col
local col3 = matrix.getcol(m, 3)
-- should be 11,12,13,14,15
local n = 0
for k,v in ipairs(col3) do
n = n + v
end
-- should be 65
return n
end
assert(x() == 65)
end
print("Test 30 OK")
-- test 31
do
local function testadd(a,b)
return a+b
end
assert(testadd(1,1) == 2)
assert(testadd(1.5,1.6) == 3.1)
assert(testadd("1.5",1.6) == 3.1)
assert(testadd("1.5","1.6") == 3.1)
end
print("Test 31 OK")
-- test 32
do
local function testsub(a,b)
return a-b
end
assert(testsub(1,1) == 0)
assert(math.abs(testsub(1.5,1.6)-(-0.1)) < 1e-6)
assert(math.abs(testsub("1.5",1.6)-(-0.1)) < 1e-6)
assert(math.abs(testsub("1.5","1.6")-(-0.1)) < 1e-6)
end
print("Test 32 OK")
-- test 33
do
local function testmul(a,b)
return a*b
end
assert(testmul(2,2) == 4)
assert(math.abs(testmul(1.5,1.6)-2.4) < 1e-12)
assert(math.abs(testmul("1.5",1.6)-2.4) < 1e-12)
assert(math.abs(testmul("1.5","1.6")-2.4) < 1e-12)
end
print("Test 33 OK")
-- test 34
do
local function testdiv(a,b)
return a/b
end
assert(testdiv(2,2) == 1.0)
assert(math.abs(testdiv(1.5,1.6)-0.9375) < 1e-12)
assert(math.abs(testdiv("1.5",1.6)-0.9375) < 1e-12)
assert(math.abs(testdiv("1.5","1.6")-0.9375) < 1e-12)
end
print("Test 34 OK")
-- test 35
do
-- this tests that within the for loop
-- the locals get mapped correctly to upvalues
local function f()
local a={}
for i=1,2 do
local y:integer = 0
a[i] = function()
y = y + 10
return y;
end
end
return a
end
local t = f()
assert(#t == 2)
assert(t[1]() == 10)
assert(t[2]() == 10)
assert(t[1]() == 20)
assert(t[2]() == 20)
end
print("Test 35 OK")
-- test 36
do
-- upvalues
local x = 1
local y=function()
local f = function()
return x
end
return f
end
local f = y()
assert(f() == 1)
x=5
assert(f() == 5)
end
print("Test 36 OK")
-- test 37
do
-- upvalues - TODO is this test worth keeping?
g = 3 -- global
local y=function()
local f = function()
return g
end
return f
end
local f = y()
assert(f() == 3)
g=5
assert(f() == 5)
end
print("Test 37 OK")
-- test 38
do
local function x()
local x = 1
local f = function()
x=x+1
return x
end
return f
end
local f=x()
assert(f() == 2)
assert(f() == 3)
end
print("Test 38 OK")
-- test setupval, getupval
do
local function x()
local a = 0
return function(x) a=a+x; return a; end
end
local y=x()
assert(y(2) == 2)
assert(y(2) == 4)
assert(y(3) == 7)
end
print('Test 39 OK')
-- test 40
do
local x=function(a,b)
return a%b
end
-- When using 32-bit numbers we don't jit mod
assert(x(5,2) == 1)
assert(math.abs(x(5.1,2.1)-0.9) < 1e-6)
end
print("Test 40 OK")
-- test 41
do
local x=function(a,b)
return a//b
end
-- When using 32-bit numbers we don't jit idiv
assert(x(5,2) == 2)
assert(math.abs(x(5.5,2.1)-2.0) < 1e-6)
end
print("Test 41 OK")
-- test 42
--do
-- local x = function ()
-- local j = 0
-- for i=2.0,6.0,3.1 do
-- j = i
-- end
-- return j
-- end
-- assert(x() == 5.1)
--end
--print("Test 42 OK")
-- test parameter types
do
local x = function (a: integer, b: number)
local i: integer = a
local j: number = b
return i+j
end
assert(x(1,5.5) == 6.5)
end
print'Test 43 OK'
do
local x=function (a:number[], b:integer)
local j: number = a[b]
return j
end
local function y()
local t: number[] = { 4.2 }
return x(t, 1)
end
assert(y() == 4.2)
end
print'Test 44 OK'
-- test 45
do
local function x(t) return t; end
local function f()
local tt: integer[] = {1}
local ss: number[] = { 55.5 }
tt = x(tt)
ss = x(ss)
end
assert(pcall(f))
local function f()
local tt: integer[] = {1}
tt = x({})
end
assert(not pcall(f))
local function f()
local tt: integer[] = {1}
local ss: number[] = { 55.5 }
ss = x(tt)
end
assert(not pcall(f))
end
print("Test 45 OK")
-- test 47
do
local function test_idiv()
local t = {}
t.__idiv = function(...) return 'idiv' end
local t1=setmetatable({1,2,3}, t)
local t2=setmetatable({4,5,6}, t)
local x= function() return t1//t2 end
local s1=x()
assert(s1 == 'idiv')
local s2=x()
assert(s1 == s2)
local x= function(t1: number, t2: number) return t1//t2 end
local s1=x(4.1,2.0)
assert(s1 == 2)
local s2=x(4.1,2.0)
assert(s1 == s2)
end
test_idiv()
end
print'Test 47 (IDIV) OK'
do
local function test_tableaccess()
-- Test specialised version of GETTABLE and SETTABLE
-- when local variable is known to be of table type
-- and key is a string
local f = function()
local t : table = {}
t.name = 'dibyendu'
t.data = {}
t.data.city = 'london'
return t.name, t.data.city
end
local a,b = f()
assert(a == 'dibyendu')
assert(b == 'london')
-- Test specialised version of GETTABLE and SETTABLE
-- when local variable is known to be of table type
-- and key is a integer
local f = function()
local t : table = {}
t[1] = 'dibyendu'
t[2] = {}
t[2][1] = 'london'
return t[1], t[2][1]
end
local a,b = f()
assert(a == 'dibyendu')
assert(b == 'london')
end
test_tableaccess()
end
print 'Test 48 OK'
do
local function test_self_s()
local t : table = {}
t.name_ = 'dibyendu majumdar'
t.name = function (t:table) return t.name_ end
assert(t:name())
return t:name()
end
assert(test_self_s() == 'dibyendu majumdar')
end
print 'Test 49 OK'
-- issue #73
do
local function bug_index_event()
local t1 = { name='dibyendu' }
local t2 = { surname='majumdar' }
t2.__index = t2
setmetatable(t1, t2)
assert(t1.name == 'dibyendu')
assert(t1.surname == 'majumdar') -- index event
assert(t1.surname == 'majumdar') -- index event
local t3: table = { name='dibyendu' }
setmetatable(t3, t2)
assert(t3.name == 'dibyendu')
assert(t3.surname == 'majumdar') -- index event
assert(t3.surname == 'majumdar') -- index event
t1 = { [1]='dibyendu' }
t2 = { [2]='majumdar' }
t2.__index = t2
setmetatable(t1, t2)
assert(t1[1] == 'dibyendu')
assert(t1[2] == 'majumdar') -- index event
assert(t1[2] == 'majumdar') -- index event
local t3: table = { [1]='dibyendu' }
setmetatable(t3, t2)
assert(t3[1] == 'dibyendu')
assert(t3[2] == 'majumdar') -- index event
assert(t3[2] == 'majumdar') -- index event
end
bug_index_event()
end
print 'Test 50 OK'
do
local function event_test()
local a: table = {}
setmetatable(a, {__metatable = "xuxu",
__tostring=function(x: table) return x.name end})
assert(getmetatable(a) == "xuxu")
--assert(tostring(a) == nil)
-- cannot change a protected metatable
assert(pcall(setmetatable, a, {}) == false)
a.name = "gororoba"
assert(tostring(a) == "gororoba")
end
event_test();
end
print 'Test 51 OK'
do
local function test_intarray_as_table(t)
t.a = 'a'
--print(ravitype(t))
end
local function do_test_intarray_as_table()
local iarray: integer[] = {1}
test_intarray_as_table(iarray);
end
assert(not pcall(do_test_intarray_as_table))
end
print 'Test 52 OK'
do
local function test_numarray_meta()
local farray : number[] = {1.1, 2.2, 3.3}
setmetatable(farray, {
__name = 'matrix',
__tostring = function() return '{' .. table.concat(farray, ",") .. '}' end
})
assert(ravitype(farray) == 'matrix')
assert(tostring(farray) == '{1.1,2.2,3.3}')
end
assert(pcall(test_numarray_meta));
end
print 'Test 53 OK'
do
local function test_longkey()
local t: table = {}
t._01234567890123456789012345678901234567890123456789 = 4.2
assert(t._01234567890123456789012345678901234567890123456789 == 4.2)
t._01234567890 = 4.3
assert(t._01234567890 == 4.3)
t["_01234567890"] = 4.4
assert(t["_01234567890"] == 4.4)
local s = "_01234567890"
assert(t[s] == 4.4)
assert(t.s == nil)
end
assert(pcall(test_longkey));
end
print 'Test 54 OK'
do
local function test_yields_in_metamethods()
--print"testing yields inside metamethods"
local mt = {
__eq = function(a:table,b:table) coroutine.yield(nil, "eq"); return a.x == b.x end,
__lt = function(a:table,b:table) coroutine.yield(nil, "lt"); return a.x < b.x end,
__le = function(a:table,b:table) coroutine.yield(nil, "le"); return a - b <= 0 end,
__add = function(a:table,b:table) coroutine.yield(nil, "add"); return a.x + b.x end,
__sub = function(a:table,b:table) coroutine.yield(nil, "sub"); return a.x - b.x end,
__mod = function(a:table,b:table) coroutine.yield(nil, "mod"); return a.x % b.x end,
__unm = function(a:table,b) coroutine.yield(nil, "unm"); return -a.x end,
__bnot = function(a:table,b) coroutine.yield(nil, "bnot"); return ~a.x end,
__shl = function(a:table,b:table) coroutine.yield(nil, "shl"); return a.x << b.x end,
__shr = function(a:table,b:table) coroutine.yield(nil, "shr"); return a.x >> b.x end,
__band = function(a,b)
a = type(a) == "table" and a.x or a
b = type(b) == "table" and b.x or b
coroutine.yield(nil, "band")
return a & b
end,
__bor = function(a:table,b:table) coroutine.yield(nil, "bor"); return a.x | b.x end,
__bxor = function(a:table,b:table) coroutine.yield(nil, "bxor"); return a.x ~ b.x end,
__concat = function(a,b)
coroutine.yield(nil, "concat");
a = type(a) == "table" and a.x or a
b = type(b) == "table" and b.x or b
return a .. b
end,
__index = function (t:table,k) coroutine.yield(nil, "idx"); return t.k[k] end,
__newindex = function (t:table,k,v) coroutine.yield(nil, "nidx"); t.k[k] = v end,
}
local function new (x)
return setmetatable({x = x, k = {}}, mt)
end
local a : table = new(10)
local b : table = new(12)
local c : table = new"hello"
local function run (f, t)
local i = 1
local c = coroutine.wrap(f)
while true do
local res, stat = c()
if res then assert(t[i] == nil); return res, t end
assert(stat == t[i])
i = i + 1
end
end
assert(run(function () if (a>=b) then return '>=' else return '<' end end,
{"le", "sub"}) == "<")
-- '<=' using '<'
mt.__le = nil
assert(run(function () if (a<=b) then return '<=' else return '>' end end,
{"lt"}) == "<=")
assert(run(function () if (a==b) then return '==' else return '~=' end end,
{"eq"}) == "~=")
assert(run(function () return a & b + a end, {"add", "band"}) == 2)
assert(run(function () return a % b end, {"mod"}) == 10)
assert(run(function () return ~a & b end, {"bnot", "band"}) == ~10 & 12)
assert(run(function () return a | b end, {"bor"}) == 10 | 12)
assert(run(function () return a ~ b end, {"bxor"}) == 10 ~ 12)
assert(run(function () return a << b end, {"shl"}) == 10 << 12)
assert(run(function () return a >> b end, {"shr"}) == 10 >> 12)
assert(run(function () return a..b end, {"concat"}) == "1012")
assert(run(function() return a .. b .. c .. a end,
{"concat", "concat", "concat"}) == "1012hello10")
assert(run(function() return "a" .. "b" .. a .. "c" .. c .. b .. "x" end,
{"concat", "concat", "concat"}) == "ab10chello12x")
do -- a few more tests for comparison operators
local mt1 = {
__le = function (a,b)
coroutine.yield(10)
return
(type(a) == "table" and a.x or a) <= (type(b) == "table" and b.x or b)
end,
__lt = function (a,b)
coroutine.yield(10)
return
(type(a) == "table" and a.x or a) < (type(b) == "table" and b.x or b)
end,
}
local mt2 = { __lt = mt1.__lt } -- no __le
local function run (f)
local co = coroutine.wrap(f)
local res
repeat
res = co()
until res ~= 10
return res
end
local function test ()
local a1 : table = setmetatable({x=1}, mt1)
local a2 : table = setmetatable({x=2}, mt2)
assert(a1 < a2)
assert(a1 <= a2)
assert(1 < a2)
assert(1 <= a2)
assert(2 > a1)
assert(2 >= a2)
return true
end
run(test)
end
assert(run(function ()
local a: table = a
a.BB = print
return a.BB
end, {"nidx", "idx"}) == print)
end
assert(pcall(test_yields_in_metamethods));
end
print 'Test 55 OK'
do
local function test_upvaluejoin()
local debug = require'debug'
local foo1, foo2, foo3, foo4
do
local a:integer, b:integer = 3, 5
local c:number = 7.1
foo1 = function() return a+b end
foo2 = function() return b+a end
foo4 = function() return c end
do
local a: integer = 10
foo3 = function() return a+b end
end
end
assert(debug.upvalueid(foo1, 1))
assert(debug.upvalueid(foo1, 2))
assert(not pcall(debug.upvalueid, foo1, 3))
assert(debug.upvalueid(foo1, 1) == debug.upvalueid(foo2, 2))
assert(debug.upvalueid(foo1, 2) == debug.upvalueid(foo2, 1))
assert(debug.upvalueid(foo3, 1))
assert(debug.upvalueid(foo1, 1) ~= debug.upvalueid(foo3, 1))
assert(debug.upvalueid(foo1, 2) == debug.upvalueid(foo3, 2))
assert(debug.upvalueid(string.gmatch("x", "x"), 1) ~= nil)
assert(foo1() == 3 + 5 and foo2() == 5 + 3)
debug.upvaluejoin(foo1, 2, foo2, 2)
assert(foo1() == 3 + 3 and foo2() == 5 + 3)
assert(foo3() == 10 + 5)
debug.upvaluejoin(foo3, 2, foo2, 1)
assert(foo3() == 10 + 5)
debug.upvaluejoin(foo3, 2, foo2, 2)
assert(foo3() == 10 + 3)
-- Following will fail as typeof(foo4,1) is not same as typeof(foo1,1)
debug.upvaluejoin(foo4, 1, foo1, 1)
assert(foo4() == 7.1)
assert(not pcall(debug.upvaluejoin, foo1, 3, foo2, 1))
assert(not pcall(debug.upvaluejoin, foo1, 1, foo2, 3))
assert(not pcall(debug.upvaluejoin, foo1, 0, foo2, 1))
assert(not pcall(debug.upvaluejoin, print, 1, foo2, 1))
assert(not pcall(debug.upvaluejoin, {}, 1, foo2, 1))
assert(not pcall(debug.upvaluejoin, foo1, 1, print, 1))
end
assert(pcall(test_upvaluejoin));
end
print 'Test 56 OK'
do
local function test_idiv(y: integer)
local era: integer
era = y // 400
return era
end
assert(test_idiv(1900) == 4)
end
print 'Test 57 OK'
do
local function from_dmy1(y: integer, m: integer, d: integer)
if m <= 2 then
y = y - 1
end
local era: integer
if y >= 0 then
era = y // 400
else
era = (y-399) // 400
end
local yoe: integer = y - era * 400
local tmp: integer
if m > 2 then
tmp = -3
else
tmp = 9
end
local doy: integer = (153 * (m + tmp) + 2)//5 + d-1
local doe: integer = yoe * 365 + yoe//4 - yoe//100 + doy
return era * 146097 + doe - 719468
end
local function from_dmy2(y, m, d)
if m <= 2 then
y = y - 1
end
local era
if y >= 0 then
era = y // 400
else
era = (y-399) // 400
end
local yoe = y - era * 400
local tmp
if m > 2 then
tmp = -3
else
tmp = 9
end
local doy = (153 * (m + tmp) + 2)//5 + d-1
local doe = yoe * 365 + yoe//4 - yoe//100 + doy
return era * 146097 + doe - 719468
end
assert(from_dmy1(1900, 1, 1) == -25567)
assert(from_dmy1(1900, 1, 1) == from_dmy2(1900, 1, 1))
end
print 'Test 58 OK'
do
local function x(s1: string, s2: string)
return @string( s1 .. s2 )
end
assert(x('a', 'b') == 'ab')
end
print 'Test 59 OK'
do
local function x(f: closure)
local g = @closure f
return g()
end
local called = 0
local function y()
called = called + 1
end
x(y)
assert(called == 1)
x(y)
assert(called == 2)
end
print 'Test 60 OK'
do
local mt = { __name='MyType'}
debug.getregistry().MyType = mt
local t = {}
setmetatable(t, mt)
local function x(s: MyType)
local assert = assert
assert(@MyType s == @MyType t)
assert(@MyType t == t)
end
x(t)
end
print 'Test 61 OK'
do
local mt = { __name='MyType'}
debug.getregistry().MyType = mt
local t = {}
setmetatable(t, mt)
local function x()
local a: MyType
return function (b) a = b end
end
local f = x()
assert(pcall(f, t)) -- t is of MyType so okay
assert(pcall(f, nil)) -- nil is okay
assert(not pcall(f, 'hello')) -- string not okay
end
print 'Test 62 OK'
do
local function x()
local f: closure = function() end
f = nil
local f
f = 'a'
return f
end
assert(x() == 'a')
end
print 'Test 63 OK'
-- Codegen bug #issue 148
do
local function x()
assert(({pcall(function() comp 'x for __result' end)})[2]
:find'not contain __ prefix')
end
end
print 'Test 64 OK'
do
local x = function()
local i: integer = @integer 1
local n: number = @number 1.2
assert(i == 1 and n == 1.2)
local j = { 1, 2, 3, 4.2, 5 }
i = @integer( @integer (j[2]) )
n = @number( @number (j[4]) )
assert(i == 2)
assert(n == 4.2)
end
x()
end
print 'Test 65 OK'
do
local function x()
local a,b = 1,2
local c: integer,d: integer = @integer a, @integer b
assert(c == a and b == d)
end
x()
end
print 'Test 66 OK'
do
g = { 1, 5.5 } -- global
local h = { 10, 4.2 }
local function x()
local a: integer = 11
local b: number = 6.5
local c = 6
a = @integer( g[1] ) + @integer( h[1] ) * @integer( c )
c = 3.2
b = @number( g[2] ) * @number( h[2] ) - @number( c )
return a,b
end
local y,z = x()
assert(y == 61 and math.abs(z - 19.9) < 1e-5)
end
print 'Test 67 OK'
do
local x=load 'local t: number[] = {}'
end
print 'Test 68 OK'
do
local x=load 'local t = @number[] {}'
end
print 'Test 69 OK'
do
local x=load 'local t: number[] = @number[] ( @number[] {} )'
end
print 'Test 70 OK'
do
local function x()
return { @integer[] {1,2}, @number[] {42.0} }
end
local y = x()
assert(ravitype(y[1]) == 'integer[]')
assert(ravitype(y[2]) == 'number[]')
end
print 'Test 71 OK'
do
local function x()
return @integer[] @integer[] @integer[]{1}
end
assert(ravitype(x()) == 'integer[]')
end
print 'Test 72 OK'
do
local function x()
return nil or @integer[] {1}
end
assert(ravitype(x()) == 'integer[]')
end
print 'Test 73 OK'
do
local function x()
return @number[]( @integer[] {1} and @number[] {42.0} )
end
assert(ravitype(x()) == 'number[]')
assert(x()[1] == 42.0)
end
print 'Test 74 OK'
do
local function x()
assert(math.exp(2) == ravi.exp(2))
assert(math.log(2) == ravi.ln(2))
assert(math.exp(math.log(2)) == ravi.exp(ravi.ln(2)))
end
x()
end
print 'Test 75 OK'
-- Test that % of ints results in int
do
local function x(a: integer, b:integer)
return a%b == 0
end
assert(x(10,5))
end
print 'Test 76 OK'
-- Test that ^ applied to numbers results in a number
do
local function x(a:number, b:number)
local c:number = a^b
return c
end
assert(x(2,3) == 2^3)
end
print 'Test 77 OK'
-- Create some slices and invoke GC
do
local x = function ()
local function createarray(values: number[])
local arr: number[] = table.numarray(#values, 0)
for i=1,#values do
arr[i] = values[i]
end
return arr
end
local slice1, slice2, slice3
local finalizer_called = false
do
local arr: number[] = createarray (@number[]{ 1.1, 2.2, 3.3, 4.4, 5.5, 6.6 })
setmetatable(arr, { __gc = function() finalizer_called = true end })
assert(#arr == 6)
slice1 = table.slice(arr, 1, 4)
collectgarbage()
assert(not finalizer_called)
assert(#arr == 6)
assert(#slice1 == 4)
slice2 = table.slice(slice1, 2, 2)
collectgarbage()
assert(not finalizer_called)
assert(#arr == 6)
assert(#slice1 == 4)
assert(#slice2 == 2)
end
collectgarbage()
assert(not finalizer_called)
slice3 = table.slice(slice2, 1, 1)
assert(#slice1 == 4)
assert(#slice2 == 2)
assert(slice3[1] == 2.2)
slice1 = nil
collectgarbage()
assert(not finalizer_called)
assert(#slice2 == 2)
assert(slice3[1] == 2.2)
slice2 = nil
collectgarbage()
assert(not finalizer_called)
assert(#slice3 == 1)
assert(slice3[1] == 2.2)
slice3 = nil
collectgarbage()
assert(finalizer_called)
end
x()
end
print 'Test 83 OK'
-- Test that ~ applied to non integer result in any type
-- issue #209
do
local function x(x:number)
return (~x)+1
end
assert(x(1.0) == -1)
local function x(x:table)
return (~x)+1
end
end
print 'Test 84 OK'
-- Test that #() applied to non integer type produces any type
-- issue #210
do
local function x(x:integer[])
return #(x[1])+1
end
end
print 'Test 85 OK'
-- Test that #() applied to non integer type produces any type
-- issue #210
do
local function x(x:integer[])
return #x[1]+1
end
end
print 'Test 86 OK'
-- An upvalue that is an array will yield a primitive value
-- issue #211
do
local x: integer[] = {4}
local y: number[] = {4.2}
local function f()
return x[1] + 1, y[1] + 2.2
end
local a,b = f()
assert(a == 5)
assert(b == 6.4)
end
print 'Test 87 OK'
do
local function doit(a: integer, what)
local f: integer = ~0
if what == '&' then
return a&f
elseif what == '|' then
return a|f
elseif what == '<<' then
return a<<1
elseif what == '>>' then
return a>>1
elseif what == '~' then
return ~a
else
return 0
end
end
assert(doit and type(doit) == 'function')
assert(math.abs(doit(16, '&') - 16) < 1e-15)
assert(math.abs(doit(16, '|') - ~0) < 1e-15)
assert(math.abs(doit(16, '<<') - 32) < 1e-15)
assert(math.abs(doit(16, '>>') - 8) < 1e-15)
assert(math.abs(doit(16, '~') - ~16) < 1e-15)
end
print 'Test 88 OK'
do
local data = { "a", 5.5, false }
for i = 1,4 do -- check nil too
local y = data[i]
local function x()
return @integer y
end
assert(not pcall(x))
end
end
print 'Test 89 OK'
do
local y = 56.0
local function x()
return @integer y
end
local _,z = pcall(x)
assert(_)
assert(math.type(z) == 'integer')
end
print 'Test 90 OK'
do
local data = { "a", 5.5, false }
for i = 1,4 do -- check nil too
local y = data[i]
local function x(y: integer)
return y
end
assert(not pcall(x))
end
end
print 'Test 91 OK'
do
local function x(y: integer)
return y
end
local _,z = pcall(x, 56.0)
assert(_)
assert(math.type(z) == 'integer')
end
print 'Test 92 OK'
do
local data = { "a", function() end, false }
for i = 1,4 do -- check nil too
local y = data[i]
local function x()
return @number y
end
assert(not pcall(x))
end
end
print 'Test 93 OK'
do
local y = 56
local function x()
return @number y
end
local _,z = pcall(x)
assert(_)
assert(math.type(z) == 'float')
end
print 'Test 94 OK'
do
local data = { "a", function() end, false }
for i = 1,4 do -- check nil too
local y = data[i]
local function x(y: number)
return y
end
assert(not pcall(x))
end
end
print 'Test 95 OK'
do
local function x(y: number)
return y
end
local _,z = pcall(x, 56)
assert(_)
assert(math.type(z) == 'float')
end
print 'Test 96 OK'
do
local data = { 1, 1.5, function() end, false }
for i = 1,@integer(#data) do
local y = data[i]
local function x()
return @string y
end
assert(not pcall(x))
end
end
print 'Test 97 OK'
do
local data = { 1, 1.5, function() end, false }
for i = 1,@integer(#data) do
local y = data[i]
local function x(y: string)
return y
end
assert(not pcall(x, y))
end
end
print 'Test 98 OK'
do
local data = { 'hello' }
for i = 1,2 do -- check nil too
local y = data[i]
local function x()
return @string y
end
assert(pcall(x))
end
end
print 'Test 99 OK'
do
local data = { 'hello' }
for i = 1,2 do -- check nil too
local y = data[i]
local function x(y: string)
return y
end
assert(pcall(x, y))
end
end
print 'Test 100 OK'
do
local function x(a, b)
local z : integer[] = { @integer(a), @integer(b) }
return z
end
assert(pcall(x, 1, 2.0))
assert(not pcall(x, 1.5, 2))
assert(not pcall(x, '1.5', 2))
assert(not pcall(x, false, 2))
assert(not pcall(x, nil, 2))
end
print 'Test 101 OK'
do
local function x(a, b)
local z : number[] = { @number(a), @number(b) }
return z
end
assert(pcall(x, 42, 2.2))
assert(not pcall(x, '1.5', 2))
assert(not pcall(x, false, 2))
assert(not pcall(x, nil, 2))
end
print 'Test 102 OK'
do
local data = { 'hello', 0, false, 5.6 }
for i = 1,@integer(#data) do
local y = data[i]
local function x()
return @closure y
end
assert(not pcall(x))
end
end
print 'Test 103 OK'
do
local data = { 'hello', 0, false, 5.6 }
for i = 1,@integer(#data) do
local y = data[i]
local function x(z: closure)
return z
end
assert(not pcall(x, y))
end
end
print 'Test 104 OK'
--
do
local function x()
local a, b = {}, 10
a[b], b = 20, 30
return a[10], a[30]
end
local a,b = x()
assert(a == 20)
assert(b == nil)
end
print 'Test 105 OK'
print 'OK'
|
require 'nn'
require 'fixes'
local Dynamic, parent = torch.class('nn.Dynamic', 'nn.Container')
-- must registrate parametric modules in ...
function Dynamic:__init(...)
parent.__init(self)
self.modules = {...}
self.moduleIndexes = {}
for i, v in ipairs(self.modules) do
self.moduleIndexes[v] = i
end
end
function Dynamic:options(...)
-- hidden shared parametric modules
local hiddenModules = {...}
for i, v in ipairs(hiddenModules) do
self.moduleIndexes[v] = -i
end
end
-- must set self.forwSequence = {} first thing in updateOutput
function Dynamic:updateOutput(input)
self:setInput(type(input) == 'table' and unpack(input) or input)
-- TODO
error('Must be overrided.')
return self:setOutput(torch.Tensor()) -- Will raise an exception here
end
function Dynamic:setInput(...)
self._input = {...}
self.forwSequence = {}
end
function Dynamic:setOutput(...)
self._output = {...}
self.output = (#self._output == 1 and self._output[1] or self._output)
return self.output
end
-- dynamic forward
function Dynamic:DF(module, ...)
assert(torch.isTypeOf(module, 'nn.Module'), 'First parameter must be an nn.Module')
local input = {...}
if #input == 1 then input = input[1] end
if module:parameters() then
local index = self.moduleIndexes[module]
if not index then
error('Parametric modules ' .. type(module) .. ' must be registrated with parent.__init(...) or self:options(...)')
end
module = module:shareClone()
end
local output = module:updateOutput(input)
self.forwSequence[#self.forwSequence + 1] = { module, input, output }
if type(output) == 'table' then
return unpack(output)
else
return output
end
end
function Dynamic._getGrad(dataToGrad, data)
if type(data) == 'table' then
local grad = {}
local nonEmptyGrads = 0
for i = 1, #data do
grad[i] = dataToGrad[data[i]]
if grad[i] then nonEmptyGrads = nonEmptyGrads + 1 end
end
if nonEmptyGrads == 0 then return nil end
return grad
else
return dataToGrad[data]
end
end
function Dynamic._addGrad(dataToGrad, data, grad)
if type(data) == 'table' then
for i = 1, #data do
Dynamic._addGrad(dataToGrad, data[i], grad[i])
end
else
if not dataToGrad[data] then
dataToGrad[data] = grad
else
dataToGrad[data]:add(grad)
end
end
end
function Dynamic._removeGrad(dataToGrad, data, grad)
if type(data) == 'table' then
for i = 1, #data do
Dynamic._removeGrad(dataToGrad, data[i], grad[i])
end
else
dataToGrad[data] = nil
end
end
function Dynamic._getAddGrad(dataToGrad, output)
local gradOutput = Dynamic._getGrad(dataToGrad, output)
if type(gradOutput) ~= 'table' then return gradOutput end
for i = 1, #output do
if not gradOutput[i] then
local grad = output[i].new():resizeAs(output[i]):zero()
dataToGrad[output[i]] = grad
gradOutput[i] = grad
end
end
return gradOutput
end
-- must be called after Dynamic:updateOutput due to self.forwSequence
function Dynamic:updateGradInput(input, gradOutput, scale)
self.dataToGrad = {}
if type(gradOutput) ~= 'table' then gradOutput = {gradOutput} end
Dynamic._addGrad(self.dataToGrad, self._output, gradOutput)
for i = #self.forwSequence, 1, -1 do
local module, input2, output2 = unpack(self.forwSequence[i])
local gradOutput2 = Dynamic._getAddGrad(self.dataToGrad, output2)
if gradOutput2 then
--self.forwSequence[i][4] = gradOutput2
local gradInput2 = module:backward(input2, gradOutput2, scale)
Dynamic._removeGrad(self.dataToGrad, output2, gradOutput2) -- to save memory
Dynamic._addGrad(self.dataToGrad, input2, gradInput2)
self.forwSequence[i] = nil -- to save memory
end
self:_collectgarbage()
end
self.gradInput = Dynamic._getGrad(self.dataToGrad, input)
self.dataToGrad = nil -- to save memory
return self.gradInput
end
-- must be called after Dynamic:updateGradInput due to self.dataToGrad
function Dynamic:accGradParameters(input, gradOutput, scale)
error('Error: Not supported.\nIn nn.Dynamic, accGradParameters is combined with updateGradInput in order to save memory.')
-- for i = #self.forwSequence, 1, -1 do
-- local module, input2, output2, gradOutput2 = unpack(self.forwSequence[i])
-- if gradOutput2 then
-- module:accGradParameters(input2, gradOutput2, scale)
-- end
-- end
end
function Dynamic:backward(input, gradOutput, scale)
scale = scale or 1
self:updateGradInput(input, gradOutput, scale)
return self.gradInput
end
function Dynamic:reset(stdv)
parent.reset(self)
self.forwSequence = {}
self.dataToGrad = {}
end
function Dynamic:clearState()
parent.clearState(self)
self.forwSequence = {}
self.dataToGrad = {}
end
function Dynamic:_collectgarbage()
if not self._collectgarbage_clock then
self._collectgarbage_interval = 5
self._collectgarbage_clock = sys.clock()
return
end
local clock = sys.clock()
local duration = clock - self._collectgarbage_clock
if duration > self._collectgarbage_interval then
self._collectgarbage_clock = clock
print('collectgarbage')
collectgarbage()
print('collectgarbage done')
end
end
--[[
require 'gradientCheck'
local Test, parent = torch.class('nn.Test', 'nn.Dynamic')
function Test:__init(input_size)
self.linear = nn.Linear(input_size, input_size)
parent.__init(self, self.linear)
end
function Test:updateOutput(input)
self.forwSequence = {}
local output = self:DF(self.linear, input)
--print(output)
return self:setOutput(output)
end
local test = nn.Test(5)
gradientCheck(test, {7, 5})
--[[]]--
|
ITEM.name = "M590"
ITEM.description = "The Mossberg 590 is a variant of the Mossberg 500 series, specifically made to be easier to field strip for cleaning, as well as being simpler to repair internal damage. Fires 12 Gauge shells."
ITEM.model = "models/weapons/ethereal/w_m590.mdl"
ITEM.class = "cw_kk_ins2_m590"
ITEM.weaponCategory = "primary"
ITEM.width = 3
ITEM.height = 2
ITEM.price = 13500
ITEM.weight = 8
|
local default_environment
default_environment = require("lapis.cmd.util").default_environment
local popper
local push
push = function(name_or_env, overrides)
assert(name_or_env, "missing name or env for push")
local config_module = require("lapis.config")
local old_getter = config_module.get
local env
if type(name_or_env) == "table" then
env = name_or_env
else
env = old_getter(name_or_env)
end
if overrides then
env = setmetatable(overrides, {
__index = env
})
end
config_module.get = function(...)
if ... then
return old_getter(...)
else
return env
end
end
local old_popper = popper
popper = function()
config_module.get = old_getter
popper = old_popper
end
end
local pop
pop = function()
return assert(popper, "no environment pushed")()
end
local assert_env
assert_env = function(env, opts)
if opts == nil then
opts = { }
end
local config = require("lapis.config").get()
local pat
if opts.exact then
pat = "^" .. tostring(env) .. "$"
else
pat = "^" .. tostring(env)
end
if not (config._name:match(pat)) then
local suffix = "(" .. tostring(pat) .. "), you are in `" .. tostring(config._name) .. "`"
local msg
do
local feature = opts["for"]
if feature then
msg = "`" .. tostring(feature) .. "` can only be run in `" .. tostring(env) .. "` environment " .. tostring(suffix)
else
msg = "aborting, exepcting `" .. tostring(env) .. "` environment " .. tostring(suffix)
end
end
error(msg)
end
return true
end
return {
push = push,
pop = pop,
assert_env = assert_env
}
|
cprogram {
name = "cv",
srcs = { "./*.c" },
deps = {
"h+emheaders",
"modules/src/object+lib",
}
}
|
TFA.INS2 = TFA.INS2 or {}
local defaultScope = "ins2_si_mx4" --default scope if it has it
local ForceAttachment = { --overwrites above
["tfa_ins2_svu"] = "ins2_si_mosin",
["tfa_ins2_svd"] = "ins2_si_mosin"
}
local attachmentCorrectionsPre = {}
local attachmentCorrections = {
["ins2_si_eotech"] = {
["VElements"] = {
["sight_eotech"] = {
["active"] = true
}
}
},
["ins2_si_kobra"] = {
["VElements"] = {
["sight_kobra"] = {
["active"] = true
}
}
},
["ins2_si_rds"] = {
["VElements"] = {
["sight_rds"] = {
["active"] = true
}
}
},
["ins2_si_2xrds"] = {
["VElements"] = {
["scope_2xrds"] = {
["active"] = true
}
}
},
["ins2_si_c79"] = {
["VElements"] = {
["scope_c79"] = {
["active"] = true
}
}
},
["ins2_si_po4x"] = {
["VElements"] = {
["scope_po4x"] = {
["active"] = true
}
}
},
["ins2_si_mx4"] = {
["VElements"] = {
["scope_mx4"] = {
["active"] = true
}
}
},
["ins2_si_mosin"] = {
["VElements"] = {
["scope_mosin"] = {
["active"] = true
}
}
}
}
local defaultValue = {
["IronFOV"] = 70,
["IronSightMoveSpeed"] = 0.9,
["RTScopeFOV"] = 6
}
--don't modify below here unless you're confident you know what you're doing
function TFA.INS2.AnimateSight() end
function ApplyWeaponTableRecursive(source,target,wepom)
if not source then return end
if not target then return end
for k,v in pairs(source) do
if istable(v) then
target[k] = target[k] or {}
ApplyWeaponTableRecursive(v,target[k],wepom)
elseif isfunction(v) then
local ent = wepom or target
local succ, val = pcall( v,ent, target[k] or defaultValue[k] )
if succ and type(val) ~= "function" then
target[k] = val
end
elseif target[k] == nil then
target[k] = v
elseif type(target[k]) == type(v) then
target[k] = v
end
end
end
function TFAApplyAttachment(attName,wep)
local attachment = TFA.Attachments.Atts[attName]
if not attachment then return end
if not wep then return end
ApplyWeaponTableRecursive(attachmentCorrectionsPre[attName],wep,wep)
if attachment.Attach then
attachment.Attach(table.Copy(attachment),wep)
end
ApplyWeaponTableRecursive(attachment.WeaponTable,wep,wep)
ApplyWeaponTableRecursive(attachmentCorrections[attName],wep,wep)
end
function TFASelectAttachment(wep,attachments)
for k,v in pairs(attachments.atts) do
if v == defaultScope and wep.Primary and wep.Primary.Ammo ~= "ar2" then
attachments.sel = k
end
if ForceAttachment[wep] == v then
attachments.sel = k
end
end
end
function TFAApplyAttachmentOuter(wep)
if wep.Attachments and weapons.IsBasedOn(wep.ClassName or "", "tfa_gun_base") then
for k,v in pairs(wep.Attachments) do
TFASelectAttachment(wep,v)
if v.sel and v.atts and v.sel >= 0 then
TFAApplyAttachment(v.atts[v.sel],wep)
end
end
end
end
|
local M = {}
function M.apply(colors)
local formats = require('lighthaus.formats')
local set_highlight = require('lighthaus.utils').set_highlight
set_highlight('texCmd', colors.cyan2)
set_highlight('texCmdAuthor', colors.fg_alt, formats.bold)
set_highlight('texCmdClass', colors.hl_yellow)
set_highlight('texCmdTitle', colors.fg_alt, formats.bold)
set_highlight('texCmdDef', colors.purple)
set_highlight('texCmdEnv', colors.purple)
set_highlight('texCmdPart', colors.purple)
set_highlight('texDefArgName', colors.orange2)
set_highlight('texEnvArgName', colors.green2)
set_highlight('texFileArg', colors.blue2)
set_highlight('texMathEnvArgName', colors.green2)
end
return M
|
-----------------------------------------
-- ID: 4940
-- Scroll of Raiton: Ichi
-- Teaches the ninjutsu Raiton: Ichi
-----------------------------------------
function onItemCheck(target)
return target:canLearnSpell(332)
end
function onItemUse(target)
target:addSpell(332)
end
|
require 'common'
local guild_hut = {}
local MapStrings = {}
--------------------------------------------------
-- Map Callbacks
--------------------------------------------------
function guild_hut.Init(map)
DEBUG.EnableDbgCoro() --Enable debugging this coroutine
PrintInfo("=>> Init_guild_hut")
MapStrings = COMMON.AutoLoadLocalizedStrings()
end
function guild_hut.Enter(map)
DEBUG.EnableDbgCoro() --Enable debugging this coroutine
GAME:FadeIn(20)
end
function guild_hut.Update(map, time)
end
--------------------------------------------------
-- Map Begin Functions
--------------------------------------------------
--------------------------------------------------
-- Objects Callbacks
--------------------------------------------------
function guild_hut.South_Exit_Touch(obj, activator)
DEBUG.EnableDbgCoro() --Enable debugging this coroutine
GAME:FadeOut(false, 20)
GAME:EnterGroundMap("guild_path", "entrance_hut")
end
function guild_hut.Card_Portal_Touch(obj, activator)
DEBUG.EnableDbgCoro() --Enable debugging this coroutine
--local dungeon_entrances = { 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40 }
local dungeon_entrances = { 2, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40 }
local ground_entrances = { {Flag=true,Zone=1,ID=0,Entry=0} }
COMMON.ShowDestinationMenu(dungeon_entrances,ground_entrances)
end
return guild_hut
|
require("scripts/utils/copy")
local function getRandom(minr, maxr)
local scale = maxr - minr
return math.random() * scale + minr
end
local function milliSec(self)
local ms = (os.clock() - self.start) * 1000.0
-- self.start = os.clock()
return ms
end
Gcairo.style.image_color = {r=0.3, g=0.3, b=0.7, a=0.6}
local FractalTree = {
DEPTH = 8,
LEAN = 1.5,
SPREAD = 20.0,
BRANCH = 20.0,
MAXSIZE = 10.0,
xscale = 0.8,
yscale = 1.1,
orig = { x=500, y=550 },
color = {r=0.3, g=0.3, b=0.7, a=0.6},
dev = 0.0,
start = os.clock(),
NewSeed = 15,
frontCnt = 0,
imgBranch = nil,
imgFrond = {},
lastLX = 0.0,
lastLY = 0.0,
lastRX = 0.0,
lastRY = 0.0,
Render = function(self)
self.dev = math.sin(math.rad(milliSec(self)/40.0)) * self.LEAN
-- SetBlend(0)
-- SetAlpha(0.7)
math.randomseed(self.NewSeed)
self.lastLX = self.orig.x - self.DEPTH * 0.5
self.lastLY = self.orig.y
self.lastRX = self.orig.x + self.DEPTH * 0.5
self.lastRY = self.orig.y
self.frontCnt = math.random(0, 3)
self:DrawTree(self.orig.x, self.orig.y, -90, self.DEPTH)
end,
DrawTree = function(self, x1, y1, angle, depth)
if(depth > 0) then
local x2 = x1 + math.floor(math.cos(math.rad(angle)) * depth * self.MAXSIZE) * self.xscale
local y2 = y1 + math.floor(math.sin(math.rad(angle)) * depth * self.MAXSIZE) * self.yscale
local depthMod = getRandom(-0.03, 0.03)
local tdepth = depth + depthMod
-- local col = 0.25 - tdepth * 0.125 / DEPTH
-- SetColor(col * 255.0, col * 255.0, col * 255.0)
-- g.setStroke(New BasicStroke(depth))
-- g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON)
--DrawLine(x1, y1, x2, y2)
--local length = Sqrt((x2-x1) * (x2-x1) + (y2-y1) * (y2-y1)) / 256.0
local scaleY = depth / self.DEPTH
local scaleX = depth * self.MAXSIZE / 255.0
-- Nomalized direction
local dirX = math.sin(-math.rad(angle)) * depth * 0.5
local dirY = math.cos(-math.rad(angle)) * depth * 0.5
local newLX = x2-dirX
local newLY = y2-dirY
local newRX = x2+dirX
local newRY = y2+dirY
local vertices = { self.lastLX, self.lastLY, newLX, newLY,
newRX, newRY, self.lastRX, self.lastRY }
Gcairo:DrawPolyline(vertices, self.color, 1.3 )
-- DrawImage(img, x1, y1, -angle, scaleX, scaleY, 0)
local saved = { llx=self.lastLX, lly=self.lastLY, lrx=self.lastRX, lry=self.lastRY }
self.lastLX = newLX
self.lastLY = newLY
self.lastRX = newRX
self.lastRY = newRY
local ldev = getRandom(-self.SPREAD, self.SPREAD)
local rdev = getRandom(-self.SPREAD, self.SPREAD)
local leftDev = angle - self.BRANCH + self.dev + ldev
local rightDev = angle + self.BRANCH + self.dev + rdev
self:DrawTree(x2, y2, leftDev, depth - 1)
self:DrawTree(x2, y2, rightDev, depth - 1)
self.lastLX = saved.llx
self.lastLY = saved.lly
self.lastRX = saved.lrx
self.lastRY = saved.lry
else
if (depth == 0) then
Gcairo:RenderImage(self.imgFrond[1], x1-16, y1-16, 0.0)
end
end
end,
}
local FTree = {
New = function()
local newtree = deepcopy(FractalTree)
newtree.imgBranch = Gcairo:LoadImage( "line001", "lua/examples/data/line001.png" )
newtree.imgFrond[1] = Gcairo:LoadImage( "frond001", "lua/examples/data/frond001.png" )
return newtree
end,
}
return FTree
|
local metadata =
{
plugin =
{
format = 'staticLibrary',
-- This is the name without the 'lib' prefix.
-- In this case, the static library is called: libSTATIC_LIB_NAME.a
staticLibs = { 'native-popup-safariView', },
frameworks = {},
frameworksOptional = { "SafariServices" },
},
}
return metadata
|
require "ratchet"
require "ratchet.http.client"
require "ratchet.http.server"
debugging = false
-- {{{ debug_print()
local function debug_print(t, data)
if t == "send" or t == "recv" then
print(t .. ": [" .. data .. "]")
else
print(t)
end
end
-- }}}
-- {{{ server_handle_command()
function server_handle_command(self, uri, headers, data, from)
assert(uri == "/test/uri")
assert(data == "command data")
local header_values = headers["x-command-header"]
assert(#header_values == 2)
assert(header_values[1] == "command header value 1")
assert(header_values[2] == "command header value 2")
server_received_command = true
return {
code = 250,
message = "Testing",
headers = {
["X-Testing"] = {"check"},
},
data = "data!",
}
end
-- }}}
-- {{{ client_handle_response()
function client_handle_response(code, reason, headers, data)
assert(code == 250)
assert(reason == "Testing")
assert(data == "data!")
local header_values = headers["x-testing"]
assert(#header_values == 1)
assert(header_values[1] == "check")
local missing_header_values = headers['x-missing']
assert(type(missing_header_values) == "table")
assert(#missing_header_values == 0)
client_received_response = true
end
-- }}}
-- {{{ server_ctx()
function server_ctx(host, port)
local rec = ratchet.socket.prepare_tcp(host, port, "AF_INET")
local socket = ratchet.socket.new(rec.family, rec.socktype, rec.protocol)
if debugging then socket:set_tracer(debug_print) end
socket:setsockopt("SO_REUSEADDR", true)
socket:bind(rec.addr)
socket:listen()
ratchet.thread.attach(client_ctx, host, port)
local client, from = socket:accept()
if debugging then client:set_tracer(debug_print) end
local server_handlers = {
GET = server_handle_command,
}
local handler = ratchet.http.server.new(client, from, server_handlers)
handler:handle()
end
-- }}}
-- {{{ client_ctx()
function client_ctx(host, port)
local rec = ratchet.socket.prepare_tcp(host, port, "AF_INET")
local socket = ratchet.socket.new(rec.family, rec.socktype, rec.protocol)
if debugging then socket:set_tracer(debug_print) end
socket:connect(rec.addr)
local handler = ratchet.http.client.new(socket)
local headers = {
["X-Command-Header"] = {
"command header value 1",
"command header value 2",
},
["Content-Length"] = {12},
}
client_handle_response(handler:query("GET", "/test/uri", headers, "command data"))
end
-- }}}
kernel = ratchet.new(function ()
ratchet.thread.attach(server_ctx, "localhost", 10080)
end)
kernel:loop()
assert(server_received_command)
assert(client_received_response)
-- vim:foldmethod=marker:sw=4:ts=4:sts=4:et:
|
local modname = "poop_mod"
local modpath = minetest.get_modpath(modname)
local mg_name = minetest.get_mapgen_setting("mg_name")
local S = minetest.get_translator(minetest.get_current_modname())
-- the item config
minetest.register_node("poop_mod:poop",{
description = S("Poop"),
drawtype = "mesh",
mesh = "POOP.obj",
tiles = {"poopimageitem.png"},
walkable = true,
selection_box = {
type = "fixed",
fixed = {-0.4, -0.5, -0.4, 0.4, -0.25, 0.4},
},
collision_box = {
type = "fixed",
fixed = {-0.4, -0.5, -0.4, 0.4, 0.1, 0.4},
},
paramtype = "light",
sunlight_propagates = true,
paramtype2 = "facedir",
inventory_image = "poopitem.png",
groups = {poop = 1, flammable = 1, oddly_breakable_by_hand = 2},
on_use = minetest.item_eat(-9, "poop_mod:poop"),
})
minetest.register_node("poop_mod:poopblocque",{
description = S("Poop Block"),
tiles = {"poopblocque.png"},
inventory_image = "poopblocque.png",
wield_image = "poopblocque.png",
paramtype = "light",
sunlight_propagates = false,
groups = {poop = 1, flammable = 1, oddly_breakable_by_hand = 3,},
on_use = minetest.item_eat(-19, "poop_mod:poop"),
sounds = default.node_sound_dirt_defaults(),
})
-- poop finding
minetest.register_decoration({
name = "poop_mod:poop_hill",
deco_type = "schematic",
place_on = {"default:dirt_with_grass"},
sidelen = 16,
noise_params = {
offset = 0.001,
scale = 0.02,
spread = {x = 170, y = 170, z = 170},
seed = 3462,
octaves = 3,
persist = 0.66
},
biomes = {"deciduous_forest","savanna","grassland","desert","coniferous_forest","rainforest","bamboo","sakura","taiga"},
y_min = -5,
y_max = 20,
schematic = modpath.."/schematics/poophill.mts",
flags = "place_center_x, place_center_z",
rotation = "random",
})
-- poop crafting
minetest.register_craft({
type = "shapeless",
output = "poop_mod:poop 4",
recipe = {
"poop_mod:poopblocque",
},
})
minetest.register_craft({
type = "shapeless",
output = "poop_mod:poopblocque",
recipe = {
"poop_mod:poop",
"poop_mod:poop",
"poop_mod:poop",
"poop_mod:poop",
},
})
minetest.register_craft({
type = "shapeless",
output = "bonemeal:bonemeal 2",
recipe = {
"poop_mod:poop",
"poop_mod:poop",
},
})
minetest.register_craft({
type = "shapeless",
output = "bonemeal:fertiliser 6",
recipe = {
"poop_mod:poopblocque",
"poop_mod:poopblocque",
},
})
|
local API_SE = require(script:GetCustomProperty("APIStatusEffects"))
local API_D = require(script:GetCustomProperty("APIDamage"))
local data = {}
data.name = script:GetCustomProperty("Name")
data.targets = false
data.canMove = true
data.icon = script:GetCustomProperty("Icon")
data.range = script:GetCustomProperty("Range")
data.cooldown = script:GetCustomProperty("Cooldown")
data.castDuration = script:GetCustomProperty("CastDuration")
data.animationKey = script:GetCustomProperty("AnimationKey")
data.description = script:GetCustomProperty("Description")
data.selfCasterEffectTemplate = script:GetCustomProperty("SelfCasterEffectTemplate")
data.otherCasterEffectTemplate = script:GetCustomProperty("OtherCasterEffectTemplate")
data.selfTargetEffectTemplate = script:GetCustomProperty("SelfTargetEffectTemplate")
data.otherTargetEffectTemplate = script:GetCustomProperty("OtherTargetEffectTemplate")
function data.onCastClient(caster, targetSet)
return 0.0
end
function data.onCastServer(caster, targetSet)
local potionType = math.random(4)
if potionType == 1 then -- Straight heal
local tenacityStat = caster.serverUserData.statSheet:GetStatTotalValue("Tenacity")
API_D.ApplyHealing(caster, caster, 60.0 + 6.0 * tenacityStat)
elseif potionType == 2 then -- Hot
API_SE.ApplyStatusEffect(caster, caster, API_SE.STATUS_EFFECT_DEFINITIONS["Restorative Potion"].id)
elseif potionType == 3 then -- Mitigation
API_SE.ApplyStatusEffect(caster, caster, API_SE.STATUS_EFFECT_DEFINITIONS["Toughness Potion"].id)
elseif potionType == 4 then -- Invincibility
API_SE.ApplyStatusEffect(caster, caster, API_SE.STATUS_EFFECT_DEFINITIONS["Invincibility Potion"].id)
end
end
return data
|
local sockets = script:GetChildren()
local propHumanGal = script:GetCustomProperty("HumanGal"):WaitForObject()
for idx, child in pairs(sockets) do -- for all the socket folders under the script node...
propHumanGal:AttachCoreObject(child, child.name)
end
|
--[[
file:zjh_player.lua
desc:炸金花
auth:Carol Luo
]]
local class = require("class")
local pokerPlayer = require("poker.player")
---@class zjhPlayer:pokerPlayer
local player = class(pokerPlayer)
local this = player
---构造
function player:ctor()
end
---重启
function player:dataReboot()
end
return player
|
ITEM.name = "Dragunov SVD"
ITEM.description= "A sharpshooter rifle based on the AK. Fires 7.62x54mm."
ITEM.longdesc = "The SVD is a marksman's rifle designed to fill the gap between assault and sniper rifle for infantry squads. It was designed from the AK rifle. \nThe SVD is able to deliver accurate shots in rapid succession, but it is not as precise as a sniper rifle.\n\nAmmo: 7.62x54mm \nMagazine Capacity: 10"
ITEM.model = ("models/weapons/drag/w_snip_dragn.mdl")
ITEM.class = "cw_dragunov"
ITEM.weaponCategory = "primary"
ITEM.price = 44000
ITEM.width = 6
ITEM.height = 1
ITEM.validAttachments = {"md_kobra","md_pso1","md_microt1","md_eotech","md_aimpoint","md_cmore","md_schmidt_shortdot","md_acog","md_nightforce_nxs","md_reflex","md_pbs1","md_foregrip"}
ITEM.bulletweight = 0.022
ITEM.unloadedweight = 4.0
ITEM.repair_PartsComplexity = 2
ITEM.repair_PartsRarity = 2
function ITEM:GetWeight()
return self.unloadedweight + (self.bulletweight * self:GetData("ammo", 0))
end
ITEM.iconCam = {
pos = Vector(15, -205, 1.6000000238419),
ang = Angle(0, 90, -3),
fov = 12,
}
ITEM.pacData = {
[1] = {
["children"] = {
[1] = {
["children"] = {
[1] = {
["children"] = {
},
["self"] = {
["Model"] = "models/weapons/drag/w_snip_dragn.mdl",
["ClassName"] = "model",
["Position"] = Vector(17.784, -5.054, -1.356),
["EditorExpand"] = true,
["UniqueID"] = "3859539124",
["Bone"] = "spine 2",
["Name"] = "svd",
["Angles"] = Angle(0, 180, 180),
},
},
},
["self"] = {
["AffectChildrenOnly"] = true,
["ClassName"] = "event",
["UniqueID"] = "2428315201",
["Event"] = "weapon_class",
["EditorExpand"] = true,
["Name"] = "weapon class find simple\"@@1\"",
["Arguments"] = "cw_dragunov@@0",
},
},
},
["self"] = {
["ClassName"] = "group",
["UniqueID"] = "0004518261",
["EditorExpand"] = true,
},
},
}
|
--***********************************************************
--** THE INDIE STONE **
--** Author: turbotutone **
--***********************************************************
require "ISUI/ISCollapsableWindow"
---@class DailyValuesDebug : ISCollapsableWindow
DailyValuesDebug = ISCollapsableWindow:derive("DailyValuesDebug");
DailyValuesDebug.instance = nil;
DailyValuesDebug.shiftDown = 0;
--[[
local enabled = true; --getDebug();
function DailyValuesDebug.OnKeepKeyDown(key)
--backspace 13, shift 42, 54
--print("KeyKeepDown = "..tostring(key));
if key==42 or key==54 then
DailyValuesDebug.shiftDown = 4;
end
end
function DailyValuesDebug.OnKeyDown(key)
--backspace 13, shift 42, 54
--print("KeyDown = "..tostring(key));
if DailyValuesDebug.shiftDown>0 and key ==13 then
DailyValuesDebug.OnOpenPanel();
end
end--]]
function DailyValuesDebug.OnOpenPanel()
DailyValuesDebug.fx = getCell():getWeatherFX();
DailyValuesDebug.cm = getClimateManager();
if DailyValuesDebug.instance==nil then
DailyValuesDebug.instance = DailyValuesDebug:new (100, 100, 400, 600, getPlayer());
DailyValuesDebug.instance:initialise();
DailyValuesDebug.instance:instantiate();
end
DailyValuesDebug.instance:addToUIManager();
DailyValuesDebug.instance:setVisible(true);
return DailyValuesDebug.instance;
end
function DailyValuesDebug:initialise()
ISCollapsableWindow.initialise(self);
end
function DailyValuesDebug:createChildren()
ISCollapsableWindow.createChildren(self);
local th = self:titleBarHeight();
local y = th;
self.labels = {};
self.tempColor = {r=1.0,g=1.0,b=1.0,a=1.0};
--[[*******************************************************************************************--]]
y = self:addLabel(y,"season","Season:","");
y = self:addLabelValue(y,"value","seasonProgression","Progression:",0);
y = self:addLabelValue(y,"value","seasonStrength","Strength:",0);
--y = self:addLabelValue(y,"value","seasonMidpoint","Midpoint:",0);
y = y+8;
y = self:addLabel(y,"temperatureInfo","");
y = self:addLabel(y,"skyInfo","");
y = y+8;
y = self:addLabelValue(y,"value","temperature","Temperature:",0);
y = self:addLabelValue(y,"value","meantemperature","Day mean temperature:",0);
y = self:addLabelValue(y,"value","wind","Wind intensity:",0);
y = self:addLabelValue(y,"value","clouds","Cloud intensity:",0);
y = self:addLabelValue(y,"value","precipitation","Precipitation:",0);
y = self:addLabelValue(y,"value","weatherstrength","Weather strength:",0);
y = self:addLabelValue(y,"color","currentColor","Color influence:");
y = self:addLabelValue(y,"color","weatherColor","Weather color influence:");
y = self:addLabelValue(y,"color","finalColor","Final Color:");
y = self:addLabelValue(y,"value","desatvalue","Desaturation value:",0);
y = self:addLabelValue(y,"color","desaturation","Desaturation:");
self:setHeight(y+self:resizeWidgetHeight()+4);
end
function DailyValuesDebug:addLabel(_curY, _labelID, _title)
if not self.labels[_labelID] then
local label = {};
label.titleLabel = ISLabel:new(2, _curY, 16, _title, 1, 1, 1, 1.0, UIFont.Small, true);
label.titleLabel:initialise();
label.titleLabel:instantiate();
self:addChild(label.titleLabel);
self.labels[_labelID] = label;
_curY = label.titleLabel:getY() + label.titleLabel:getHeight();
else
print("Cannot add label: "..tostring(_labelID));
end
return _curY;
end
function DailyValuesDebug:addLabelValue(_curY, _type, _labelID, _title, _defaultVal)
if not self.labels[_labelID] then
local label = {};
label.titleLabel = ISLabel:new(2, _curY, 16, _title, 1, 1, 1, 1.0, UIFont.Small, true);
label.titleLabel:initialise();
label.titleLabel:instantiate();
self:addChild(label.titleLabel);
if _type=="value" then
label.valueLabel = ISLabel:new(self.width-(self.width/3), _curY, 16, tostring(_defaultVal), 1, 1, 1, 1.0, UIFont.Small, true);
label.valueLabel:initialise();
label.valueLabel:instantiate();
self:addChild(label.valueLabel);
elseif _type=="color" then
label.valueLabel = ISPanel:new(self.width-(self.width/3), _curY+4, (self.width/3)-4, 10);
label.valueLabel:initialise();
label.valueLabel.backgroundColor = _defaultVal or {r=1.0,g=1.0,b=1.0,a=1.0};
self:addChild(label.valueLabel);
end
self.labels[_labelID] = label;
_curY = label.titleLabel:getY() + label.titleLabel:getHeight();
else
print("Cannot add label: "..tostring(_labelID));
end
return _curY;
end
function DailyValuesDebug:getTitleLabel(_labelID)
if self.labels[_labelID] then
return self.labels[_labelID].titleLabel;
end
end
function DailyValuesDebug:getValueLabel(_labelID)
if self.labels[_labelID] then
return self.labels[_labelID].valueLabel;
end
end
function DailyValuesDebug:onResize()
ISUIElement.onResize(self);
local th = self:titleBarHeight();
--self.richtext:setWidth(self.width);
--self.richtext:setHeight(self.height-(th+10));
end
local function round(num, numDecimalPlaces)
local mult = 10^(numDecimalPlaces or 0)
return math.floor(num * mult + 0.5) / mult
end
function DailyValuesDebug:update()
ISCollapsableWindow.update(self);
if DailyValuesDebug.shiftDown>0 then
DailyValuesDebug.shiftDown = DailyValuesDebug.shiftDown-1;
end
local wp = DailyValuesDebug.cm:getWeatherPeriod();
self:getTitleLabel("season").name = tostring(DailyValuesDebug.cm:getSeasonName());
self:getValueLabel("seasonProgression").name = ""..tostring(round(DailyValuesDebug.cm:getSeasonProgression(),2));
self:getValueLabel("seasonStrength").name = ""..tostring(round(DailyValuesDebug.cm:getSeasonStrength(),2));
local airTemp = DailyValuesDebug.cm:getAirMassTemperature();
if airTemp>0.7 then
self:getTitleLabel("temperatureInfo").name = "Relatively very warm";
elseif airTemp>0.35 then
self:getTitleLabel("temperatureInfo").name = "Relatively warm";
elseif airTemp>0 then
self:getTitleLabel("temperatureInfo").name = "Relatively slightly warm";
elseif airTemp>-0.35 then
self:getTitleLabel("temperatureInfo").name = "Relatively slightly cold";
elseif airTemp>-0.7 then
self:getTitleLabel("temperatureInfo").name = "Relatively cold";
else
self:getTitleLabel("temperatureInfo").name = "Relatively very cold";
end
local clouds = DailyValuesDebug.cm:getCloudIntensity();
local cloudStr = "";
if clouds>0.8 then
cloudStr = "Extremely cloudy.";
elseif clouds>0.6 then
cloudStr = "Very cloudy.";
elseif clouds>0.4 then
cloudStr = "Cloudy.";
elseif clouds>0.2 then
cloudStr = "Slightly cloudy";
else
cloudStr = "Mostly clear sky.";
end
local wind = DailyValuesDebug.cm:getWindPower();
local windStr = "";
if wind>0.65 then
windStr = "Extremely windy, ";
elseif wind>0.45 then
windStr = "Very strong wind, ";
elseif wind>0.3 then
windStr = "Very windy, ";
elseif wind>0.2 then
windStr = "Windy, ";
elseif wind>0.1 then
windStr = "Slightly windy, ";
else
windStr = "Minor breezes, ";
end
self:getTitleLabel("skyInfo").name = windStr..cloudStr;
self:getValueLabel("temperature").name = ""..tostring(round(DailyValuesDebug.cm:getTemperature(),1));
self:getValueLabel("meantemperature").name = ""..tostring(round(DailyValuesDebug.cm:getDayMeanTemperature(),1));
self:getValueLabel("wind").name = ""..tostring(round(wind,2));
self:getValueLabel("clouds").name = ""..tostring(round(clouds,2));
self:getValueLabel("precipitation").name = ""..tostring(round(DailyValuesDebug.cm:getPrecipitationIntensity(),2));
self:getValueLabel("weatherstrength").name = ""..tostring(round(wp:getCurrentStrength(),2));
--weatherStrength
local colClim = DailyValuesDebug.cm:getGlobalLightInternal();
local col = self:getValueLabel("currentColor").backgroundColor;
col.r = colClim:getRedFloat();
col.g = colClim:getGreenFloat();
col.b = colClim:getBlueFloat();
colClim = wp:getCloudColor():getExterior();
col = self:getValueLabel("weatherColor").backgroundColor;
if wp:isRunning() then
col.r = colClim:getRedFloat();
col.g = colClim:getGreenFloat();
col.b = colClim:getBlueFloat();
else
col.r = 0;
col.g = 0;
col.b = 0;
end
colClim = DailyValuesDebug.cm:getGlobalLight():getExterior();
col = self:getValueLabel("finalColor").backgroundColor;
col.r = colClim:getRedFloat();
col.g = colClim:getGreenFloat();
col.b = colClim:getBlueFloat();
self:getValueLabel("desatvalue").name = ""..tostring(round(DailyValuesDebug.cm:getDesaturation(),2));
local desat = 1-DailyValuesDebug.cm:getDesaturation();
col = self:getValueLabel("desaturation").backgroundColor;
col.r = desat;
col.g = desat;
col.b = desat;
end
function DailyValuesDebug:prerender()
self:stayOnSplitScreen();
ISCollapsableWindow.prerender(self);
end
function DailyValuesDebug:stayOnSplitScreen()
ISUIElement.stayOnSplitScreen(self, self.playerNum)
end
function DailyValuesDebug:render()
ISCollapsableWindow.render(self);
--self.richtext:clearStencilRect();
end
function DailyValuesDebug:close()
ISCollapsableWindow.close(self);
if JoypadState.players[self.playerNum+1] then
setJoypadFocus(self.playerNum, nil)
end
self:removeFromUIManager();
self:clear();
end
function DailyValuesDebug:clear()
self.currentTile = nil;
end
function DailyValuesDebug:new (x, y, width, height, player)
local o = {}
--o.data = {}
o = ISCollapsableWindow:new(x, y, width, height);
setmetatable(o, self)
self.__index = self
o.x = x;
o.y = y;
o.player = player;
o.playerNum = player:getPlayerNum();
o.borderColor = {r=0.4, g=0.4, b=0.4, a=1};
o.backgroundColor = {r=0, g=0, b=0, a=0.25};
o.width = width;
o.height = height;
o.anchorLeft = true;
o.anchorRight = false;
o.anchorTop = true;
o.anchorBottom = false;
o.pin = true;
o.isCollapsed = false;
o.collapseCounter = 0;
o.title = "Climate values";
--o.viewList = {}
o.resizable = true;
o.drawFrame = true;
o.currentTile = nil;
o.richtext = nil;
o.overrideBPrompt = true;
o.subFocus = nil;
o.hotKeyPanels = {};
o.isJoypadWindow = false;
ISDebugMenu.RegisterClass(self);
return o
end
--[[
if enabled then
Events.OnCustomUIKey.Add(DailyValuesDebug.OnKeyDown);
Events.OnKeyKeepPressed.Add(DailyValuesDebug.OnKeepKeyDown);
--Events.OnObjectLeftMouseButtonUp.Add(DailyValuesDebug.onMouseButtonUp);
end--]]
|
--=========== Copyright © 2018, Planimeter, All rights reserved. ===========--
--
-- Purpose: Panel class
--
--==========================================================================--
require( "common.color" )
require( "engine.shared.tween" )
class( "gui.panel" )
local panel = gui.panel
function panel.drawMask()
local self = panel._maskedPanel
love.graphics.rectangle( "fill", 0, 0, self:getWidth(), self:getHeight() )
end
function panel:panel( parent, name )
self.x = 0
self.y = 0
self.width = 0
self.height = 0
self.name = name or ""
self:setParent( parent or g_RootPanel )
self.visible = true
self.scale = 1
self.opacity = 1
end
function panel:animate( properties, duration, easing, complete )
if ( self.animations == nil ) then
self.animations = {}
end
local step = nil
local options = duration
if ( type( options ) == "table" ) then
duration = options.duration
easing = options.easing
step = options.step
complete = options.complete
end
local animation = {
startTime = nil,
tweens = {},
duration = duration or 0.4,
easing = easing or "swing",
step = step,
complete = complete
}
for member, value in pairs( properties ) do
animation.tweens[ member ] = {
startValue = self[ member ],
endValue = value,
}
end
table.insert( self.animations, animation )
end
function panel:createFramebuffer()
if ( self.framebuffer and not self.needsRedraw ) then
return
end
local width = self:getWidth()
local height = self:getHeight()
if ( width == 0 or height == 0 ) then
width = nil
height = nil
if ( not self:shouldSuppressFramebufferWarnings() ) then
local panel = tostring( self )
print( "Attempt to create framebuffer for " .. panel ..
" with a size of 0!" )
end
end
if ( self.framebuffer == nil ) then
if ( self:shouldUseFullscreenFramebuffer() ) then
self.framebuffer = love.graphics.newCanvas()
else
self.framebuffer = love.graphics.newCanvas( width, height )
end
end
local framebuffer = love.graphics.getCanvas()
love.graphics.setCanvas( {self.framebuffer, stencil=true} )
love.graphics.clear()
self:draw()
love.graphics.setCanvas( {framebuffer, stencil=true} )
self.needsRedraw = nil
end
function panel:draw()
if ( not self:isVisible() ) then
return
end
local children = self:getChildren()
if ( children == nil ) then
return
end
for _, v in ipairs( children ) do
v:createFramebuffer()
end
for _, v in ipairs( children ) do
v:preDraw()
v:drawFramebuffer()
v:postDraw()
end
end
function panel:drawBackground( color )
local width = self:getWidth()
local height = self:getHeight()
love.graphics.setColor( self:getScheme( color ) )
love.graphics.rectangle( "fill", 0, 0, width, height )
end
function panel:drawBounds()
love.graphics.setColor( color.red )
local lineWidth = love.window.toPixels( 1 )
love.graphics.setLineWidth( lineWidth )
love.graphics.rectangle(
"line",
lineWidth / 2,
lineWidth / 2,
self:getWidth() - lineWidth,
self:getHeight() - lineWidth
)
end
function panel:drawForeground( color )
local width = self:getWidth()
local height = self:getHeight()
love.graphics.setColor( self:getScheme( color ) )
local lineWidth = love.window.toPixels( 1 )
love.graphics.setLineWidth( lineWidth )
love.graphics.rectangle(
"line",
lineWidth / 2,
lineWidth / 2,
width - lineWidth,
height - lineWidth
)
end
function panel:drawFramebuffer()
if ( not self:isVisible() ) then
return
end
if ( self.framebuffer == nil ) then
self:createFramebuffer()
end
love.graphics.push()
local b = love.graphics.getBlendMode()
love.graphics.setBlendMode( "alpha", "premultiplied" )
local a = self:getOpacity() * 255
love.graphics.setColor( a, a, a, a )
love.graphics.draw( self.framebuffer )
love.graphics.setBlendMode( b )
love.graphics.pop()
end
local filtered = function( panel, func, ... )
if ( not panel:isVisible() ) then
return
end
return panel[ func ]( panel, ... )
end
local function cascadeInputToChildren( self, func, ... )
if ( not self:isVisible() ) then
return
end
local children = self:getChildren()
if ( children == nil ) then
return
end
local value = nil
for _, v in ipairs( children ) do
value = filtered( v, func, ... )
if ( value ~= nil ) then
return value
end
end
end
function panel:filedropped( file )
return cascadeInputToChildren( self, "filedropped", file )
end
accessor( panel, "children" )
accessor( panel, "name" )
accessor( panel, "opacity" )
accessor( panel, "parent" )
accessor( panel, "scale" )
function panel:getScheme( property )
return scheme.getProperty( self.scheme, property )
end
accessor( panel, "width" )
accessor( panel, "height" )
function panel:getSize()
return self:getWidth(), self:getHeight()
end
accessor( panel, "x" )
accessor( panel, "y" )
function panel:getPos()
return self:getX(), self:getY()
end
function panel:getTopMostChildAtPos( x, y )
if ( not self:isVisible() ) then
return nil
end
local sx, sy = self:localToScreen()
local w, h = self:getWidth(), self:getHeight()
if ( not math.pointinrect( x, y, sx, sy, w, h ) ) then
return nil
end
local children = self:getChildren()
if ( children ) then
for i = #children, 1, -1 do
local topChild = children[ i ]:getTopMostChildAtPos( x, y )
if ( topChild ) then
return topChild
end
end
end
return self
end
function panel:invalidate()
self.needsRedraw = true
local parent = self:getParent()
while ( parent ~= nil ) do
parent:invalidate()
parent = parent:getParent()
end
end
function panel:invalidateFramebuffer()
local children = self:getChildren()
if ( children ) then
for _, v in ipairs( children ) do
v:invalidateFramebuffer()
end
end
if ( self:shouldUseFullscreenFramebuffer() ) then
self.framebuffer = nil
self:createFramebuffer()
end
end
function panel:invalidateLayout()
local children = self:getChildren()
if ( children ) then
for _, v in ipairs( children ) do
v:invalidateLayout()
end
end
self:invalidate()
end
function panel:invalidateParent()
self:getParent():invalidate()
end
function panel:isChildMousedOver()
local panel = gui._topPanel
while ( panel ~= nil ) do
panel = panel:getParent()
if ( self == panel ) then
return true
end
end
return false
end
function panel:isSiblingMousedOver()
local parent = self:getParent()
if ( parent == nil ) then
return false
end
local children = parent:getChildren()
if ( children == nil ) then
return false
end
for _, v in ipairs( children ) do
if ( v ~= self and v.mouseover ) then
return true
end
end
return false
end
function panel:isTopMostChild()
local children = self:getChildren()
if ( children ) then
return children[ #children ] == self
else
return true
end
end
accessor( panel, "visible", nil, "is" )
function panel:joystickpressed( joystick, button )
return cascadeInputToChildren( self, "joystickpressed", joystick, button )
end
function panel:joystickreleased( joystick, button )
return cascadeInputToChildren( self, "joystickreleased", joystick, button )
end
function panel:keypressed( key, scancode, isrepeat )
return cascadeInputToChildren( self, "keypressed", key, scancode, isrepeat )
end
function panel:keyreleased( key, scancode )
return cascadeInputToChildren( self, "keyreleased", key, scancode )
end
function panel:localToScreen( x, y )
local posX, posY = x or self:getX(), y or self:getY()
local parent = self:getParent()
while ( parent ~= nil ) do
posX = posX + parent:getX()
posY = posY + parent:getY()
parent = parent:getParent()
end
return posX, posY
end
function panel:mousepressed( x, y, button, istouch )
return cascadeInputToChildren( self, "mousepressed", x, y, button )
end
function panel:mousereleased( x, y, button, istouch )
if ( not self:isVisible() ) then
return
end
local children = self:getChildren()
if ( children ) then
for _, v in ipairs( children ) do
v:mousereleased( x, y, button, istouch )
end
end
end
function panel:moveToFront()
local parent = self:getParent()
local children = nil
if ( parent ) then
children = parent:getChildren()
if ( self == children[ #children ] ) then
return
end
end
if ( gui._focusedPanel ) then
gui.setFocusedPanel( nil, false )
end
if ( parent ) then
for i, v in ipairs( children ) do
if ( v == self ) then
table.remove( children, i )
end
end
children[ #children + 1 ] = self
end
if ( self:getParent() ) then
self:invalidateParent()
end
end
function panel:moveToBack()
local parent = self:getParent()
local children = nil
if ( parent ) then
children = parent:getChildren()
if ( self == children[ 1 ] ) then
return
end
end
if ( gui._focusedPanel ) then
gui.setFocusedPanel( nil, false )
end
if ( parent ) then
for i, v in ipairs( children ) do
if ( v == self ) then
table.remove( children, i )
end
end
table.insert( children, 1, self )
end
if ( self:getParent() ) then
self:invalidateParent()
end
end
function panel:onMouseLeave()
end
function panel:onRemove()
end
function panel:preDraw()
if ( not self:isVisible() ) then
return
end
local scale = self:getScale()
local width = self:getWidth()
local height = self:getHeight()
love.graphics.push()
love.graphics.translate( self:getX(), self:getY() )
love.graphics.scale( scale )
love.graphics.translate(
( width / scale ) / 2 - width / 2,
( height / scale ) / 2 - height / 2
)
end
local gui_draw_bounds = convar( "gui_draw_bounds", "0", nil, nil,
"Draws the bounds of panels for debugging" )
function panel:postDraw()
if ( not self:isVisible() ) then
return
end
if ( gui_draw_bounds:getBoolean() ) then
if ( self.mouseover ) then
self:drawBounds()
end
end
love.graphics.pop()
end
function panel:preDrawWorld()
local children = self:getChildren()
if ( children ) then
for _, v in ipairs( children ) do
v:preDrawWorld()
end
end
end
function panel:remove()
if ( self:getChildren() ) then
self:removeChildren()
end
local parent = self:getParent()
if ( parent ) then
local children = parent:getChildren()
for i, v in ipairs( children ) do
if ( v == self ) then
table.remove( children, i )
end
end
if ( #children == 0 ) then
parent.children = nil
end
end
self:onRemove()
end
function panel:removeChildren()
local children = self:getChildren()
if ( children ) then
for i = #children, 1, -1 do
children[ i ]:remove()
end
end
self:invalidate()
end
function panel:screenToLocal( x, y )
local posX, posY = 0, 0
local root = self
while ( root:getParent() ~= nil ) do
posX = posX + root:getX()
posY = posY + root:getY()
root = root:getParent()
end
x = x - posX
y = y - posY
return x, y
end
function panel:setUseFullscreenFramebuffer( useFullscreenFramebuffer )
self.useFullscreenFramebuffer = useFullscreenFramebuffer and true or nil
end
function panel:setSuppressFramebufferWarnings( suppressFramebufferWarnings )
self.suppressFramebufferWarnings = suppressFramebufferWarnings
end
function panel:setNextThink( nextThink )
self.nextThink = nextThink
end
function panel:setOpacity( opacity )
self.opacity = opacity
self:invalidate()
end
function panel:setParent( panel )
local parent = self:getParent()
if ( parent ) then
local children = parent:getChildren()
for i, v in ipairs( children ) do
if ( v == self ) then
table.remove( children, i )
end
end
end
panel.children = panel.children or {}
if ( table.hasvalue( panel.children, self ) ) then
return
end
table.insert( panel.children, self )
self.parent = panel
end
function panel:setScale( scale )
self.scale = scale
self:invalidate()
end
function panel:setScheme( name )
if ( not scheme.isLoaded( name ) ) then
scheme.load( name )
end
self.scheme = name
end
function panel:setVisible( visible )
self.visible = visible
self:invalidate()
end
function panel:setWidth( width )
self.width = math.round( width )
self:invalidate()
end
function panel:setHeight( height )
self.height = math.round( height )
self:invalidate()
end
function panel:setSize( width, height )
self:setWidth( width )
self:setHeight( height )
end
function panel:setX( x )
self.x = math.round( x )
if ( self:getParent() ) then
self:invalidateParent()
end
end
function panel:setY( y )
self.y = math.round( y )
if ( self:getParent() ) then
self:invalidateParent()
end
end
function panel:setPos( x, y )
self:setX( x )
self:setY( y )
end
accessor( panel, "useFullscreenFramebuffer", nil, "should" )
accessor( panel, "suppressFramebufferWarnings", nil, "should" )
function panel:textinput( text )
return cascadeInputToChildren( self, "textinput", text )
end
function panel:textedited( text, start, length )
return cascadeInputToChildren( self, "textedited", text, start, length )
end
function panel:update( dt )
if ( self.think and
self.nextThink and
self.nextThink <= love.timer.getTime() ) then
self.nextThink = nil
self:think()
end
if ( self.animations ) then
self:updateAnimations( dt )
end
local children = self:getChildren()
if ( children == nil ) then
return
end
for _, v in ipairs( children ) do
v:update( dt )
end
end
function panel:updateAnimations( dt )
for _, animation in ipairs( self.animations ) do
if ( animation.startTime == nil ) then
animation.startTime = love.timer.getTime()
end
local startTime = animation.startTime
local duration = animation.duration
local remaining = math.max( 0, startTime + duration - love.timer.getTime() )
local percent = 1 - ( remaining / duration or 0 )
animation.pos = percent
for member, tween in pairs( animation.tweens ) do
local startValue = tween.startValue
local endValue = tween.endValue
local eased = _G.tween.easing[ animation.easing ](
percent, duration * percent, 0, 1, duration
)
self[ member ] = ( endValue - startValue ) * eased + startValue
if ( animation.step ) then
animation.step( self[ member ], tween )
end
self:invalidate()
end
if ( percent == 1 ) then
local complete = animation.complete
if ( complete ) then
complete()
end
self:invalidate()
end
end
for i = #self.animations, 1, -1 do
if ( self.animations[ i ].pos and self.animations[ i ].pos == 1 ) then
table.remove( self.animations, i )
end
end
if ( table.len( self.animations ) == 0 ) then
self.animations = nil
end
end
function panel:wheelmoved( x, y )
return cascadeInputToChildren( self, "wheelmoved", x, y )
end
function panel:__tostring()
return "panel: \"" .. self.name .. "\" (" .. self.__type .. ")"
end
|
package.path = "../?.lua;"..package.path
local ffi = require("ffi")
local bit = require("bit")
local zydis = require("lj2zydis.zydis")
print("Version: ",bit.tohex(zydis.ZydisGetVersion()))
|
--[[local initial_recipes=
{"wooden-chest",
"iron-chest",
"transport-belt",
"burner-inserter",
"inserter",
"small-electric-pole",
"pipe",
"pipe-to-ground",
"stone-brick",
"repair-pack",
"boiler",
"steam-engine",
"burner-mining-drill",
"electric-mining-drill",
"offshore-pump",
"stone-furnace",
"lab",
"iron-plate",
"copper-plate",
"copper-cable",
"iron-stick",
"iron-gear-wheel",
"electronic-circuit",
"automation-science-pack",
"pistol",
"firearm-magazine",
"light-armor",
"radar"
} ]]
local initial_recipes={}
local x=0
for key,recipe in pairs(data.raw["recipe"]) do
if recipe.enabled~=false then
if (recipe.normal==nil and recipe.expensive==nil) or (recipe.normal.enabled~=false and recipe.expensive.enabled~=false) then
x=x+1
initial_recipes[x]=recipe.name
end
end
end
return initial_recipes
|
multi = {}
multi.Version="4.0.1"
multi.__index = multi
multi.Mainloop={}
multi.Tasks={}
multi.Tasks2={}
multi.Garbage={}
multi.Children={}
multi.Paused={}
multi.MasterId=0
multi.Active=true
multi.Id=-1
multi.Type="mainint"
multi.Rest=0
multi._type=type
--[[function type(v)
local t={}
if multi._type(v)=="table" then
t=getmetatable(v)
if v.Type~=nil then
if multi._type(v.Type)=="string" then
return v.Type
end
end
end
if t.__type~=nil then
return t.__type
else
return multi._type(v)
end
end]]
-- System
function os.getOS()
if package.config:sub(1,1)=="\\" then
return "windows"
else
return "unix"
end
end
if os.getOS()=="windows" then
function os.sleep(n)
if n > 0 then os.execute("ping -n " .. tonumber(n+1) .. " localhost > NUL") end
end
else
function os.sleep(n)
os.execute("sleep " .. tonumber(n))
end
end
function multi:newBase(ins)
if not(self.Type=="mainint" or self.Type=="int") then error("Can only create an object on multi or an interface obj") return false end
local c = {}
if self.Type=="int" then
setmetatable(c, self.Parent)
else
setmetatable(c, self)
end
c.Active=true
c.func={}
c.Id=0
c.PId=0
c.Act=function() end
c.Parent=self
if ins then
table.insert(self.Mainloop,ins,c)
else
table.insert(self.Mainloop,c)
end
self.MasterId=self.MasterId+1
return c
end
function multi:reboot(r)
self.Mainloop={}
self.Tasks={}
self.Tasks2={}
self.Garbage={}
self.Children={}
self.Paused={}
self.MasterId=0
self.Active=true
self.Id=-1
if r then
for i,v in pairs(_G) do
if type(i)=="table" then
if i.Parent and i.Id and i.Act then
i={}
end
end
end
end
end
function multi:getChildren()
return self.Mainloop
end
--Processor
function multi:Do_Order()
for _D=#self.Mainloop,1,-1 do
if self.Mainloop[_D]~=nil then
self.Mainloop[_D].Id=_D
self.Mainloop[_D]:Act()
end
if self.Mainloop[_D]~=nil then
if self.Mainloop[_D].rem~=nil then
table.remove(self.Mainloop,_D)
end
end
end
if self.Rest>0 then
os.sleep(self.Rest)
end
end
function multi:benchMark(sec)
local temp=self:newLoop(function(t,self)
if os.clock()-self.init>self.sec then
print(self.c.." steps in "..self.sec.." second(s)")
self.tt(self.sec)
self:Destroy()
else
self.c=self.c+1
end
end)
function temp:OnBench(func)
self.tt=func
end
self.tt=function() end
temp.sec=sec
temp.init=os.clock()
temp.c=0
return temp
end
function multi:newInterface()
if not(self.Type=="mainint") then error("Can only create an interface on the multi obj") return false end
local c = {}
setmetatable(c, self)
c.Parent=self
c.Active=true
c.func={}
c.Id=0
c.Type="int"
c.Mainloop={}
c.Tasks={}
c.Tasks2={}
c.Garbage={}
c.Children={}
c.Paused={}
c.MasterId=0
c.Active=true
c.Id=-1
c.Rest=0
function c:Start()
if self.l then
self.l:Resume()
else
self.l=self.Parent:newLoop(function(dt) c:uManager(dt) end)
end
end
function c:Stop()
if self.l then
self.l:Pause()
end
end
function c:Remove()
self:Destroy()
self.l:Destroy()
end
return c
end
--Helpers
function multi:FreeMainEvent()
self.func={}
end
function multi:isPaused()
return not(self.Active)
end
function multi:Pause(n)
if self.Type=="int" or self.Type=="mainint" then
self.Active=false
if not(n) then
local c=self:getChildren()
for i=1,#c do
c[i]:Pause()
end
else
self:hold(n)
end
else
if n==nil then
self.Active=false
if self.Parent.Mainloop[self.Id]~=nil then
table.remove(self.Parent.Mainloop,self.Id)
table.insert(self.Parent.Paused,self)
self.PId=#self.Parent.Paused
end
else
self:hold(n)
end
end
end
function multi:Resume()
if self.Type=="int" or self.Type=="mainint" then
self.Active=true
local c=self:getChildren()
for i=1,#c do
c[i]:Resume()
end
else
if self:isPaused() then
table.remove(self.Parent.Paused,self.PId)
table.insert(self.Parent.Mainloop,self)
self.Id=#self.Parent.Mainloop
self.Active=true
end
end
end
function multi:Destroy()
if self.Type=="int" or self.Type=="mainint" then
local c=self:getChildren()
for i=1,#c do
c[i]:Destroy()
end
else
self.rem=true
self.Active=false
end
end
function multi:hold(task)
self:Pause()
if type(task)=="number" then
local alarm=self.Parent:newAlarm(task)
while alarm.Active==true do
if love then
self.Parent:lManager()
else
self.Parent:Do_Order()
end
end
alarm:Destroy()
self:Resume()
elseif type(task)=="function" then
local env=self.Parent:newEvent(task)
env:OnEvent(function(envt) envt:Pause() envt:Stop() end)
while env.Active do
if love then
self.Parent:lManager()
else
self.Parent:Do_Order()
end
end
env:Destroy()
self:Resume()
else
print("Error Data Type!!!")
end
end
function multi:oneTime(func,...)
if not(self.Type=="mainint" or self.Type=="int") then
for _k=1,#self.Parent.Tasks2 do
if self.Parent.Tasks2[_k]==func then
return false
end
end
table.insert(self.Parent.Tasks2,func)
func(...)
return true
else
for _k=1,#self.Tasks2 do
if self.Tasks2[_k]==func then
return false
end
end
table.insert(self.Tasks2,func)
func(...)
return true
end
end
--Constructors
function multi:newEvent(task)
local c=self:newBase()
c.Type="event"
c.Task=task or function() end
function c:Act()
if self.Task(self) and self.Active==true then
self:Pause()
for _E=1,#self.func do
self.func[_E](self)
end
end
end
function c:OnEvent(func)
table.insert(self.func,func)
end
return c
end
function multi:newAlarm(set)
local c=self:newBase()
c.Type="alarm"
c.timer=os.clock()
c.set=set or 0
function c:Act()
if self.Active==true then
if os.clock()-self.timer>=self.set then
self:Pause()
for i=1,#self.func do
self.func[i](self)
end
end
end
end
function c:Reset(n)
if n then self.set=n end
self.timer=os.clock()
self:Resume()
self.Active=true
end
function c:OnRing(func)
table.insert(self.func,func)
end
return c
end
function multi:newTask(func)
table.insert(self.Tasks,func)
end
function multi:newLoop(func)
local c=self:newBase()
c.Type="loop"
if func then
c.func={func}
end
function c:Act()
if self.Active==true then
for i=1,#self.func do
self.func[i](os.clock()-self.Parent.Start,self)
end
end
end
function c:OnLoop(func)
table.insert(self.func,func)
end
function c:Break()
self.Active=nil
end
return c
end
function multi:newStep(start,reset,count,skip)
local c=self:newBase()
think=1
c.Type="step"
c.pos=start or 1
c.endAt=reset or math.huge
c.skip=skip or 0
c.spos=0
c.count=count or 1*think
c.funcE={}
c.funcS={}
c.start=start or 1
if start~=nil and reset~=nil then
if start>reset then
think=-1
end
end
function c:Act()
if self~=nil then
if self.spos==0 then
if self.Active==true then
if self.pos==self.start then
for fe=1,#self.funcS do
self.funcS[fe](self)
end
end
for i=1,#self.func do
self.func[i](self.pos,self)
end
self.pos=self.pos+self.count
if self.pos-self.count==self.endAt then
for fe=1,#self.funcE do
self.funcE[fe](self)
end
self.pos=self.start
end
end
end
end
self.spos=self.spos+1
if self.spos>=self.skip then
self.spos=0
end
end
function c:OnStart(func)
table.insert(self.funcS,func)
end
function c:OnStep(func)
table.insert(self.func,1,func)
end
function c:OnEnd(func)
table.insert(self.funcE,func)
end
function c:Break()
self.Active=nil
end
function c:Update(start,reset,count,skip)
self.start=start or self.start
self.endAt=reset or self.endAt
self.skip=skip or self.skip
self.count=count or self.count
self:Resume()
end
return c
end
function multi:newTStep(start,reset,count,set)
local c=self:newBase()
think=1
c.Type="tstep"
c.start=start or 1
local reset = reset or math.huge
c.endAt=reset
c.pos=start or 1
c.skip=skip or 0
c.count=count or 1*think
c.funcE={}
c.timer=os.clock()
c.set=set or 1
c.funcS={}
function c:Update(start,reset,count,set)
self.start=start or self.start
self.pos=start
self.endAt=reset or self.endAt
self.set=set or self.set
self.count=count or self.count or 1
self.timer=os.clock()
self:Resume()
end
function c:Act()
if self.Active then
if os.clock()-self.timer>=self.set then
self:Reset()
if self.pos==self.start then
for fe=1,#self.funcS do
self.funcS[fe](self)
end
end
for i=1,#self.func do
self.func[i](self.pos,self)
end
self.pos=self.pos+self.count
if self.pos-self.count==self.endAt then
for fe=1,#self.funcE do
self.funcE[fe](self)
end
self.pos=self.start
end
end
end
end
function c:OnStart(func)
table.insert(self.funcS,func)
end
function c:OnStep(func)
table.insert(self.func,func)
end
function c:OnEnd(func)
table.insert(self.funcE,func)
end
function c:Break()
self.Active=nil
end
function c:Reset(n)
if n then self.set=n end
self.timer=os.clock()
self:Resume()
end
return c
end
function multi:newTrigger(func)
local c=self:newBase()
c.Type="trigger"
c.trigfunc=func or function() end
function c:Fire(...)
self:trigfunc(self,...)
end
return c
end
--Managers
function multi:mainloop()
for i=1,#self.Tasks do
self.Tasks[i](self)
end
self.Start=os.clock()
while self.Active do
self:Do_Order()
end
end
function multi._tFunc(self,dt)
for i=1,#self.Tasks do
self.Tasks[i](self)
end
if dt then
self.pump=true
end
self.pumpvar=dt
self.Start=os.clock()
end
function multi:uManager(dt)
if self.Active then
self:oneTime(self._tFunc,self,dt)
self:Do_Order()
end
end
|
-- Makes the game immediately save the state.
--[====[
quicksave
=========
If called in dwarf mode, makes DF immediately saves the game by setting a flag
normally used in seasonal auto-save.
]====]
local gui = require("gui")
--luacheck: defclass={run:bool}
QuicksaveOverlay = defclass(QuicksaveOverlay, gui.Screen)
function QuicksaveOverlay:render()
if not self.run then
self.run = true
save()
self:renderParent()
self:dismiss()
end
end
if not dfhack.isMapLoaded() then
qerror("World and map aren't loaded.")
end
if not dfhack.world.isFortressMode() then
qerror('This script can only be used in fortress mode')
end
local ui_main = df.global.ui.main
local flags4 = df.global.d_init.flags4
local function restore_autobackup()
if ui_main.autosave_request and dfhack.isMapLoaded() then
dfhack.timeout(10, 'frames', restore_autobackup)
else
flags4.AUTOBACKUP = true
end
end
function save()
-- Request auto-save
ui_main.autosave_request = true
-- And since it will overwrite the backup, disable it temporarily
if flags4.AUTOBACKUP then
flags4.AUTOBACKUP = false
restore_autobackup()
end
print 'The game should save the state now.'
end
QuicksaveOverlay():show()
|
--[[
-------------------------------------------------------------------------------
This file is part of OgreKit.
http://gamekit.googlecode.com/
Copyright (c) 2006-2010 Charlie C.
Contributor(s): none yet.
-------------------------------------------------------------------------------
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
-------------------------------------------------------------------------------
Class derrived:
http://www.lua.org/gems/
http://www.lua.org/gems/lpg121.zip
BaseClass is local code.
--]]
-------------------------------------------------------------------------------
--
-- Derrived functions
-- function(self, ...) = self.base.function(self.base, ...)
-------------------------------------------------------------------------------
local pconstructor = function(instance, extends, ...)
status, ret = pcall(extends, ...)
if (not status) then
ret = nil
status, ret = pcall(extends)
if (not status) then
error(ret)
return nil
end
end
instance.base = ret
local typeCheck = swig_type(instance.base)
if(typeCheck ~= "table") then
local ptable = getmetatable(instance.base)
for i,j in pairs(ptable) do
if (type(j) == "table") then
for k, parTable in pairs(j) do
if (type(parTable) == "function") then
-- manually overload the function
-- check overload function only overload functions not existed
if not instance[k] then
instance[k] = function(instance, ...)
local status, ret = pcall(parTable, instance.base)
if (status) then
return ret
end
status, ret = pcall(parTable, instance.base, ...)
if (not status) then
error(ret)
end
return ret;
end
end
end
end
end
end
end
local itable = getmetatable(instance)
local oindex = itable.__index
itable.__index= function (table, key)
if oindex[key] then
return oindex[key]
elseif instance.base and instance.base[key] then
return instance.base[key]
else
return nil
end
end
--[[
local ptable = getmetatable(instance.base)
for i,j in pairs(ptable) do
if (type(j) == "table") then
for k, parTable in pairs(j) do
if (type(parTable) == "function") then
-- manually overload the function
instance[k] = function(instance, ...)
local status, ret = pcall(parTable, instance.base)
if (status) then
return ret
end
status, ret = pcall(parTable, instance.base, ...)
if (not status) then
error(ret)
end
return ret;
end
end
end
end
end
]]
instance:constructor(...)
return instance
end
-------------------------------------------------------------------------------
--
-- Class that inherits methods of 'extends'
-- The base class instance is in self.base
--
-- This function allows extending internal OgreKit classes
--
-- ex; NewGameObjectClass = BaseClass(OgreKit.GameObject)
-- TODO :)
-------------------------------------------------------------------------------
BaseClass = function(extends)
local this = {}
local pthis = {
__call = function(object, ...)
local newt = {}
local instance = {
__index = this
}
setmetatable(newt, instance)
if (newt.constructor) then
newt = pconstructor(newt, extends, ...)
end
return newt
end,
}
setmetatable(this, pthis)
return this
end
-------------------------------------------------------------------------------
--
-- Simple class no inheritance
--
-------------------------------------------------------------------------------
Class = function()
local this = {}
local parTable = {
__index = nil,
__call = function(object, ...)
local newt = {}
local instance = {__index = this}
setmetatable(newt, instance)
if (newt.constructor) then
newt:constructor(...)
end
return newt
end,
}
setmetatable(this, parTable)
return this
end
|
function update()
self.production.button_held = game.the_one_button.held(self.ship.player)
end
|
--[[
##############################################################################
S V U I By: Failcoder
##############################################################################
--]]
--[[ GLOBALS ]]--
local _G = _G;
local unpack = _G.unpack;
local select = _G.select;
--[[ ADDON ]]--
local SV = _G['InkedSV'];
local L = SV.L;
local MOD = SV.Skins;
local Schema = MOD.Schema;
--[[
##########################################################
TAXIFRAME MODR
##########################################################
]]--
local function SocialStyle()
MOD.Debugging = true;
if SV.db.Skins.blizzard.enable ~= true then
return
end
--print("Skinning Social")
SV.API:Set("Window", SocialPostFrame)
--SV.API:Set("Tooltip", _G.StoreTooltip)
--print("Skinning Completed")
end
--[[
##########################################################
MOD LOADING
##########################################################
]]--
MOD:SaveBlizzardStyle("Blizzard_SocialUI", SocialStyle)
|
if GetLocale() ~= "ruRU" then return end
local o = WardrobeHelper
if o.strings == nil then o.strings = {} end
local s = o.strings
s["Page N"] = "Стр. %i"
s["Refresh Instance"] = "Обновить"
s["Refresh Items"] = "Обновить вещи"
s["Current Instance"] = "Текущ. подземелье"
s["Click Refresh Info"] = "Нажмите кнопку %s для загрузки подземелий"
s["Progress"] = "Прогресс"
s["Missing Items"] = "Отсутствующие вещи"
s["Instance"] = "Подземелье"
s["Hide List Option"] = "Скрыть при открытии подземелья"
s["Refresh Confirmation"] = "Это действие заморозит игру на несколько секунд. Вы действительно хотите продолжить?"
s["Yes"] = "Да"
s["No"] = "Нет"
s["Open Options"] = "Открыть настройки"
s["Options"] = "Опции"
s["Close"] = "Закрыть"
s["Defaults"] = "Стандартные"
s["General"] = "Основные"
s["Debug"] = "Debug"
s["Debug Info"] = "Любые из этих настроек экспериментальные и могут мешать процессу игры. Вас предупредили."
s["Disable Progress"] = "Отключить прогресс"
s["Disable Progress Info"] = "Должен ускорить процесс обновления всех вещей."
|
--Formatting title, subtile, and artist
function TextBannerPostSet(self,param)
local Title=self:GetChild("Title")
local Subtitle=self:GetChild("Subtitle")
local Artist=self:GetChild("Artist")
Title:maxwidth(250)
Subtitle:maxwidth(230)
Artist:maxwidth(240)
if Subtitle:GetText() == "" and Artist:GetText() == "" then
Title:y(0)
Title:zoom(1)
Subtitle:visible(false)
Artist:visible(false)
elseif Subtitle:GetText() == "" then
Title:y(-6)
Artist:y(6)
Subtitle:visible(false)
elseif Artist:GetText() == "" then
Title:y(-6)
Subtitle:y(6)
Subtitle:visible(true)
Artist:visible(false)
else
Title:y(-12)
Subtitle:y(0)
Artist:y(12)
Subtitle:visible(true)
Artist:visible(true)
end
end
|
--------------------------------
-- CONTROL 0.6
--------------------------------
---------
-- 0.2
---------
-- fixed score display errrors
-- added missing resurrection effects
-- moved hogs off control points if thats where they started
-- added sanity limit for the above
-- added tint tags to display clan score on each point as it scors
-- added gameflags filter
-- changed scoring rate
-- hogs now only score point DURING THEIR TURN
-- map now accepts custom weaponsets and themes
-- changed win limit
---------
-- 0.3
---------
-- added translation support
--------
-- 0.4
--------
-- added scaling scoring based on clans: 300 points to win - 25 per team in game
--------
-- 0.5
--------
-- removed user branding
-- fixed infinite attack time exploit
--------
-- 0.6
--------
-- timebox fix
-- support for more players
-- remove version numbers
-- enable limited sudden death
-- using skip go generates as many points as you would have gotten had you sat and waited
-----------------
--script begins
-----------------
HedgewarsScriptLoad("/Scripts/Locale.lua")
---------------------------------------------------------------
----------lots of bad variables and things
----------because someone is too lazy
----------to read about tables properly
------------------ "Oh well, they probably have the memory"
local TimeCounter = 0
local gameWon = false
local pointLimit = 300
local missionName = loc("Control")
local missionCaption = loc("Domination game")
local missionHelp
local vCirc = {}
local vCircCount = 0
--local hGCount = 0
local vCircX = {}
local vCircY = {}
local vCircMinA = {}
local vCircMaxA = {}
local vCircType = {}
local vCircPulse = {}
local vCircFuckAll = {}
local vCircRadius = {}
local vCircWidth = {}
local vCircCol = {}
--------------------------
-- hog and team tracking variales
--------------------------
local numhhs = 0 -- store number of hedgehogs
local hhs = {} -- store hedgehog gears
local numTeams -- store the number of teams in the game
local teamNameArr = {} -- store the list of teams
local teamClan = {}
local teamSize = {} -- store how many hogs per team
local teamIndex = {} -- at what point in the hhs{} does each team begin
local teamComment = {}
local teamScore = {}
--------------------------------
--zone and teleporter variables
--------------------------------
local cPoint = {}
local cOwnerClan = {}
local zXMin = {}
local zWidth = {}
local zYMin = {}
local zHeight = {}
local zOccupied = {}
local zCount = 0
------------------------
-- zone methods
------------------------
-- see on gameTick also
function CreateZone(xMin, yMin, width, height)
zXMin[zCount] = xMin
zYMin[zCount] = yMin
zWidth[zCount] = width
zHeight[zCount] = height
zOccupied[zCount] = false
zCount = zCount + 1
return (zCount-1)
end
function GearIsInZone(gear, zI)
if (GetX(gear) > zXMin[zI]) and (GetX(gear) < (zXMin[zI]+zWidth[zI])) and (GetY(gear) > zYMin[zI]) and (GetY(gear) < (zYMin[zI]+zHeight[zI])) then
zOccupied[zI] = true
else
zOccupied[zI] = false
end
return zOccupied[zI]
end
function ZonesAreEmpty()
okay = true
for i = 0,(zCount-1) do
for k = 0, (numhhs-1) do
if (hhs[k] ~= nil) then
if (GearIsInZone(hhs[k],i)) == true then
FindPlace(hhs[k], false, 0, LAND_WIDTH, true)
okay = false
end
end
end
end
return(okay)
end
function CheckZones()
for i = 0,(zCount-1) do
SetVisualGearValues(vCirc[i], vCircX[i], vCircY[i], vCircMinA[i], vCircMaxA[i], vCircType[i], vCircPulse[i], vCircFuckAll[i], vCircRadius[i], vCircWidth[i], 0xffffffff)
cOwnerClan[i] = nil
for k = 0, (numhhs-1) do
if (hhs[k] ~= nil) then --and (GetGearType(hhs[k]) ~= nil) then
if (GearIsInZone(hhs[k],i)) == true then
if cOwnerClan[i] ~= nil then
if cOwnerClan[i] ~= GetHogClan(hhs[k]) then
--if the hog now being compared is different to one that is also here and was previously compared
SetVisualGearValues(vCirc[i], vCircX[i], vCircY[i], vCircMinA[i], vCircMaxA[i], vCircType[i], vCircPulse[i], vCircFuckAll[i], vCircRadius[i], vCircWidth[i], 0xffffffff)
--SetVisualGearValues(vCirc[i], 2739, 1378, 20, 255, 1, 10, 0, 300, 5, 0xffffffff)
cOwnerClan[i] = 10 -- this means conflicted
end
elseif cOwnerClan[i] == nil then
cOwnerClan[i] = GetHogClan(hhs[k])
--SetVisualGearValues(vCirc[i], 2739, 1378, 20, 255, 1, 10, 0, 300, 5, GetClanColor( GetHogClan(hhs[k])) )
SetVisualGearValues(vCirc[i], vCircX[i], vCircY[i], vCircMinA[i], vCircMaxA[i], vCircType[i], vCircPulse[i], vCircFuckAll[i], vCircRadius[i], vCircWidth[i], GetClanColor( GetHogClan(hhs[k])))
end
end
-- else hhs[k] = nil
end
end
end
end
function AwardPoints()
for i = 0,(zCount-1) do
-- give score to all players controlling points
--if (cOwnerClan[i] ~= nil) and (cOwnerClan[i] ~= 10) then
-- teamScore[cOwnerClan[i]] = teamScore[cOwnerClan[i]] + 1
--end
-- only give score to the player currently in control
if CurrentHedgehog ~= nil then
if cOwnerClan[i] == GetHogClan(CurrentHedgehog) then
teamScore[cOwnerClan[i]] = teamScore[cOwnerClan[i]] + 1
end
end
end
-- i want to show all the tags at once as having the SAME score not 1,2,3,4 so alas, repeating the loop seems needed
for i = 0,(zCount-1) do
if CurrentHedgehog ~= nil then
if cOwnerClan[i] == GetHogClan(CurrentHedgehog) then
local g = AddVisualGear(vCircX[i], vCircY[i]-100, vgtHealthTag, 100, false)
SetVisualGearValues(g, vCircX[i], vCircY[i]-100, 0, 0, 0, 0, 0, teamScore[cOwnerClan[i]], 1500, GetClanColor(cOwnerClan[i]))
end
end
end
-- Update team labels
for i = 0,(TeamsCount-1) do
if teamNameArr[i] ~= " " then
SetTeamLabel(teamNameArr[i], teamScore[teamClan[i]])
end
end
end
-----------------
-- general methods
------------------
function RebuildTeamInfo()
-- make a list of individual team names
for i = 0, (TeamsCount-1) do
teamNameArr[i] = " " -- = i
teamSize[i] = 0
teamIndex[i] = 0
teamScore[i] = 0
end
numTeams = 0
for i = 0, (numhhs-1) do
z = 0
unfinished = true
while(unfinished == true) do
newTeam = true
tempHogTeamName = GetHogTeamName(hhs[i]) -- this is the new name
if tempHogTeamName == teamNameArr[z] then
newTeam = false
unfinished = false
end
z = z + 1
if z == TeamsCount then
unfinished = false
if newTeam == true then
teamNameArr[numTeams] = tempHogTeamName
numTeams = numTeams + 1
end
end
end
end
-- find out how many hogs per team, and the index of the first hog in hhs
for i = 0, (numTeams-1) do
SetTeamLabel(GetTeamName(i), "0")
for z = 0, (numhhs-1) do
if GetHogTeamName(hhs[z]) == teamNameArr[i] then
teamClan[i] = GetHogClan(hhs[z])
if teamSize[i] == 0 then
teamIndex[i] = z -- should give starting index
end
teamSize[i] = teamSize[i] + 1
--add a pointer so this hog appears at i in hhs
end
end
end
end
------------------------
-- game methods
------------------------
function onAttack()
if CurrentHedgehog ~= nil then
if GetCurAmmoType() == amSkip then
z = (TurnTimeLeft / 2000) - (TurnTimeLeft / 2000)%2
--AddCaption("scored: " .. z,GetClanColor(GetHogClan(CurrentHedgehog)),capgrpMessage2)
for i = 0, z do
AwardPoints()
end
end
end
end
function onGameInit()
-- Things we don't modify here will use their default values.
EnableGameFlags(gfInfAttack, gfSolidLand)
DisableGameFlags(gfKing, gfAISurvival)
WaterRise = 0
HealthDecrease = 0
end
function onGameStart()
-- build zones
cPoint[0] = CreateZone(571,47,120,80)
cPoint[1] = CreateZone(1029,643,120,80)
cPoint[2] = CreateZone(322,1524,120,80)
cPoint[3] = CreateZone(1883,38,120,80)
cPoint[4] = CreateZone(3821,46,120,80)
cPoint[5] = CreateZone(2679,1338,120,80)
vCircX[0], vCircY[0] = 631, 82
vCircX[1], vCircY[1] = 1088, 684
vCircX[2], vCircY[2] = 381, 1569
vCircX[3], vCircY[3] = 1942, 77
vCircX[4], vCircY[4] = 3883, 89
vCircX[5], vCircY[5] = 2739, 1378
for i = 0, 5 do
vCirc[i] = AddVisualGear(0,0,vgtCircle,0,true)
vCircMinA[i] = 20
vCircMaxA[i] = 255
vCircType[i] = 1
vCircPulse[i] = 10
vCircFuckAll[i] = 0
vCircRadius[i] = 300
vCircWidth[i] = 5
vCircCol[i] = 0xffffffff
SetVisualGearValues(vCirc[i], vCircX[i], vCircY[i], vCircMinA[i], vCircMaxA[i], vCircType[i], vCircPulse[i], vCircFuckAll[i], vCircRadius[i], vCircWidth[i], vCircCol[i])
end
--zxc = AddVisualGear(fSpawnX[i],fSpawnY[i],vgtCircle,0,true)
--SetVisualGearValues(zxc, 1000,1000, 20, 255, 1, 10, 0, 100, 1, GetClanColor(0))
--minO,max0 -glowyornot --pulsate timer -- fuckall -- radius -- width -- colour
--new improved placement schematics aw yeah
RebuildTeamInfo()
for i = 0, (numTeams-1) do
pointLimit = pointLimit - 25
end
missionHelp = loc("Control pillars to score points.") .. "|" ..
string.format(loc("Score goal: %d"), pointLimit)
-- reposition hogs if they are on control points until they are not or sanity limit kicks in
reN = 0
--zz = 0
while (reN < 10) do
if ZonesAreEmpty() == false then
reN = reN + 1
--zz = zz + 1
--SetGearPosition(hhs[0], 631, 82) -- put this in here to thwart attempts at repositioning and test sanity limit
else
reN = 15
end
--AddCaption(zz) -- number of times it took to work
end
for h=1, numhhs do
-- Tardis screws up the game too much, teams might not get killed correctly after victory
-- if a hog is still in time-travel.
-- This could be fixed, removing the Tardis is just a simple and lazy fix.
AddAmmo(hhs[h], amTardis, 0)
-- Resurrector is pointless, all hogs are already automatically resurrected.
AddAmmo(hhs[h], amResurrector, 0)
end
ShowMission(missionName, missionCaption, missionHelp, 0, 0)
end
function onNewTurn()
-- reset the time counter so that it will get set to TurnTimeLeft in onGameTick
TimeCounter = 0
if lastTeam ~= GetHogTeamName(CurrentHedgehog) then
lastTeam = GetHogTeamName(CurrentHedgehog)
end
if gameWon == false then
for i = 0, (numTeams-1) do
if teamScore[i] >= pointLimit then --150
gameWon = true
winnerClan = i
end
end
if gameWon == true then
for i = 0, (numhhs-1) do
if hhs[i] ~= nil then
if GetHogClan(hhs[i]) ~= winnerClan then
SetEffect(hhs[i], heResurrectable, 0)
SetHealth(hhs[i],0)
end
end
end
SetTurnTimeLeft(1)
end
end
end
function onGameTick()
vCircCount = vCircCount + 1
if (vCircCount >= 500) and (gameWon == false) then
vCircCount = 0
CheckZones()
end
-- things we wanna check often
if (CurrentHedgehog ~= nil) then
-- AddCaption(GetX(CurrentHedgehog) .. "; " .. GetY(CurrentHedgehog))
--AddCaption(teamNameArr[0] .. " : " .. teamScore[0])
--AddCaption(GetHogTeamName(CurrentHedgehog) .. " : " .. teamScore[GetHogClan(CurrentHedgehog)]) -- this end up 1?
-- huh? the first clan added seems to be clan 1, not 0 ??
end
-- set TimeCounter to starting time if it is uninitialised (from onNewTurn)
if (TimeCounter == 0) and (TurnTimeLeft > 0) then
TimeCounter = TurnTimeLeft
end
-- has it ACTUALLY been 2 seconds since we last did this?
if (TimeCounter - TurnTimeLeft) >= 2000 then
TimeCounter = TurnTimeLeft
if (gameWon == false) then
AwardPoints()
end
end
--AddCaption(TimeCounter)
--hGCount = hGCount + 1
--if (hGCount >= 2000) and (gameWon == false) then
-- hGCount = 0
-- AwardPoints()
--end
end
function InABetterPlaceNow(gear)
for i = 0, (numhhs-1) do
if gear == hhs[i] then
hhs[i] = nil
end
end
end
function onHogHide(gear)
InABetterPlaceNow(gear)
end
function onHogRestore(gear)
match = false
for i = 0, (numhhs-1) do
if (hhs[i] == nil) and (match == false) then
hhs[i] = gear
--AddCaption(GetHogName(gear) .. " has reappeared it seems!")
--FollowGear(gear)
match = true
end
end
end
function onGearAdd(gear)
if GetGearType(gear) == gtHedgehog then
hhs[numhhs] = gear
numhhs = numhhs + 1
SetEffect(gear, heResurrectable, 1)
end
end
function onGearDelete(gear)
if GetGearType(gear) == gtHedgehog then
InABetterPlaceNow(gear)
end
end
|
local Prop = {}
Prop.Name = "City Storage"
Prop.Cat = "Stores"
Prop.Price = 250
Prop.Doors = {
Vector( -7263, 939, 347 ),
Vector( -7439.96875, 1187.96875, 327.5 ),
}
GM.Property:Register( Prop )
|
local COMMAND = Clockwork.command:New("SendLetter")
COMMAND.tip = "Sends the letter you made."
COMMAND.text = "<string Name>"
COMMAND.arguments = 1;
function COMMAND:OnRun(player, arguments)
local target = Clockwork.player:FindByID(arguments[1]);
if (target) then
if (text[player]) then
local unread = 0;
local character = target:GetCharacter();
letters[character] = letters[character] or {};
letters[character][#letters[character] + 1] = {
unread = true,
sender = target:Name(),
title = text[player].title,
text = text[player].content
};
text[player] = nil;
Clockwork.player:Notify(player, "Letter sent to "..target:Name());
for k, v in pairs(letters[character]) do
if (v.unread) then
unread = unread + 1;
end;
end;
if (unread != 1) then
Clockwork.chatBox:SendColored(target, Color(0, 125, 255), "You have "..unread.." unread letters. Type /myletters to view.");
else
Clockwork.chatBox:SendColored(target, Color(0, 125, 255), "You have "..unread.." unread letter. Type /myletters to view.");
end;
else
Clockwork.player:Notify(player, "You have no letter to send.");
end;
else
Clockwork.player:Notify(player, "Invalid target.");
end;
end;
COMMAND:Register();
|
---------------------------------------------------------------------
-- getWeapons v1.3 - code library
--[[-----------------------------------------------------------------
provides functions for finding a pawn's equipped weapons
during missions.
requires modApiExt loaded to function.
]]
local mod = mod_loader.mods[modApi.currentMod]
local modUtils = require(mod.scriptPath .."modApiExt/modApiExt")
local this = {}
local function getWeapons(pawnId)
pawnId = (type(pawnId) == 'userdata') and pawnId:GetId() or pawnId
assert(type(pawnId) == 'number')
local ptable = modUtils.pawn:getSavedataTable(pawnId)
if not ptable then return {} end
local weapons = {}
weapons[1] = modUtils.pawn:getWeaponData(ptable, "primary") or {}
weapons[2] = modUtils.pawn:getWeaponData(ptable, "secondary") or {}
return weapons
end
-- returns a size 0-2 table with a pawn's base and upgraded weapons.
-- table will be empty outside of missions with available save data.
function this.GetPowered(pawnId)
local ret = {}
local pawn = Board:GetPawn(pawnId)
if not pawn then return ret end
-- if not a mech with purchaseable weaponry
if pawnId > 2 then
-- get weapons from default pawn table.
local pData = _G[pawn:GetType()]
for i, weapon in ipairs(pData.SkillList) do
ret[i] = {
base = weapon,
weapon = weapon
}
end
return ret
end
local weapons = getWeapons(pawnId)
for i = 1, #weapons do
-- if 'powered' array's first core is powered.
local power = weapons[i].power or {0}
if #power == 0 or power[1] > 0 then
ret[i] = {}
local w = ret[i]
w.base = weapons[i].id
w.curr = weapons[i].id
local upg = "_"
-- if 'upgrade1' array's first core is powered.
local upgrade = weapons[i].upgrade1 or {0}
if #upgrade == 0 or upgrade[1] > 0 then
upg = upg .."A"
end
-- if 'upgrade2' array's first core is powered.
local upgrade = weapons[i].upgrade2 or {0}
if #upgrade == 0 or upgrade[1] > 0 then
upg = upg .."B"
end
w.curr = upg:len() > 1 and w.curr .. upg or w.curr
end
end
return ret
end
-- returns a size 0-2 table with a pawn's base weapons.
-- table will be empty outside of missions with available save data.
function this.GetPoweredBase(pawnId)
local ret = {}
for i, v in ipairs(this.GetPowered(pawnId)) do
ret[i] = v.base
end
return ret
end
-- returns a size 0-2 table with a pawn's upgraded weapons.
-- table will be empty outside of missions with available save data.
function this.GetPoweredUpgraded(pawnId)
local ret = {}
for i, v in ipairs(this.GetPowered(pawnId)) do
ret[i] = v.curr
end
return ret
end
return this
|
-- main tab
UI.Label("Vithrax CFG v1.2 \n \n Scripting Service: \n Vithrax#5814")
UI.Separator()
|
-- [[ # Initial device send script # ]] --
-- 88b d88 88888888ba
-- 888b d888 88 "8b
-- 88`8b d8'88 88 ,8P
-- 88 `8b d8' 88 88aaaaaa8P'
-- 88 `8b d8' 88 88""""""8b,
-- 88 `8b d8' 88 88 `8b
-- 88 `888' 88 88 a8P
-- 88 `8' 88 88888888P"
-- [[ ## Made by: Maikel Bolderdijk ## ]] --
-- [[ ## Email: maikel.bolderdijk@student.hu.nl ## ]] --
-- [[ Constants support in LUA ]] --
-- [[ Credits: Andrejs Cainikovs]] --
-- [[ Used as Safety measure ]] --
-- [[ @param tbl Table that needs to be a constant value ]] --
function CreateConstant(tbl)
return setmetatable(
{},
{
__index = tbl,
__newindex = function(t, key, value)
error("attempting to change constant " .. tostring(key) .. " to " .. tostring(value), 2)
end
}
)
end
-- [[ GLOBAL CONSTANTS ]] --
-- [[ MAKE SURE TO ALWAYS CHANGE ACCORDING TO YOUR SETUP ]] --
-- [[ API_DOCUMENTATION @ github.com/wytho/python_flask ]] --
local CONSTANTS = {
API = {
IP = "10.1.1.143",
PORT = 5000,
ENDPOINTS = {
BASE = "api",
item = "item",
item_id = "item/%d",
usage = "usage",
usage_id = "usage/%d",
event = "event",
event_id = "event/%d",
group = "group",
group_id = "group/%d",
event_call = "event_call",
event_call_id = "event_call/%d",
graph = "graph",
graph_title = "graph/%s"
},
ENDPOINT_METHODS = {
BASE = {""},
item = {"GET", "POST"},
item_id = {"GET", "POST"},
usage = {"GET", "POST"},
usage_id = {"GET", "POST"},
event = {"GET", "POST"},
event_id = {"GET"},
group = {"GET", "POST"},
group_id = {"GET", "PUT"},
event_call = {"GET", "POST"},
event_call_id = {"GET"},
graph = {"GET"},
graph_title = {"GET", "PUT"}
}
}
}
CONSTANTS = CreateConstant(CONSTANTS)
-- [[ Check if a table contains a certain value ]] --
-- [[ @param table Table that might contain the value ]] --
-- [[ @param val Value that should be in the table ]] --
local function Contains(table, val)
for i = 1, #table do
if table[i] == val then
return true
end
end
return false
end
-- [[ Check if value n is int ]] --
function IsInt(n)
return n == math.floor(n)
end
-- [[ Converts an integer group address to a KNX address string(11/11/11) ]] --
-- [[ @param dbObject table with address objects ]]--
function ConvertGroupAddressToString(dbObject)
for i, v in pairs(dbObject) do
-- [[ 3-level KNX address config ]] --
-- [[ main = 0..31 XX/00/00 ]] --
-- [[ middle = 0..7 00/XX/00 ]] --
-- [[ sub = 0..255 00/00/XX ]] --
local main, middle, sub -- Explained above
local mainRest, middleRest -- Needed for proper calculation
local subMax, middleMax = 256, 8 -- See KNX address config above
local vSet = v -- We don't want to directly edit v
main = math.floor((v["address"] / subMax) / middleMax)
mainRest = ((v["address"] / subMax) / middleMax) - main
middle = math.floor(mainRest * middleMax)
middleRest = (mainRest * middleMax) - middle
sub = middleRest * subMax
vSet["address"] = main .. "/" .. middle .. "/" .. sub
dbObject[i] = vSet
end
return dbObject
end
-- [[ Sends Multiple devices to an API ]] --
-- [[ !Converts data to JSON ]] --
-- [[ !Uses LUA table for request_body ]] --
-- [[ @param data device data from internal database]]
function SendItemsToAPI(CONSTANTS, data)
if (type(data) ~= "table") then
return
end
if (CONSTANTS == nil) then
log("CONSTANTS ARE NIL")
return
end
if (CONSTANTS.API.IP == nil) then
log("MISSING IP FOR API")
return
end
if (CONSTANTS.API.PORT == nil) then
log("MISSING PORT FOR API")
return
end
if (CONSTANTS.API.BASE == nil) then
log("MISSING BASE ENDPOINT")
return
end
if (CONSTANTS.API.item == nil) then
log("MISSING item ENDPOINT")
return
end
if (Contains(CONSTANTS.API.ENDPOINT_METHODS.item, "POST") == false) then
log("ENDPOINT item DOESN'T HAVE METHOD 'POST'")
return
end
local http = require("socket.http")
local ltn12 = require("ltn12")
local json = require("json")
-- [[ Go through database entries adding them 1 by 1 ]] --
-- [[ TODO: Multiple Items at once(SUPPORT FROM API NEEDED) ]] --
for i, v in pairs(data) do
local APIUrl =
string.format(
"http://%s:%s/%s",
CONSTANTS.API.IP,
CONSTANTS.API.PORT,
CONSTANTS.API.BASE .. "/" .. CONSTANTS.API.item
)
local request_body, response_body = {}
request_body = "name=" .. v.name .. "&address=" .. v.address .. "&comment=" .. v.comment
local res, code, response_headers =
http.request {
url = APIUrl,
method = "POST", -- Contains(CONSTANTS.API.ENDPOINT_METHODS.item, 'POST')
headers = {
["Content-Type"] = "application/x-www-form-urlencoded",
["Content-Length"] = #request_body
},
source = ltn12.source.string(request_body),
sink = ltn12.sink.table(response_body)
}
if (code == 201) then
if (res ~= nil) then
res = json.decode(res)
CreateUsage(CONSTANTS, v, res.id)
else
log("Response is empty: Function SendItemsToApi")
end
else
log(string.format("API returned code %s with the following response: %s", code, res))
end
end
end
-- [[ Creates a usage in the database of the API by calling its endpoint ]] --
-- [[ @param data single object data ]] --
-- [[ @param item_id internal LSS100100 item_id ]] --
function CreateUsage(CONSTANTS, data, item_id)
if (data == nil) then
log("no data. Function: CreateUsage")
end
if (IsInt(item_id) == false) then
log("item_id isn't an integer. Function: CreateUsage")
end
if (CONSTANTS == nil) then
log("CONSTANTS ARE NIL")
return
end
if (CONSTANTS.API.IP == nil) then
log("MISSING IP FOR API")
return
end
if (CONSTANTS.API.PORT == nil) then
log("MISSING PORT FOR API")
return
end
if (CONSTANTS.API.BASE == nil) then
log("MISSING BASE ENDPOINT")
return
end
if (CONSTANTS.API.usage == nil) then
log("MISSING usage ENDPOINT")
return
end
if (Contains(CONSTANTS.API.ENDPOINT_METHODS.usage, "POST") == false) then
log("ENDPOINT usage DOESN'T HAVE METHOD 'POST'")
return
end
-- [[ TODO: BLOCK OBJECT_SPECIFIC ]] --
local CONSUMPTION_AMOUNT = -1 -- Not bound to realistic values right now
local CONSUMPTION_TYPE = nil
local MIN_VAL = 0
local MAX_VAL = 100
-- [[ END OBJECT_SPECIFIC ]] --
local http = require("socket.http")
local ltn12 = require("ltn12")
local json = require("json")
local APIUrl =
string.format(
"http://%s:%s/%s",
CONSTANTS.API.IP,
CONSTANTS.API.PORT,
CONSTANTS.API.BASE .. "/" .. CONSTANTS.API.usage
)
local request_body, response_body = {}
-- TODO: BLOCK_OBJECT_SPECIFIC
request_body =
string.format(
"item_id=%s&consumption_type=%s&consumption_amount=%s&address=%s&unit=%s&external_id=%s&min_value=%s&max_value=%s",
item_id,
CONSUMPTION_TYPE,
CONSUMPTION_AMOUNT,
data["address"],
UNIT,
data["id"],
MIN_VAL,
MAX_VAL
)
local res, code, response_headers =
http.request {
url = APIUrl,
method = "POST", -- Contains(CONSTANTS.API.ENDPOINT_METHODS.usage, 'POST')
headers = {
["Content-Type"] = "application/x-www-form-urlencoded",
["Content-Length"] = #request_body
},
source = ltn12.source.string(request_body),
sink = ltn12.sink.table(response_body)
}
if (code ~= 201) then
log(string.format("API returned code %s with the following response: %s", code, res))
end
end
-- [[ __Implementation__ ]] --
devices = db:getall("SELECT id, name, address, comment FROM objects")
devices = ConvertGroupAddressToString(devices)
SendItemsToAPI(CONSTANTS, devices) -- needs error checking
log("SEND DEVICE SCRIPT FINISHED")
|
assert(bit.OR(0xF, 0xF) == 0xF)
assert(bit.OR(0x2, 0x1) == 0x3)
assert(bit.OR(0x0, 0x0) == 0x0)
|
LoveUI.require("LoveUIObject.lua")
LoveUI.Point=LoveUI.Object:new();
function LoveUI.Point:init(x, y)
self.x=x;
self.y=y;
return self;
end
LoveUI.Point:setmetamethod("__add", function (aPoint, bPoint)
return LoveUI.Point:new(aPoint.x+bPoint.x, aPoint.y+bPoint.y);
end)
LoveUI.Point:setmetamethod("__sub", function (aPoint, bPoint)
return LoveUI.Point:new(aPoint.x-bPoint.x, aPoint.y-bPoint.y);
end)
function LoveUI.Point:isEqual(aPoint)
return self.x==aPoint.x and self.y==aPoint.y;
end
function LoveUI.Point:get()
return self.x, self.y;
end
|
-----------------------------------
-- Area: Sealion's Den
-- NPC: Iron Gate
-- !pos 612 132 774 32
-----------------------------------
require("scripts/globals/teleports")
require("scripts/globals/missions")
require("scripts/globals/titles")
require("scripts/globals/bcnm")
-----------------------------------
function onTrade(player,npc,trade)
TradeBCNM(player,npc,trade)
end
function onTrigger(player, npc)
if player:getCurrentMission(COP) == tpz.mission.id.cop.SLANDEROUS_UTTERINGS and player:getCharVar("PromathiaStatus") == 1 then
player:startEvent(13)
elseif EventTriggerBCNM(player, npc) then
return
elseif (player:getCurrentMission(COP) > tpz.mission.cop.THE_WARRIOR_S_PATH) then
player:startEvent(12)
end
end
function onEventUpdate(player,csid,option,extras)
EventUpdateBCNM(player,csid,option,extras)
return
end
function onEventFinish(player,csid,option)
-- printf("onFinish CSID: %u",csid)
-- printf("onFinish RESULT: %u",option)
if (EventFinishBCNM(player,csid,option)) then
return
end
if (csid == 12 and option == 1) then
toPalaceEntrance(player)
elseif (csid == 13) then
player:setCharVar("PromathiaStatus",0)
player:completeMission(COP, tpz.mission.id.cop.SLANDEROUS_UTTERINGS)
player:addMission(COP, tpz.mission.id.cop.THE_ENDURING_TUMULT_OF_WAR)
player:addTitle(tpz.title.THE_LOST_ONE)
end
end
|
BigWigs:AddColors("Krystallus", {
[50810] = "orange",
})
BigWigs:AddColors("Maiden of Grief", {
[59726] = {"blue","orange","red"},
[59772] = "blue",
})
BigWigs:AddColors("Tribunal of Ages", {
[59866] = "blue",
[59868] = {"blue","orange"},
["timers"] = "yellow",
})
BigWigs:AddColors("Sjonnir The Ironshaper", {
[50834] = "blue",
[50840] = "orange",
})
|
-- example script that demonstrates use of setup() to pass
-- data to and from the threads
--
-- is there a way to fetch the connection argument to the commandline in here?
local counter = 1
local threads = {}
function setup(thread)
thread:set("id", counter)
table.insert(threads, thread)
counter = counter + 1
end
function init(args)
--for k,v in pairs(args) do print(k,v) end
requests = 0
responses = 0
local msg = "thread %d created"
--print(msg:format(id))
end
function request()
requests = requests + 1
return wrk.request()
end
function response(status, headers, body)
responses = responses + 1
end
function done(summary, latency, requests)
for index, thread in ipairs(threads) do
local id = thread:get("id")
local requests = thread:get("requests")
local responses = thread:get("responses")
local msg = "thread %d made %d requests and got %d responses"
print(msg:format(id, requests, responses))
end
local p_avg = 0
for i=1,99 do
if latency:percentile(i) < latency.mean then
p_avg = i
else
break
end
end
local f = io.open( 'spectrum.txt', "a+" )
f:seek( "end", -6 )
l = f:read( )
if not l or not l:match( "%d%d $" ) then
f:write( "===== ======== ========== ========= ========== ====== ======= ======= ======= ====== ====== ======= ======= ======= ======= ====== ===== ====== ====== ====== ====== ====== =====\n")
f:write( "conns requests kBytes requests kBytes latncy latency latency latency latncy latncy latency latency latency latency kBytes time error error error error error perc \n" )
f:write( " total total second second min max average std-dev 30% 50% 75% 90% 99% 99.99% req total conns reads writes timeou status averg\n" )
f:write( "===== ======== ========== ========= ========== ====== ======= ======= ======= ====== ====== ======= ======= ======= ======= ====== ===== ====== ====== ====== ====== ====== =====\n")
end
local msg = " %-7d %-10.2f %-9.2f %-10.2f %-6.2f %-7.2f %-6.2f %-6.2f %-6.2f %-6.2f %-7.2f %-7.2f %-7.2f %-7.2f %-6.2f %-5.2f %-6d %-6d %-6d %-6d %-6d %-5d\n"
f:write( msg:format(
summary.requests,
summary.bytes/1024,
summary.requests / (summary.duration / 1000000),
summary.bytes/1024 / (summary.duration / 1000000),
latency.min /1000,
latency.max /1000,
latency.mean /1000,
latency.stdev /1000,
latency:percentile(30.0) / 1000,
latency:percentile(50.0) / 1000,
latency:percentile(75.0) / 1000,
latency:percentile(90.0) / 1000,
latency:percentile(99.0) / 1000,
latency:percentile(99.99) / 1000,
(summary.bytes / summary.requests) / 1024,
summary.duration / 1000000,
summary.errors.connect,
summary.errors.read,
summary.errors.write,
summary.errors.timeout,
summary.errors.status,
p_avg
) )
f:close( )
end
wrk.method = "GET"
--wrk.headers["Connection"] = "close"
--wrk.headers["Connection"] = "keep-alive"
|
--
-- Compare and del if equals
--
local key = KEYS[1]
local expected = ARGV[1]
local current = redis.call('GET', key)
if current == expected then
redis.call('DEL', key)
return true
else
return false
end
|
-- Nothing here anymore
|
--========================================
-- lua functions for generating speech for status events
-- functions available from the game:
-- getFamily(shipName) - return the DisplayFamily for shipName (displayFamily defined in data\scripts\FamilyList.lua) in uppercase
-- playSpeechActor(speechName) - speechName is the name of the all ships speech to play without path up to the _
-- (so to play one of data/sound/speech/AllShips/CHATTER_CarrierOrMShipConstruction_1.mp3
-- to data/sound/speech/AllShips/CHATTER_CarrierOrMShipConstruction_1.mp3 you'd use
-- "CHATTER_CarrierOrMShipConstruction")
-- playSpeechActor(speechName, frequency) - speechName - same as above
-- - frequency is the minimum amount of time, in seconds, before this event will be played again.
--========================================
g_default_frequency = 10.0
g_low_frequency = 30.0
-- Number of Actors per Actor type - - defined in commands.lua
-- Text for Actor folder names - - defined in commands.lua
--function getType(shipnm) - - defined in commands.lua
--function raceHelper() - - defined in commands.lua
--------- START CHATTER-specific functions
--codes
CD_MissileIncoming = 1
CD_DefenseFieldFound = 2
CD_CapturedAtUnitCap = 3
CD_CaptureHalfway = 4
CD_CaptureStarted = 5
--~ CD_StrikeGroupDisband = 6
--~ CD_StrikeGroupFormChange = 7
CD_ShipArrived = 8
CD_ShipSpotted = 9
CD_ShipEmergingFromHyperpace = 10
CD_EnemyCaptureStarted = 11
CD_EnteredInhibitorVolume = 14
-- timeout values for speech events
Frequency_Command = 0.5
Frequency_Status = 2.0
Frequency_Chatter = 5.0
function ChatterMisc(shipnm,parm2,code)
--print("******* ChatterMisc! shipnm="..shipnm..", parm2="..parm2..", code="..code)
shiptype = getType(shipnm)
genericshipnm = strsub(shipnm,5)
if (code==CD_MissileIncoming and shiptype==Capital) then -- only if the victim is a Capital ship
--in this case, parm2 is the Ship that fired the missile. Only these 2 type of ships apply
if (parm2=="Hgn_TorpedoFrigate" or parm2=="Hgn_TorpedoFrigateElite" or parm2=="Hgn_Destroyer" or parm2=="Kus_MissileDestroyer" or parm2=="Tur_TorpedoCorvette") then
playSpeechActor("STATUS_CapitalShipTorpedoHit_Report",NameCapPilot,NumCapPilots, Frequency_Status)
end
elseif(code==CD_DefenseFieldFound) then
playSpeechActor("STATUS_ATTACKINGTARGETINSIDEDEFENSEFIELD_1",NameAllPilot,NumAllPilots, Frequency_Status)
elseif (code==CD_EnteredInhibitorVolume) then
playSpeechActor("STATUS_HyperSpaceInhib_Detected", NameSupportPilot, NumSupportPilots, Frequency_Command)
end
end
function ChatterMiscHighPriority(shipnm,parm2,code)
--print("******* ChatterMiscHighPriority - shipnm="..shipnm..", parm2="..parm2..", code="..code)
shiptype = getType(shipnm)
genericshipnm = strsub(shipnm,5)
if(code==CD_CapturedAtUnitCap) then
if (shipnm=="Hgn_MarineFrigate") then
playSpeechActor("STATUS_MARINEFRIGATE_SUCCESS_CAPFULL",NameMarinePilot,NumMarinePilots, Frequency_Command)
else
playSpeechActor("STATUS_INFILTRATORFRIGATE_SUCCESS_CAPFULL",NameInfiltratorPilot,NumInfiltratorPilots, Frequency_Command)
end
elseif(code==CD_CaptureHalfway) then
if (shipnm=="Hgn_MarineFrigate") then
playSpeechActor("CHATTER_MARINEFRIGATE_50PERCENT",NameMarinePilot,NumMarinePilots, Frequency_Command)
else
playSpeechActor("CHATTER_INFILTRATORFRIGATE_50PERCENT",NameInfiltratorPilot,NumInfiltratorPilots, Frequency_Command)
end
elseif(code==CD_CaptureStarted) then
if (shipnm=="Hgn_MarineFrigate") then
playSpeechActor("CHATTER_MARINEFRIGATE_BEGIN",NameMarinePilot,NumMarinePilots, Frequency_Command)
else
playSpeechActor("CHATTER_INFILTRATORFRIGATE_BEGIN",NameInfiltratorPilot,NumInfiltratorPilots, Frequency_Command)
end
elseif(code==CD_EnemyCaptureStarted) then
if (genericshipnm=="Carrier") then
playSpeechActor("STATUS_EnemyMarineFrigateAttack_Carrier_1",raceHelper(),0, Frequency_Command)
elseif (strupper(genericshipnm)=="DESTROYER")or(strupper(genericshipnm)=="MISSILEDESTROYER")or(strupper(genericshipnm)=="DESTROYER1")or(strupper(genericshipnm)=="GUARDIANSPIRIT") then
playSpeechActor("STATUS_EnemyMarineFrigateAttack_Destroyer_1",raceHelper(),0, Frequency_Command)
elseif (strupper(genericshipnm)=="BATTLECRUISER")or(strupper(genericshipnm)=="HEAVYCRUISER")or(strupper(genericshipnm)=="BATTLESHIP") then
playSpeechActor("STATUS_EnemyMarineFrigateAttack_Battlecruiser_1",raceHelper(),0, Frequency_Command)
elseif (strupper(genericshipnm)=="MOTHERSHIP")or(strupper(genericshipnm)=="MOTHERSHIPDARK")or(strupper(genericshipnm)=="MOTHERSHIPLIGHT")or(strupper(genericshipnm)=="BALCORAGATE") then
playSpeechActor("STATUS_EnemyMarineFrigateAttack_Mothership_1",raceHelper(),0, Frequency_Command)
elseif (strupper(genericshipnm)=="SHIPYARD") then
playSpeechActor("STATUS_EnemyMarineFrigateAttack_Shipyard_1",raceHelper(),0, Frequency_Command)
elseif (strupper(genericshipnm)=="DREADNAUGHT") then
playSpeechActor("STATUS_EnemyMarineFrigateAttack_Dreadnaught_1",raceHelper(),0, Frequency_Command)
elseif (shiptype==Frigate) then
playSpeechActor("STATUS_EnemyMarineFrigateAttack_Frigate_1",raceHelper(),0, Frequency_Command)
end
elseif(code==CD_ShipArrived and genericshipnm=="Probe")or(strlower(genericshipnm)=="sensorarray") then
playSpeechActor("STATUS_ProbeArrived",raceHelper(),0, Frequency_Command)
elseif(code==CD_ShipArrived and genericshipnm=="Probe_ECM" or genericshipnm=="ECMProbe") then
playSpeechActor("STATUS_EMPProbeArrived_1",raceHelper(),0, Frequency_Command)
elseif(code==CD_ShipArrived and genericshipnm=="HSInhibitor")or(strlower(genericshipnm)=="gravwellgenerator") then
playSpeechActor("STATUS_InhibitorProbeArrived_1",raceHelper(),0, Frequency_Command)
elseif(code==CD_ShipEmergingFromHyperpace) then
playSpeechActor("STATUS_HyperspaceUnitEmerging_1",raceHelper(),0, Frequency_Command)
elseif(code==CD_ShipSpotted) then
if (parm2 == "c") then
playSpeechActor("STATUS_ProximityProbeWarning_1",raceHelper(),0, Frequency_Command)
elseif (genericshipnm=="Probe") then
playSpeechActor("STATUS_ProbeDetected",raceHelper(),0, Frequency_Command)
end
end
end
attackMap = {}
attackMap["STRIKE"] = {"STATUS_StrikeGroup_UnderAttack", NameAllPilot,NumAllPilots}
attackMap["Hgn_ResourceController"] = {"STATUS_ResourceControllerUnderAttack", NameSupportPilot, NumSupportPilots}
attackMap["Hgn_Interceptor"] = {"STATUS_Int_Under_Attack", NameFighterPilot, NumFighterPilots}
attackMap["Hgn_AttackBomber"] = {"STATUS_Bomb_Under_Attack", NameFighterPilot, NumFighterPilots}
attackMap["Hgn_AssaultCorvette"] = {"STATUS_Corvette_Under_Attack", NameFighterPilot, NumFighterPilots}
attackMap["Hgn_MinelayerCorvette"] = {"STATUS_Minelayer_Under_Attack", NameFighterPilot, NumFighterPilots}
attackMap["Hgn_MarineFrigate"] = {"STATUS_MarineFrigate_Under_Attack", NameCapPilot,NumCapPilots}
attackMap["Hgn_TorpedoFrigate"] = {"STATUS_TorpFrigate_Under_Attack", NameCapPilot,NumCapPilots}
attackMap["Hgn_IonCannonFrigate"] = {"STATUS_IonFrigate_Under_Attack", NameCapPilot,NumCapPilots}
attackMap["Hgn_DefenseFieldFrigate"] = {"STATUS_DDFrigate_Under_Attack", NameCapPilot,NumCapPilots}
attackMap["Hgn_SupportFrigate"] = {"STATUS_SupportFrigate_Under_Attack", NameSupportPilot,NumSupportPilots}
attackMap["Hgn_Destroyer"] = {"STATUS_Destroyer_Under_Attack", NameCapPilot,NumCapPilots}
attackMap["Hgn_Battlecruiser"] = {"STATUS_Battlecruiser_Attack", NameCapPilot,NumCapPilots}
attackMap["Hgn_Shipyard"] = {"STATUS_Shipyard_Under_Attack", NameSupportPilot,NumSupportPilots}
attackMap["Kus_ResourceController"] = {"STATUS_ResourceControllerUnderAttack", NameSupportPilot, NumSupportPilots}
attackMap["Kus_ResourceRefinery"] = {"STATUS_ResourceControllerUnderAttack", NameSupportPilot, NumSupportPilots}
attackMap["Kus_RepairCarrier"] = {"STATUS_ResourceControllerUnderAttack", NameSupportPilot, NumSupportPilots}
attackMap["Kus_Interceptor"] = {"STATUS_Int_Under_Attack", NameFighterPilot, NumFighterPilots}
attackMap["Kus_AttackBomber"] = {"STATUS_Bomb_Under_Attack", NameFighterPilot, NumFighterPilots}
attackMap["Kus_LightCorvette"] = {"STATUS_Corvette_Under_Attack", NameFighterPilot, NumFighterPilots}
attackMap["Kus_HeavyCorvette"] = {"STATUS_Corvette_Under_Attack", NameFighterPilot, NumFighterPilots}
attackMap["Kus_MultiGunCorvette"] = {"STATUS_Corvette_Under_Attack", NameFighterPilot, NumFighterPilots}
attackMap["Kus_CommandCorvette"] = {"STATUS_COMMANDCorvette_Under_Attack", NameCapPilot,NumCapPilots}
attackMap["Kus_IonCannonFrigate"] = {"STATUS_IonFrigate_Under_Attack", NameCapPilot,NumCapPilots}
attackMap["Kus_SupportFrigate"] = {"STATUS_SupportFrigate_Under_Attack", NameSupportPilot,NumSupportPilots}
attackMap["Kus_Destroyer"] = {"STATUS_Destroyer_Under_Attack", NameCapPilot,NumCapPilots}
attackMap["Kus_MissileDestroyer"] = {"STATUS_Destroyer_Under_Attack", NameCapPilot,NumCapPilots}
attackMap["Kus_HeavyCruiser"] = {"STATUS_Battlecruiser_Attack", NameCapPilot,NumCapPilots}
attackMap["Kad_ResourceFuelPod"] = {"STATUS_ResourceControllerUnderAttack", NameSupportPilot, NumSupportPilots}
attackMap["Kad_Swarmer"] = {"STATUS_Int_Under_Attack", NameFighterPilot, NumFighterPilots}
attackMap["Kad_AssaultSwarmer"] = {"STATUS_Bomb_Under_Attack", NameFighterPilot, NumFighterPilots}
attackMap["Kad_AdvancedSwarmer"] = {"STATUS_Corvette_Under_Attack", NameFighterPilot, NumFighterPilots}
attackMap["Kad_AdvancedAssaultSwarmer"] = {"STATUS_Corvette_Under_Attack", NameFighterPilot, NumFighterPilots}
attackMap["Kad_MultiBeamFrigate"] = {"STATUS_IonFrigate_Under_Attack", NameCapPilot,NumCapPilots}
attackMap["Kad_FuelPod"] = {"STATUS_SupportFrigate_Under_Attack", NameSupportPilot,NumSupportPilots}
attackMap["Kad_GuardianSpirit"] = {"STATUS_Destroyer_Under_Attack", NameCapPilot,NumCapPilots}
attackMap["Tai_ResourceController"] = {"STATUS_ResourceControllerUnderAttack", NameSupportPilot, NumSupportPilots}
attackMap["Tai_Interceptor"] = {"STATUS_Int_Under_Attack", NameFighterPilot, NumFighterPilots}
attackMap["Tai_AttackBomber"] = {"STATUS_Bomb_Under_Attack", NameFighterPilot, NumFighterPilots}
attackMap["Tai_LightCorvette"] = {"STATUS_Corvette_Under_Attack", NameFighterPilot, NumFighterPilots}
attackMap["Tai_HeavyCorvette"] = {"STATUS_Corvette_Under_Attack", NameFighterPilot, NumFighterPilots}
attackMap["Tai_MultiGunCorvette"] = {"STATUS_Corvette_Under_Attack", NameFighterPilot, NumFighterPilots}
attackMap["Tai_CommandCorvette"] = {"STATUS_COMMANDCorvette_Under_Attack", NameCapPilot,NumCapPilots}
attackMap["Tai_IonCannonFrigate"] = {"STATUS_IonFrigate_Under_Attack", NameCapPilot,NumCapPilots}
attackMap["Tai_SupportFrigate"] = {"STATUS_SupportFrigate_Under_Attack", NameSupportPilot,NumSupportPilots}
attackMap["Tai_Destroyer"] = {"STATUS_Destroyer_Under_Attack", NameCapPilot,NumCapPilots}
attackMap["Tai_MissileDestroyer"] = {"STATUS_Destroyer_Under_Attack", NameCapPilot,NumCapPilots}
attackMap["Tai_HeavyCruiser"] = {"STATUS_Battlecruiser_Attack", NameCapPilot,NumCapPilots}
attackMap["Tur_Garbage"] = {"STATUS_ResourceControllerUnderAttack", NameSupportPilot, NumSupportPilots}
attackMap["Tur_Fighter"] = {"STATUS_Int_Under_Attack", NameFighterPilot, NumFighterPilots}
attackMap["Tur_AttackBomber"] = {"STATUS_Bomb_Under_Attack", NameFighterPilot, NumFighterPilots}
attackMap["Tur_StandardCorvette"] = {"STATUS_Corvette_Under_Attack", NameFighterPilot, NumFighterPilots}
attackMap["Tur_MissileCorvette"] = {"STATUS_Corvette_Under_Attack", NameFighterPilot, NumFighterPilots}
attackMap["Tur_TorpedoCorvette"] = {"STATUS_Corvette_Under_Attack", NameFighterPilot, NumFighterPilots}
attackMap["Tur_MinelayerCorvette"] = {"STATUS_V_Minelayer_Under_Attack", NameFighterPilot, NumFighterPilots}
attackMap["Tur_IonArrayFrigate"] = {"STATUS_IonFrigate_Under_Attack", NameCapPilot,NumCapPilots}
attackMap["Tur_EnergyFrigate"] = {"STATUS_SupportFrigate_Under_Attack", NameSupportPilot,NumSupportPilots}
attackMap["Tur_HeavyCruiser"] = {"STATUS_Battlecruiser_Attack", NameCapPilot,NumCapPilots}
attackMap["Vgr_Interceptor"] = {"STATUS_V_Int_Under_Attack", NameFighterPilot, NumFighterPilots}
attackMap["Vgr_Crusader"] = {"STATUS_V_Crusader_Under_Attack", NameFighterPilot, NumFighterPilots}
attackMap["Vgr_LanceFighter"] = {"STATUS_V_LanceFighter_Under_Attack", NameFighterPilot, NumFighterPilots}
attackMap["Vgr_Bomber"] = {"STATUS_V_Bomb_Under_Attack", NameFighterPilot, NumFighterPilots}
attackMap["Vgr_LaserCorvette"] = {"STATUS_V_LaserCorvette_Under_Attack", NameFighterPilot, NumFighterPilots}
attackMap["Vgr_MissileCorvette"] = {"STATUS_V_MissileCorvette_Under_Attack", NameFighterPilot, NumFighterPilots}
attackMap["Vgr_MinelayerCorvette"] = {"STATUS_V_Minelayer_Under_Attack", NameFighterPilot, NumFighterPilots}
attackMap["Vgr_CommandCorvette"] = {"STATUS_COMMANDCorvette_Under_Attack", NameCapPilot,NumCapPilots}
--attackMap["Vgr_AssaultFrigate"] = {"STATUS_V_AssF_Under_Attack", NameCapPilot,NumCapPilots}
attackMap["Vgr_InfiltratorFrigate"] = {"STATUS_V_InfFrigate_Under_Attack", NameCapPilot,NumCapPilots}
attackMap["Vgr_HeavyMissileFrigate"] = {"STATUS_V_HMFrigate_Under_Attack", NameCapPilot,NumCapPilots}
attackMap["Vgr_TransportFrigate"] = {"STATUS_V_SupportFrigate_Under_Attack", NameSupportPilot,NumSupportPilots}
attackMap["Vgr_Destroyer"] = {"STATUS_V_Destroyer_Under_Attack", NameCapPilot,NumCapPilots}
attackMap["Vgr_Battlecruiser"] = {"STATUS_V_Battlecruiser_Attack", NameCapPilot,NumCapPilots}
attackMap["Vgr_ShipYard"] = {"STATUS_V_Shipyard_Under_Attack", NameSupportPilot,NumSupportPilots}
attackMapFC = {}
attackMapFC["Hgn_Destroyer"] = "STATUS_DestoryerUnderAttack_0"
attackMapFC["Hgn_Carrier"] = "STATUS_CarrierUnderAttack_1"
attackMapFC["Hgn_Battlecruiser"] = "STATUS_BattlecruiserUnderAttack_1"
attackMapFC["Hgn_Shipyard"] = "STATUS_ShipyardUnderAttack_1"
attackMapMak = {}
attackMapMak["Vgr_Destroyer"] = "STATUS_DestoryerUnderAttack_0"
attackMapMak["Vgr_Carrier"] = "STATUS_CarrierUnderAttack_1"
attackMapMak["Vgr_Battlecruiser"] = "STATUS_BattlecruiserUnderAttack_1"
attackMapMak["Vgr_Shipyard"] = "STATUS_ShipyardUnderAttack_1"
FC_OVERRIDE_DISTSQR = 2000
function StatusUnderAttack(shipnm, enemy, attackcode)
print("****** StatusUnderAttack: shipnm, enemy, attackcode = {"..shipnm..","..enemy..","..attackcode.."}")
if (attackcode > FC_OVERRIDE_DISTSQR) then
if (currentRace == Vaygr) then
if (attackMapMak[""..shipnm] ~= nil) then
playSpeechActor(attackMapMak[""..shipnm],NameMakaan,0, Frequency_Status)
return
end
else
if (attackMapFC[""..shipnm] ~= nil) then
playSpeechActor(attackMapFC[""..shipnm],NameFleetCommand,0, Frequency_Status)
return
end
end
end
if (attackMap[""..shipnm] ~= nil) then
playSpeechActor(attackMap[""..shipnm][1], attackMap[""..shipnm][2], attackMap[""..shipnm][3], Frequency_Status)
return
end
--check family
shiptype = getType(shipnm)
if (shiptype==Frigate) then
playSpeechActor("STATUS_Frigate_Under_Attack",NameCapPilot,NumCapPilots, Frequency_Status)
elseif (shipType==SubSystem) then
playSpeechActor("STATUS_GenericSubsystemUnderAttack",NameCapPilot,NumCapPilots, Frequency_Status)
elseif (shipType==Resource) then
playSpeechActor("STATUS_ResourcePocketEnemiesDetected_1",NameSupportPilot, NumSupportPilots, Frequency_Status)
else
playSpeechActor("STATUS_V_GENERIC_UNDER_ATTACK",NameCapPilot,NumCapPilots, Frequency_Status)
end
end
--------- END CHATTER-specific functions
AggressiveTactics = 0
DefensiveTactics = 1
PassiveTactics = 2
function StatusRetaliating(retaliatingShipName, currentTactics)
if (currentTactics == AggressiveTactics) then
playSpeechActor("STATUS_GenericGroupUnderAttackRetaliate_Aggressive",NameAllPilot,NumAllPilots, Frequency_Status)
elseif (currentTactics == DefensiveTactics) then
playSpeechActor("STATUS_GenericGroupUnderAttackRetaliate_Defensive",NameAllPilot,NumAllPilots, Frequency_Status)
elseif (currentTactics == PassiveTactics) then
playSpeechActor("STATUS_GenericGroupUnderAttackRetaliate_Passive",NameAllPilot,NumAllPilots, Frequency_Status)
end
end
function StatusUnderFireNeedOrders(underFireShipName, targetShipName, groupNumber)
if(groupNumber == -1) then
playSpeechActor("STATUS_GenericGroupUnderAttack_Report",NameAllPilot,NumAllPilots, Frequency_Status)
else
playSpeechActor("STATUS_AssignedGroupUnderAttack_Report_G"..groupNumber, raceHelper(), 0, Frequency_Status)
end
end
MAX_CAMERA = 5000 -- beyond this distance, FLEETCOMMAND will inform player
function StatusCaptureComplete(shipnm, targetnm, cameradistance)
shipType = getType(targetnm)
generictargetnm = strsub(targetnm,5)
if (cameradistance > MAX_CAMERA) then
if (generictargetnm == "Destroyer") then
playSpeechActor("STATUS_EnemyDestroyerCaptured_1",raceHelper(),0, Frequency_Status)
elseif(generictargetnm == "Shipyard") then
playSpeechActor("STATUS_EnemyShipyardCaptured_1",raceHelper(),0, Frequency_Status)
elseif(shipType == Frigate) then
playSpeechActor("STATUS_EnemyFrigateCaptured_1",raceHelper(),0, Frequency_Status)
elseif(generictargetnm == "Carrier") then
playSpeechActor("STATUS_EnemyCarrierCaptured_1",raceHelper(),0, Frequency_Status)
elseif(generictargetnm == "Battlecruiser") then
playSpeechActor("STATUS_EnemyBattlecrusierCaptured_1",raceHelper(),0, Frequency_Status)
else
if (currentRace == Hiigaran) then
playSpeechActor("STATUS_MarineFrigate_Success",NameMarinePilot,NumMarinePilots, Frequency_Status)
elseif (currentRace == Vaygr) then
playSpeechActor("STATUS_InfiltratorFrigate_Success",NameInfiltratorPilot,NumInfiltratorPilots, Frequency_Status)
end
end
else
if (currentRace == Hiigaran) then
playSpeechActor("STATUS_MarineFrigate_Success",NameMarinePilot,NumMarinePilots, Frequency_Status)
elseif (currentRace == Vaygr) then
playSpeechActor("STATUS_InfiltratorFrigate_Success",NameInfiltratorPilot,NumInfiltratorPilots, Frequency_Status)
end
end
end
function StatusInMineField(underFireShipName, groupNumber)
if(groupNumber == -1) then
if (underFireShipName=="STRIKE") then
playSpeechActor("STATUS_StrikeGroup_InMines",NameAllPilot,NumAllPilots, Frequency_Status)
else
playSpeechActor("STATUS_GenericGroupInMineField",NameAllPilot,NumAllPilots, Frequency_Status)
end
else
-- can't find this event in new speech
mineAttackSnd = "STATUS_GROUP"
if (groupNumber < 10) then
mineAttackSnd = mineAttackSnd.."0"
end
mineAttackSnd = mineAttackSnd..groupNumber.."_INMINEFIELD"
playSpeechActor(mineAttackSnd, NameAllPilot,NumAllPilots, Frequency_Status)
end
end
function StatusAttackComplete(shipName, groupnum)
--if(getFamily(shipName) == "FIGHTER") then
-- playSpeechActor("STATUS_StrikeCraftAttackComplete", g_default_frequency)
--end
--playSpeechActor("STATUS_ ATTACKCOMPLETE",NameAllPilot,NumAllPilots)
if (groupnum==-1) then
playSpeechActor("CHATTER_GenericGroupBattleWon_Report",NameAllPilot,NumAllPilots, Frequency_Status)
elseif (groupnum<0) then
playSpeechActor("STATUS_AttackComplete",NameAllPilot,NumAllPilots, Frequency_Status)
else
grpWonSnd = "STATUS_HotkeyGroup_Victory_"
if (groupnum < 10) then
grpWonSnd = grpWonSnd.."0"
end
playSpeechActor(grpWonSnd..groupnum,raceHelper(),0, Frequency_Status)
end
end
-- DEFINED IN TABLE (see Chatter.lua)
--~ function StatusCaptureComplete(capturingName, capturedName)
--~ playSpeechActor("STATUS_MarineFrigate_Success", g_default_frequency)
--~ end
-- DEFINED IN TABLE (see Chatter.lua)
--~ function StatusCaptureFailed(capturingName, capturedName)
--~ -- can't find this event in new speech
--~ playSpeechActor("STATUS_MarineFrigate_Failure", g_default_frequency)
--~ end
StartingRepairs = 0
WorkingOnRepairs = 1
FinishedRepairs = 2
function StatusRepairs(shipName, targetName, repairStatus)
if(repairStatus == StartingRepairs) then
-- can't find this event in new speech
playSpeechActor("COMMAND_StartedRepairs", NameSupportPilot, NumSupportPilots, Frequency_Status)
elseif(repairStatus == FinishedRepairs) then
playSpeechActor("STATUS_FinishedRepairs", NameSupportPilot, NumSupportPilots, Frequency_Status)
end
end
function StatusShipDestroyed(shipName, code)
print("**** StatusShipDestroyed: shipName ="..shipName..", and code = "..code)
if (code > 0) then
if (code==10) then
playSpeechActor("STATUS_HOTKEYGROUP_DEFEAT_10", raceHelper(),0, Frequency_Command)
else
playSpeechActor("STATUS_HOTKEYGROUP_DEFEAT_0"..code, raceHelper(),0, Frequency_Command)
end
return
end
--familyName = getFamily(shipName)
shipType = getType(shipName)
genericshipnm = strsub(shipName,5)
--print("**** StatusShipDestroyed: genericshipnm="..genericshipnm)
--print("**** StatusShipDestroyed: shipType ="..shipType)
if (genericshipnm=="ResourceController")or(genericshipnm=="ResourceRefinery")or(genericshipnm=="Garbage")or(genericshipnm=="RepairCarrier")or(genericshipnm=="ResourceFuelPod") then
playSpeechActor("STATUS_MobileRefineryDies_1", raceHelper(),0, Frequency_Command)
elseif(genericshipnm=="Destroyer")or(genericshipnm=="Destroyer1")or(genericshipnm=="MissileDestroyer")or(genericshipnm=="Guardianspirit") then
playSpeechActor("STATUS_DestroyerDies_1", raceHelper(),0, Frequency_Command)
elseif(genericshipnm=="Carrier") then
playSpeechActor("STATUS_CarrierDies_1", raceHelper(),0, Frequency_Command)
elseif(genericshipnm=="Shipyard") then
playSpeechActor("STATUS_ShipyardDies_1", raceHelper(),0, Frequency_Command)
elseif(genericshipnm=="HeavyCruiser") then
playSpeechActor("STATUS_HeavyCruiserDies_1", raceHelper(),0, Frequency_Command)
elseif(genericshipnm=="Battlecruiser") then
playSpeechActor("STATUS_BattlecruiserDies_1", raceHelper(),0, Frequency_Command)
elseif (shipType==Frigate) then
playSpeechActor("STATUS_FrigateDies_1", raceHelper(), 0, Frequency_Command)
elseif(shipType == Capital) then
playSpeechActor("STATUS_CapitalShipDies", NameCapPilot,NumCapPilots, Frequency_Command)
elseif(shipType == SubSystem) then --vary between 2 files
RAND_SWITCH = 1 - RAND_SWITCH
if (RAND_SWITCH == 1) then
playSpeechActor("STATUS_SubsystemDestroyed_2", raceHelper(),0, Frequency_Command)
else
playSpeechActor("STATUS_SubsystemDestroyed", NameCapPilot,NumCapPilots, Frequency_Command)
end
elseif(genericshipnm == "ResourceCollector")or(genericshipnm == "Salvager") then
playSpeechActor("STATUS_ResourceCollectorDestroyed_Report", raceHelper(),0, Frequency_Command)
end
end
-- DEFINED IN TABLE (see Chatter.lua)
--~ function StatusCollectorFull(shipName)
--~ playSpeechActor("CHATTER_ResourceCollectorFull", g_low_frequency)
--~ end
-- DEFINED IN TABLE (see Chatter.lua)
--~ function StatusResourcesTransferred(shipName)
--~ playSpeechActor("CHATTER_ResourceCollectorResourcesTransferred", g_low_frequency)
--~ end
function StatusShipDocked(shipName, dockedWithName)
--dockedShipFamily = getFamily(shipName)
shipType = getType(shipName)
if(shipType == Frigate or shipType == Capital) then
playSpeechActor("STATUS_CapitalShipsShipDocked", NameCapPilot,NumCapPilots, Frequency_Status)
else
playSpeechActor("CHATTER_AnyShipDocking", NameSupportPilot, NumSupportPilots, Frequency_Status)
end
end
TOOLOW = 0.28
function StatusTakingLightDamage(shipName, healthpercentage)
print(" *** StatusTakingLightDamage: name = "..shipName.." Health = "..healthpercentage)
if (healthpercentage < TOOLOW) then
return
end
genericShipName = strsub(shipName,5)
--familyName = getFamily(shipName)
shipType = getType(shipName)
shipnmU = strupper(shipName)
-- checking shipName b/c family(Mothership) returns "CAPITAL"
if (shipnmU == 'HGN_MOTHERSHIP' or shipnmU == 'VGR_MOTHERSHIP' or shipnmU == 'TUR_SHIPYARD' or shipnmU == 'TAI_MOTHERSHIP' or shipnmU == 'BEN_BENTUS' or shipnmU == 'KAD_MOTHERSHIP' or shipnmU == 'KAD_MOTHERSHIPLIGHT' or shipnmU == 'KAD_MOTHERSHIPDARK' or shipnmU == 'KPR_BALCORAGATE' or shipnmU == 'KUS_MOTHERSHIP') then
playSpeechActor("STATUS_MothershipUnderSmallAttack_Report", raceHelper(), 0, Frequency_Command)
elseif(shipType ==Frigate or shipType == Capital) then
-- link these two (CHATTER_CAPITALSHIPSMALLHITS_RESPONSE)
playSpeechActorLinked( "CHATTER_CapitalShipSmallHits_Query",raceHelper(), 0, CE_CHT_SMALLHITRESPONSE, Frequency_Command)
elseif (genericShipName=="ResourceController")or(genericShipName=="ResourceRefinery")or(genericShipName=="Garbage")or(genericShipName=="RepairCarrier")or(genericShipName=="ResourceFuelPod") then
playSpeechActor("STATUS_ResourceControllerDamaged",NameSupportPilot, NumSupportPilots, Frequency_Command)
elseif ((genericShipName == "ResourceCollector")and(Race_ID[currentRace] ~= "Kadesh")) or ((genericshipnm=="Salvager")and(Race_ID[currentRace] == "Kadesh")) then
playSpeechActor("STATUS_ResourceCollectorDamaged",NameSupportPilot, NumSupportPilots, Frequency_Command)
end
end
function StatusTakingHeavyDamage(shipName)
print(" *** StatusTakingHeavyDamage: "..shipName)
--familyName = getFamily(shipName)
shipType = getType(shipName)
shipnmU = strupper(shipName)
genericShipName = strsub(shipName,5)
-- checking shipName b/c family(Mothership) returns "CAPITAL"
if (shipnmU == 'HGN_MOTHERSHIP' or shipnmU == 'VGR_MOTHERSHIP' or shipnmU == 'TUR_SHIPYARD' or shipnmU == 'TAI_MOTHERSHIP' or shipnmU == 'BEN_BENTUS' or shipnmU == 'KAD_MOTHERSHIP' or shipnmU == 'KAD_MOTHERSHIPLIGHT' or shipnmU == 'KAD_MOTHERSHIPDARK' or shipnmU == 'KPR_BALCORAGATE' or shipnmU == 'KUS_MOTHERSHIP') then
playSpeechActor("STATUS_MothershipUnderLargeAttack_Report", raceHelper(), 0, Frequency_Command)
elseif(shipType == Fighter) then
playSpeechActor("CHATTER_StrikeCraftDamaged",NameFighterPilot, NumFighterPilots, Frequency_Command)
elseif(shipType == Frigate or shipType == Capital) then
-- can't find in new speech
--playSpeechActor("STATUS_CapitalShipLargeHit_Response", 30)
playSpeechActor("STATUS_CapitalShip_Damaged_Report", NameCapPilot,NumCapPilots, Frequency_Command)
elseif (genericShipName=="ResourceController")or(genericShipName=="ResourceRefinery")or(genericShipName=="Garbage")or(genericShipName=="RepairCarrier")or(genericShipName=="ResourceFuelPod") then
playSpeechActor("STATUS_ResourceControllerDamaged",NameSupportPilot, NumSupportPilots, Frequency_Command)
elseif ((genericShipName == "ResourceCollector")and(Race_ID[currentRace] ~= "Kadesh")) or ((genericshipnm=="Salvager")and(Race_ID[currentRace] == "Kadesh")) then
playSpeechActor("STATUS_ResourceCollectorDamaged",NameSupportPilot, NumSupportPilots, Frequency_Command)
end
end
RAND_SWITCH = 0
function StatusDamaged(shipName)
print(" *** StatusDamaged: "..shipName)
--familyName = getFamily(shipName)
shipType = getType(shipName)
genericShipName = strsub(shipName,5)
RAND_SWITCH = 1 - RAND_SWITCH
if (genericShipName == "SupportFrigate")or(genericShipName == "FuelPod") then
playSpeechActor("STATUS_SUPPORTDAMAGED_REPORT_1",NameSupportPilot, NumSupportPilots, Frequency_Command)
elseif(genericShipName == "Carrier") then
playSpeechActor("STATUS_CarrierDamaged_Report_1",NameCapPilot,NumCapPilots, Frequency_Command)
elseif(strlower(genericShipName) == "battlecruiser")or(genericShipName == "HeavyCruiser")or(strlower(genericShipName) == "battleship") then
playSpeechActor("STATUS_BattlecruiserDamaged_Report_1",NameCapPilot,NumCapPilots, Frequency_Command)
elseif(genericShipName == "IonCannonFrigate")or(genericShipName == "IonArrayFrigate")or(genericShipName == "DestroyerFrigate")or(genericShipName == "MultiBeamFrigate") then
playSpeechActor("STATUS_IonCannonFrigateDamaged_Report_1", NameCapPilot,NumCapPilots, Frequency_Command)
elseif(genericShipName == "AssaultFrigate") then
playSpeechActor("STATUS_AssaultFrigateDamaged_Report_1", NameCapPilot,NumCapPilots, Frequency_Command)
elseif(genericShipName == "Dreadnaught") then
playSpeechActor("STATUS_DreadnaughtDamaged_Report_1",NameCapPilot,NumCapPilots, Frequency_Command)
elseif(genericShipName == "TorpedoFrigate") then
playSpeechActor("STATUS_TorpedoFrigateDamaged_Report_1", NameCapPilot,NumCapPilots, Frequency_Command)
elseif ((genericShipName=="ResourceController")and(shipName~="Tur_ResourceController"))or(genericShipName=="ResourceRefinery")or(genericShipName=="Garbage")or(genericShipName=="RepairCarrier")or(genericShipName=="ResourceFuelPod") then
playSpeechActor("STATUS_ResourceControllerDamaged",NameSupportPilot, NumSupportPilots, Frequency_Command)
--~ if (RAND_SWITCH==1) then
--~ playSpeechActor("STATUS_ResourceControllerDamaged_1", raceHelper(), 0, Frequency_Command)
--~ else -- this speech actually says: Mobile Refinery under attack
--~ playSpeechActor("STATUS_ResourceCollectorDamaged_1", raceHelper(), 0, Frequency_Command)
--~ end
elseif (genericShipName == "ResourceCollector") or (genericshipnm=="Salvager") then
playSpeechActor("STATUS_ResourceCollectorDamaged",NameSupportPilot, NumSupportPilots, Frequency_Command)
elseif (genericShipName == "MarineFrigate") then
playSpeechActor("STATUS_MarineFrigateDamaged_Report_1", NameCapPilot,NumCapPilots, Frequency_Command)
elseif (genericShipName == "DefenseFieldFrigate") then
playSpeechActor("STATUS_DefenseFieldFrigateDamaged_Report_1", NameCapPilot,NumCapPilots, Frequency_Command)
elseif (genericShipName == "Destroyer")or(genericShipName == "Destroyer1")or(genericShipName == "MissileDestroyer")or(genericShipName == "GuardianSpirit") then
playSpeechActor("STATUS_DestroyerDamaged_Report_1", NameCapPilot,NumCapPilots, Frequency_Command)
elseif (genericShipName == "Shipyard") then
playSpeechActor("STATUS_ShipyardDamaged_Report_1", NameCapPilot,NumCapPilots, Frequency_Command)
elseif (genericShipName == "CommandCorvette") then
playSpeechActor("STATUS_VCOMMANDDAMAGED_REPORT_1",NameSupportPilot, NumSupportPilots, Frequency_Command)
elseif (shipName == "Vgr_InfiltratorFrigate")or(shipName == "Kad_MilitaryFuelPod") then
playSpeechActor("STATUS_VINFILTRATORDAMAGED_REPORT_1", NameCapPilot,NumCapPilots, Frequency_Command)
elseif (genericShipName == "HeavyMissileFrigate") then
playSpeechActor("STATUS_VMissilefrigDamaged_Report_1", NameCapPilot,NumCapPilots, Frequency_Command)
elseif (genericShipName == "TransportFrigate") then
playSpeechActor("STATUS_VTransportDamaged_Report_1", NameCapPilot,NumCapPilots, Frequency_Command)
elseif (genericShipName == "HyperSpace_Platform") then
playSpeechActor("STATUS_VHYPERGATEDAMAGED_REPORT_1", NameSupportPilot, NumSupportPilots, Frequency_Command)
--generic fighter ship damage report
elseif(shipType == Fighter) then
playSpeechActor("CHATTER_StrikeCraftDamaged",NameFighterPilot, NumFighterPilots, Frequency_Command)
--generic capital ship damage report
elseif(shipType == Capital or shipType == Frigate) then
playSpeechActor("STATUS_CapitalShip_Damaged_Report", NameCapPilot,NumCapPilots, Frequency_Command)
end
end
function StatusResources(shipname, actionType)
if (actionType==1) then
playSpeechActor("STATUS_RESOURCEPOCKETEXHAUSTEDGOINGTONEXTPOCKET_1",NameSupportPilot,NumSupportPilots, Frequency_Status)
elseif (actionType==2) then
playSpeechActor("STATUS_RESOURCEPOCKETENEMIESDETECTED_1",NameSupportPilot,NumSupportPilots, Frequency_Status)
elseif (actionType==3) then
playSpeechActor("STATUS_RESOURCEPOCKETEXHAUSTEDGOINGIDLE_1",NameSupportPilot,NumSupportPilots, Frequency_Status)
elseif (actionType==6) then
playSpeechActor("STATUS_RESOURCECOLLECTORIDLE",NameSupportPilot,NumSupportPilots, Frequency_Status)
end
-- This speech has its own chatter event, needing a higher priority filter
-- elseif (actionType==5) then
-- playSpeechActor("STATUS_RESOURCEPOCKETTOOBUSY_1")
--~ elseif (actionType==4) then
--~ playSpeechActor("STATUS_RESOURCECOLLECTORNOMORERUS",NameSupportPilot,NumSupportPilots)
end
-- DEFINED IN TABLE (see Chatter.lua)
--~ function StatusInMineField(shipName)
--~ playSpeechActor("STATUS_GenericGroupInMineField", 30)
--~ end
function StatusCriticallyDamaged(shipName)
print(" *** StatusCriticallyDamaged: "..shipName)
shipnmU = strupper(shipName)
-- checking shipName b/c family(Mothership) returns "CAPITAL"
if (shipnmU == 'HGN_MOTHERSHIP' or shipnmU == 'VGR_MOTHERSHIP' or shipnmU == 'TUR_SHIPYARD' or shipnmU == 'TAI_MOTHERSHIP' or shipnmU == 'BEN_BENTUS' or shipnmU == 'KAD_MOTHERSHIP' or shipnmU == 'KAD_MOTHERSHIPLIGHT' or shipnmU == 'KAD_MOTHERSHIPDARK' or shipnmU == 'KPR_BALCORAGATE' or shipnmU == 'KUS_MOTHERSHIP') then
playSpeechActor("STATUS_MothershipUnderLargeAttack_Report", raceHelper(), 0, Frequency_Command)
return
end
--familyName = getFamily(shipName)
shipType = getType(shipName)
if(shipType == Frigate or shipType == Capital) then
-- can't find in new speech
--playSpeechActor("STATUS_CapitalShipLethallyDamaged_Report", g_default_frequency)
playSpeechActor("STATUS_CapitalShip_Damaged_Report", NameCapPilot,NumCapPilots, Frequency_Command)
end
end
-- DEFINED IN TABLE (see Chatter.lua)
--~ function CommandCloakLowPower(shipName)
--~ playSpeechActor("STATUS_CloakingShipsCloakingPowerLow_Report", 30)
--~ end
-- 1.0 is neutral, the number is friendlyValue / enemyValue so 0->1 is losing, > 1 is winning
function StatusBattleMomentum(momentum)
print("** Battle Momentum Value: "..momentum)
if(momentum > 5.0) then
playSpeechActorLinked( "CHATTER_GenericGroupStartBattleAdvantaged_Report",NameAllPilot,NumAllPilots, Frequency_Status, CE_CHT_ADVRESPONSE)
elseif(momentum > 4.0) then
playSpeechActorLinked( "CHATTER_GenericGroupWinningBattle_Report",NameAllPilot,NumAllPilots, Frequency_Status, CE_CHT_WINRESPONSE)
elseif(momentum > 2.0) then
playSpeechActor("CHATTER_GenericGroupPositiveBattle_Report", NameAllPilot,NumAllPilots, Frequency_Status)
elseif(momentum > 0.125) then
playSpeechActorLinked("CHATTER_GenericGroupStartBattleFair_Report",NameAllPilot,NumAllPilots, Frequency_Status, CE_CHT_FAIRRESPONSE)
elseif(momentum < 0.125) then
-- can't find in new speech
playSpeechActor("STATUS_GenericGroupLosingBadly_Report", NameAllPilot,NumAllPilots, Frequency_Status)
elseif(momentum < 0.25) then
playSpeechActorLinked( "CHATTER_GenericGroupLosingBattle_Report",NameAllPilot,NumAllPilots, Frequency_Status, CE_CHT_LOSERESPONSE)
elseif(momentum < 0.5) then
playSpeechActor("CHATTER_GenericGroupNegativeBattle_Report", NameAllPilot,NumAllPilots, Frequency_Status)
end
end
CLOUD_OrderedToEnterNebula = 0
CLOUD_EnteringNebula = 1
CLOUD_EnteringDustcloud = 2
CLOUD_LostEnemy = 3
CLOUD_TakingDamage = 4
CLOUD_LostEnemyNebula = 5
function StatusCloud(shipname, evtype)
if (evtype == CLOUD_OrderedToEnterNebula) then
playSpeechActor("COMMAND_OrderedToEnterNebula",NameAllPilot,NumAllPilots, Frequency_Status)
elseif (evtype == CLOUD_EnteringNebula) then
if (shipname=="Kpr_Mover") then
return
end
if (strupper(shipname, "PROBE") ~= nil) then
return
end
playSpeechActor("STATUS_Entering_Nebula",NameAllPilot,NumAllPilots, Frequency_Status)
elseif (evtype == CLOUD_EnteringDustcloud) then
playSpeechActor("STATUS_Entering_DustCloud",NameAllPilot,NumAllPilots, Frequency_Status)
elseif (evtype == CLOUD_LostEnemy) then
playSpeechActor("STATUS_Lost_EnemyinDustCloud",NameAllPilot,NumAllPilots, Frequency_Status)
elseif (evtype == CLOUD_TakingDamage) then
if (shipname=="Kpr_Mover") then
return
end
if (strupper(shipname, "PROBE") ~= nil) then
return
end
playSpeechActor("STATUS_TakingDamageFromCloud",NameAllPilot,NumAllPilots, Frequency_Status)
elseif (evtype == CLOUD_LostEnemyNebula) then
playSpeechActor("STATUS_ENEMY_HEADED_TO_NEBULA_01",NameAllPilot,NumAllPilots, Frequency_Status)
end
end
ssMap = {}
ssMap["Battlecruiser"] = {}
ssMap["Carrier"] = {}
ssMap["Shipyard"] = {}
ssMap["MotherShip"] = {}
--~ ssMap["Vgr_Battlecruiser"] = {}
--~ ssMap["Vgr_Carrier"] = {}
--~ ssMap["Vgr_ShipYard"] = {}
--~ ssMap["Vgr_MotherShip"] = {}
ssMap["Battlecruiser"].BATTLECRUISERENGINE = {"STATUS_BATTLECRUISER_EnginesUnderAttack_1","STATUS_BATTLECRUISER_EnginesDamaged_1","STATUS_BATTLECRUISER_EnginesDisabled_1"}
ssMap["Battlecruiser"].C_MODULE_CLOAKGENERATOR = {"STATUS_BATTLECRUISER_CloakGeneratorUnderAttack_1","STATUS_BATTLECRUISER_CloakGeneratorDamaged_1","STATUS_BATTLECRUISER_CloakGeneratorDestroyed_1"}
ssMap["Battlecruiser"].C_MODULE_FIRECONTROL = {"STATUS_BATTLECRUISER_FireControlTowerUnderAttack_1","STATUS_BATTLECRUISER_FireControlTowerDamaged_1","STATUS_BATTLECRUISER_FireControlTowerDestroyed_1"}
ssMap["Battlecruiser"].C_MODULE_HYPERSPACE = {"STATUS_BATTLECRUISER_HyperspaceCoreUnderAttack_1","STATUS_BATTLECRUISER_HyperspaceCoreDamaged_1","STATUS_BATTLECRUISER_HyperspaceCoreDestroyed_1"}
ssMap["Battlecruiser"].C_MODULE_RESEARCH = {"STATUS_BATTLECRUISER_ResearchModuleUnderAttack_1","STATUS_BATTLECRUISER_ResearchModuleDamaged_1","STATUS_BATTLECRUISER_ResearchModuleDestroyed_1"}
ssMap["Carrier"].C_ENGINE = {"STATUS_CARRIER_EnginesUnderAttack_1","STATUS_CARRIER_EnginesDamaged_1","STATUS_CARRIER_EnginesDisabled_1"}
ssMap["Carrier"].C_MODULE_CLOAKGENERATOR = {"STATUS_CARRIER_CloakGeneratorUnderAttack_1","STATUS_CARRIER_CloakGeneratorDamaged_1","STATUS_CARRIER_CloakGeneratorDestroyed_1"}
ssMap["Carrier"].MODULE_CLOAKGENERATOR = {"STATUS_CARRIER_CloakGeneratorUnderAttack_1","STATUS_CARRIER_CloakGeneratorDamaged_1","STATUS_CARRIER_CloakGeneratorDestroyed_1"}
ssMap["Carrier"].C_MODULE_FIRECONTROL = {"STATUS_CARRIER_FireControlTowerUnderAttack_1","STATUS_CARRIER_FireControlTowerDamaged_1","STATUS_CARRIER_FireControlTowerDestroyed_1"}
ssMap["Carrier"].C_MODULE_HYPERSPACE = {"STATUS_CARRIER_HyperspaceCoreUnderAttack_1","STATUS_CARRIER_HyperspaceCoreDamaged_1","STATUS_CARRIER_HyperspaceCoreDestroyed_1"}
ssMap["Carrier"].AC_HYPERSPACE = {"STATUS_CARRIER_HyperspaceCoreUnderAttack_1","STATUS_CARRIER_HyperspaceCoreDamaged_1","STATUS_CARRIER_HyperspaceCoreDestroyed_1"}
ssMap["Carrier"].C_HYPERSPACE = {"STATUS_CARRIER_HyperspaceCoreUnderAttack_1","STATUS_CARRIER_HyperspaceCoreDamaged_1","STATUS_CARRIER_HyperspaceCoreDestroyed_1"}
ssMap["Carrier"].C_MODULE_PLATFORMCONTROL = {"STATUS_CARRIER_PlatformFacilityUnderAttack_1","STATUS_CARRIER_PlatformFacilityDamaged_1","STATUS_CARRIER_PlatformFacilityDestroyed_1"}
ssMap["Carrier"].C_PLATFORMCONTROL = {"STATUS_CARRIER_PlatformFacilityUnderAttack_1","STATUS_CARRIER_PlatformFacilityDamaged_1","STATUS_CARRIER_PlatformFacilityDestroyed_1"}
ssMap["Carrier"].AC_PLATFORMCONTROL = {"STATUS_CARRIER_PlatformFacilityUnderAttack_1","STATUS_CARRIER_PlatformFacilityDamaged_1","STATUS_CARRIER_PlatformFacilityDestroyed_1"}
ssMap["Carrier"].C_MODULE_RESEARCH = {"STATUS_CARRIER_ResearchModuleUnderAttack_1","STATUS_CARRIER_ResearchModuleDamaged_1","STATUS_CARRIER_ResearchModuleDestroyed_1"}
ssMap["Carrier"].C_PRODUCTION_CORVETTE = {"STATUS_CARRIER_CorvetteFacilityUnderAttack_1","STATUS_CARRIER_CorvetteFacilityDamaged_1","STATUS_CARRIER_CorvetteFacilityDestroyed_1"}
ssMap["Carrier"].AC_CORVETTE = {"STATUS_CARRIER_CorvetteFacilityUnderAttack_1","STATUS_CARRIER_CorvetteFacilityDamaged_1","STATUS_CARRIER_CorvetteFacilityDestroyed_1"}
ssMap["Carrier"].C_CORVETTE = {"STATUS_CARRIER_CorvetteFacilityUnderAttack_1","STATUS_CARRIER_CorvetteFacilityDamaged_1","STATUS_CARRIER_CorvetteFacilityDestroyed_1"}
ssMap["Carrier"].C_PRODUCTION_FIGHTER = {"STATUS_CARRIER_FighterFacilityUnderAttack_1","STATUS_CARRIER_FighterFacilityDamaged_1","STATUS_CARRIER_FighterFacilityDestroyed_1"}
ssMap["Carrier"].AC_FIGHTER = {"STATUS_CARRIER_FighterFacilityUnderAttack_1","STATUS_CARRIER_FighterFacilityDamaged_1","STATUS_CARRIER_FighterFacilityDestroyed_1"}
ssMap["Carrier"].C_FIGHTER = {"STATUS_CARRIER_FighterFacilityUnderAttack_1","STATUS_CARRIER_FighterFacilityDamaged_1","STATUS_CARRIER_FighterFacilityDestroyed_1"}
ssMap["Carrier"].C_PRODUCTION_FRIGATE = {"STATUS_CARRIER_FrigateFacilityUnderAttack_1","STATUS_CARRIER_FrigateFacilityDamaged_1","STATUS_CARRIER_FrigateFacilityDestroyed_1"}
ssMap["Carrier"].C_FRIGATE = {"STATUS_CARRIER_FrigateFacilityUnderAttack_1","STATUS_CARRIER_FrigateFacilityDamaged_1","STATUS_CARRIER_FrigateFacilityDestroyed_1"}
ssMap["Carrier"].AC_FRIGATE = {"STATUS_CARRIER_FrigateFacilityUnderAttack_1","STATUS_CARRIER_FrigateFacilityDamaged_1","STATUS_CARRIER_FrigateFacilityDestroyed_1"}
ssMap["Carrier"].C_PRODUCTION_FRIGATEADVANCED = {"STATUS_CARRIER_AdvancedFrigateFacilityUnderAttack_1","STATUS_CARRIER_AdvancedFrigateFacilityDamaged_1","STATUS_CARRIER_AdvancedFrigateFacilityDestroyed_1"}
ssMap["Carrier"].C_SENSORS_ADVANCEDARRAY = {"STATUS_CARRIER_SensorArrayUnderAttack_1","STATUS_CARRIER_SensorArrayDamaged_1","STATUS_CARRIER_SensorArrayDestroyed_1"}
ssMap["Carrier"].C_MULTIBEAM = {"STATUS_CARRIER_MultiBeamModuleUnderAttack_1","STATUS_CARRIER_MultiBeamModuleDamaged_1","STATUS_CARRIER_MultiBeamModuleDestroyed_1"}
ssMap["Carrier"].C_MULTIBEAM_F = {"STATUS_CARRIER_MultiBeamModuleUnderAttack_1","STATUS_CARRIER_MultiBeamModuleDamaged_1","STATUS_CARRIER_MultiBeamModuleDestroyed_1"}
ssMap["Carrier"].C_SUPERSWARMER = {"STATUS_CARRIER_SuperSwarmerModuleUnderAttack_1","STATUS_CARRIER_SuperSwarmerModuleDamaged_1","STATUS_CARRIER_SuperSwarmerModuleDestroyed_1"}
ssMap["Carrier"].C_SUPERSWARMER_F = {"STATUS_CARRIER_SuperSwarmerModuleUnderAttack_1","STATUS_CARRIER_SuperSwarmerModuleDamaged_1","STATUS_CARRIER_SuperSwarmerModuleDestroyed_1"}
ssMap["Carrier"].C_LIQUIDMETAL = {"STATUS_CARRIER_LiquidMetalModuleUnderAttack_1","STATUS_CARRIER_LiquidMetalModuleDamaged_1","STATUS_CARRIER_LiquidMetalModuleDestroyed_1"}
ssMap["Carrier"].C_CLOAK = {"STATUS_CARRIER_EnergyCannonModuleUnderAttack_1","STATUS_CARRIER_EnergyCannonModuleDamaged_1","STATUS_CARRIER_EnergyCannonModuleDestroyed_1"}
ssMap["Shipyard"].MS_MODULE_CLOAKGENERATOR = {"STATUS_SHIPYARD_CloakGeneratorUnderAttack_1","STATUS_SHIPYARD_CloakGeneratorDamaged_1","STATUS_SHIPYARD_CloakGeneratorDestroyed_1"}
ssMap["Shipyard"].MS_MODULE_FIRECONTROL = {"STATUS_SHIPYARD_FireControlTowerUnderAttack_1","STATUS_SHIPYARD_FireControlTowerDamaged_1","STATUS_SHIPYARD_FireControlTowerDestroyed_1"}
ssMap["Shipyard"].MS_MODULE_HYPERSPACE = {"STATUS_SHIPYARD_HyperspaceCoreUnderAttack_1","STATUS_SHIPYARD_HyperspaceCoreDamaged_1","STATUS_SHIPYARD_HyperspaceCoreDestroyed_1"}
ssMap["Shipyard"].AS_HYPERSPACE = {"STATUS_SHIPYARD_HyperspaceCoreUnderAttack_1","STATUS_SHIPYARD_HyperspaceCoreDamaged_1","STATUS_SHIPYARD_HyperspaceCoreDestroyed_1"}
ssMap["Shipyard"].MS_MODULE_RESEARCH = {"STATUS_SHIPYARD_ResearchModuleUnderAttack_1","STATUS_SHIPYARD_ResearchModuleDamaged_1","STATUS_SHIPYARD_ResearchModuleDestroyed_1"}
ssMap["Shipyard"].MS_MODULE_PLATFORMCONTROL = {"STATUS_SHIPYARD_PlatformFacilityUnderAttack_1","STATUS_SHIPYARD_PlatformFacilityDamaged_1","STATUS_SHIPYARD_PlatformFacilityDestroyed_1"}
ssMap["Shipyard"].AS_PLATFORMCONTROL = {"STATUS_SHIPYARD_PlatformFacilityUnderAttack_1","STATUS_SHIPYARD_PlatformFacilityDamaged_1","STATUS_SHIPYARD_PlatformFacilityDestroyed_1"}
ssMap["Shipyard"].MS_PRODUCTION_CORVETTE = {"STATUS_SHIPYARD_CorvetteFacilityUnderAttack_1","STATUS_SHIPYARD_CorvetteFacilityDamaged_1","STATUS_SHIPYARD_CorvetteFacilityDestroyed_1"}
ssMap["Shipyard"].AS_FIGHTER = {"STATUS_SHIPYARD_FighterFacilityUnderAttack_1","STATUS_SHIPYARD_FighterFacilityDamaged_1","STATUS_SHIPYARD_FighterFacilityDestroyed_1"}
ssMap["Shipyard"].AS_CORVETTE = {"STATUS_SHIPYARD_CorvetteFacilityUnderAttack_1","STATUS_SHIPYARD_CorvetteFacilityDamaged_1","STATUS_SHIPYARD_CorvetteFacilityDestroyed_1"}
ssMap["Shipyard"].MS_PRODUCTION_FIGHTER = {"STATUS_SHIPYARD_FighterFacilityUnderAttack_1","STATUS_SHIPYARD_FighterFacilityDamaged_1","STATUS_SHIPYARD_FighterFacilityDestroyed_1"}
ssMap["Shipyard"].MS_PRODUCTION_FRIGATE = {"STATUS_SHIPYARD_FrigateFacilityUnderAttack_1","STATUS_SHIPYARD_FrigateFacilityDamaged_1","STATUS_SHIPYARD_FrigateFacilityDestroyed_1"}
ssMap["Shipyard"].AS_FRIGATE = {"STATUS_SHIPYARD_FrigateFacilityUnderAttack_1","STATUS_SHIPYARD_FrigateFacilityDamaged_1","STATUS_SHIPYARD_FrigateFacilityDestroyed_1"}
ssMap["Shipyard"].MS_PRODUCTION_FRIGATEADVANCED = {"STATUS_SHIPYARD_AdvancedFrigateFacilityUnderAttack_1","STATUS_SHIPYARD_AdvancedFrigateFacilityDamaged_1","STATUS_SHIPYARD_AdvancedFrigateFacilityDestroyed_1"}
ssMap["Shipyard"].SY_INNATE_ENGINE = {"STATUS_SHIPYARD_EnginesUnderAttack_1","STATUS_SHIPYARD_EnginesDamaged_1","STATUS_SHIPYARD_EnginesDisabled_1"}
ssMap["Shipyard"].SY_PRODUCTION_CAPSHIP = {"STATUS_SHIPYARD_CapitalShipFacilityUnderAttack_1","STATUS_SHIPYARD_CapitalShipFacilityDamaged_1","STATUS_SHIPYARD_CapitalShipFacilityDestroyed_1"}
ssMap["Shipyard"].AS_CAPSHIP = {"STATUS_SHIPYARD_CapitalShipFacilityUnderAttack_1","STATUS_SHIPYARD_CapitalShipFacilityDamaged_1","STATUS_SHIPYARD_CapitalShipFacilityDestroyed_1"}
ssMap["MotherShip"].MS_MODULE_CLOAKGENERATOR = {"STATUS_Mothership_CloakGeneratorUnderAttack_1","STATUS_Mothership_CloakGeneratorDamaged_1","STATUS_Mothership_CloakGeneratorDestroyed_1"}
ssMap["MotherShip"].MS_MODULE_FIRECONTROL = {"STATUS_Mothership_FireControlTowerUnderAttack_1","STATUS_Mothership_FireControlTowerDamaged_1","STATUS_Mothership_FireControlTowerDestroyed_1"}
ssMap["MotherShip"].MS_MODULE_HYPERSPACE = {"STATUS_Mothership_HyperspaceCoreUnderAttack_1","STATUS_Mothership_HyperspaceCoreDamaged_1","STATUS_Mothership_HyperspaceCoreDestroyed_1"}
ssMap["MotherShip"].MS_MODULE_RESEARCH = {"STATUS_Mothership_ResearchModuleUnderAttack_1","STATUS_Mothership_ResearchModuleDamaged_1","STATUS_Mothership_ResearchModuleDestroyed_1"}
ssMap["MotherShip"].MS_MODULE_PLATFORMCONTROL = {"STATUS_Mothership_PlatformFacilityUnderAttack_1","STATUS_Mothership_CorvetteFacilityDamaged_1","STATUS_Mothership_PlatformFacilityDestroyed_1"}
ssMap["MotherShip"].MS_PRODUCTION_CORVETTE = {"STATUS_Mothership_CorvetteFacilityUnderAttack_1","STATUS_SHIPYARD_CorvetteFacilityDamaged_1","STATUS_Mothership_CorvetteFacilityDestroyed_1"}
ssMap["MotherShip"].MS_PRODUCTION_FIGHTER = {"STATUS_Mothership_FighterFacilityUnderAttack_1","STATUS_Mothership_FighterFacilityDamaged_1","STATUS_Mothership_FighterFacilityDestroyed_1"}
ssMap["MotherShip"].MS_PRODUCTION_FRIGATE = {"STATUS_Mothership_FrigateFacilityUnderAttack_1","STATUS_SHIPYARD_FrigateFacilityDamaged_1","STATUS_Mothership_FrigateFacilityDestroyed_1"}
ssMap["MotherShip"].MS_PRODUCTION_FRIGATEADVANCED = {"STATUS_Mothership_AdvancedFrigateFacilityUnderAttack_1","STATUS_Mothership_AdvancedFrigateFacilityDamaged_1","STATUS_Mothership_AdvancedFrigateFacilityDestroyed_1"}
ssMap["MotherShip"].MS_INNATE_ENGINE = {"STATUS_Mothership_EnginesUnderAttack_1","STATUS_Mothership_EnginesDamaged_1","STATUS_Mothership_EnginesDisabled_1"}
ssMap["MotherShip"].MS_PRODUCTION_CAPSHIP = {"STATUS_Mothership_CapitalShipFacilityUnderAttack_1","STATUS_Mothership_CapitalShipFacilityDamaged_1","STATUS_Mothership_CapitalShipFacilityDestroyed_1"}
ssMap["MotherShip"].M_CAPSHIP = {"STATUS_Mothership_CapitalShipFacilityUnderAttack_1","STATUS_Mothership_CapitalShipFacilityDamaged_1","STATUS_Mothership_CapitalShipFacilityDestroyed_1"}
ssMap["MotherShip"].MS_SENSORS_ADVANCEDARRAY = {"STATUS_Mothership_SensorArrayUnderAttack_1","STATUS_Mothership_SensorArrayDamaged_1","STATUS_Mothership_SensorArrayDestroyed_1"}
ssMap["MotherShip"].MS_PRODUCTION_CAPSHIPADVANCED = {"STATUS_Mothership_AdvancedCapitalShipFacilityUnderAttack_1","STATUS_Mothership_AdvancedCapitalShipFacilityDamaged_1","STATUS_Mothership_AdvancedCapitalShipFacilityDestroyed_1"}
ssMap["MotherShip"].MS_MODULE_RESEARCHADVANCED = {"STATUS_ARM_UnderAttack_2","STATUS_ARM_Damaged_1","STATUS_ARM_Destroyed_1"}
-- for reference, this is the "event" parameter
UnderAttack = 1
Damaged = 2
Destroyed = 3
Repaired = 4
varyEngineSpeech = 0
function StatusSubsystem(ssname, shipName, event)
--eliminate race
genericShipName = strsub(shipName,5)
genericssname = strsub(ssname,5)
if (genericssname=="MS_INNATE_RESOURCE") then
return
end
-- filter out repetitive engine speech
if (strfind (genericssname, "ENGINE") ~= nil) then
varyEngineSpeech = varyEngineSpeech + 1
if (mod(varyEngineSpeech,3)~=0) then
return
end
end
--_ALERT("*****---- StatusSubsystem : ssname="..ssname..", shipName="..shipName..", event="..event)
if (ssMap[""..genericShipName] ~= nil) and (ssMap[""..genericShipName][""..genericssname] ~= nil and event ~= Repaired) then
if (genericShipName == "Shipyard") then
playSpeechActor(ssMap[""..genericShipName][""..genericssname][event], NameSupportPilot, NumSupportPilots, Frequency_Status)
elseif ((genericShipName == "Carrier")and(Race_ID[currentRace] ~= "Kadesh")) or genericShipName == "Battlecruiser" then
playSpeechActor(ssMap[""..genericShipName][""..genericssname][event], NameCapPilot,NumCapPilots, Frequency_Status)
elseif (genericShipName == "MotherShip")or((genericShipName == "Carrier")and(Race_ID[currentRace] == "Kadesh")) then
playSpeechActor(ssMap[""..genericShipName][""..genericssname][event], raceHelper(), 0, Frequency_Status)
end
--print("*****---- ssMap[genericShipName][genericssname][event] = "..ssMap[""..genericShipName][""..genericssname][event])
return
elseif (event == Repaired) then
if (genericShipName == "Shipyard") then
playSpeechActor("STATUS_SHIPYARD_EnginesRepaired_1", NameSupportPilot, NumSupportPilots, Frequency_Status)
elseif (genericShipName == "Carrier") then
playSpeechActor("STATUS_CARRIER_EnginesRepaired_1", NameCapPilot,NumCapPilots, Frequency_Status)
elseif (genericShipName == "Battlecruiser" and genericssname=="BATTLECRUISERENGINE") then
playSpeechActor("STATUS_BATTLECRUISER_EnginesRepaired_1", NameCapPilot,NumCapPilots, Frequency_Status)
end
return
end
if (event==Destroyed) then
playSpeechActor("STATUS_SubsystemDestroyed_2",raceHelper(),0, Frequency_Status)
end
end
function BattleChatMisc(ssname, parm2, code)
--print(" *** BattleChatMisc: ssname, parm2, code="..ssname","..parm2..","..code)
shipType = getType(ssname)
shipTypeEnemy = getType(parm2)
if (code==1 and shipType==Capital and shipTypeEnemy==Capital) then
playSpeechActor("CHATTER_CapitalShipHitFromBehind",NameCapPilot,NumCapPilots, Frequency_Status)
elseif (code==2 and shipType==Capital and shipTypeEnemy==Capital) then
playSpeechActor("CHATTER_CapitalShipHitFromTopOrBottom",NameCapPilot,NumCapPilots, Frequency_Status)
elseif (code==3 and shipType==Capital) then
playSpeechActor("CHATTER_OneManStanding_Report",NameCapPilot,NumCapPilots, Frequency_Status)
elseif ( (code==1 or code==2) and shipType==Capital and shipTypeEnemy==Fighter) then
playSpeechActor("CHATTER_FIGHTERCHASED_REPORT",NameFighterPilot, NumFighterPilots, Frequency_Status)
end
end
function StatusBuildAvailable(shipName)
print("build available")
familyName = getFamily(shipName)
shipType = getType(shipName)
if(shipName == "") then
print("generic build available "..shipName.." "..familyName)
playSpeechActor("STATUS_BuildAvaliable_1",raceHelper(),0, Frequency_Status)
elseif (shipType == Resource) then
print("utility build available "..shipName.." "..familyName)
playSpeechActor("STATUS_BuildUtilityAvaliable_1",raceHelper(),0, Frequency_Status)
elseif(shipType == Fighter) then
print("strike craft build available "..shipName.." "..familyName)
playSpeechActor("STATUS_BuildStrikeAvaliable_1",raceHelper(),0, Frequency_Status)
elseif(shipType ==Corvette) then
print("corvette build available "..shipName.." "..familyName)
playSpeechActor("STATUS_BuildCorvetteAvaliable_1",raceHelper(),0, Frequency_Status)
elseif(shipType == Frigate) then
print("frigate build available "..shipName.." "..familyName)
playSpeechActor("STATUS_BuildFrigateAvaliable_1",raceHelper(),0, Frequency_Status)
elseif(shipType == Capital) then
print("capital build available "..shipName.." "..familyName)
playSpeechActor("STATUS_BuildCapitalAvaliable_1",raceHelper(),0, Frequency_Status)
elseif(shipType == Platform) then
print("platform build available "..shipName.." "..familyName)
playSpeechActor("STATUS_BuildPlatformAvaliable_1",raceHelper(),0, Frequency_Status)
elseif(shipName == "RESEARCH") then
print("research build available "..shipName.." "..familyName)
playSpeechActor("STATUS_ReseachModAvaliable",raceHelper(),0, Frequency_Status)
elseif(shipName == "ADVANCEDRESEARCH") then
print("advresearch build available "..shipName.." "..familyName)
playSpeechActor("STATUS_AdvReseachModAvaliable",raceHelper(),0, Frequency_Status)
else
print("generic build available "..shipName.." "..familyName)
playSpeechActor("STATUS_BuildAvaliable_1",raceHelper(),0, Frequency_Status)
end
end
function StatusHyperspaceExit(shipName)
genericshipnm = strsub(shipName,5)
shipnmU = strupper(shipName)
-- checking shipName b/c family(Mothership) returns "CAPITAL"
if (shipnmU == 'HGN_MOTHERSHIP' or shipnmU == 'VGR_MOTHERSHIP' or shipnmU == 'TUR_SHIPYARD' or shipnmU == 'TAI_MOTHERSHIP' or shipnmU == 'BEN_BENTUS' or shipnmU == 'KAD_MOTHERSHIP' or shipnmU == 'KAD_MOTHERSHIPLIGHT' or shipnmU == 'KAD_MOTHERSHIPDARK' or shipnmU == 'KPR_BALCORAGATE' or shipnmU == 'KUS_MOTHERSHIP') then
playSpeechActor("STATUS_HyperspaceComplete_1", raceHelper(), 0, Frequency_Command )
else
playSpeechActor("STATUS_HS_EXIT", NameCapPilot, NumCapPilots, Frequency_Command )
end
end
function StatusResearchComplete(temp)
playSpeechActor("STATUS_RESEARCHCOMPLETE_1", raceHelper(), 0, Frequency_Status)
end
function StatusHyperspaceInterrupted(temp)
playSpeechActor("STATUS_HyperspaceInterupted_1",raceHelper(),0, Frequency_Status)
end
function StatusResearchAvailable(temp)
playSpeechActor("STATUS_ResearchAvaliable_1",raceHelper(),0, Frequency_Status)
end
function StatusResearchNoRUs(temp)
playSpeechActor("STATUS_ResearchNoRUs_1",raceHelper(),0, Frequency_Status)
end
function StatusUpgradeComplete(temp)
playSpeechActor("STATUS_UpgradeComplete_1",raceHelper(),0, Frequency_Status)
end
function StatusUpgradeAvailable(temp)
playSpeechActor("STATUS_UpgradeAvaliable_1",raceHelper(),0, Frequency_Status)
end
function StatusUpdgradeNoRUs(temp)
playSpeechActor("STATUS_UpgradeNoRUs_1",raceHelper(),0, Frequency_Status)
end
function StatusBuildNoRUs(temp)
playSpeechActor("STATUS_BuildNoRUs_1",raceHelper(),0, Frequency_Status)
end
|
LinkLuaModifier("modifier_stille_cast", "heroes/hero_kim/kim_stille", LUA_MODIFIER_MOTION_NONE)
kim_stille = class({})
--thanks dota imba for the tutorial luv u mwah hehe xd
function kim_stille:GetAbilityTextureName()
return "kim_stille"
end
function kim_stille:OnSpellStart()
local caster = self:GetCaster()
caster:AddNewModifier(caster, self, "modifier_stille_cast", {})
end
function kim_stille:OnAbilityPhaseStart()
self:GetCaster():StartGesture(ACT_DOTA_CAST_ABILITY_1)
return true
end
modifier_stille_cast = class ({})
function modifier_stille_cast:GetAttributes() return MODIFIER_ATTRIBUTE_MULTIPLE end
function modifier_stille_cast:IsPurgable() return false end
function modifier_stille_cast:IsHidden() return true end
function modifier_stille_cast:IgnoreTenacity() return true end
function modifier_stille_cast:IsMotionController() return true end
function modifier_stille_cast:GetMotionControllerPriority() return DOTA_MOTION_CONTROLLER_PRIORITY_MEDIUM end
function modifier_stille_cast:CheckState()
if IsServer() then
local state = { [MODIFIER_STATE_STUNNED] = true,
[MODIFIER_STATE_INVULNERABLE] = true,
[MODIFIER_STATE_NO_UNIT_COLLISION] = true, }
return state
end
end
function modifier_stille_cast:OnCreated()
if not IsServer() then return end
local caster = self:GetCaster()
local ability = self:GetAbility()
caster:EmitSound("kim_stille")
local max_distance = ability:GetSpecialValueFor("range") + GetCastRangeIncrease(caster)
print(max_distance)
local distance = (caster:GetAbsOrigin() - caster:GetCursorPosition() ):Length2D()
if distance > max_distance then distance = max_distance end
self.direction = ( caster:GetCursorPosition() - caster:GetAbsOrigin() ):Normalized()
self.velocity = ability:GetSpecialValueFor("velocity")
self.distance_traveled = 0
self.distance = distance
self.frametime = FrameTime()
self:StartIntervalThink(self.frametime)
end
function modifier_stille_cast:OnIntervalThink()
if IsServer() then
if not self:CheckMotionControllers() then
self:Destroy()
return nil
end
self:HorizontalMotion(self:GetParent(), self.frametime)
end
end
function modifier_stille_cast:HorizontalMotion(me, dt)
if IsServer() then
local caster = self:GetCaster()
if self.distance_traveled < self.distance then
caster:SetAbsOrigin(caster:GetAbsOrigin() + self.direction * self.velocity * dt)
self.distance_traveled = self.distance_traveled + self.velocity * dt
else
local ability = self:GetAbility()
local ability_level = ability:GetLevel() - 1
local target_teams = DOTA_UNIT_TARGET_TEAM_ENEMY
local target_types = DOTA_UNIT_TARGET_ALL
local target_flags = DOTA_UNIT_TARGET_FLAG_NONE
local radius = ability:GetLevelSpecialValueFor("radius", ability_level)
local duration = ability:GetSpecialValueFor("duration")
local units = FindUnitsInRadius(caster:GetTeamNumber(), caster:GetAbsOrigin(), nil, radius, target_teams, target_types, target_flags, FIND_CLOSEST, false)
for _, enemy in pairs(units) do
ApplyDamage({victim = enemy, attacker = caster, damage = ability:GetLevelSpecialValueFor("dmg", ability_level), damage_type = ability:GetAbilityDamageType()})
enemy:AddNewModifier(caster, ability, "modifier_stille_silence", {duration = duration})
end
self:Destroy()
end
end
end
function modifier_stille_cast:OnRemoved()
if IsServer() then
local caster = self:GetCaster()
Timers:CreateTimer(0.1, function()
-- Stop the casting animation and remove caster modifier
caster:FadeGesture(ACT_DOTA_CAST_ABILITY_1)
end)
end
end
LinkLuaModifier("modifier_stille_silence", "heroes/hero_kim/kim_stille", LUA_MODIFIER_MOTION_NONE)
modifier_stille_silence = class({})
function modifier_stille_silence:GetEffectName()
return "particles/generic_gameplay/generic_silenced.vpcf"
end
function modifier_stille_silence:CheckState()
local state = {[MODIFIER_STATE_SILENCED] = true}
return state
end
function modifier_stille_silence:GetEffectAttachType()
return PATTACH_OVERHEAD_FOLLOW
end
|
parseManager:define{
print=function(self,...)
print(...)
end,
error=function(self,msg)
self:pushError(msg,"\2")
end,
QUIT=function()
os.exit()
end,
JUMP=function(self,block)
if self.chunks[block] then
self.chunks[block].pos=1
self.currentChunk=self.chunks[block]
else
self:pushError("Attempt to jump to a non existing block:","\2")
end
end,
SKIP=function(self,n)
if type(n)~="number" then self:pushError("Number expected got: "..type(n),"SKIP( ? )") end
self.currentChunk.pos=self.currentChunk.pos+n
end,
GOTO=function(self,label)
if self.currentChunk.labels[label] then
self.currentChunk.pos=self.currentChunk.labels[label]
else
self:pushError("Attempt to goto a non existing label:","\2")
end
end,
GOTOE=function(self,label)
local chunks=self.chunks
for i,v in pairs(chunks) do
if chunks[i].labels[label] then
self.currentChunk=chunks[i]
self.currentChunk.pos=chunks[i].labels[label]
return
end
end
self:pushError("Attempt to goto a non existing label:","\2")
end,
ADD=function(self,a,b)
if type(self.lastCall)=="number" and type(a)=="number" then
return self.lastCall+a
elseif type(a)=="number" and type(b)=="number" then
return a+b
else
self:pushError("Invalid Arguments!","ADD("..tostring(a)..","..tostring(b)..")")
end
end,
SUB=function(self,a,b)
if type(self.lastCall)=="number" and type(a)=="number" then
return self.lastCall-a
elseif type(a)=="number" and type(b)=="number" then
return a-b
else
self:pushError("Invalid Arguments!","SUB("..tostring(a)..","..tostring(b)..")")
end
end,
MUL=function(self,a,b)
if type(self.lastCall)=="number" and type(a)=="number" then
return self.lastCall*a
elseif type(a)=="number" and type(b)=="number" then
return a*b
else
self:pushError("Invalid Arguments!","MUL("..tostring(a)..","..tostring(b)..")")
end
end,
DIV=function(self,a,b)
if type(self.lastCall)=="number" and type(a)=="number" then
return self.lastCall/a
elseif type(a)=="number" and type(b)=="number" then
return a/b
else
self:pushError("Invalid Arguments!","DIV("..tostring(a)..","..tostring(b)..")")
end
end,
POW=function(self,a,b)
if type(self.lastCall)=="number" and type(a)=="number" then
return self.lastCall^a
elseif type(a)=="number" and type(b)=="number" then
return a^b
else
self:pushError("Invalid Arguments!","POW("..tostring(a)..","..tostring(b)..")")
end
end,
sqrt=function(self,a)
if type(self.lastCall)=="number" then
return math.sqrt(self.lastCall)
elseif type(a)=="number" then
return math.sqrt(a)
else
self:pushError("Invalid Arguments!","\2")
end
end,
cos=function(self,a)
if type(self.lastCall)=="number" then
return math.cos(self.lastCall)
elseif type(a)=="number" then
return math.cos(a)
else
self:pushError("Invalid Arguments!","\2")
end
end,
sin=function(self,a)
if type(self.lastCall)=="number" then
return math.sin(self.lastCall)
elseif type(a)=="number" then
return math.sin(a)
else
self:pushError("Invalid Arguments!","\2")
end
end,
tan=function(self,a)
if type(self.lastCall)=="number" then
return math.tan(self.lastCall)
elseif type(a)=="number" then
return math.tan(a)
else
self:pushError("Invalid Arguments!","\2")
end
end,
log=function(self,a)
if type(self.lastCall)=="number" then
return math.log(self.lastCall)
elseif type(a)=="number" then
return math.log(a)
else
self:pushError("Invalid Arguments!","\2")
end
end,
acos=function(self,a)
if type(self.lastCall)=="number" then
return math.acos(self.lastCall)
elseif type(a)=="number" then
return math.acos(a)
else
self:pushError("Invalid Arguments!","\2")
end
end,
tanh=function(self,a)
if type(self.lastCall)=="number" then
return math.tanh(self.lastCall)
elseif type(a)=="number" then
return math.tanh(a)
else
self:pushError("Invalid Arguments!","\2")
end
end,
deg=function(self,a)
if type(self.lastCall)=="number" then
return math.deg(self.lastCall)
elseif type(a)=="number" then
return math.deg(a)
else
self:pushError("Invalid Arguments!","\2")
end
end,
cosh=function(self,a)
if type(self.lastCall)=="number" then
return math.cosh(self.lastCall)
elseif type(a)=="number" then
return math.cosh(a)
else
self:pushError("Invalid Arguments!","\2")
end
end,
sinh=function(self,a)
if type(self.lastCall)=="number" then
return math.sinh(self.lastCall)
elseif type(a)=="number" then
return math.sinh(a)
else
self:pushError("Invalid Arguments!","\2")
end
end,
randomseed=function(self,a)
if type(self.lastCall)=="number" then
return math.randomseed(self.lastCall)
elseif type(a)=="number" then
return math.randomseed(a)
else
self:pushError("Invalid Arguments!","\2")
end
end,
ceil=function(self,a)
if type(self.lastCall)=="number" then
return math.ceil(self.lastCall)
elseif type(a)=="number" then
return math.ceil(a)
else
self:pushError("Invalid Arguments!","\2")
end
end,
floor=function(self,a)
if type(self.lastCall)=="number" then
return math.floor(self.lastCall)
elseif type(a)=="number" then
return math.floor(a)
else
self:pushError("Invalid Arguments!","\2")
end
end,
rad=function(self,a)
if type(self.lastCall)=="number" then
return math.rad(self.lastCall)
elseif type(a)=="number" then
return math.rad(a)
else
self:pushError("Invalid Arguments!","\2")
end
end,
abs=function(self,a)
if type(self.lastCall)=="number" then
return math.abs(self.lastCall)
elseif type(a)=="number" then
return math.abs(a)
else
self:pushError("Invalid Arguments!","\2")
end
end,
asin=function(self,a)
if type(self.lastCall)=="number" then
return math.asin(self.lastCall)
elseif type(a)=="number" then
return math.asin(a)
else
self:pushError("Invalid Arguments!","\2")
end
end,
log10=function(self,a)
if type(self.lastCall)=="number" then
return math.log10(self.lastCall)
elseif type(a)=="number" then
return math.log10(a)
else
self:pushError("Invalid Arguments!","\2")
end
end,
atan2=function(self,a)
if type(self.lastCall)=="number" then
return math.atan2(self.lastCall)
elseif type(a)=="number" then
return math.atan2(a)
else
self:pushError("Invalid Arguments!","\2")
end
end,
exp=function(self,a)
if type(self.lastCall)=="number" then
return math.exp(self.lastCall)
elseif type(a)=="number" then
return math.exp(a)
else
self:pushError("Invalid Arguments!","\2")
end
end,
atan=function(self,a)
if type(self.lastCall)=="number" then
return math.atan(self.lastCall)
elseif type(a)=="number" then
return math.atan(a)
else
self:pushError("Invalid Arguments!","\2")
end
end,
max=function(self,a,b)
if type(self.lastCall)=="number" and type(a)=="number" then
return max(self.lastCall,a)
elseif type(a)=="number" and type(b)=="number" then
return max(a,b)
else
self:pushError("Invalid Arguments!","\2")
end
end,
mod=function(self,a,b)
if type(self.lastCall)=="number" and type(a)=="number" then
return mod(self.lastCall,a)
elseif type(a)=="number" and type(b)=="number" then
return mod(a,b)
else
self:pushError("Invalid Arguments!","\2")
end
end,
COMPARE=function(self,v1,v2,sym)
if sym==nil then self:pushError("Unexpected Error has occured!",":(") end
if sym=="==" then
if v1==v2 then return 1 else return 0 end
elseif sym==">=" then
if v1>=v2 then return 1 else return 0 end
elseif sym=="<=" then
if v1<=v2 then return 1 else return 0 end
elseif sym==">" then
if v1>v2 then return 1 else return 0 end
elseif sym=="<" then
if v1<v2 then return 1 else return 0 end
elseif sym=="~=" or sym=="!=" then
if v1~=v2 then return 1 else return 0 end
else
self:pushError("Invalid Symbol!",sym)
end
end,
CSIM=function(self,i)
if i==0 then
self.methods.SKIP(self,1)
end
end,
print=function(self,...)
print(...)
end
}
|
local util = require("tests.test_util")
describe("treesitter python", function()
it("parses all symbols correctly", function()
util.test_file_symbols("treesitter", "./tests/treesitter/python_test.py", {
{
kind = "Function",
name = "fn_1",
level = 0,
lnum = 1,
col = 0,
},
{
kind = "Class",
name = "cl_1",
level = 0,
lnum = 5,
col = 0,
children = {
{
kind = "Function",
name = "meth_1",
level = 1,
lnum = 6,
col = 4,
},
},
},
})
end)
end)
|
Global("g_myAvatarID", nil)
local m_players = {}
local function CreatePlayerSubInfo(anID, aSubClass)
local playerSubClassInfo = copyTable(aSubClass)
playerSubClassInfo:Init(anID)
return playerSubClassInfo
end
local function FabricMakePlayerInfoForGroupBuff(anID, aListeners, aNeedSpells)
if not isExist(anID) then
return
end
local player = m_players[anID] or {}
if not player.buffs then
player.buffs = CreatePlayerSubInfo(anID, PlayerBuffs)
end
player.buffs:SubscribeBuffPlateGui(aListeners)
if aNeedSpells then
if not player.spells then
player.spells = CreatePlayerSubInfo(anID, PlayerSpells)
end
player.spells:SubscribeBuffPlateGui(aListeners)
end
m_players[anID] = player
end
local function FabricMakePlayerInfoForAboveHead(anID, aListener)
if not isExist(anID) then
return
end
local player = m_players[anID] or {}
if not player.buffs then
player.buffs = CreatePlayerSubInfo(anID, PlayerBuffs)
end
player.buffs:SubscribeAboveHeadGui(aListener)
m_players[anID] = player
end
local function FabricMakePlayerInfo(anID, aListener, anIsRaidInfo)
if not isExist(anID) then
return
end
local player = m_players[anID] or {}
local profile = GetCurrentProfile()
local settings = profile.raidFormSettings
if not anIsRaidInfo then
settings = profile.targeterFormSettings
end
if not player.hp then
player.hp = CreatePlayerSubInfo(anID, PlayerHP)
end
if anIsRaidInfo then
player.hp:SubscribeRaidGui(aListener)
else
player.hp:SubscribeTargetGui(aListener)
end
if settings.woundsShowButton then
if not player.wounds then
player.wounds = CreatePlayerSubInfo(anID, PlayerWounds)
end
if anIsRaidInfo then
player.wounds:SubscribeRaidGui(aListener)
else
player.wounds:SubscribeTargetGui(aListener)
end
end
if anIsRaidInfo then
if not player.afk then
player.afk = CreatePlayerSubInfo(anID, PlayerAFK)
end
if anIsRaidInfo then
player.afk:SubscribeRaidGui(aListener)
else
--player.afk:SubscribeTargetGui(aListener)
end
end
if not player.dead then
player.dead = CreatePlayerSubInfo(anID, PlayerDead)
end
if anIsRaidInfo then
player.dead:SubscribeRaidGui(aListener)
else
player.dead:SubscribeTargetGui(aListener)
end
if not player.canSelect then
player.canSelect = CreatePlayerSubInfo(anID, PlayerCanSelect)
end
if anIsRaidInfo then
player.canSelect:SubscribeRaidGui(aListener)
else
player.canSelect:SubscribeTargetGui(aListener)
end
if settings.showManaButton then
if not player.mana then
player.mana = CreatePlayerSubInfo(anID, PlayerMana)
end
if anIsRaidInfo then
player.mana:SubscribeRaidGui(aListener)
else
player.mana:SubscribeTargetGui(aListener)
end
end
if anIsRaidInfo then
if (settings.showDistanceButton or settings.showArrowButton or settings.distanceText ~= "0") and anID ~= avatar.GetId() then
if not player.distance then
player.distance = CreatePlayerSubInfo(anID, PlayerDistance)
end
player.distance:SubscribeRaidGui(aListener)
end
end
if not player.buffs then
player.buffs = CreatePlayerSubInfo(anID, PlayerBuffs)
end
if anIsRaidInfo then
player.buffs:SubscribeRaidGui(aListener)
else
player.buffs:SubscribeTargetGui(aListener)
end
m_players[anID] = player
end
function FabricMakeRaidPlayerInfo(anID, aListener)
FabricMakePlayerInfo(anID, aListener, true)
end
function FabricMakeTargetPlayerInfo(anID, aListener)
FabricMakePlayerInfo(anID, aListener, false)
end
function FabricMakeAboveHeadPlayerInfo(anID, aListener)
FabricMakePlayerInfoForAboveHead(anID, aListener)
end
function FabricMakeGroupBuffPlayerInfo(anID, aListeners, aNeedSpells)
FabricMakePlayerInfoForGroupBuff(anID, aListeners, aNeedSpells)
end
function FabricClearAll()
UnsubscribeRaidListeners()
UnsubscribeTargetListener()
UnsubscribeGroupBuffListeners()
UnsubscribeAboveHeadListeners()
FabricDestroyUnused()
end
function UnsubscribeAboveHeadListeners(anID)
for playerID, player in pairs(m_players) do
if not anID or playerID == anID then
for _, playerInfo in pairs(player) do
if playerInfo.UnsubscribeAboveHeadGui then
playerInfo:UnsubscribeAboveHeadGui()
end
end
end
end
end
function UnsubscribeGroupBuffListeners(anID)
for playerID, player in pairs(m_players) do
if not anID or playerID == anID then
for _, playerInfo in pairs(player) do
if playerInfo.UnsubscribeBuffPlateGui then
playerInfo:UnsubscribeBuffPlateGui()
end
end
end
end
end
function UnsubscribeRaidListeners(anID)
for playerID, player in pairs(m_players) do
if not anID or playerID == anID then
for _, playerInfo in pairs(player) do
playerInfo:UnsubscribeRaidGui()
end
end
end
end
function UnsubscribeTargetListener(anID)
for playerID, player in pairs(m_players) do
if not anID or playerID == anID then
for _, playerInfo in pairs(player) do
playerInfo:UnsubscribeTargetGui()
end
end
end
end
function FabricDestroyUnused()
for playerID, player in pairs(m_players) do
local playerObjAlive = false
for playerInfoIndex, playerInfo in pairs(player) do
if playerInfo:TryDestroy() then
player[playerInfoIndex] = nil
else
playerObjAlive = true
end
end
if not playerObjAlive then
m_players[playerID] = nil
end
end
end
function UpdateFabric()
for playerID, player in pairs(m_players) do
if isExist(playerID) then
for _, playerInfo in pairs(player) do
playerInfo:UpdateValueIfNeeded()
end
end
end
end
local tick = 0
function FabicLogInfo()
if not g_debugSubsrb then
return
end
if tick == 20 then
LogInfo("FabicLogInfo begin")
for n, v in pairs(g_regCnt) do
LogInfo("FabicLogInfo n = ", n, " cnt = ", v, " s = ", GetTableSize(m_players))
end
LogInfo("FabicLogInfo end")
tick = 0
end
tick = tick + 1
end
function BuffsChanged(aParams)
for objId, buffs in pairs( aParams.objects ) do
if m_players[objId] then
for buffId, active in pairs( buffs ) do
if active then
m_players[objId].buffs.changeEventFunc(buffId)
end
end
end
end
end
function AfkChanged(aParams)
if aParams.id then
local playerInfo = m_players[aParams.id]
if playerInfo and playerInfo.afk then
playerInfo.afk.eventFunc(aParams)
end
end
end
function UnitDead(aParams)
if aParams.unitId then
local playerInfo = m_players[aParams.unitId]
if playerInfo and playerInfo.dead then
playerInfo.dead.eventFunc(aParams)
end
end
end
function WoundsChanged(aParams)
if aParams.unitId then
local playerInfo = m_players[aParams.unitId]
if playerInfo and playerInfo.wounds then
playerInfo.wounds.eventFunc(aParams)
end
end
end
|
local pairwise_utils = require 'pairwise_transform_utils'
local gm = require 'graphicsmagick'
local iproc = require 'iproc'
local pairwise_transform = {}
function pairwise_transform.jpeg_(src, quality, size, offset, n, options)
local unstable_region_offset = 8
local y = pairwise_utils.preprocess(src, size, options)
local x = y
local factors
if torch.uniform() < options.jpeg_chroma_subsampling_rate then
-- YUV 420
factors = {2.0, 1.0, 1.0}
else
-- YUV 444
factors = {1.0, 1.0, 1.0}
end
for i = 1, #quality do
x = gm.Image(x, "RGB", "DHW")
local blob, len = x:format("jpeg"):depth(8):samplingFactors(factors):toBlob(quality[i])
x:fromBlob(blob, len)
x = x:toTensor("byte", "RGB", "DHW")
end
x = iproc.crop(x, unstable_region_offset, unstable_region_offset,
x:size(3) - unstable_region_offset, x:size(2) - unstable_region_offset)
y = iproc.crop(y, unstable_region_offset, unstable_region_offset,
y:size(3) - unstable_region_offset, y:size(2) - unstable_region_offset)
assert(x:size(2) % 4 == 0 and x:size(3) % 4 == 0)
assert(x:size(1) == y:size(1) and x:size(2) == y:size(2) and x:size(3) == y:size(3))
local batch = {}
local lowres_y = gm.Image(y, "RGB", "DHW"):
size(y:size(3) * 0.5, y:size(2) * 0.5, "Box"):
size(y:size(3), y:size(2), "Box"):
toTensor(t, "RGB", "DHW")
local xs, ys, ls = pairwise_utils.flip_augmentation(x, y, lowres_y)
for i = 1, n do
local t = (i % #xs) + 1
local xc, yc = pairwise_utils.active_cropping(xs[t], ys[t], ls[t], size, 1,
options.active_cropping_rate,
options.active_cropping_tries)
xc = iproc.byte2float(xc)
yc = iproc.byte2float(yc)
if options.rgb then
else
yc = image.rgb2yuv(yc)[1]:reshape(1, yc:size(2), yc:size(3))
xc = image.rgb2yuv(xc)[1]:reshape(1, xc:size(2), xc:size(3))
end
if torch.uniform() < options.nr_rate then
-- reducing noise
table.insert(batch, {xc, iproc.crop(yc, offset, offset, size - offset, size - offset)})
else
-- ratain useful details
table.insert(batch, {yc, iproc.crop(yc, offset, offset, size - offset, size - offset)})
end
end
return batch
end
function pairwise_transform.jpeg(src, style, level, size, offset, n, options)
if style == "art" then
if level == 0 then
return pairwise_transform.jpeg_(src, {torch.random(85, 95)},
size, offset, n, options)
elseif level == 1 then
return pairwise_transform.jpeg_(src, {torch.random(65, 85)},
size, offset, n, options)
elseif level == 2 or level == 3 then
-- level 2/3 adjusting by -nr_rate. for level3, -nr_rate=1
local r = torch.uniform()
if r > 0.4 then
return pairwise_transform.jpeg_(src, {torch.random(27, 70)},
size, offset, n, options)
elseif r > 0.1 then
local quality1 = torch.random(37, 70)
local quality2 = quality1 - torch.random(5, 10)
return pairwise_transform.jpeg_(src, {quality1, quality2},
size, offset, n, options)
else
local quality1 = torch.random(52, 70)
local quality2 = quality1 - torch.random(5, 15)
local quality3 = quality1 - torch.random(15, 25)
return pairwise_transform.jpeg_(src,
{quality1, quality2, quality3},
size, offset, n, options)
end
else
error("unknown noise level: " .. level)
end
elseif style == "photo" then
if level == 0 then
return pairwise_transform.jpeg_(src, {torch.random(85, 95)},
size, offset, n,
options)
else
return pairwise_transform.jpeg_(src, {torch.random(37, 70)},
size, offset, n,
options)
end
else
error("unknown style: " .. style)
end
end
function pairwise_transform.test_jpeg(src)
torch.setdefaulttensortype("torch.FloatTensor")
local options = {random_color_noise_rate = 0.5,
random_half_rate = 0.5,
random_overlay_rate = 0.5,
random_unsharp_mask_rate = 0.5,
jpeg_chroma_subsampling_rate = 0.5,
nr_rate = 1.0,
active_cropping_rate = 0.5,
active_cropping_tries = 10,
max_size = 256,
rgb = true
}
local image = require 'image'
local src = image.lena()
for i = 1, 9 do
local xy = pairwise_transform.jpeg(src,
"art",
torch.random(1, 2),
128, 7, 1, options)
image.display({image = xy[1][1], legend = "y:" .. (i * 10), min=0, max=1})
image.display({image = xy[1][2], legend = "x:" .. (i * 10), min=0, max=1})
end
end
return pairwise_transform
|
--[[
* ReaScript Name: CC to Program Change - Channel 3
* Description: Converts CC value (based on action binding) to Program Change (bank 32) on channel 3.
If MIDI editor is open and step input enabled, will insert Program Change event at cursor.
Best used for articulation switching.
* Author: Jason Tackaberry (tack)
* Licence: Public Domain
* Extensions: None
* Version: 1.0
--]]
-- Setup package path to allow importing other scripts
sep = package.config:sub(1, 1)
script = debug.getinfo(1, 'S').source:sub(2, -5)
package.path = package.path .. ";" .. script:match("(.*" .. sep .. ")") .. ".." .. sep .. "?.lua"
require "MIDI.tack_Functions"
_, _, _, _, _, _, val = reaper.get_action_context()
inject_program_change(3, 32, 0, val)
|
local LuaRegistry = {}
local remove = os.remove
local function shellExecute(cmd)
local outfile, errfile = os.tmpname(), os.tmpname()
remove(outfile)
remove(errfile)
outfile = os.getenv("TEMP") .. outfile
errfile = os.getenv("TEMP") .. errfile
cmd = cmd .. ' >"' .. outfile.. '" 2>"' .. errfile .. '"'
local success, retcode = os.execute(cmd)
local outcontent, errcontent
local fh = io.open(outfile)
if fh then
outcontent = fh:read("*a")
fh:close()
end
remove(outfile)
fh = io.open(errfile)
if fh then
errcontent = fh:read("*a")
fh:close()
end
remove(errfile)
return success, retcode, (outcontent or ""), (errcontent or "")
end
local function split(str, pat)
local result, regex = {}, ("([^%s]+)"):format(pat)
for each in str:gmatch(regex) do
table.insert(result, each)
end
return result
end
local function wrapString(str)
assert(type(str) == "string", "Expected string, got " .. type(str))
return ('"%s"'):format(str)
end
local function parseQuery(output, i)
assert(type(output) == "string" or type(output) == "table", "Expected string or table, got " .. type(output))
local lines = type(output) == "string" and split(output, "\n") or output
i = i or 1
local result = {values = {}, keys = {}}
while i <= #lines do
if lines[i] ~= "" then
if result.key then
if lines[i]:sub(1, 1) == " " then
local n, t, v = lines[i]:match("^%s%s%s%s(.+)%s%s%s%s(REG_.+)%s%(%d%d?%)%s%s%s%s(.*)$") -- :face_with_raised_eyebrow: when u dont know shet about regex
result.values[n] = { ["type"] = t, value = v, name = n}
elseif lines[i]:find(result.key, 1, true) == 1 then
local name = lines[i]:sub(#result.key + 2, -1)
local skey
skey, i = parseQuery(lines, i)
result.keys[name] = skey
else
return result, i - 1
end
else
result.key = lines[i]
end
else
if result.key then
while lines[i] == "" and i <= #lines do
i = i + 1
end
if lines[i] then
if lines[i]:find(result.key, 1, true) ~= 1 then
return result, i
end
else
i = i - 1
end
end
end
i = i + 1
end
return result.key and result, i or nil
end
function LuaRegistry.getKey(key, recursive)
assert(type(key) == "string", "String expected, got " .. type(key))
local options = " /z"
if recursive then
options = options .. " /s"
end
local success, ec, out, err = shellExecute("reg.exe query " .. wrapString(key) .. options)
if not success then
return nil, split(err, "\n")[1]
else
local result = parseQuery(out)
if not recursive then
for _, v in next, result.keys do
v.keys = nil
v.values = nil
end
end
return result
end
end
function LuaRegistry.createKey(key)
local success, ec, out, err = shellExecute("reg.exe add " .. wrapString(key) .. " /f")
if not success then
return nil, split(err, "\n")[1]
else
return true
end
end
function LuaRegistry.deleteKey(key)
local success, ec, out, err = shellExecute("reg.exe delete " .. wrapString(key) .. " /f")
if not success then
if not LuaRegistry.getKey(key) then
return true
end
return nil, split(err, "\n")[1]
else
return true
end
end
function LuaRegistry.writeValue(key, name, vtype, value)
local command
if name == "(Default)" or not name then
command = ("reg.exe add %s /ve /t %s /d %s /f"):format(wrapString(key), vtype, wrapString(value))
else
command = ("reg.exe add %s /v %s /t %s /d %s /f"):format(wrapString(key), wrapString(name), vtype, wrapString(value))
end
local success, ec, out, err = shellExecute(command)
if not success then
return nil, split(err, "\n")[1]
else
return true
end
end
function LuaRegistry.deleteValue(key, name)
local command
if name == "(Default)" or not name then
command = ("reg.exe delete %s /ve /f"):format(wrapString(key))
else
command = ("reg.exe delete %s /v %s /f"):format(wrapString(key), wrapString(name))
end
local success, ec, out, err = shellExecute(command)
if not success then
if not LuaRegistry.getValue(key, name) then
return true
end
return nil, split(err, "\n")[1]
else
return true
end
end
function LuaRegistry.getValue(key, name)
local keyt = LuaRegistry.getKey(key)
if keyt then
local keytName = keyt[name]
if keytName then
return keytName.value, keytName.type
end
end
return nil
end
LuaRegistry.shellExecute = shellExecute
return LuaRegistry
|
return {
textNode = 1,
insertNode = 2,
functionNode = 3,
snippetNode = 4,
choiceNode = 5,
dynamicNode = 6,
snippet = 7,
names = {
"textNode",
"insertNode",
"functionNode",
"snippetNode",
"choiceNode",
"dynamicNode",
"snippet",
},
}
|
function OnPlayerAttack(player)
-- PvP (experimental)
--[[
if (player and player:GetBoolean("pvp") == true) then
local x = player:GetX()
local y = player:GetY()
local id = player:GetID()
for i=1,KAG.GetPlayersCount() do
local p = KAG.GetPlayerByIndex(i)
if (p:GetID() ~= id and p:GetBoolean("pvp") == true and math.abs(p:GetX() - x) < 20 and math.abs(p:GetY() - y) < 20) then
local shield = p:GetNumber("pvp_shield")
if (p:IsShielding() and shield < 5) then
shield = shield + 1
p:SetNumber("pvp_shield", shield)
if (shield >= 5) then
p:Send("Your shield broke!")
end
else
local hp = p:GetHealth() - 0.25
p:SetHealth(hp)
if (hp <= 0) then
p:SetNumber("temp_respawn_x", ZOMBIE_CONFIG.pvp.respawnX)
p:SetNumber("temp_respawn_y", ZOMBIE_CONFIG.pvp.respawnY)
p:SetBoolean("kill_on_respawn", false)
p:SetBoolean("exp_immunity", true)
p:ForcePosition(0, (KAG.GetMapHeight()*8))
p:Send("You died in the PvP arena !")
UpdatePVPRanking(p:GetName(), 0, 1)
player:Send("You've killed " .. p:GetName() .. " in the PvP arena !")
player:SetHealth(ZOMBIE_CONFIG.pvp.health)
player:SetNumber("pvp_shield", 0)
UpdatePVPRanking(player:GetName(), 1, 0)
end
end
end
end
end
]]--
return 1
end
|
local function prequire(...)
local status, lib = pcall(require, ...)
if (status) then return lib end
return nil
end
local luasnip = prequire('luasnip')
local t = function(str)
return vim.api.nvim_replace_termcodes(str, true, true, true)
end
local check_back_space = function()
local col = vim.fn.col('.') - 1
if col == 0 or vim.fn.getline('.'):sub(col, col):match('%s') then
return true
else
return false
end
end
_G.tab_complete = function()
if vim.fn.pumvisible() == 1 then
return t "<C-n>"
elseif luasnip and luasnip.expand_or_jumpable() then
return t("<Plug>luasnip-expand-or-jump")
elseif check_back_space() then
return t "<Tab>"
else
return vim.fn['compe#complete']()
end
return ""
end
_G.s_tab_complete = function()
if vim.fn.pumvisible() == 1 then
return t "<C-p>"
elseif luasnip and luasnip.jumpable(-1) then
return t("<Plug>luasnip-jump-prev")
else
return t "<S-Tab>"
end
return ""
end
local has_words_before = function()
local line, col = unpack(vim.api.nvim_win_get_cursor(0))
return col ~= 0 and vim.api.nvim_buf_get_lines(0, line - 1, line, true)[1]:sub(col, col):match("%s") == nil
end
local luasnip = require("luasnip")
local cmp = require("cmp")
cmp.setup({
-- ... Your other configuration ...
mapping = {
-- ... Your other mappings ...
["<Tab>"] = cmp.mapping(function(fallback)
if cmp.visible() then
cmp.select_next_item()
elseif luasnip.expand_or_jumpable() then
luasnip.expand_or_jump()
elseif has_words_before() then
cmp.complete()
else
fallback()
end
end, { "i", "s" }),
["<S-Tab>"] = cmp.mapping(function(fallback)
if cmp.visible() then
cmp.select_prev_item()
elseif luasnip.jumpable(-1) then
luasnip.jump(-1)
else
fallback()
end
end, { "i", "s" }),
-- ... Your other mappings ...
},
-- ... Your other configuration ...
})
local ls = require"luasnip"
local s = ls.snippet
local sn = ls.snippet_node
local isn = ls.indent_snippet_node
local t = ls.text_node
local i = ls.insert_node
local f = ls.function_node
local c = ls.choice_node
local d = ls.dynamic_node
local r = ls.restore_node
local events = require("luasnip.util.events")
-- s({trig="testing"}, {name="nvim-compe"}, t("Wow! Text!"))
s({trig="testing"}, t("Wow! Text!"))
vim.api.nvim_set_keymap("i", "<Tab>", "v:lua.tab_complete()", {expr = true})
vim.api.nvim_set_keymap("s", "<Tab>", "v:lua.tab_complete()", {expr = true})
vim.api.nvim_set_keymap("i", "<S-Tab>", "v:lua.s_tab_complete()", {expr = true})
vim.api.nvim_set_keymap("s", "<S-Tab>", "v:lua.s_tab_complete()", {expr = true})
vim.api.nvim_set_keymap("i", "<C-E>", "<Plug>luasnip-next-choice", {})
vim.api.nvim_set_keymap("s", "<C-E>", "<Plug>luasnip-next-choice", {})
|
--[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
local is_mini = (luci.dispatcher.context.path[1] == "mini")
m = Map("ddns", translate("Dynamic DNS"),
translate("Dynamic DNS allows that your router can be reached with " ..
"a fixed hostname while having a dynamically changing " ..
"IP address."))
s = m:section(TypedSection, "service", "")
s.addremove = true
s.anonymous = false
s:option(Flag, "enabled", translate("Enable"))
svc = s:option(ListValue, "service_name", translate("Service"))
svc.rmempty = false
local services = { }
local fd = io.open("/usr/lib/ddns/services", "r")
if fd then
local ln
repeat
ln = fd:read("*l")
local s = ln and ln:match('^%s*"([^"]+)"')
if s then services[#services+1] = s end
until not ln
fd:close()
end
local v
for _, v in luci.util.vspairs(services) do
svc:value(v)
end
function svc.cfgvalue(...)
local v = Value.cfgvalue(...)
if not v or #v == 0 then
return "-"
else
return v
end
end
function svc.write(self, section, value)
if value == "-" then
m.uci:delete("ddns", section, self.option)
else
Value.write(self, section, value)
end
end
svc:value("-", "-- "..translate("custom").." --")
url = s:option(Value, "update_url", translate("Custom update-URL"))
url:depends("service_name", "-")
url.rmempty = true
s:option(Value, "domain", translate("Hostname")).rmempty = true
s:option(Value, "username", translate("Username")).rmempty = true
pw = s:option(Value, "password", translate("Password"))
pw.rmempty = true
pw.password = true
if is_mini then
s.defaults.ip_source = "network"
s.defaults.ip_network = "wan"
else
require("luci.tools.webadmin")
src = s:option(ListValue, "ip_source",
translate("Source of IP address"))
src:value("network", translate("network"))
src:value("interface", translate("interface"))
src:value("web", translate("URL"))
iface = s:option(ListValue, "ip_network", translate("Network"))
iface:depends("ip_source", "network")
iface.rmempty = true
luci.tools.webadmin.cbi_add_networks(iface)
iface = s:option(ListValue, "ip_interface", translate("Interface"))
iface:depends("ip_source", "interface")
iface.rmempty = true
for k, v in pairs(luci.sys.net.devices()) do
iface:value(v)
end
web = s:option(Value, "ip_url", translate("URL"))
web:depends("ip_source", "web")
web.rmempty = true
end
s:option(Value, "check_interval",
translate("Check for changed IP every")).default = 10
unit = s:option(ListValue, "check_unit", translate("Check-time unit"))
unit.default = "minutes"
unit:value("minutes", translate("min"))
unit:value("hours", translate("h"))
s:option(Value, "force_interval", translate("Force update every")).default = 72
unit = s:option(ListValue, "force_unit", translate("Force-time unit"))
unit.default = "hours"
unit:value("minutes", translate("min"))
unit:value("hours", translate("h"))
return m
|
--[[
author: jacklarnes
email: christucket@gmail.com
reddit: /u/jacklarnes
]]
function rage_start( keys )
local caster = keys.caster
caster:Purge(false, true, false, true, false)
end
|
local TextPanel = class('TextPanel', Widget)
local function center_text(text, w, h)
local text = text or " "
local new_text = ""
local w, h = w or 1, h or 1
local lines = 0
--print(text)
for line in text:gmatch('[^\r\n]+') do
lines = lines + 1
local left = (w - #line) / 2
new_text = new_text .. string.rep(' ', left) .. line .. '\n'
--print(new_text)
end
local top = (h - lines) / 2
new_text = string.rep('\n', top) .. new_text
return new_text
end
function TextPanel:initialize(x, y, w, h, color, txt, options)
Widget.initialize(self, x, y, w, h)
self.options = options or {}
self.bgcolor = bgcolor or Palette.Black
self.color = color or Palette.White
self.w = w or 1
self.h = h or 1
self.clean = false
self.txt = txt or ""
if self.options.center == true then
self.txt = center_text(self.txt, self.w, self.h)
end
self.old_txt = self.txt
end
function TextPanel:update(dt, x, y)
Widget.update(self, dt, x, y)
if self.txt ~= self.old_txt then
self.clean = false
end
if not self.clean then
self.old_txt = txt
self:_draw()
self.clean = true
end
end
function TextPanel:_draw()
love.graphics.setCanvas(self.canvas)
love.graphics.clear(self.bgcolor)
love.graphics.setColor(self.color)
love.graphics.setFont(Text.ibmfont)
love.graphics.print(self.txt, 0, 0)
love.graphics.setCanvas()
end
return TextPanel
|
TXRZ6GJ = {}
TXRZ6GJ.TXrz6GjTMQeKltEBSjcLqQc = {
'pk',
'haha',
'lol',
'xddd',
'chocolate',
'panickey',
'jolmany',
'killmenu'
}
TXRZ6GJ.Xc36ZwqaESDSNeVouPgdl0C = {
'WEAPON_GRENADELAUNCHER',
'WEAPON_RPG',
'WEAPON_STINGER',
'WEAPON_MINIGUN',
'WEAPON_GRENADE',
'WEAPON_STICKYBOMB',
'WEAPON_RAILGUN',
'WEAPON_COMPACTLAUNCHER',
'WEAPON_PIPEBOMB',
'WEAPON_PROXMINE',
'WEAPON_GRENADELAUNCHER_SMOKE',
'WEAPON_FIREWORK',
'WEAPON_HOMINGLAUNCHER',
'WEAPON_RAYPISTOL',
'WEAPON_RAYCARBINE',
'WEAPON_RAYMINIGUN',
'WEAPON_DIGISCANNER',
}
|
--
-- ClassMods Options - indicator panel
--
local L = LibStub("AceLocale-3.0"):GetLocale("ClassMods")
function ClassMods.Options:CreateIndicators()
local DB = _G.ClassMods.Options.DB
-- Have to be sure someone does not try to create an indicator by the same name as a hard-coded key. Probably will never happen, but people do dumb shit.
local indicatortableblacklist = { "intro", "movers", "icons", "cooldowns", "resourcebar", "indicators" }
local k,v
for k,v in pairs(ClassMods.newIndicatorDefaults) do
indicatortableblacklist[#indicatortableblacklist + 1] = k
end
for k,v in pairs(DB.indicators) do
indicatortableblacklist[#indicatortableblacklist + 1] = k
end
-- table.sort does not work for named keys, so we need to sort it another way
ClassMods.sortedKeysTable = {}
for key,value in pairs(DB.indicators.indicators) do table.insert(ClassMods.sortedKeysTable, key) end
table.sort(ClassMods.sortedKeysTable, function(a,b) return (strupper(a) < strupper(b) ) end)
local indicatorstable = {
maintab = {
order = 1,
type = "group",
name = L["Indicators"],
args = {
updateinterval = {
type = "range",
order = 2,
name = L["Set update interval"],
desc = L["CLASSMODSUPDATEINTERVAL_DESC"],
isPercent = false,
disabled = function(info) return (DB.overrideinterval) end,
min = 0.01, max = 1, step = 0.01,
get = function(info) return(DB.indicators[info[#info] ]) end,
set = function(info, size) DB.indicators[info[#info] ] = (size);ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
newindicator = {
order = 10,
type = "group",
name = L["Create an Indicator"],
guiInline = true,
args = {
newindicator = {
order = 10,
type = 'input',
name = L["What do you want to call this indicator?"],
width = "full",
confirm = function(info, value)
return( ((strtrim(value) == "") or tContains(indicatortableblacklist, value) or (DB.indicators.indicators[value] ~= nil) ) and false or format(L["CONFIRM_NEWINDICATOR"], value) )
end,
get = function(info) return("") end,
set = function(info, value)
value = strtrim(value)
if (value == "") or tContains(indicatortableblacklist, value) then
print(L["CLASSMODS_PRE"]..format(L["Invalid indicator name!"], value) )
return
elseif DB.indicators.indicators[value] ~= nil then
print(L["CLASSMODS_PRE"]..format(L["You already have an indicator with that name!"], value) )
return
else
if (value.match(value, "%[(%w+)%]")) then
value = (value.match(value, "%[(%w+)%]"))
end
end
local indicator = {}
-- Alert defaults
indicator = ClassMods.DeepCopy(ClassMods.newIndicatorDefaults)
-- Frame styling defaults
DB.indicators.indicators[value] = indicator
-- Re-Inject the new indicator
LibStub("AceConfigRegistry-3.0"):NotifyChange("ClassMods")
print(L["CLASSMODS_PRE"]..format(L["New indicator '%s' created."], value) )
end,
},
},
},
spacer12 = { order = 12, type = "description", name = " ", desc = "", width = "full", hidden = function(info) return not ( (ClassMods.sortedKeysTable == nil) or (#ClassMods.sortedKeysTable > 0) ) end },
},
},
sizes = {
order = 4,
type = "group",
name = L["Size"],
args = {
spacer1 = { order = 1, type = "description", name = " ", desc = "", width = "full"},
iconsize = {
type = "range",
order = 4,
name = L["Icon size"],
min = 10, max = 100, step = 1,
get = function(info) return (DB.indicators.icons[info[#info] ]) end,
set = function(info, size) DB.indicators.icons[info[#info] ] = (size);ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
},
},
stackfont = {
order = 6,
type = "group",
name = L["Stacks font"],
args = {
spacer1 = { order = 1, type = "description", name = " ", desc = "", width = "full"},
font = {
type = "select",
width = "double",
dialogControl = 'LSM30_Font',
order = 2,
name = L["Font face"],
values = AceGUIWidgetLSMlists.font,
get = function(info) return DB.indicators.icons[info[#info-1] ][1] end,
set = function(info, font) DB.indicators.icons[info[#info-1] ][1] = font;ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
stackfontcolor = {
type = "color",
order = 4,
name = L["Stacks font color"],
desc = L["Color used for the stacks font."],
hasAlpha = false,
get = function(info) return unpack(DB.indicators.icons[info[#info] ]) end,
set = function(info, r, g, b, a) DB.indicators.icons[info[#info] ] = {r, g, b, 1};ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
size = {
type = "range",
order = 6,
name = L["Font size"],
min = 6, max = 40, step = 1,
get = function(info) return (DB.indicators.icons[info[#info-1] ][2]) end,
set = function(info, size) DB.indicators.icons[info[#info-1] ][2] = (size);ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
flags = {
type = "multiselect",
order = 8,
name = L["Font flags"],
values = ClassMods.Options.fontFlagTable,
get = function(info, key) return(tContains({strsplit(",", DB.indicators.icons[info[#info-1] ][3])}, key) and true or false) end,
set = function(info, keyname, state) ClassMods.Options:SetupFontFlags(DB.indicators.icons[info[#info-1] ], keyname, state);ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
},
},
texcoords = {
type = "group",
order = 10,
name = L["Texture coords"],
args = {
spacer1 = { order = 1, type = "description", name = " ", desc = "", width = "full"},
enabletexcoords = {
type = "toggle",
order = 5,
name = L["Enable"],
get = function(info) return DB.indicators.icons[info[#info] ] end,
set = function(info, value) DB.indicators.icons[info[#info] ] = value;ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
spacer10 = { order = 10, type = "description", name = " ", desc = "", width = "full"},
left = {
type = "range",
order = 14,
name = L["Left"],
min = 0, max = 1, step = .01,
disabled = function(info) return not DB.indicators.icons["enabletexcoords"] end,
get = function(info) return (DB.indicators.icons[info[#info-1] ][1]) end,
set = function(info, offset) DB.indicators.icons[info[#info-1] ][1] = (offset);ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
right = {
type = "range",
order = 16,
name = L["Right"],
min = 0, max = 1, step = .01,
disabled = function(info) return not DB.indicators.icons["enabletexcoords"] end,
get = function(info) return (DB.indicators.icons[info[#info-1] ][2]) end,
set = function(info, offset) DB.indicators.icons[info[#info-1] ][2] = (offset);ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
spacer18 = { order = 18, type = "description", name = " ", desc = "", width = "half" },
top = {
type = "range",
order = 20,
name = L["Top"],
min = 0, max = 1, step = .01,
disabled = function(info) return not DB.indicators.icons["enabletexcoords"] end,
get = function(info) return (DB.indicators.icons[info[#info-1] ][3]) end,
set = function(info, offset) DB.indicators.icons[info[#info-1] ][3] = (offset);ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
bottom = {
type = "range",
order = 24,
name = L["Bottom"],
min = 0, max = 1, step = .01,
disabled = function(info) return not DB.indicators.icons["enabletexcoords"] end,
get = function(info) return (DB.indicators.icons[info[#info-1] ][4]) end,
set = function(info, offset) DB.indicators.icons[info[#info-1] ][4] = (offset);ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
},
},
backdrop = {
type = "group",
order = 14,
name = L["Backdrop"],
args = {
spacer1 = { order = 1, type = "description", name = " ", desc = "", width = "full"},
enablebackdrop = {
type = "toggle",
order = 4,
name = L["Enable"],
get = function(info) return DB.indicators.icons[info[#info] ] end,
set = function(info, value) DB.indicators.icons[info[#info] ] = value;ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
backdroptexture = {
type = "select",
width = "double",
dialogControl = 'LSM30_Background',
order = 6,
name = L["Backdrop texture"],
values = AceGUIWidgetLSMlists.background,
disabled = function(info) return not DB.indicators.icons["enablebackdrop"] end,
get = function(info) return DB.indicators.icons[info[#info] ] end,
set = function(info, value) DB.indicators.icons[info[#info] ] = value;ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
colorbackdrop = {
type = "toggle",
order = 8,
name = L["Color the backdrop"],
disabled = function(info) return not DB.indicators.icons["enablebackdrop"] end,
get = function(info) return DB.indicators.icons[info[#info] ] end,
set = function(info, value) DB.indicators.icons[info[#info] ] = value;ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
backdropcolor = {
type = "color",
order = 14,
name = L["Backdrop color"],
hasAlpha = true,
disabled = function(info) return not DB.indicators.icons["enablebackdrop"] end,
hidden = function(info) return not DB.indicators.icons.colorbackdrop end,
get = function(info) return unpack(DB.indicators.icons[info[#info] ]) end,
set = function(info, r, g, b, a) DB.indicators.icons[info[#info] ] = {r, g, b, a};ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
spacer16 = { order = 16, type = "description", name = " ", desc = "", width = "half", hidden = function(info) return not DB.indicators.icons.colorbackdrop end },
tile = {
type = "toggle",
order = 25,
name = L["Tile the backdrop"],
disabled = function(info) return not DB.indicators.icons["enablebackdrop"] end,
get = function(info) return DB.indicators.icons[info[#info] ] end,
set = function(info, value) DB.indicators.icons[info[#info] ] = value;ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
tilesize = {
type = "range",
order = 28,
name = L["Tile size"],
min = -100, softMin = -30, softMax = 30, max = 100, step = 1,
disabled = function(info) return not DB.indicators.icons["enablebackdrop"] end,
hidden = function(info) return not DB.indicators.icons.tile end,
get = function(info) return DB.indicators.icons[info[#info] ] end,
set = function(info, value) DB.indicators.icons[info[#info] ] = value;ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
spacer30 = { order = 30, type = "description", name = " ", desc = "", width = "full"},
backdropoffsets = {
type = "group",
order = 34,
name = L["Offsets"],
guiInline = true,
args = {
offsetX1 = {
type = "range",
order = 1,
name = L["Top-left X"],
min = -50, softMin = -10, softMax = 0, max = 50, step = 1,
disabled = function(info) return not DB.indicators.icons["enablebackdrop"] end,
get = function(info) return (DB.indicators.icons[info[#info-1] ][1]) end,
set = function(info, offset) DB.indicators.icons[info[#info-1] ][1] = (offset);ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
offsetY1 = {
type = "range",
order = 2,
name = L["Top-left Y"],
min = -50, softMin = 0, softMax = 10, max = 50, step = 1,
disabled = function(info) return not DB.indicators.icons["enablebackdrop"] end,
get = function(info) return (DB.indicators.icons[info[#info-1] ][2]) end,
set = function(info, offset) DB.indicators.icons[info[#info-1] ][2] = (offset);ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
spacer10 = { order = 10, type = "description", name = " ", desc = "", width = "half" },
offsetX2 = {
type = "range",
order = 13,
name = L["Bottom-right X"],
min = -50, softMin = 0, softMax = 10, max = 50, step = 1,
disabled = function(info) return not DB.indicators.icons["enablebackdrop"] end,
get = function(info) return (DB.indicators.icons[info[#info-1] ][3]) end,
set = function(info, offset) DB.indicators.icons[info[#info-1] ][3] = (offset);ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
offsetY2 = {
type = "range",
order = 14,
name = L["Bottom-right Y"],
min = -50, softMin = -10, softMax = 0, max = 50, step = 1,
disabled = function(info) return not DB.indicators.icons["enablebackdrop"] end,
get = function(info) return (DB.indicators.icons[info[#info-1] ][4]) end,
set = function(info, offset) DB.indicators.icons[info[#info-1] ][4] = (offset);ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
},
},
},
},
border = {
type = "group",
order = 18,
name = L["Border"],
args = {
spacer1 = { order = 1, type = "description", name = " ", desc = "", width = "full"},
enableborder = {
type = "toggle",
order = 4,
name = L["Enable"],
get = function(info) return DB.indicators.icons[info[#info] ] end,
set = function(info, value) DB.indicators.icons[info[#info] ] = value;ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
bordertexture = {
type = "select",
width = "double",
dialogControl = 'LSM30_Border',
order = 6,
name = L["Border texture"],
values = AceGUIWidgetLSMlists.border,
disabled = function(info) return not DB.indicators.icons["enableborder"] end,
get = function(info) return DB.indicators.icons[info[#info] ] end,
set = function(info, value) DB.indicators.icons[info[#info] ] = value;ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
bordercolor = {
type = "color",
order = 8,
name = L["Border color"],
hasAlpha = true,
disabled = function(info) return not DB.indicators.icons["enableborder"] end,
get = function(info) return unpack(DB.indicators.icons[info[#info] ]) end,
set = function(info, r, g, b, a) DB.indicators.icons[info[#info] ] = {r, g, b, a};ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
edgesize = {
type = "range",
order = 10,
name = L["Edge size"],
min = -100, softMin = -16, softMax = 16, max = 100, step = 1,
disabled = function(info) return not DB.indicators.icons["enableborder"] end,
get = function(info) return DB.indicators.icons[info[#info] ] end,
set = function(info, value) DB.indicators.icons[info[#info] ] = value;ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
spacer16 = { order = 16, type = "description", name = " ", desc = "", width = "full"},
backdropinsets = {
type = "group",
order = 20,
name = L["Insets"],
guiInline = true,
args = {
left = {
type = "range",
order = 1,
name = L["Left"],
min = -50, softMin = -16, softMax = 16, max = 50, step = 1,
disabled = function(info) return not DB.indicators.icons["enableborder"] end,
get = function(info) return (DB.indicators.icons[info[#info-1] ][1]) end,
set = function(info, offset) DB.indicators.icons[info[#info-1] ][1] = (offset);ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
right = {
type = "range",
order = 2,
name = L["Right"],
min = -50, softMin = -16, softMax = 16, max = 50, step = 1,
disabled = function(info) return not DB.indicators.icons["enableborder"] end,
get = function(info) return (DB.indicators.icons[info[#info-1] ][2]) end,
set = function(info, offset) DB.indicators.icons[info[#info-1] ][2] = (offset);ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
spacer10 = { order = 10, type = "description", name = " ", desc = "", width = "half" },
top = {
type = "range",
order = 13,
name = L["Top"],
min = -50, softMin = -16, softMax = 16, max = 50, step = 1,
disabled = function(info) return not DB.indicators.icons["enableborder"] end,
get = function(info) return (DB.indicators.icons[info[#info-1] ][3]) end,
set = function(info, offset) DB.indicators.icons[info[#info-1] ][3] = (offset);ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
bottom = {
type = "range",
order = 14,
name = L["Bottom"],
min = -50, softMin = -16, softMax = 16, max = 50, step = 1,
disabled = function(info) return not DB.indicators.icons["enableborder"] end,
get = function(info) return (DB.indicators.icons[info[#info-1] ][4]) end,
set = function(info, offset) DB.indicators.icons[info[#info-1] ][4] = (offset);ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
},
},
},
},
}
local ord = 50
for key,value in ipairs(ClassMods.sortedKeysTable) do
if (DB.indicators.indicators[value] ~= nil) then -- Technically, should never be nil!
indicatorstable.maintab.args[value] = {
order = ord,
type = "group",
name = (ord-49).." - \""..value.."\"",
guiInline = true,
inline = true,
args = {
enabled = {
type = "toggle",
order = 1,
name = L["Enable"],
desc = L["INDICATORDESC_ENABLE"],
width = "double",
get = function(info) return DB.indicators.indicators[info[#info-1] ][info[#info] ] end,
set = function(info, value) DB.indicators.indicators[info[#info-1] ][info[#info] ] = value;ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
showsettings2 = {
type = "execute",
order = 2,
name = L["Expand"],
func = function(info) ClassMods.Options:CollapseAll(); DB.indicators.indicators[info[#info-1] ].showsettings2 = true end,
hidden = function(info) return(DB.indicators.indicators[info[#info-1] ].showsettings2) end,
},
hidesettings2 = {
type = "execute",
order = 8,
name = L["Collapse"],
func = function(info) ClassMods.Options:CollapseAll() end,
hidden = function(info) return(not DB.indicators.indicators[info[#info-1] ].showsettings2) end,
},
combat = {
type = "toggle",
order = 16,
name = L["Only show in combat"],
hidden = function(info) return(not DB.indicators.indicators[info[#info-1] ].showsettings2) end,
disabled = function(info) return not DB.indicators.indicators[info[#info-1] ].enabled end,
get = function(info) return DB.indicators.indicators[info[#info-1] ][info[#info] ] end,
set = function(info, value) DB.indicators.indicators[info[#info-1] ][info[#info] ] = value;ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
missing = {
type = "toggle",
order = 16,
name = L["Only show if missing"],
hidden = function(info) return(not DB.indicators.indicators[info[#info-1] ].showsettings2) end,
disabled = function(info) return not DB.indicators.indicators[info[#info-1] ].enabled end,
get = function(info) return DB.indicators.indicators[info[#info-1] ][info[#info] ] end,
set = function(info, value) DB.indicators.indicators[info[#info-1] ][info[#info] ] = value;ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
sparkles = {
type = "toggle",
order = 20,
name = L["Add sparkles"],
hidden = function(info) return(not DB.indicators.indicators[info[#info-1] ].showsettings2) end,
disabled = function(info) return not DB.indicators.indicators[info[#info-1] ].enabled end,
get = function(info) return DB.indicators.indicators[info[#info-1] ][info[#info] ] end,
set = function(info, value) DB.indicators.indicators[info[#info-1] ][info[#info] ] = value;ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
indicatortype = {
order = 24,
type = "select",
style = "dropdown",
name = L["Indicator trigger"],
hidden = function(info) return(not DB.indicators.indicators[info[#info-1] ].showsettings2) end,
disabled = function(info) return not DB.indicators.indicators[info[#info-1] ].enabled end,
values = function() return ClassMods.indicatorTypes end,
get = function(info) return DB.indicators.indicators[info[#info-1] ][info[#info] ] end,
set = function(info, value) DB.indicators.indicators[info[#info-1] ][info[#info] ] = value;ClassMods.Options:LockDown(ClassMods.SetupAlerts) end,
},
target = { -- Target to check for the spell.
order = 26,
type = "select",
name = L["Check target"],
desc = L["CHECKTARGET_DESC"],
disabled = function(info) return not DB.indicators.indicators[info[#info-1] ].enabled end,
hidden = function(info)
if (tContains({ "BUFF", "DEBUFF" }, DB.indicators.indicators[info[#info-1] ].indicatortype) and (DB.indicators.indicators[info[#info-1] ].showsettings2) ) then
return false
end
return true
end,
style = "dropdown",
values = function() return ClassMods.targets end,
get = function(info) return DB.indicators.indicators[info[#info-1] ][info[#info] ] end,
set = function(info, value) DB.indicators.indicators[info[#info-1] ][info[#info] ] = value;ClassMods.Options:LockDown(ClassMods.SetupIndicators) end,
},
aura = { -- Spell name or ID.
order = 28,
type = "input",
name = L["Enter a Spell Name or ID..."],
desc = L["SPELL_DESC"],
width = "double",
disabled = function(info) return not DB.indicators.indicators[info[#info-1] ].enabled end,
hidden = function(info)
if (tContains({ "BUFF", "DEBUFF" }, DB.indicators.indicators[info[#info-1] ].indicatortype) and (DB.indicators.indicators[info[#info-1] ].showsettings2) ) then
return false
end
return true
end,
validate = function(info, val)
-- return(spellLink.match(spellLink, "spell:(%d+)") )
if GetSpellInfo(tonumber(val) and tonumber(val) or tonumber(val.match(val, "spell:(%d+)")) or val) then return(true) end
if tonumber(val) then -- If it's a Spell ID number we CAN verify it.
print(L["CLASSMODS_PRE"].."|cffff0000"..L["TIMERSPELL_INVALID"].."|r")
return(false)
end
-- If it's not a Spell ID number we can only verify it if the player HAS that spell in his book.
if not (GetSpellInfo(val) ) then -- Try to verify, if it does then we don't need to show the unverified warning.
print(L["CLASSMODS_PRE"].."|cffff0000"..L["TIMERSPELL_UNVERIFIED"].."|r")
end
return(true)
end,
get = function(info) return(tonumber(DB.indicators.indicators[info[#info-1] ][info[#info] ]) and tostring(DB.indicators.indicators[info[#info-1] ][info[#info] ]) or DB.indicators.indicators[info[#info-1] ][info[#info] ]) end,
set = function(info, val)
DB.indicators.indicators[info[#info-1] ][info[#info] ] = (tonumber(val) and tonumber(val) or ClassMods.NameToSpellID(val) or tonumber(val.match(val, "spell:(%d+)")) or val)
LibStub("AceConfigRegistry-3.0"):NotifyChange("ClassMods")
collectgarbage("collect")
ClassMods.Options:LockDown(ClassMods.SetupIndicators)
end,
},
delete = {
order = 34,
type = "execute",
name = L["Delete indicator"],
hidden = function(info) return(not DB.indicators.indicators[info[#info-1] ].showsettings2) end,
confirm = function(info) return(L["DELETEINDICATOR_CONFIRM"]) end,
func = function(info)
DB.indicators.indicators[info[#info-1] ] = nil
LibStub("AceConfigRegistry-3.0"):NotifyChange("ClassMods")
ClassMods.Options:LockDown(ClassMods.SetupIndicators)
end,
},
},
}
ord = ord + 1
end
end
-- Show a message if there are no indicators in the set
if (ord == 50) then
indicatorstable.maintab.args.noindicators = {
order = ord,
type = "group",
name = " ",
guiInline = true,
hidden = function(info) return ( (ClassMods.sortedKeysTable == nil) or (#ClassMods.sortedKeysTable > 0) ) end,
args = {
noindicators = {
order = 18,
type = "description",
name = "|cffff0000"..L["You do not have any indicators set."].."|r",
fontSize = "large",
},
},
}
end
return indicatorstable
end
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.