Fix Export

This commit is contained in:
LocalIdentity
2025-11-21 20:03:10 +11:00
parent 6f954d7106
commit 4320038152
4 changed files with 12 additions and 3 deletions

View File

@@ -1724,7 +1724,6 @@ minions["LivingLightningMinion"] = {
minions["PenanceMarkPhantasm"] = {
name = "Shackled Phantasm",
hostile = true,
monsterTags = { "caster", "fire_affinity", "ghost", "ghost_armour", "ghost_blood", "is_unarmed", "medium_movement", "slashing_weapon", "undead", },
life = 1.3,
fireResist = 40,
@@ -1736,7 +1735,7 @@ minions["PenanceMarkPhantasm"] = {
attackTime = 1.755,
attackRange = 6,
accuracy = 1,
limit = "ActiveVoidSpawnLimit",
hostile = true,
skillList = {
"MPSPhantasmBasicBlood",
},

View File

@@ -242,5 +242,5 @@ minions["GuardianRelicAll"] = {
#emit
#monster Metadata/Monsters/SummonedPhantasm/SummonedPhantasmPenanceMark PenanceMarkPhantasm
#limit ActiveVoidSpawnLimit
#hostile true
#emit

View File

@@ -99,6 +99,7 @@ directiveTable.monster = function(state, args, out)
state.varietyId = nil
state.name = nil
state.limit = nil
state.hostile = nil
state.extraModList = { }
state.extraSkillList = { }
for arg in args:gmatch("%S+") do
@@ -123,6 +124,11 @@ directiveTable.limit = function(state, args, out)
state.limit = args
end
-- #hostile [true|false]
directiveTable.hostile = function(state, args, out)
state.hostile = args
end
-- #mod <ModDecl>
directiveTable.mod = function(state, args, out)
table.insert(state.extraModList, args)
@@ -194,6 +200,9 @@ directiveTable.emit = function(state, args, out)
if state.limit then
out:write('\tlimit = "', state.limit, '",\n')
end
if state.hostile then
out:write('\thostile = ', state.hostile, ',\n')
end
out:write('\tskillList = {\n')
for _, grantedEffect in ipairs(monsterVariety.GrantedEffects) do
out:write('\t\t"', grantedEffect.Id, '",\n')

View File

@@ -659,6 +659,7 @@ local skills, mod, flag, skill = ...
},
},
#baseMod skill("debuff", true)
#baseMod skill("minionLevelIsEnemyLevel", true)
#mods
#skill PhysicalAegis