Skip to content

Commit 27aabf8

Browse files
author
LocalIdentity
committed
Misty Reflection
Grants Level 20 Misty Reflection Skill
1 parent 538b807 commit 27aabf8

4 files changed

Lines changed: 53 additions & 1 deletion

File tree

src/Data/ModCache.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9128,7 +9128,7 @@ c["Grants Level 20 Death Wish Skill"]={{[1]={flags=0,keywordFlags=0,name="ExtraS
91289128
c["Grants Level 20 Doryani's Touch Skill"]={{[1]={flags=0,keywordFlags=0,name="ExtraSkill",type="LIST",value={level=20,skillId="DoryanisTouch"}}},nil}
91299129
c["Grants Level 20 Hatred Skill"]={{[1]={flags=0,keywordFlags=0,name="ExtraSkill",type="LIST",value={level=20,skillId="Hatred"}}},nil}
91309130
c["Grants Level 20 Illusory Warp Skill"]={{[1]={flags=0,keywordFlags=0,name="ExtraSkill",type="LIST",value={level=20,skillId="IllusoryWarp"}}},nil}
9131-
c["Grants Level 20 Misty Reflection Skill"]={nil,nil}
9131+
c["Grants Level 20 Misty Reflection Skill"]={{[1]={flags=0,keywordFlags=0,name="ExtraSkill",type="LIST",value={level=20,skillId="MistyReflection"}}},nil}
91329132
c["Grants Level 20 Pacify"]={{[1]={flags=0,keywordFlags=0,name="ExtraSkill",type="LIST",value={level=20,skillId="Pacify"}}},nil}
91339133
c["Grants Level 20 Penance Mark"]={{[1]={flags=0,keywordFlags=0,name="ExtraSkill",type="LIST",value={level=20,skillId="PenanceMark"}}},nil}
91349134
c["Grants Level 20 Queen's Demand Skill"]={{[1]={flags=0,keywordFlags=0,name="ExtraSkill",type="LIST",value={level=20,skillId="QueensDemand"}}},nil}

src/Data/Skills/other.lua

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2329,6 +2329,46 @@ skills["ManifestDancingDervishes"] = {
23292329
[15] = { cooldown = 0.5, levelRequirement = 1, storedUses = 1, },
23302330
},
23312331
}
2332+
skills["MistyReflection"] = {
2333+
name = "Misty Reflection",
2334+
hidden = true,
2335+
color = 4,
2336+
description = "Dash backwards, leaving a short-lived mist copy of yourself that Taunts nearby Enemies for a short duration. The copy can be damaged by Enemies, and copies that are killed by an Enemy will apply a debuff in an area that makes affected targets take 30% increased Damage and deal 30% less Damage for 4 seconds.",
2337+
skillTypes = { [SkillType.Spell] = true, [SkillType.Movement] = true, [SkillType.Travel] = true, [SkillType.Blink] = true, [SkillType.Cooldown] = true, [SkillType.FixedCastTime] = true, [SkillType.Minion] = true, [SkillType.Duration] = true, [SkillType.Area] = true, [SkillType.Buff] = true, },
2338+
statDescriptionScope = "skill_stat_descriptions",
2339+
castTime = 0.15,
2340+
fromTree = true,
2341+
baseFlags = {
2342+
spell = true,
2343+
duration = true,
2344+
},
2345+
baseMods = {
2346+
mod("DamageTaken", "INC", 30, 0, 0, { type = "Condition", var = "MistyReflection"}, { type = "GlobalEffect", effectType = "Debuff" }),
2347+
mod("Damage", "MORE", -30, 0, 0, { type = "Condition", var = "MistyReflection"}, { type = "GlobalEffect", effectType = "Debuff" }),
2348+
skill("debuff", true),
2349+
},
2350+
constantStats = {
2351+
{ "base_skill_effect_duration", 2000 },
2352+
{ "active_skill_base_area_of_effect_radius", 30 },
2353+
{ "misty_reflection_clone_base_maximum_life_%_of_owner_maximum_life", 10 },
2354+
},
2355+
stats = {
2356+
"base_cooldown_speed_+%",
2357+
"skill_travel_distance_+%",
2358+
"base_deal_no_damage",
2359+
"skill_cannot_be_interrupted",
2360+
"skill_cannot_be_knocked_back",
2361+
"skill_cannot_be_stunned",
2362+
"spell_cast_time_cannot_be_modified",
2363+
},
2364+
notMinionStat = {
2365+
"base_cooldown_speed_+%",
2366+
},
2367+
levels = {
2368+
[1] = { 0, 0, cooldown = 6, levelRequirement = 4, storedUses = 1, statInterpolation = { 1, 1, }, },
2369+
[20] = { 0, 0, cooldown = 6, levelRequirement = 70, storedUses = 1, statInterpolation = { 1, 1, }, },
2370+
},
2371+
}
23322372
skills["SupportUniqueMjolnerLightningSpellsCastOnHit"] = {
23332373
name = "Mjolner",
23342374
hidden = true,

src/Export/Skills/other.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,14 @@ local skills, mod, flag, skill = ...
637637
#baseMod skill("minionLevel", 65)
638638
#mods
639639

640+
#skill MistyReflection
641+
#flags spell duration
642+
fromTree = true,
643+
#baseMod mod("DamageTaken", "INC", 30, 0, 0, { type = "Condition", var = "MistyReflection"}, { type = "GlobalEffect", effectType = "Debuff" })
644+
#baseMod mod("Damage", "MORE", -30, 0, 0, { type = "Condition", var = "MistyReflection"}, { type = "GlobalEffect", effectType = "Debuff" })
645+
#baseMod skill("debuff", true)
646+
#mods
647+
640648
#skill SupportUniqueMjolnerLightningSpellsCastOnHit Mjolner
641649
fromItem = true,
642650
#mods

src/Modules/ConfigOptions.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,10 @@ return {
471471
{ var = "meatShieldEnemyNearYou", type = "check", label = "Is the enemy near you?", ifSkill = "Meat Shield", apply = function(val, modList, enemyModList)
472472
modList:NewMod("Condition:MeatShieldEnemyNearYou", "FLAG", true, "Config")
473473
end },
474+
{ label = "Misty Reflection:", ifSkill = "Misty Reflection" },
475+
{ var = "enemyHitMistyReflection", type = "check", label = "Enemy hit by Misty Reflection?", ifSkill = "Misty Reflection", tooltip = "Misty Reflection debuff lasts 4 seconds and makes enemies have:\n\t30% increased Damage Taken\n\tDeal 30% less Damage", apply = function(val, modList, enemyModList)
476+
enemyModList:NewMod("Condition:MistyReflection", "FLAG", true, "Config")
477+
end },
474478
{ label = "Momentum:", ifSkill = "Momentum" },
475479
{ var = "MomentumStacks", type = "count", label = "# of Momentum (if not average):", ifSkill = "Momentum", apply = function(val, modList, enemyModList)
476480
modList:NewMod("Multiplier:MomentumStacks", "BASE", val, "Config", { type = "Condition", var = "Combat" })

0 commit comments

Comments
 (0)