feedback5 WC: 伺夜 S2 and 浊心斯卡蒂 S2, AUTO skills that act on allies, fire without an enemy (audit after GitHub #124)
Audit of every AUTO time-SP skill with no enemy on the field: 35 never fired. Two need no target and are fixed: 伺夜 S2 领袖的馈赠 — PRTS 备注 「仅场上存在狼群,且狼群未获得此技能的充能时可触发技能」: the kit casts it when ready while the pack stands and holds no unused gift (it waited for 伺夜's own next attack and could overwrite an unused gift); 浊心斯卡蒂 S2 同葬无光之愿 (鼓舞 on allies + trait heal, a toggle) is SP_FULL like 魔王 S1. The rest correctly wait for a target (next-attack / next-heal skills, attack modes, enemy-targeted effects) or are left for the owner (赫默 S2 / 巫恋 S2 summon releases, 纯烬艾雅法拉 S1); the list is in the 0.2.0 doc draft. Golden: roster-039 / roster-040 (伺夜 with S2, normal and elite) moved: S2 now casts whenever the pack holds no gift.
This commit is contained in:
1 parent
01fddd3021
commit
1576842641
5 files changed
+99
-45
No files matched your search
@@ -116,6 +116,11 @@ export default {
|
||||
const dpGain = (battle, unit, n) => { if (n > 0) { battle.addDp(unit.ownerId, n); fx(battle, 'dp', unit, { n }); } };
|
||||
// S2: the pack's empowered next attack (armed by the cast; ×scale on its hits; a kill pays once)
|
||||
const installGift = (battle, unit) => {
|
||||
battle.on('tick', () => { // the cast: ready, the pack on the field, no unused gift on it (PRTS 备注)
|
||||
const sk = unit.skill, w = wolfOf(unit);
|
||||
if (!alive(unit) || !sk || !sk.ready || sk.active || !unit.canAct || unit.s.flags.silence || !w || w.mem.vigilGift) return;
|
||||
sk.activate('SP_FULL');
|
||||
}, { owner: unit });
|
||||
battle.on('beforeAttack', (ctx) => {
|
||||
const w = wolfOf(unit);
|
||||
if (!w || ctx.attacker !== w || !w.mem.vigilGift) return;
|
||||
@@ -201,8 +206,12 @@ export default {
|
||||
if (w) addShadow(battle, unit, w);
|
||||
},
|
||||
}),
|
||||
// (自动触发, PRTS 备注 「仅场上存在狼群,且狼群未获得此技能的充能时可触发技能」: no enemy needed — the kit casts it as soon
|
||||
// as it is ready while the pack stands and holds no unused gift (installGift); until 0.2.0 the data's DEFAULT made it
|
||||
// wait for 伺夜's own next attack, so it never fired with no enemy in his range)
|
||||
skchr_vigil_2: (s) => ({
|
||||
kind: 'instant',
|
||||
trigger: 'NEVER',
|
||||
onStart({ battle, unit }) {
|
||||
dpGain(battle, unit, num(s.bb.cost, 0));
|
||||
const w = wolfOf(unit);
|
||||
|
||||
@@ -60,8 +60,10 @@ function skadi2(bb, chess, def) {
|
||||
onStart({ battle, unit }) { unit.hp = unit.s.maxHp; battle.fx('heal', { x: unit.x, y: unit.y, id: unit.id }); },
|
||||
},
|
||||
// S2 同葬无光之愿 (toggle): 鼓舞 ATK / DEF = atk / def × her ATK / DEF on every other ally of her (+ 海嗣) range,
|
||||
// trait heal attack@atk_to_hp_recovery_ratio (trait pulse)
|
||||
skchr_skadi2_2: { kind: 'toggle' },
|
||||
// trait heal attack@atk_to_hp_recovery_ratio (trait pulse). 自动触发 with effects on her allies only (nothing to target):
|
||||
// on as soon as it is ready (SP_FULL, like 魔王 S1 往昔萦绕身旁); until 0.2.0 the data's DEFAULT left it off until an
|
||||
// enemy came into her (or a 海嗣's) range.
|
||||
skchr_skadi2_2: { kind: 'toggle', trigger: 'SP_FULL' },
|
||||
};
|
||||
return {
|
||||
skills,
|
||||
|
||||
Reference in new issue
Block a user