预备增加新的技能的翻译
This commit is contained in:
parent
5634486a3a
commit
2132d732d5
|
@ -129,6 +129,9 @@
|
|||
compo_type_evolution: tp`队员组成全为 ${'ids'} 进化时`,
|
||||
compo_type_rarity: tp`队伍的总★稀有度 ≤${'rarity'} 时`,
|
||||
|
||||
stage_less_or_equal: tp`${'stage'} ≤ ${'max'} 时`, //地下城层数
|
||||
stage_greater_or_equal: tp`${'stage'} ≥ ${'min'} 时`,
|
||||
|
||||
L_shape: tp`以L字形式消除5个${'orbs'}时`,
|
||||
heal: tp`以${'orbs'}回复${'heal'}${'stats'}时`,
|
||||
},
|
||||
|
@ -174,6 +177,7 @@
|
|||
teamhp: tp`队伍总HP`,
|
||||
teamatk: tp`队伍${'attrs'}总攻击力`,
|
||||
teamrcv: tp`队伍回复力`,
|
||||
cstage: tp`当前地下城层数`,
|
||||
},
|
||||
unit: {
|
||||
orbs: tp`个`,
|
||||
|
|
|
@ -145,6 +145,9 @@ let localTranslating = {
|
|||
compo_type_evolution: tp`When all monsters in team are ${'ids'}, `,
|
||||
compo_type_rarity: tp`When the total ★ rarity of the team is ≤${'rarity'}, `,
|
||||
|
||||
stage_less_or_equal: tp`When ${'stage'} ≤ ${'max'}, `,
|
||||
stage_greater_or_equal: tp`When ${'stage'} ≥ ${'min'}, `,
|
||||
|
||||
L_shape: tp`When matching an L shape of 5 ${'orbs'} `,
|
||||
heal: tp`When healing at least ${'heal'} ${'stats'} with ${'orbs'} `,
|
||||
},
|
||||
|
@ -190,6 +193,7 @@ let localTranslating = {
|
|||
teamhp: tp`Team HP`,
|
||||
teamatk: tp`Team ${'attrs'} ATK`,
|
||||
teamrcv: tp`Team RCV`,
|
||||
cstage: tp`current Stage of Dungeon`,
|
||||
},
|
||||
unit: {
|
||||
orbs: tp``,
|
||||
|
|
|
@ -735,6 +735,9 @@ const c = {
|
|||
prob: function (percent) { return { prob: percent }; },
|
||||
LShape: function (attrs) { return { LShape: { attrs: attrs } }; },
|
||||
heal: function (min) { return { heal: { min: min } }; },
|
||||
stage: function (min, max) {
|
||||
return { stage: { min: min ?? 0, max: max ?? 0 } };
|
||||
},
|
||||
}
|
||||
|
||||
const p = {
|
||||
|
@ -2497,6 +2500,16 @@ function renderCondition(cond) {
|
|||
stats: renderStat('hp'),
|
||||
};
|
||||
frg.ap(tsp.cond.heal(dict));
|
||||
} else if (cond.stage) {
|
||||
let dict = {
|
||||
hp: renderStat('cstage'),
|
||||
min: renderValue(v.constant(cond.stage.min)),
|
||||
max: renderValue(v.constant(cond.stage.max)),
|
||||
};
|
||||
if (cond.stage.min > 0)
|
||||
frg.ap(tsp.cond.stage_greater_or_equal(dict));
|
||||
else if (cond.stage.max > 0)
|
||||
frg.ap(tsp.cond.stage_less_or_equal(dict));
|
||||
} else {
|
||||
frg.ap(tsp.cond.unknown());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue