增加 230 队长对象的指定

This commit is contained in:
枫谷剑仙 2021-10-15 19:35:15 +08:00
parent 13d844616a
commit 3c31664f5f
3 changed files with 12 additions and 5 deletions

View File

@ -58,7 +58,7 @@
skill_boost_range: tp`~${'turns'}`,
add_combo: tp`Adds ${'value'} combos${'icon'}`,
fixed_time: tp`[${'icon'}Fixed orb move time: ${'value'}]`,
min_match_length: tp`unable to erase ${'unmatchable'} Orbs or less`, //matchable, unmatchable
min_match_length: tp`[Only able to erase ≥${'matchable'} orbs]`, //matchable, unmatchable
drop_refresh: tp`Replaces all orbs`,
drum: tp`Plus a drumming sound is made when Orbs are moved`,
auto_path: tp`Shows 3 combo path (Norm. Dungeon & 3 linked Orbs only)`,
@ -152,10 +152,12 @@
x_awakenings: tp`count of ${'awakenings'} ×${'value'}`,
},
target: {
unknown: tp`Unkown Target`,
self: tp`card's`,
enemy: tp`Enemy`,
team: tp`team`,
team_last: tp`the lastest member`,
team_leader: tp`leader`,
enemy: tp`Enemy`,
enemy_all: tp`all enemys`,
enemy_one: tp`1 enemy`,
enemy_attr: tp`${'attr'} enemy`,

View File

@ -165,10 +165,12 @@ let localTranslating = {
x_awakenings: tp`${'awakenings'}数量×${'value'}`,
},
target: {
unknown: tp`未知目标`,
self: tp`角色自身`,
enemy: tp`敌人`,
team: tp`队伍`,
team_last: tp`队伍最后一位队员`,
team_leader: tp`队长`,
enemy: tp`敌人`,
enemy_all: tp`敌方全体`,
enemy_one: tp`敌方1体`,
enemy_attr: tp`${'attr'}敌人`,

View File

@ -2063,9 +2063,12 @@ function renderSkill(skill, option = {})
targetDict.types = renderTypes(types || [], {affix: true});
attrs_types.push(targetDict.types);
}
if (target == 1)
if (target != undefined)
{
targetDict.target = tsp.target.self();
if (target === 1)
targetDict.target = tsp.target.self();
else if (target === 2)
targetDict.target = tsp.target.team_leader();
attrs_types.push(targetDict.target);
}
if (attrs_types.length)