| @@ -39,8 +39,8 @@ Chrome browser need start with the additional argument `--allow-file-access-from | |||
| 1. 中文(简体) | |||
| 1. 中文(繁體) | |||
| 1. English | |||
| 1. 日本語 (by Bing Microsoft Translator) | |||
| 1. 한국어 (by Bing Microsoft Translator) | |||
| 1. 日本語 (スキル解析翻訳のヘルプが必要です, by Bing Translator) | |||
| 1. 한국어 (스킬 구문 분석 번역에 도움이 필요, by Bing Translator) | |||
| ## How to **Pull requests** | |||
| 1. Click **Fork** In the page top right corner. Fork your own copy of this repository to your account. | |||
| @@ -1,334 +1,30 @@ | |||
| const _localTranslating = { | |||
| webpage_title: `P&D ${teamsCount}P Formation Maker`, | |||
| addition_display: "Additional display", | |||
| title_blank: "Input Formation Title", | |||
| detail_blank: "Input Detail", | |||
| sort_name:{ | |||
| sort_none: "Nope", | |||
| sort_id: "Cards Id", | |||
| sort_attrs : "Attribute", | |||
| sort_evoRootId: "Cards Evolution Root", | |||
| sort_evoRoot_Attrs : "Cards Evolution Root's Attribute", | |||
| sort_rarity: "Rarity", | |||
| sort_cost: "Cost", | |||
| sort_skillLv1: "Maximum Skill Turn", | |||
| sort_skillLvMax: "Minimum Skill Turn", | |||
| sort_hpMax120: "Max HP", | |||
| sort_atkMax120: "Max ATK", | |||
| sort_rcvMax120: "Max RCV", | |||
| sort_hpMax120_awoken: "Max HP (+Awoken)", | |||
| sort_atkMax120_awoken: "Max ATK (+Awoken)", | |||
| sort_rcvMax120_awoken: "Max RCV (+Awoken)", | |||
| sort_abilityIndex_awoken: "Maximum Weighted Ability Index (+Awakening)", | |||
| }, | |||
| force_reload_data: `Force refresh data`, | |||
| skill_parse: { | |||
| skill: { | |||
| unknown: tp`Unkonwn skill type: ${'type'}`, | |||
| active_turns: tp`${'actionSkill'}, for ${'turns'} turns`, | |||
| random_skills: tp`Random Activates these skills:${'skills'}`, | |||
| evolved_skills: tp`Skills evolve to the next stage when used:${'skills'}`, | |||
| evolved_skills_loop: tp`${`icon`}Returns to the first stage after use`, | |||
| damage_enemy: tp`Inflicts ${'times'}${'damage'} ${'attr'} attack on ${'target'}${'totalDamage'}`, | |||
| damage_enemy_times: tp`${'times'} `, | |||
| damage_enemy_count: tp` (${'damage'} in total)`, | |||
| //Inflicts a 50x attack to 1 enemy and recover 100% of the damage. Reduces unmatchable orb status by 9999 turns. 9999 turn awoken bind recovery. | |||
| vampire: tp`${'damage_enemy'} and ${'icon'}recover ${'heal'} of the damage`, | |||
| delay: tp`${'icon'}Delays enemies' next move`, | |||
| mass_attack: tp`${'icon'}Mass attacks`, | |||
| leader_change: tp`${'icon'}Switches ${'target'} with Leader Monster, use again to switch back`, | |||
| no_skyfall: tp`${'icon'}No Skyfall Combos`, | |||
| self_harm: tp`${'icon'}Reduces ${'stats'} by ${'value'}`, | |||
| heal: tp`${'icon'}Recover ${'value'} ${'stats'}`, | |||
| unbind: tp`Recovery ${'stats'} by ${'turns'} turns`, | |||
| unbind_normal: tp`${'icon'}Bind`, | |||
| unbind_awakenings: tp`${'icon'}Awoken bind`, | |||
| unbind_matches: tp`${'icon'}Unmatchable orb`, | |||
| bind_skill: tp`${'icon'}Unable to use skills`, | |||
| defense_break: tp`${'icon'}Reduce enemy defense by ${'value'}`, | |||
| poison: tp`${'icon'}Poisons ${'target'}, reduce ${'stats'} with ${'belong_to'} ${'value'} per turns`, | |||
| time_extend: tp`${'icon'}Orb move time ${'value'}`, | |||
| follow_attack: tp`${'icon'}Bonus attack equal to ${'belong_to'} ${'value'} when matching Orbs (Consider the ${'target'}'s defense)`, | |||
| follow_attack_fixed: tp`inflicts ${'damage'} ${'attr'} damage`, | |||
| auto_heal_buff: tp`${'icon'}Heal ${'value'} ${'stats'} every turn`, | |||
| auto_heal: tp`${'icon'}Heal ${'stats'} by ${'belong_to'} ${'value'} after matching orbs`, | |||
| ctw: tp`${'icon'}Move orbs freely for ${'value'}`, | |||
| gravity: tp`${'icon'}Reduce ${'target'} ${'value'}`, | |||
| resolve: tp`${'icon'}Survive a single hit when ${'stats'}≧${'min'}`, | |||
| board_change: tp`Change all orbs to ${'orbs'}`, | |||
| skill_boost: tp`Team's skills charge ${'icon'}${'turns_min'}${'turns_max'}`, | |||
| 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`[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)`, | |||
| board7x6: tp`[${'icon'}7x6 board]`, | |||
| counter_attack: tp`When attacked by an ${'target'}, ${'chance'}${'value'} ${'attr'} ${'icon'}counterattack`, | |||
| change_orbs: tp`Changes ${'from'} to ${'to'} orbs`, | |||
| generate_orbs: tp`Creates ${'value'} ${'orbs'} orbs each at random ${'exclude'}`, | |||
| fixed_orbs: tp`Changes the ${'position'} to ${'orbs'} orbs`, | |||
| orb_drop_increase: tp`Increases the skyfall of ${'orbs'} to ${'value'}`, | |||
| orb_drop_increase_flag: tp`${'orbs'} skyfall ${'chance'}${'flag'}`, | |||
| orb_drop_increase_chance: tp`by ${'value'}`, | |||
| attr_absorb: tp`${'icon'}Attribute absorption`, | |||
| combo_absorb: tp`${'icon'}Combo absorption`, | |||
| damage_absorb: tp`${'icon'}Damage absorption`, | |||
| damage_void: tp`${'icon'}Damage void`, | |||
| void_enemy_buff: tp`Voids enemies' ${'buff'}`, | |||
| change_attribute: tp`${'target'} Att. changes to ${'attrs'}`, | |||
| set_orb_state_enhanced: tp`${'orbs'} ${'icon'}enhanced (${'value'} per orb)`, | |||
| set_orb_state_locked: tp`${'icon'}Locks ${'value'}${'orbs'}`, | |||
| set_orb_state_unlocked: tp`${'icon'}Unlocks ${'orbs'}`, | |||
| set_orb_state_bound: tp`${'orbs'} are unmatchable`, | |||
| rate_multiply: tp`${'rate'} ${'value'} when entering as leader`, | |||
| rate_multiply_drop: tp`${'icon'}Drop rate`, | |||
| rate_multiply_coin: tp`${'icon'}Coins`, | |||
| rate_multiply_exp: tp`${'icon'}Rank EXP`, | |||
| reduce_damage: tp`${'condition'}${'icon'}Reduces ${'attrs'} damage taken by ${'value'}`, | |||
| power_up: tp`${'condition'}${'targets'}${'value'}${'reduceDamage'}${'addCombo'}${'followAttack'}`, | |||
| power_up_targets: tp`[${'attrs_types'}]'s `, //attrs, types, attrs_types | |||
| henshin: tp`Transforms into ${'card'}`, | |||
| void_poison: tp`Voids ${'poison'} damage`, | |||
| skill_proviso: tp`The follow-up effect can only be activates ${'condition'}`, | |||
| obstruct_opponent: tp`Apply obstruct skill effect to ${'target'}: ${'skills'}`, | |||
| obstruct_opponent_after_me: tp`The opponent ranked lower than me`, | |||
| obstruct_opponent_before_me: tp`The opponent ranked higher than me`, | |||
| obstruct_opponent_designated_position: tp`No.${'positions'} ranked opponents`, | |||
| }, | |||
| power: { | |||
| unknown: tp`[ Unkonwn power up: ${'type'} ]`, | |||
| scale_attributes: tp`When matching ${'min'} attr. of ${'orbs'} ${'stats'}${'bonus'}`, | |||
| scale_attributes_bonus: tp`, ${'bonus'} per attr. additional, up to ${'stats_max'} for ${'max'} attr.`, | |||
| scale_combos: tp`When ${'min'} combos ${'stats'}${'bonus'}`, | |||
| scale_combos_bonus: tp`, ${'bonus'} per combos additional, up to ${'stats_max'} for ${'max'} combos`, | |||
| scale_match_attrs: tp`When matching ${'min'} combos in [${'matches'}] ${'stats'}${'bonus'}`, | |||
| scale_match_attrs_bonus: tp`, ${'bonus'} per matches additional,up to ${'stats_max'} for ${'max'} matches`, | |||
| scale_match_length: tp`When matching ${'min'} of ${'orbs'} ${'in_once'}${'stats'}${'bonus'}`, | |||
| scale_match_length_bonus: tp`, ${'bonus'} per orbs additional,up to ${'stats_max'} for ${'max'} orbs`, | |||
| scale_remain_orbs: tp`When ≤ ${'max'} orbs remain on the board ${'stats'}${'bonus'}`, | |||
| scale_remain_orbs_bonus: tp`, ${'bonus'} for each fewer orb, up to ${'stats_max'} for ${'min'} orbs`, | |||
| scale_cross: tp`When matching each cross of 5 ${'orbs'} ${'stats'}`, | |||
| scale_cross_single: tp`When matching a cross of 5 ${'orbs'} ${'stats'}`, | |||
| scale_state_kind_count: tp`${'stats'} for each [${'awakenings'}${'attrs'}${'types'}] in team`, | |||
| }, | |||
| cond: { | |||
| unknown: tp`[ Unknown condition ]`, | |||
| hp_equal: tp`When ${'hp'} == ${'min'} `, | |||
| hp_less_or_equal: tp`When ${'hp'} ≤ ${'max'} `, | |||
| hp_greater_or_equal: tp`When ${'hp'} ≥ ${'min'} `, | |||
| hp_belong_to_range: tp`When ${'hp'} ∈ [${'min'},${'max'}] `, | |||
| use_skill: tp`When skills used `, | |||
| multi_player: tp`When in Multiplayer Mode `, | |||
| remain_orbs: tp`When ≤ ${'value'} Orbs on the board `, | |||
| exact_combo: tp`When exactly ${'value'} combos `, | |||
| exact_match_length: tp`When matching exactly ${'value'}${'orbs'} `, | |||
| exact_match_enhanced: tp` orbs including enhanced`, | |||
| //const _localTranslating = {}; | |||
| //deepMerge(localTranslating, _localTranslating); | |||
| localisation(localTranslating); | |||
| compo_type_card: tp`When ${'ids'} are all on team`, | |||
| compo_type_series: tp`When all subs from ${'ids'} collab (Needs at least 1 sub) `, | |||
| compo_type_evolution: tp`When all monsters in team are ${'ids'} `, | |||
| //大数字缩短长度 | |||
| Number.prototype.bigNumberToString = function() { | |||
| const negative = this < 0; | |||
| L_shape: tp`When matching an L shape of 5 ${'orbs'} `, | |||
| heal: tp`When healing at least ${'heal'} ${'stats'} with ${'orbs'} `, | |||
| }, | |||
| position: { | |||
| top: tp`${'pos'} of top rows`, | |||
| bottom: tp`${'pos'} of bottom rows`, | |||
| left: tp`${'pos'} of left columns`, | |||
| right: tp`${'pos'} of right columns`, | |||
| shape: tp`specified location`, | |||
| }, | |||
| value: { | |||
| unknown: tp`[ Unknown value: ${'type'}]`, //type | |||
| const: tp`${'value'} ${'unit'}`, | |||
| const_to: tp`to ${'value'}`, | |||
| mul_percent: tp`${'value'}%`, | |||
| mul_times: tp`×${'value'}`, | |||
| mul_of_percent: tp`${'stats'}'s ${'value'}%`, | |||
| mul_of_times: tp`${'stats'} ×${'value'}`, | |||
| hp_scale: tp`when ${'hp'} == 100% is ${'min'} and ${'hp'} == 1 is ${'max'}`, | |||
| random_atk: tp`${'atk'} ×${'min'}${'max'}`, | |||
| prob: tp`${'value'} chance for `, | |||
| x_awakenings: tp`count of ${'awakenings'} ×${'value'}`, | |||
| }, | |||
| target: { | |||
| unknown: tp`Unkown Target`, | |||
| self: tp`card's`, | |||
| team: tp`team`, | |||
| team_last: tp`the lastest member`, | |||
| team_leader: tp`leader`, | |||
| team_sub: tp`sub-monsters`, | |||
| enemy: tp`Enemy`, | |||
| enemy_all: tp`all enemys`, | |||
| enemy_one: tp`1 enemy`, | |||
| enemy_attr: tp`${'attr'} enemy`, | |||
| }, | |||
| stats: { | |||
| unknown: tp`[ Unknown: ${'type'}]`, //type | |||
| maxhp: tp`Max HP`, | |||
| hp: tp`HP`, | |||
| chp: tp`current HP`, | |||
| atk: tp`ATK`, | |||
| rcv: tp`RCV`, | |||
| teamhp: tp`Team HP`, | |||
| teamatk: tp`Team ${'attrs'} ATK`, | |||
| teamrcv: tp`Team RCV`, | |||
| }, | |||
| unit: { | |||
| orbs: tp``, | |||
| times: tp` times`, | |||
| seconds: tp` seconds`, | |||
| point: tp` point`, | |||
| turns: tp` turns`, | |||
| }, | |||
| word: { | |||
| comma: tp`, `, | |||
| slight_pause: tp`, `, | |||
| range_hyphen: tp`~`, | |||
| in_once: tp`in once `, | |||
| evo_type_pixel: tp`Pixel Evo`, | |||
| evo_type_reincarnation: tp`Reinc. or Super Reinc. Evo`, | |||
| evo_type_unknow: tp`Unknown Evo: ${'type'}`, | |||
| affix_attr: tp`${'cotent'} attr.`, | |||
| affix_orb: tp`${'cotent'} orbs`, | |||
| affix_type: tp`${'cotent'} types`, | |||
| affix_awakening: tp`${'cotent'} awoken`, | |||
| affix_exclude: tp`, exclude ${'cotent'}`, | |||
| }, | |||
| attrs: { | |||
| [0]: tp`${'icon'}Fire`, | |||
| [1]: tp`${'icon'}Water`, | |||
| [2]: tp`${'icon'}Wood`, | |||
| [3]: tp`${'icon'}Light`, | |||
| [4]: tp`${'icon'}Dark`, | |||
| [5]: tp`${'icon'}Recover`, | |||
| [6]: tp`${'icon'}Null`, | |||
| all: tp`All`, | |||
| self: tp`${'icon'}Self's Attr`, | |||
| fixed: tp`${'icon'}Fixed`, | |||
| }, | |||
| orbs: { | |||
| [0]: tp`${'icon'}Fire`, | |||
| [1]: tp`${'icon'}Water`, | |||
| [2]: tp`${'icon'}Wood`, | |||
| [3]: tp`${'icon'}Light`, | |||
| [4]: tp`${'icon'}Dark`, | |||
| [5]: tp`${'icon'}Heal`, | |||
| [6]: tp`${'icon'}Jammer`, | |||
| [7]: tp`${'icon'}Poison`, | |||
| [8]: tp`${'icon'}Lethal Poison`, | |||
| [9]: tp`${'icon'}Bomb`, | |||
| enhanced: tp`${'icon'}Enhanced`, | |||
| locked: tp`${'icon'}Locked`, | |||
| nail: tp`${'icon'}Nail`, | |||
| variation: tp`${'icon'}Roulette (transforms every ${'time'})`, | |||
| _5color: tp`${'icon'}5 Att.`, | |||
| _6color: tp`${'_5color'}+${'orb_rcv'}`, | |||
| all: tp`All`, | |||
| any: tp`Any ${'cotent'}`, | |||
| }, | |||
| types: { | |||
| [0]: tp`${'icon'}Evo Material`, | |||
| [1]: tp`${'icon'}Balanced`, | |||
| [2]: tp`${'icon'}Physical`, | |||
| [3]: tp`${'icon'}Healer`, | |||
| [4]: tp`${'icon'}Dragon`, | |||
| [5]: tp`${'icon'}God`, | |||
| [6]: tp`${'icon'}Attacker`, | |||
| [7]: tp`${'icon'}Devil`, | |||
| [8]: tp`${'icon'}Machine`, | |||
| [9]: tp`${'icon'}Special Protection`, | |||
| [12]: tp`${'icon'}Awaken`, | |||
| [14]: tp`${'icon'}Enhance Material`, | |||
| [15]: tp`${'icon'}Redeemable`, | |||
| }, | |||
| awokens: { | |||
| [0]: tp`${'icon'}Unknown awoken`, | |||
| [1]: tp`${'icon'}Enhanced HP`, | |||
| [2]: tp`${'icon'}Enhanced Attack`, | |||
| [3]: tp`${'icon'}Enhanced Heal`, | |||
| [4]: tp`${'icon'}Reduce Fire Damage`, | |||
| [5]: tp`${'icon'}Reduce Water Damage`, | |||
| [6]: tp`${'icon'}Reduce Wood Damage`, | |||
| [7]: tp`${'icon'}Reduce Light Damage`, | |||
| [8]: tp`${'icon'}Reduce Dark Damage`, | |||
| [9]: tp`${'icon'}Auto-Heal`, | |||
| [10]: tp`${'icon'}Resistance-Bind`, | |||
| [11]: tp`${'icon'}Resistance-Blind`, | |||
| [12]: tp`${'icon'}Resistance-Jammers`, | |||
| [13]: tp`${'icon'}Resistance-Poison`, | |||
| [14]: tp`${'icon'}Enhanced Fire Orbs`, | |||
| [15]: tp`${'icon'}Enhanced Water Orbs`, | |||
| [16]: tp`${'icon'}Enhanced Wood Orbs`, | |||
| [17]: tp`${'icon'}Enhanced Water Orbs`, | |||
| [18]: tp`${'icon'}Enhanced Dark Orbs`, | |||
| [19]: tp`${'icon'}Extend Time`, | |||
| [20]: tp`${'icon'}Recover Bind`, | |||
| [21]: tp`${'icon'}Skill Boost`, | |||
| [22]: tp`${'icon'}Enhanced Fire Rows`, | |||
| [23]: tp`${'icon'}Enhanced Water Rows`, | |||
| [24]: tp`${'icon'}Enhanced Wood Rows`, | |||
| [25]: tp`${'icon'}Enhanced Water Rows`, | |||
| [26]: tp`${'icon'}Enhanced Dark Rows`, | |||
| [27]: tp`${'icon'}Two-Pronged Attack`, | |||
| [28]: tp`${'icon'}Resistance-Skill Bind`, | |||
| [29]: tp`${'icon'}Enhanced Heal Orbs`, | |||
| [30]: tp`${'icon'}Multi Boost`, | |||
| [31]: tp`${'icon'}Dragon Killer`, | |||
| [32]: tp`${'icon'}God Killer`, | |||
| [33]: tp`${'icon'}Devil Killer`, | |||
| [34]: tp`${'icon'}Machine Killer`, | |||
| [35]: tp`${'icon'}Balanced Killer`, | |||
| [36]: tp`${'icon'}Attacker Killer`, | |||
| [37]: tp`${'icon'}Physical Killer`, | |||
| [38]: tp`${'icon'}Healer Killer`, | |||
| [39]: tp`${'icon'}Evo Killer`, | |||
| [40]: tp`${'icon'}Awaken Killer`, | |||
| [41]: tp`${'icon'}Enhance Killer`, | |||
| [42]: tp`${'icon'}Redeemable Killer`, | |||
| [43]: tp`${'icon'}Enhanced Combos`, | |||
| [44]: tp`${'icon'}Guard Break`, | |||
| [45]: tp`${'icon'}Bonus Attack`, | |||
| [46]: tp`${'icon'}Enhanced Team HP `, | |||
| [47]: tp`${'icon'}Enhanced Team RCV`, | |||
| [48]: tp`${'icon'}Damage Void Piercer`, | |||
| [49]: tp`${'icon'}Awoken Assist`, | |||
| [50]: tp`${'icon'}Super Bonus Attack`, | |||
| [51]: tp`${'icon'}Skill Charge`, | |||
| [52]: tp`${'icon'}Resistance-Bind+`, | |||
| [53]: tp`${'icon'}Extend Time+`, | |||
| [54]: tp`${'icon'}Resistance-Clouds`, | |||
| [55]: tp`${'icon'}Resistance-Immobility`, | |||
| [56]: tp`${'icon'}Skill Boost+`, | |||
| [57]: tp`${'icon'}50% or more HP Enhanced`, | |||
| [58]: tp`${'icon'}50% or less HP Enhanced`, | |||
| [59]: tp`${'icon'}L Damage Reduction`, | |||
| [60]: tp`${'icon'}L Increased Attack`, | |||
| [61]: tp`${'icon'}Super Enhanced Combos`, | |||
| [62]: tp`${'icon'}Combo Orbs`, | |||
| [63]: tp`${'icon'}Skill Voice`, | |||
| [64]: tp`${'icon'}Dungeon Bonus`, | |||
| [65]: tp`${'icon'}Reduced HP`, | |||
| [66]: tp`${'icon'}Reduced Attack`, | |||
| [67]: tp`${'icon'}Reduced RCV`, | |||
| [68]: tp`${'icon'}Resistance-Blind+`, | |||
| [69]: tp`${'icon'}Resistance-Jammers+`, | |||
| [70]: tp`${'icon'}Resistance-Poison+`, | |||
| [71]: tp`${'icon'}Blessing of Jammers`, | |||
| [72]: tp`${'icon'}Blessing of Poison Orbs`, | |||
| [73]: tp`${'icon'}Enhanced Fire Combos`, | |||
| [74]: tp`${'icon'}Enhanced Water Combos`, | |||
| [75]: tp`${'icon'}Enhanced Wood Combos`, | |||
| [76]: tp`${'icon'}Enhanced Light Combos`, | |||
| [77]: tp`${'icon'}Enhanced Dark Combos`, | |||
| [78]: tp`${'icon'}CrossBoost`, | |||
| [79]: tp`${'icon'}Enhanced 3 colors`, | |||
| [80]: tp`${'icon'}Enhanced 4 colors`, | |||
| [81]: tp`${'icon'}Enhanced 5 colors`, | |||
| } | |||
| }, | |||
| } | |||
| deepMerge(localTranslating, _localTranslating); | |||
| localisation(localTranslating); | |||
| let numTemp = negative ? Math.abs(this) : this.valueOf(); | |||
| if (!numTemp) return "0"; | |||
| const grouping = 1e3; | |||
| const unit = ['', 'K', 'M', 'G', 'T', 'P']; | |||
| const numParts = []; | |||
| do { | |||
| numParts.push(numTemp % grouping); | |||
| numTemp = Math.floor(numTemp / grouping); | |||
| } while (numTemp > 0 && numParts.length < (unit.length - 1)) | |||
| if (numTemp > 0) { | |||
| numParts.push(numTemp); | |||
| } | |||
| let numPartsStr = numParts.map((num, idx) => { | |||
| if (num > 0) { | |||
| return num + unit[idx]; | |||
| } else | |||
| return ""; | |||
| }); | |||
| let outStr = numPartsStr.filter(Boolean).reverse().join(" "); | |||
| return (negative ? "-" : "") + outStr; | |||
| } | |||
| @@ -56,6 +56,4 @@ Number.prototype.bigNumberToString = function() | |||
| outStr = outStr.replace(/(^と+|と+$)/g,''); //去除开头的零 | |||
| outStr = outStr.replace(/と{2,}/g,'と'); //去除多个连续的零 | |||
| return outStr; | |||
| } | |||
| localisation(localTranslating); | |||
| } | |||
| @@ -25,4 +25,35 @@ | |||
| force_reload_data: "데이터 강제 새로 고침", | |||
| } | |||
| deepMerge(localTranslating, _localTranslating); | |||
| localisation(localTranslating); | |||
| localisation(localTranslating); | |||
| //大数字缩短长度 | |||
| Number.prototype.bigNumberToString = function() | |||
| { | |||
| let numTemp = this.valueOf(); | |||
| if (!numTemp) return "0"; | |||
| const grouping = Math.pow(10, 4); | |||
| const unit = ['','만','억','조']; | |||
| const numParts = []; | |||
| do{ | |||
| numParts.push(numTemp % grouping); | |||
| numTemp = Math.floor(numTemp / grouping); | |||
| }while(numTemp>0 && numParts.length<(unit.length-1)) | |||
| if (numTemp>0) | |||
| { | |||
| numParts.push(numTemp); | |||
| } | |||
| let numPartsStr = numParts.map((num,idx)=>{ | |||
| if (num > 0) | |||
| { | |||
| return (num < 1e3 ? "と" : "") + num.toLocaleString() + unit[idx]; | |||
| }else | |||
| return "と"; | |||
| }); | |||
| numPartsStr.reverse(); //反向 | |||
| let outStr = numPartsStr.join(""); | |||
| outStr = outStr.replace(/(^と+|と+$)/g,''); //去除开头的零 | |||
| outStr = outStr.replace(/と{2,}/g,'と'); //去除多个连续的零 | |||
| return outStr; | |||
| } | |||
| @@ -19,8 +19,8 @@ | |||
| name:"한국어",i18n:"ko",searchlist:["ko","ja"], | |||
| guideURL:id=>`http://www.thisisgame.com/pad/info/monster/detail.php?code=${id}` | |||
| }, | |||
| { | |||
| /*{ | |||
| name:"Debug用",i18n:"zh-CN",searchlist:["chs","ja"], | |||
| guideURL:id=>`https://pad.skyozora.com/pets/${id}` | |||
| }, | |||
| },*/ | |||
| ]; | |||
| @@ -1,12 +1,12 @@ | |||
| const _localTranslating = { | |||
| webpage_title: `龍族拼圖${teamsCount}人隊伍圖製作工具`, | |||
| addition_display: "附加顯示", | |||
| webpage_title: `龍族拼圖${teamsCount}人隊伍圖製作`, | |||
| addition_display: "💬", | |||
| title_blank: "輸入隊伍標題", | |||
| detail_blank: "輸入說明", | |||
| detail_blank: "輸入説明", | |||
| sort_name:{ | |||
| sort_none: "無", | |||
| sort_id: "怪物ID", | |||
| sort_attrs : "屬性", | |||
| sort_attrs: "屬性", | |||
| sort_evoRootId: "進化樹", | |||
| sort_evoRoot_Attrs : "進化根怪物的屬性", | |||
| sort_rarity: "稀有度", | |||
| @@ -17,12 +17,317 @@ | |||
| sort_hpMax120: "最大 HP", | |||
| sort_atkMax120: "最大攻擊", | |||
| sort_rcvMax120: "最大回復", | |||
| sort_hpMax120_awoken: "最大 HP(+覺醒)", | |||
| sort_atkMax120_awoken: "最大攻擊(+覺醒)", | |||
| sort_rcvMax120_awoken: "最大回復(+覺醒)", | |||
| sort_hpMax120_awoken: "最大 HP(+覺醒)", | |||
| sort_atkMax120_awoken: "最大攻擊(+覺醒)", | |||
| sort_rcvMax120_awoken: "最大回復(+覺醒)", | |||
| sort_abilityIndex_awoken: "最大加權能力指數(+覺醒)", | |||
| }, | |||
| force_reload_data: "強制刷新數據", | |||
| skill_parse: { | |||
| skill: { | |||
| unknown: tp`未知的技能類型:${'type'}`, //type | |||
| active_turns: tp`${'turns'} 回合內,${'actionSkill'}`, //turns, actionSkill | |||
| random_skills: tp`隨機發動以下技能:${'skills'}`, //skills | |||
| evolved_skills: tp`技能使用後會進化為下一階段:${'skills'}`, //skills | |||
| evolved_skills_loop: tp`${`icon`}使用後返回第一階段`, | |||
| damage_enemy: tp`對${'target'}造成${'damage'}的${'attr'}傷害${'times'}${'totalDamage'}`, //target, damage, attr | |||
| damage_enemy_times: tp`×${'times'}`, | |||
| damage_enemy_count: tp`(共${'damage'})`, | |||
| vampire: tp`${'damage_enemy'},並${'icon'}回復傷害值${'heal'}的HP`, //target, damage, attr | |||
| delay: tp`延遲敵人的攻擊${'icon'}`, //icon | |||
| mass_attack: tp`所有攻擊變為${'icon'}全體攻擊`, | |||
| leader_change: tp`${'icon'}將${'target'}換為隊長,再次使用則換回來`, | |||
| no_skyfall: tp`${'icon'}天降的寶珠不會消除`, | |||
| self_harm: tp`${'icon'}${'stats'}減少${'value'}`, | |||
| heal: tp`${'icon'}回復 ${'value'} 的 ${'stats'}`, | |||
| unbind: tp`${'stats'}狀態減少 ${'turns'} 回合`, | |||
| unbind_normal: tp`${'icon'}封鎖`, | |||
| unbind_awakenings: tp`${'icon'}覺醒無效`, | |||
| unbind_matches: tp`${'icon'}無法消除寶珠`, | |||
| bind_skill: tp`${'icon'}自身無法使用技能`, | |||
| defense_break: tp`${'icon'}敵方的防禦力減少${'value'}`, | |||
| poison: tp`${'icon'}使${'target'}中毒,每回合損失${'belong_to'} ${'value'} 的 ${'stats'}`, | |||
| time_extend: tp`${'icon'}寶珠移動時間 ${'value'}`, | |||
| follow_attack: tp`${'icon'}消除寶珠的回合,以${'belong_to'}${'value'}的傷害追打${'target'}(計算防禦力)`, | |||
| follow_attack_fixed: tp`追加${'damage'}的${'attr'}傷害`, | |||
| auto_heal_buff: tp`行動結束後${'icon'}回復${'value'}的${'stats'}`, | |||
| auto_heal: tp`${'icon'}消除寶珠的回合,回復${'belong_to'}${'value'}的${'stats'}`, | |||
| ctw: tp`${'icon'}${'value'}內時間停止,可以任意移動寶珠`, | |||
| gravity: tp`${'icon'}造成${'target'}${'value'}的傷害`, | |||
| resolve: tp`${'icon'}如${'stats'}≧${'min'},受到單一次致命攻擊時,將會以1點 HP 生還`, | |||
| board_change: tp`全畫面的寶珠變為${'orbs'}`, | |||
| skill_boost: tp`自身以外成員的技能冷卻儲備${'icon'}${'turns_min'}${'turns_max'}`, | |||
| skill_boost_range: tp`~${'turns'}`, | |||
| add_combo: tp`結算時連擊數增加${'value'}${'icon'}`, | |||
| fixed_time: tp`【${'icon'}操作時間固定${'value'}】`, | |||
| min_match_length: tp`【限定≥${'matchable'}珠才能消除】`, | |||
| drop_refresh: tp`全板刷新`, | |||
| drum: tp`寶珠移動和消除的聲音變成太鼓達人的音效`, | |||
| auto_path: tp`顯示3連擊的轉珠路徑(只匹配3珠,並只適用於普通地下城)`, | |||
| board7x6: tp`【${'icon'}7×6版面】`, | |||
| counter_attack: tp`受到${'target'}攻擊時,${'chance'}進行受到傷害${'value'}的${'attr'}${'icon'}反擊`, | |||
| change_orbs: tp`${'from'}→${'to'}`, | |||
| generate_orbs: tp`${'exclude'}生成${'orbs'}各${'value'}個`, | |||
| fixed_orbs: tp`在${'position'}產生${'orbs'}`, | |||
| orb_drop_increase: tp`${'orbs'}的掉落率提高到${'value'}`, | |||
| orb_drop_increase_flag: tp`${'chance'}掉落${'flag'}${'orbs'}`, | |||
| attr_absorb: tp`${'icon'}屬性吸收`, | |||
| combo_absorb: tp`${'icon'}連擊吸收`, | |||
| damage_absorb: tp`${'icon'}傷害吸收`, | |||
| damage_void: tp`${'icon'}傷害無效`, | |||
| void_enemy_buff: tp`敵人的 ${'buff'} 無效化`, | |||
| change_attribute: tp`將${'target'}變為${'attrs'}`, | |||
| set_orb_state_enhanced: tp`${'icon'}強化${'orbs'}(每顆寶珠效力增加${'value'})`, | |||
| set_orb_state_locked: tp`將${'orbs'}${'icon'}鎖定${'value'}`, | |||
| set_orb_state_unlocked: tp`${'icon'}解除${'orbs'}的鎖定狀態`, | |||
| set_orb_state_bound: tp`無法消除${'orbs'}`, | |||
| rate_multiply: tp`作為隊長進入地下城時,${'rate'}變為${'value'}`, | |||
| rate_multiply_drop: tp`${'icon'}怪物蛋掉落率`, | |||
| rate_multiply_coin: tp`${'icon'}金幣掉落率`, | |||
| rate_multiply_exp: tp`${'icon'}等級經驗倍率`, | |||
| reduce_damage: tp`${'condition'}受到的${'attrs'}傷害${'icon'}減少${'value'}`, | |||
| power_up: tp`${'condition'}${'targets'}${'target'}${'value'}${'reduceDamage'}${'addCombo'}${'followAttack'}`, | |||
| power_up_targets: tp`${'attrs_types'}的 `, | |||
| henshin: tp`變身為${'card'}`, | |||
| void_poison: tp`消除${'poison'}時不會受到毒傷害`, | |||
| skill_proviso: tp`${'condition'}才能發動後續效果`, | |||
| obstruct_opponent: tp`對${'target'}施加敵對技能效果:${'skills'}`, | |||
| obstruct_opponent_after_me: tp`排名比自身低的對手`, | |||
| obstruct_opponent_before_me: tp`排名比自身高的對手`, | |||
| obstruct_opponent_designated_position: tp`第${'positions'}排位的對手`, | |||
| }, | |||
| power: { | |||
| unknown: tp`[ 未知能力提升: ${'type'} ]`, | |||
| scale_attributes: tp`${'orbs'}中${'min'}種屬性同時攻擊時${'stats'}${'bonus'}`, | |||
| scale_attributes_bonus: tp`,每多1種${'bonus'},最大${'max'}種時${'stats_max'}`, | |||
| scale_combos: tp`${'min'}連擊以上時${'stats'}${'bonus'}`, | |||
| scale_combos_bonus: tp`,每多1連擊${'bonus'},最大${'max'}連擊時${'stats_max'}`, | |||
| scale_match_attrs: tp`${'matches'}中${'min'}串匹配時${'stats'}${'bonus'}`, | |||
| scale_match_attrs_bonus: tp`,每多1串${'bonus'},最大${'max'}串時${'stats_max'}`, | |||
| scale_match_length: tp`${'in_once'}相連消除${'min'}個${'orbs'}時${'stats'}${'bonus'}`, | |||
| scale_match_length_bonus: tp`,每多1個${'bonus'},最大${'max'}個時${'stats_max'}`, | |||
| scale_remain_orbs: tp`剩餘寶珠 ≤ ${'max'} 時${'stats'}${'bonus'}`, | |||
| scale_remain_orbs_bonus: tp`,每少1個${'bonus'},最少${'min'}個時${'stats_max'}`, | |||
| scale_cross: tp`每以十字形式消除5個${'orbs'}1次時${'stats'}`, | |||
| scale_cross_single: tp`以十字形式消除5個${'orbs'}時${'stats'}`, | |||
| scale_state_kind_count: tp`以隊伍中[${'awakenings'}${'attrs'}${'types'}]的數量提升,每個${'stats'}`, | |||
| }, | |||
| cond: { | |||
| unknown: tp`[ 未知條件 ]`, | |||
| hp_equal: tp`${'hp'} == ${'min'} 時`, | |||
| hp_less_or_equal: tp`${'hp'} ≤ ${'max'} 時`, | |||
| hp_greater_or_equal: tp`${'hp'} ≥ ${'min'} 時`, | |||
| hp_belong_to_range: tp`${'hp'} ∈ [${'min'},${'max'}] 時`, | |||
| use_skill: tp`使用技能時`, | |||
| multi_player: tp`協力時`, | |||
| remain_orbs: tp`剩餘寶珠 ≤ ${'value'} 時`, | |||
| exact_combo: tp`剛好${'value'}連擊時`, | |||
| exact_match_length: tp`相連消除剛好${'value'}${'orbs'}時`, | |||
| exact_match_enhanced: tp`並且其中包含至少一個強化寶珠`, | |||
| compo_type_card: tp`隊伍中同時存在 ${'ids'} 時`, | |||
| compo_type_series: tp`隊員組成全為 ${'ids'} 合作時`, | |||
| compo_type_evolution: tp`隊員組成全為 ${'ids'} 進化時`, | |||
| L_shape: tp`以L字形式消除5個${'orbs'}時`, | |||
| heal: tp`以${'orbs'}回復${'heal'}${'stats'}時`, | |||
| }, | |||
| position: { | |||
| top: tp`上方第${'pos'}橫行`, | |||
| bottom: tp`下方第${'pos'}橫行`, | |||
| left: tp`左方第${'pos'}豎列`, | |||
| right: tp`右方第${'pos'}豎列`, | |||
| shape: tp`指定位置`, | |||
| }, | |||
| value: { | |||
| unknown: tp`[ 未知數值: ${'type'}]`, //type | |||
| const: tp`${'value'}${'unit'}`, | |||
| const_to: tp`到${'value'}`, | |||
| mul_percent: tp`${'value'}%`, | |||
| mul_times: tp`×${'value'}倍`, | |||
| mul_of_percent: tp`${'stats'}的${'value'}%`, | |||
| mul_of_times: tp`${'stats'}×${'value'}倍`, | |||
| hp_scale: tp`${'hp'}為100%時${'min'},${'hp'}為1時${'max'}`, | |||
| random_atk: tp`${'atk'}×${'min'}${'max'}倍`, | |||
| prob: tp`有${'value'}幾率`, | |||
| x_awakenings: tp`${'awakenings'}數量×${'value'}`, | |||
| }, | |||
| target: { | |||
| unknown: tp`未知目標`, | |||
| self: tp`角色自身`, | |||
| team: tp`隊伍`, | |||
| team_last: tp`隊伍最後一位隊員`, | |||
| team_leader: tp`隊長`, | |||
| team_sub: tp`隊員`, | |||
| enemy: tp`敵人`, | |||
| enemy_all: tp`敵方全體`, | |||
| enemy_one: tp`敵方1體`, | |||
| enemy_attr: tp`${'attr'}敵人`, | |||
| }, | |||
| stats: { | |||
| unknown: tp`[ 未知狀態: ${'type'}]`, //type | |||
| maxhp: tp`最大HP`, | |||
| hp: tp`HP`, | |||
| chp: tp`當前HP`, | |||
| atk: tp`攻擊力`, | |||
| rcv: tp`回復力`, | |||
| teamhp: tp`隊伍總HP`, | |||
| teamatk: tp`隊伍${'attrs'}總攻擊力`, | |||
| teamrcv: tp`隊伍回復力`, | |||
| }, | |||
| unit: { | |||
| orbs: tp`個`, | |||
| times: tp`次`, | |||
| seconds: tp`秒`, | |||
| point: tp`點`, | |||
| turns: tp`回合`, | |||
| }, | |||
| word: { | |||
| comma: tp`,`, //逗號 | |||
| slight_pause: tp`、`, //頓號 | |||
| range_hyphen: tp`~`, //範圍連字符 | |||
| in_once: tp`同時`, | |||
| evo_type_pixel: tp`像素進化`, | |||
| evo_type_reincarnation: tp`轉生或超轉生進化`, | |||
| evo_type_unknow: tp`未知進化: ${'type'}`, | |||
| affix_attr: tp`${'cotent'}屬性`, //詞綴-屬性 | |||
| affix_orb: tp`${'cotent'}寶珠`, //詞綴-寶珠 | |||
| affix_type: tp`${'cotent'}類型`, //詞綴-類型 | |||
| affix_awakening: tp`${'cotent'}覺醒`, //詞綴-覺醒 | |||
| affix_exclude: tp`${'cotent'}以外`, //詞綴-屬性 | |||
| }, | |||
| attrs: { | |||
| [0]: tp`${'icon'}火`, | |||
| [1]: tp`${'icon'}水`, | |||
| [2]: tp`${'icon'}木`, | |||
| [3]: tp`${'icon'}光`, | |||
| [4]: tp`${'icon'}暗`, | |||
| [5]: tp`${'icon'}回復力`, | |||
| [6]: tp`${'icon'}空`, | |||
| all: tp`所有`, | |||
| self: tp`${'icon'}自身屬性`, | |||
| fixed: tp`${'icon'}無視防禦固定`, | |||
| }, | |||
| orbs: { | |||
| [0]: tp`${'icon'}火`, | |||
| [1]: tp`${'icon'}水`, | |||
| [2]: tp`${'icon'}木`, | |||
| [3]: tp`${'icon'}光`, | |||
| [4]: tp`${'icon'}暗`, | |||
| [5]: tp`${'icon'}回復`, | |||
| [6]: tp`${'icon'}干擾`, | |||
| [7]: tp`${'icon'}毒`, | |||
| [8]: tp`${'icon'}劇毒`, | |||
| [9]: tp`${'icon'}炸彈`, | |||
| enhanced: tp`${'icon'}強化`, | |||
| locked: tp`${'icon'}鎖定`, | |||
| nail: tp`${'icon'}釘子`, | |||
| variation: tp`${'icon'}變換珠(每${'time'}變換)`, | |||
| _5color: tp`${'icon'}5色`, | |||
| _6color: tp`${'_5color'}+${'orb_rcv'}`, | |||
| all: tp`所有`, | |||
| any: tp`任何${'cotent'}`, | |||
| }, | |||
| types: { | |||
| [0]: tp`${'icon'}進化用`, | |||
| [1]: tp`${'icon'}平衡`, | |||
| [2]: tp`${'icon'}體力`, | |||
| [3]: tp`${'icon'}回復`, | |||
| [4]: tp`${'icon'}龍`, | |||
| [5]: tp`${'icon'}神`, | |||
| [6]: tp`${'icon'}攻擊`, | |||
| [7]: tp`${'icon'}惡魔`, | |||
| [8]: tp`${'icon'}機械`, | |||
| [9]: tp`${'icon'}特別保護`, | |||
| [12]: tp`${'icon'}能力覺醒用`, | |||
| [14]: tp`${'icon'}強化合成用`, | |||
| [15]: tp`${'icon'}販賣用`, | |||
| }, | |||
| awokens: { | |||
| [0]: tp`${'icon'}未知覺醒`, | |||
| [1]: tp`${'icon'}HP+`, | |||
| [2]: tp`${'icon'}攻擊+`, | |||
| [3]: tp`${'icon'}回復+`, | |||
| [4]: tp`${'icon'}火盾`, | |||
| [5]: tp`${'icon'}水盾`, | |||
| [6]: tp`${'icon'}木盾`, | |||
| [7]: tp`${'icon'}光盾`, | |||
| [8]: tp`${'icon'}暗盾`, | |||
| [9]: tp`${'icon'}自回`, | |||
| [10]: tp`${'icon'}防封`, | |||
| [11]: tp`${'icon'}防暗`, | |||
| [12]: tp`${'icon'}防廢`, | |||
| [13]: tp`${'icon'}防毒`, | |||
| [14]: tp`${'icon'}火+`, | |||
| [15]: tp`${'icon'}水+`, | |||
| [16]: tp`${'icon'}木+`, | |||
| [17]: tp`${'icon'}光+`, | |||
| [18]: tp`${'icon'}暗+`, | |||
| [19]: tp`${'icon'}手指`, | |||
| [20]: tp`${'icon'}心解`, | |||
| [21]: tp`${'icon'}SB`, | |||
| [22]: tp`${'icon'}火橫`, | |||
| [23]: tp`${'icon'}水橫`, | |||
| [24]: tp`${'icon'}木橫`, | |||
| [25]: tp`${'icon'}光橫`, | |||
| [26]: tp`${'icon'}暗橫`, | |||
| [27]: tp`${'icon'}U`, | |||
| [28]: tp`${'icon'}SX`, | |||
| [29]: tp`${'icon'}心+`, | |||
| [30]: tp`${'icon'}協力`, | |||
| [31]: tp`${'icon'}龍殺`, | |||
| [32]: tp`${'icon'}神殺`, | |||
| [33]: tp`${'icon'}惡魔殺`, | |||
| [34]: tp`${'icon'}機殺`, | |||
| [35]: tp`${'icon'}平衡殺`, | |||
| [36]: tp`${'icon'}攻擊殺`, | |||
| [37]: tp`${'icon'}體力殺`, | |||
| [38]: tp`${'icon'}回復殺`, | |||
| [39]: tp`${'icon'}進化殺`, | |||
| [40]: tp`${'icon'}覺醒殺`, | |||
| [41]: tp`${'icon'}強化殺`, | |||
| [42]: tp`${'icon'}賣錢殺`, | |||
| [43]: tp`${'icon'}7c`, | |||
| [44]: tp`${'icon'}5色破防`, | |||
| [45]: tp`${'icon'}心追`, | |||
| [46]: tp`${'icon'}全體 HP `, | |||
| [47]: tp`${'icon'}全體回復`, | |||
| [48]: tp`${'icon'}破無效`, | |||
| [49]: tp`${'icon'}武器`, | |||
| [50]: tp`${'icon'}方塊心追`, | |||
| [51]: tp`${'icon'}5色溜`, | |||
| [52]: tp`${'icon'}大防封`, | |||
| [53]: tp`${'icon'}大手指`, | |||
| [54]: tp`${'icon'}防雲`, | |||
| [55]: tp`${'icon'}防封條`, | |||
| [56]: tp`${'icon'}大SB`, | |||
| [57]: tp`${'icon'}上血`, | |||
| [58]: tp`${'icon'}下血`, | |||
| [59]: tp`${'icon'}L盾`, | |||
| [60]: tp`${'icon'}L解鎖`, | |||
| [61]: tp`${'icon'}10c`, | |||
| [62]: tp`${'icon'}c珠`, | |||
| [63]: tp`${'icon'}語音`, | |||
| [64]: tp`${'icon'}獎勵增加`, | |||
| [65]: tp`${'icon'} HP -`, | |||
| [66]: tp`${'icon'}攻擊-`, | |||
| [67]: tp`${'icon'}回復-`, | |||
| [68]: tp`${'icon'}大防暗`, | |||
| [69]: tp`${'icon'}大防廢`, | |||
| [70]: tp`${'icon'}大防毒`, | |||
| [71]: tp`${'icon'}掉廢`, | |||
| [72]: tp`${'icon'}掉毒`, | |||
| [73]: tp`${'icon'}火串`, | |||
| [74]: tp`${'icon'}水串`, | |||
| [75]: tp`${'icon'}木串`, | |||
| [76]: tp`${'icon'}光串`, | |||
| [77]: tp`${'icon'}暗串`, | |||
| [78]: tp`${'icon'}十字`, | |||
| [79]: tp`${'icon'}3色`, | |||
| [80]: tp`${'icon'}4色`, | |||
| [81]: tp`${'icon'}5色`, | |||
| } | |||
| }, | |||
| }; | |||
| deepMerge(localTranslating, _localTranslating); | |||
| localisation(localTranslating); | |||
| @@ -46,14 +351,14 @@ Number.prototype.bigNumberToString = function() | |||
| let numPartsStr = numParts.map((num,idx)=>{ | |||
| if (num > 0) | |||
| { | |||
| return (num < 1e3 ? "零" : "") + num.toLocaleString() + unit[idx]; | |||
| return (num < 1e3 ? "영" : "") + num.toLocaleString() + unit[idx]; | |||
| }else | |||
| return "零"; | |||
| return "영"; | |||
| }); | |||
| numPartsStr.reverse(); //反向 | |||
| let outStr = numPartsStr.join(""); | |||
| outStr = outStr.replace(/(^零+|零+$)/g,''); //去除開頭的零 | |||
| outStr = outStr.replace(/零{2,}/g,'零'); //去除多個連續的零 | |||
| outStr = outStr.replace(/(^영+|영+$)/g,''); //去除開頭的零 | |||
| outStr = outStr.replace(/영{2,}/g,'영'); //去除多個連續的零 | |||
| return outStr; | |||
| } | |||
| @@ -1,5 +1,335 @@ | |||
| //const _localTranslating = {}; | |||
| //deepMerge(localTranslating, _localTranslating); | |||
| const _localTranslating = { | |||
| webpage_title: `智龙迷城${teamsCount}人队伍图制作`, | |||
| addition_display: "💬", | |||
| title_blank: "输入队伍标题", | |||
| detail_blank: "输入说明", | |||
| sort_name:{ | |||
| sort_none: "无", | |||
| sort_id: "怪物ID", | |||
| sort_attrs: "属性", | |||
| sort_evoRootId: "进化树", | |||
| sort_evoRoot_Attrs : "进化根怪物的属性", | |||
| sort_rarity: "稀有度", | |||
| sort_cost: "消耗", | |||
| sort_mp: "MP", | |||
| sort_skillLv1: "技能最大冷却时间", | |||
| sort_skillLvMax: "技能最小冷却时间", | |||
| sort_hpMax120: "最大 HP", | |||
| sort_atkMax120: "最大攻击", | |||
| sort_rcvMax120: "最大回复", | |||
| sort_hpMax120_awoken: "最大 HP(+觉醒)", | |||
| sort_atkMax120_awoken: "最大攻击(+觉醒)", | |||
| sort_rcvMax120_awoken: "最大回复(+觉醒)", | |||
| sort_abilityIndex_awoken: "最大加权能力指数(+觉醒)", | |||
| }, | |||
| force_reload_data: "强制刷新数据", | |||
| skill_parse: { | |||
| skill: { | |||
| unknown: tp`未知的技能类型:${'type'}`, //type | |||
| active_turns: tp`${'turns'} 回合内,${'actionSkill'}`, //turns, actionSkill | |||
| random_skills: tp`随机发动以下技能:${'skills'}`, //skills | |||
| evolved_skills: tp`技能使用后会进化为下一阶段:${'skills'}`, //skills | |||
| evolved_skills_loop: tp`${`icon`}使用后返回第一阶段`, | |||
| damage_enemy: tp`对${'target'}造成${'damage'}的${'attr'}伤害${'times'}${'totalDamage'}`, //target, damage, attr | |||
| damage_enemy_times: tp`×${'times'}`, | |||
| damage_enemy_count: tp`(共${'damage'})`, | |||
| vampire: tp`${'damage_enemy'},并${'icon'}回复伤害值${'heal'}的HP`, //target, damage, attr | |||
| delay: tp`延迟敌人的攻击${'icon'}`, //icon | |||
| mass_attack: tp`所有攻击变为${'icon'}全体攻击`, | |||
| leader_change: tp`${'icon'}将${'target'}换为队长,再次使用则换回来`, | |||
| no_skyfall: tp`${'icon'}天降的宝珠不会消除`, | |||
| self_harm: tp`${'icon'}${'stats'}减少${'value'}`, | |||
| heal: tp`${'icon'}回复 ${'value'} 的 ${'stats'}`, | |||
| unbind: tp`${'stats'}状态减少 ${'turns'} 回合`, | |||
| unbind_normal: tp`${'icon'}封锁`, | |||
| unbind_awakenings: tp`${'icon'}觉醒无效`, | |||
| unbind_matches: tp`${'icon'}无法消除宝珠`, | |||
| bind_skill: tp`${'icon'}自身无法使用技能`, | |||
| defense_break: tp`${'icon'}敌方的防御力减少${'value'}`, | |||
| poison: tp`${'icon'}使${'target'}中毒,每回合损失${'belong_to'} ${'value'} 的 ${'stats'}`, | |||
| time_extend: tp`${'icon'}宝珠移动时间 ${'value'}`, | |||
| follow_attack: tp`${'icon'}消除宝珠的回合,以${'belong_to'}${'value'}的伤害追打${'target'}(计算防御力)`, | |||
| follow_attack_fixed: tp`追加${'damage'}的${'attr'}伤害`, | |||
| auto_heal_buff: tp`行动结束后${'icon'}回复${'value'}的${'stats'}`, | |||
| auto_heal: tp`${'icon'}消除宝珠的回合,回复${'belong_to'}${'value'}的${'stats'}`, | |||
| ctw: tp`${'icon'}${'value'}内时间停止,可以任意移动宝珠`, | |||
| gravity: tp`${'icon'}造成${'target'}${'value'}的伤害`, | |||
| resolve: tp`${'icon'}如${'stats'}≧${'min'},受到单一次致命攻击时,将会以1点 HP 生还`, | |||
| board_change: tp`全画面的宝珠变为${'orbs'}`, | |||
| skill_boost: tp`自身以外成员的技能冷却储备${'icon'}${'turns_min'}${'turns_max'}`, | |||
| skill_boost_range: tp`~${'turns'}`, | |||
| add_combo: tp`结算时连击数增加${'value'}${'icon'}`, | |||
| fixed_time: tp`【${'icon'}操作时间固定${'value'}】`, | |||
| min_match_length: tp`【限定≥${'matchable'}珠才能消除】`, | |||
| drop_refresh: tp`全板刷新`, | |||
| drum: tp`宝珠移动和消除的声音变成太鼓达人的音效`, | |||
| auto_path: tp`显示3连击的转珠路径(只匹配3珠,并只适用于普通地下城)`, | |||
| board7x6: tp`【${'icon'}7×6版面】`, | |||
| counter_attack: tp`受到${'target'}攻击时,${'chance'}进行受到伤害${'value'}的${'attr'}${'icon'}反击`, | |||
| change_orbs: tp`${'from'}→${'to'}`, | |||
| generate_orbs: tp`${'exclude'}生成${'orbs'}各${'value'}个`, | |||
| fixed_orbs: tp`在${'position'}产生${'orbs'}`, | |||
| orb_drop_increase: tp`${'orbs'}的掉落率提高到${'value'}`, | |||
| orb_drop_increase_flag: tp`${'chance'}掉落${'flag'}${'orbs'}`, | |||
| attr_absorb: tp`${'icon'}属性吸收`, | |||
| combo_absorb: tp`${'icon'}连击吸收`, | |||
| damage_absorb: tp`${'icon'}伤害吸收`, | |||
| damage_void: tp`${'icon'}伤害无效`, | |||
| void_enemy_buff: tp`敌人的 ${'buff'} 无效化`, | |||
| change_attribute: tp`将${'target'}变为${'attrs'}`, | |||
| set_orb_state_enhanced: tp`${'icon'}强化${'orbs'}(每颗宝珠效力增加${'value'})`, | |||
| set_orb_state_locked: tp`将${'orbs'}${'icon'}锁定${'value'}`, | |||
| set_orb_state_unlocked: tp`${'icon'}解除${'orbs'}的锁定状态`, | |||
| set_orb_state_bound: tp`无法消除${'orbs'}`, | |||
| rate_multiply: tp`作为队长进入地下城时,${'rate'}变为${'value'}`, | |||
| rate_multiply_drop: tp`${'icon'}怪物蛋掉落率`, | |||
| rate_multiply_coin: tp`${'icon'}金币掉落率`, | |||
| rate_multiply_exp: tp`${'icon'}等级经验倍率`, | |||
| reduce_damage: tp`${'condition'}受到的${'attrs'}伤害${'icon'}减少${'value'}`, | |||
| power_up: tp`${'condition'}${'targets'}${'target'}${'value'}${'reduceDamage'}${'addCombo'}${'followAttack'}`, | |||
| power_up_targets: tp`${'attrs_types'}的 `, | |||
| henshin: tp`变身为${'card'}`, | |||
| void_poison: tp`消除${'poison'}时不会受到毒伤害`, | |||
| skill_proviso: tp`${'condition'}才能发动后续效果`, | |||
| obstruct_opponent: tp`对${'target'}施加敌对技能效果:${'skills'}`, | |||
| obstruct_opponent_after_me: tp`排名比自身低的对手`, | |||
| obstruct_opponent_before_me: tp`排名比自身高的对手`, | |||
| obstruct_opponent_designated_position: tp`第${'positions'}排位的对手`, | |||
| }, | |||
| power: { | |||
| unknown: tp`[ 未知能力提升: ${'type'} ]`, | |||
| scale_attributes: tp`${'orbs'}中${'min'}种属性同时攻击时${'stats'}${'bonus'}`, | |||
| scale_attributes_bonus: tp`,每多1种${'bonus'},最大${'max'}种时${'stats_max'}`, | |||
| scale_combos: tp`${'min'}连击以上时${'stats'}${'bonus'}`, | |||
| scale_combos_bonus: tp`,每多1连击${'bonus'},最大${'max'}连击时${'stats_max'}`, | |||
| scale_match_attrs: tp`${'matches'}中${'min'}串匹配时${'stats'}${'bonus'}`, | |||
| scale_match_attrs_bonus: tp`,每多1串${'bonus'},最大${'max'}串时${'stats_max'}`, | |||
| scale_match_length: tp`${'in_once'}相连消除${'min'}个${'orbs'}时${'stats'}${'bonus'}`, | |||
| scale_match_length_bonus: tp`,每多1个${'bonus'},最大${'max'}个时${'stats_max'}`, | |||
| scale_remain_orbs: tp`剩余宝珠 ≤ ${'max'} 时${'stats'}${'bonus'}`, | |||
| scale_remain_orbs_bonus: tp`,每少1个${'bonus'},最少${'min'}个时${'stats_max'}`, | |||
| scale_cross: tp`每以十字形式消除5个${'orbs'}1次时${'stats'}`, | |||
| scale_cross_single: tp`以十字形式消除5个${'orbs'}时${'stats'}`, | |||
| scale_state_kind_count: tp`以队伍中[${'awakenings'}${'attrs'}${'types'}]的数量提升,每个${'stats'}`, | |||
| }, | |||
| cond: { | |||
| unknown: tp`[ 未知条件 ]`, | |||
| hp_equal: tp`${'hp'} == ${'min'} 时`, | |||
| hp_less_or_equal: tp`${'hp'} ≤ ${'max'} 时`, | |||
| hp_greater_or_equal: tp`${'hp'} ≥ ${'min'} 时`, | |||
| hp_belong_to_range: tp`${'hp'} ∈ [${'min'},${'max'}] 时`, | |||
| use_skill: tp`使用技能时`, | |||
| multi_player: tp`协力时`, | |||
| remain_orbs: tp`剩余宝珠 ≤ ${'value'} 时`, | |||
| exact_combo: tp`刚好${'value'}连击时`, | |||
| exact_match_length: tp`相连消除刚好${'value'}${'orbs'}时`, | |||
| exact_match_enhanced: tp`并且其中包含至少一个强化宝珠`, | |||
| compo_type_card: tp`队伍中同时存在 ${'ids'} 时`, | |||
| compo_type_series: tp`队员组成全为 ${'ids'} 合作时`, | |||
| compo_type_evolution: tp`队员组成全为 ${'ids'} 进化时`, | |||
| L_shape: tp`以L字形式消除5个${'orbs'}时`, | |||
| heal: tp`以${'orbs'}回复${'heal'}${'stats'}时`, | |||
| }, | |||
| position: { | |||
| top: tp`上方第${'pos'}横行`, | |||
| bottom: tp`下方第${'pos'}横行`, | |||
| left: tp`左方第${'pos'}竖列`, | |||
| right: tp`右方第${'pos'}竖列`, | |||
| shape: tp`指定位置`, | |||
| }, | |||
| value: { | |||
| unknown: tp`[ 未知数值: ${'type'}]`, //type | |||
| const: tp`${'value'}${'unit'}`, | |||
| const_to: tp`到${'value'}`, | |||
| mul_percent: tp`${'value'}%`, | |||
| mul_times: tp`×${'value'}倍`, | |||
| mul_of_percent: tp`${'stats'}的${'value'}%`, | |||
| mul_of_times: tp`${'stats'}×${'value'}倍`, | |||
| hp_scale: tp`${'hp'}为100%时${'min'},${'hp'}为1时${'max'}`, | |||
| random_atk: tp`${'atk'}×${'min'}${'max'}倍`, | |||
| prob: tp`有${'value'}几率`, | |||
| x_awakenings: tp`${'awakenings'}数量×${'value'}`, | |||
| }, | |||
| target: { | |||
| unknown: tp`未知目标`, | |||
| self: tp`角色自身`, | |||
| team: tp`队伍`, | |||
| team_last: tp`队伍最后一位队员`, | |||
| team_leader: tp`队长`, | |||
| team_sub: tp`队员`, | |||
| enemy: tp`敌人`, | |||
| enemy_all: tp`敌方全体`, | |||
| enemy_one: tp`敌方1体`, | |||
| enemy_attr: tp`${'attr'}敌人`, | |||
| }, | |||
| stats: { | |||
| unknown: tp`[ 未知状态: ${'type'}]`, //type | |||
| maxhp: tp`最大HP`, | |||
| hp: tp`HP`, | |||
| chp: tp`当前HP`, | |||
| atk: tp`攻击力`, | |||
| rcv: tp`回复力`, | |||
| teamhp: tp`队伍总HP`, | |||
| teamatk: tp`队伍${'attrs'}总攻击力`, | |||
| teamrcv: tp`队伍回复力`, | |||
| }, | |||
| unit: { | |||
| orbs: tp`个`, | |||
| times: tp`次`, | |||
| seconds: tp`秒`, | |||
| point: tp`点`, | |||
| turns: tp`回合`, | |||
| }, | |||
| word: { | |||
| comma: tp`,`, //逗号 | |||
| slight_pause: tp`、`, //顿号 | |||
| range_hyphen: tp`~`, //范围连字符 | |||
| in_once: tp`同时`, | |||
| evo_type_pixel: tp`像素进化`, | |||
| evo_type_reincarnation: tp`转生或超转生进化`, | |||
| evo_type_unknow: tp`未知进化: ${'type'}`, | |||
| affix_attr: tp`${'cotent'}属性`, //词缀-属性 | |||
| affix_orb: tp`${'cotent'}宝珠`, //词缀-宝珠 | |||
| affix_type: tp`${'cotent'}类型`, //词缀-类型 | |||
| affix_awakening: tp`${'cotent'}觉醒`, //词缀-觉醒 | |||
| affix_exclude: tp`${'cotent'}以外`, //词缀-属性 | |||
| }, | |||
| attrs: { | |||
| [0]: tp`${'icon'}火`, | |||
| [1]: tp`${'icon'}水`, | |||
| [2]: tp`${'icon'}木`, | |||
| [3]: tp`${'icon'}光`, | |||
| [4]: tp`${'icon'}暗`, | |||
| [5]: tp`${'icon'}回复力`, | |||
| [6]: tp`${'icon'}空`, | |||
| all: tp`所有`, | |||
| self: tp`${'icon'}自身属性`, | |||
| fixed: tp`${'icon'}无视防御固定`, | |||
| }, | |||
| orbs: { | |||
| [0]: tp`${'icon'}火`, | |||
| [1]: tp`${'icon'}水`, | |||
| [2]: tp`${'icon'}木`, | |||
| [3]: tp`${'icon'}光`, | |||
| [4]: tp`${'icon'}暗`, | |||
| [5]: tp`${'icon'}回复`, | |||
| [6]: tp`${'icon'}干扰`, | |||
| [7]: tp`${'icon'}毒`, | |||
| [8]: tp`${'icon'}剧毒`, | |||
| [9]: tp`${'icon'}炸弹`, | |||
| enhanced: tp`${'icon'}强化`, | |||
| locked: tp`${'icon'}锁定`, | |||
| nail: tp`${'icon'}钉子`, | |||
| variation: tp`${'icon'}变换珠(每${'time'}变换)`, | |||
| _5color: tp`${'icon'}5色`, | |||
| _6color: tp`${'_5color'}+${'orb_rcv'}`, | |||
| all: tp`所有`, | |||
| any: tp`任何${'cotent'}`, | |||
| }, | |||
| types: { | |||
| [0]: tp`${'icon'}进化用`, | |||
| [1]: tp`${'icon'}平衡`, | |||
| [2]: tp`${'icon'}体力`, | |||
| [3]: tp`${'icon'}回复`, | |||
| [4]: tp`${'icon'}龙`, | |||
| [5]: tp`${'icon'}神`, | |||
| [6]: tp`${'icon'}攻击`, | |||
| [7]: tp`${'icon'}恶魔`, | |||
| [8]: tp`${'icon'}机械`, | |||
| [9]: tp`${'icon'}特别保护`, | |||
| [12]: tp`${'icon'}能力觉醒用`, | |||
| [14]: tp`${'icon'}强化合成用`, | |||
| [15]: tp`${'icon'}贩卖用`, | |||
| }, | |||
| awokens: { | |||
| [0]: tp`${'icon'}未知觉醒`, | |||
| [1]: tp`${'icon'}HP+`, | |||
| [2]: tp`${'icon'}攻击+`, | |||
| [3]: tp`${'icon'}回复+`, | |||
| [4]: tp`${'icon'}火盾`, | |||
| [5]: tp`${'icon'}水盾`, | |||
| [6]: tp`${'icon'}木盾`, | |||
| [7]: tp`${'icon'}光盾`, | |||
| [8]: tp`${'icon'}暗盾`, | |||
| [9]: tp`${'icon'}自回`, | |||
| [10]: tp`${'icon'}防封`, | |||
| [11]: tp`${'icon'}防暗`, | |||
| [12]: tp`${'icon'}防废`, | |||
| [13]: tp`${'icon'}防毒`, | |||
| [14]: tp`${'icon'}火+`, | |||
| [15]: tp`${'icon'}水+`, | |||
| [16]: tp`${'icon'}木+`, | |||
| [17]: tp`${'icon'}光+`, | |||
| [18]: tp`${'icon'}暗+`, | |||
| [19]: tp`${'icon'}手指`, | |||
| [20]: tp`${'icon'}心解`, | |||
| [21]: tp`${'icon'}SB`, | |||
| [22]: tp`${'icon'}火横`, | |||
| [23]: tp`${'icon'}水横`, | |||
| [24]: tp`${'icon'}木横`, | |||
| [25]: tp`${'icon'}光横`, | |||
| [26]: tp`${'icon'}暗横`, | |||
| [27]: tp`${'icon'}U`, | |||
| [28]: tp`${'icon'}SX`, | |||
| [29]: tp`${'icon'}心+`, | |||
| [30]: tp`${'icon'}协力`, | |||
| [31]: tp`${'icon'}龙杀`, | |||
| [32]: tp`${'icon'}神杀`, | |||
| [33]: tp`${'icon'}恶魔杀`, | |||
| [34]: tp`${'icon'}机杀`, | |||
| [35]: tp`${'icon'}平衡杀`, | |||
| [36]: tp`${'icon'}攻击杀`, | |||
| [37]: tp`${'icon'}体力杀`, | |||
| [38]: tp`${'icon'}回复杀`, | |||
| [39]: tp`${'icon'}进化杀`, | |||
| [40]: tp`${'icon'}觉醒杀`, | |||
| [41]: tp`${'icon'}强化杀`, | |||
| [42]: tp`${'icon'}卖钱杀`, | |||
| [43]: tp`${'icon'}7c`, | |||
| [44]: tp`${'icon'}5色破防`, | |||
| [45]: tp`${'icon'}心追`, | |||
| [46]: tp`${'icon'}全体 HP `, | |||
| [47]: tp`${'icon'}全体回复`, | |||
| [48]: tp`${'icon'}破无效`, | |||
| [49]: tp`${'icon'}武器`, | |||
| [50]: tp`${'icon'}方块心追`, | |||
| [51]: tp`${'icon'}5色溜`, | |||
| [52]: tp`${'icon'}大防封`, | |||
| [53]: tp`${'icon'}大手指`, | |||
| [54]: tp`${'icon'}防云`, | |||
| [55]: tp`${'icon'}防封条`, | |||
| [56]: tp`${'icon'}大SB`, | |||
| [57]: tp`${'icon'}上血`, | |||
| [58]: tp`${'icon'}下血`, | |||
| [59]: tp`${'icon'}L盾`, | |||
| [60]: tp`${'icon'}L解锁`, | |||
| [61]: tp`${'icon'}10c`, | |||
| [62]: tp`${'icon'}c珠`, | |||
| [63]: tp`${'icon'}语音`, | |||
| [64]: tp`${'icon'}奖励增加`, | |||
| [65]: tp`${'icon'} HP -`, | |||
| [66]: tp`${'icon'}攻击-`, | |||
| [67]: tp`${'icon'}回复-`, | |||
| [68]: tp`${'icon'}大防暗`, | |||
| [69]: tp`${'icon'}大防废`, | |||
| [70]: tp`${'icon'}大防毒`, | |||
| [71]: tp`${'icon'}掉废`, | |||
| [72]: tp`${'icon'}掉毒`, | |||
| [73]: tp`${'icon'}火串`, | |||
| [74]: tp`${'icon'}水串`, | |||
| [75]: tp`${'icon'}木串`, | |||
| [76]: tp`${'icon'}光串`, | |||
| [77]: tp`${'icon'}暗串`, | |||
| [78]: tp`${'icon'}十字`, | |||
| [79]: tp`${'icon'}3色`, | |||
| [80]: tp`${'icon'}4色`, | |||
| [81]: tp`${'icon'}5色`, | |||
| } | |||
| }, | |||
| }; | |||
| deepMerge(localTranslating, _localTranslating); | |||
| localisation(localTranslating); | |||
| //大数字缩短长度 | |||