| @@ -132,7 +132,7 @@ | |||||
| scale_remain_orbs: tp`剩餘寶珠 ≤ ${'max'} 時${'stats'}${'bonus'}`, | scale_remain_orbs: tp`剩餘寶珠 ≤ ${'max'} 時${'stats'}${'bonus'}`, | ||||
| scale_remain_orbs_bonus: tp`,每少1個${'bonus'},最少${'min'}個時${'stats_max'}`, | scale_remain_orbs_bonus: tp`,每少1個${'bonus'},最少${'min'}個時${'stats_max'}`, | ||||
| scale_cross: tp`以十字形式消除5個${'orbs'}時${'each_time'}${'stats'}`, | scale_cross: tp`以十字形式消除5個${'orbs'}時${'each_time'}${'stats'}`, | ||||
| scale_state_kind_count: tp`以隊伍中[${'awakenings'}${'attrs'}${'types'}]的數量提升,每個${'stats'}`, | |||||
| scale_state_kind: tp`以隊伍中[${'awakenings'}${'attrs'}${'types'}]的數量提升,每個${'stats'}`, | |||||
| }, | }, | ||||
| cond: { | cond: { | ||||
| unknown: tp`[ 未知條件 ]`, | unknown: tp`[ 未知條件 ]`, | ||||
| @@ -133,7 +133,7 @@ | |||||
| scale_remain_orbs: tp`剩余宝珠 ≤ ${'max'} 时${'stats'}${'bonus'}`, | scale_remain_orbs: tp`剩余宝珠 ≤ ${'max'} 时${'stats'}${'bonus'}`, | ||||
| scale_remain_orbs_bonus: tp`,每少1个${'bonus'},最少${'min'}个时${'stats_max'}`, | scale_remain_orbs_bonus: tp`,每少1个${'bonus'},最少${'min'}个时${'stats_max'}`, | ||||
| scale_cross: tp`以十字形式消除5个${'orbs'}时${'each_time'}${'stats'}`, | scale_cross: tp`以十字形式消除5个${'orbs'}时${'each_time'}${'stats'}`, | ||||
| scale_state_kind_count: tp`以队伍中[${'awakenings'}${'attrs'}${'types'}]的数量提升,每个${'stats'}`, | |||||
| scale_state_kind: tp`以队伍中[${'awakenings'}${'attrs'}${'types'}]的数量提升,每个${'stats'}`, | |||||
| }, | }, | ||||
| cond: { | cond: { | ||||
| unknown: tp`[ 未知条件 ]`, | unknown: tp`[ 未知条件 ]`, | ||||
| @@ -1 +1 @@ | |||||
| [{"code":"ja","ckey":{"card":"e3513f04f8d8d1139347d3d76cf3fc73","skill":"a3f727ae97058ba37ba4b15e77dded52"},"updateTime":1674043008367},{"code":"en","ckey":{"card":"f64cc6686e5a9933a91c79ee24546f3e","skill":"486d6a5a49f8cac5b34f78e5b2b1c3af"},"updateTime":1674039545009},{"code":"ko","ckey":{"card":"6fd31517961c8bab419114650e0a29f8","skill":"cf954a60445233d66d44ea9312957880"},"updateTime":1674039545009}] | |||||
| [{"code":"ja","ckey":{"card":"6096c67d1837698ca2d5d2bab83c4971","skill":"08ef15d3be53fa316536731812d15b8e"},"updateTime":1674205907402},{"code":"en","ckey":{"card":"f64cc6686e5a9933a91c79ee24546f3e","skill":"486d6a5a49f8cac5b34f78e5b2b1c3af"},"updateTime":1674039545009},{"code":"ko","ckey":{"card":"6fd31517961c8bab419114650e0a29f8","skill":"cf954a60445233d66d44ea9312957880"},"updateTime":1674039545009}] | |||||
| @@ -986,11 +986,6 @@ function fixedOrbs(...generates) { | |||||
| return { kind: SkillKinds.FixedOrbs, generates: generates }; | return { kind: SkillKinds.FixedOrbs, generates: generates }; | ||||
| } | } | ||||
| function powerUp(attrs, types, value, condition = null, reduceDamage = null, additional = [], eachTime = false) { | function powerUp(attrs, types, value, condition = null, reduceDamage = null, additional = [], eachTime = false) { | ||||
| if (value.kind === SkillPowerUpKind.Multiplier) { | |||||
| let hp = value.hp, atk = value.atk, rcv = value.rcv; | |||||
| if (hp === 1 && atk === 1 && rcv === 1 && !reduceDamage) | |||||
| return null; | |||||
| } | |||||
| let targets = attrs?.targets; | let targets = attrs?.targets; | ||||
| if (targets) {attrs = null; types = null;} | if (targets) {attrs = null; types = null;} | ||||
| return { kind: SkillKinds.PowerUp, targets, attrs, types, condition, value, reduceDamage, additional, eachTime}; | return { kind: SkillKinds.PowerUp, targets, attrs, types, condition, value, reduceDamage, additional, eachTime}; | ||||
| @@ -1558,7 +1553,9 @@ const skillObjectParsers = { | |||||
| return powerUp(null, null, p.scaleMatchLength(flags(attrs), len, len, [100, 100], [0, 0]), null, null, combo ? [addCombo(combo)] : null); | return powerUp(null, null, p.scaleMatchLength(flags(attrs), len, len, [100, 100], [0, 0]), null, null, combo ? [addCombo(combo)] : null); | ||||
| }, | }, | ||||
| [220](attrs, combo) { | [220](attrs, combo) { | ||||
| return powerUp(null, null, p.mul([100,100]), c.LShape(flags(attrs)), null, combo ? [addCombo(combo)] : null); | |||||
| var skill = powerUp(null, null, p.mul([100,100]), c.LShape(flags(attrs)), null, combo ? [addCombo(combo)] : null); | |||||
| console.log(skill) | |||||
| return skill; | |||||
| }, | }, | ||||
| [221](attrs, damage) { | [221](attrs, damage) { | ||||
| return powerUp(null, null, p.mul([100,100]), c.LShape(flags(attrs)), null, damage ? [followAttackFixed(damage)] : null); | return powerUp(null, null, p.mul([100,100]), c.LShape(flags(attrs)), null, damage ? [followAttackFixed(damage)] : null); | ||||
| @@ -1858,6 +1855,7 @@ function renderSkill(skill, option = {}) | |||||
| break; | break; | ||||
| } | } | ||||
| case SkillKinds.Unknown: { | case SkillKinds.Unknown: { | ||||
| console.log(skill); | |||||
| let dict = { | let dict = { | ||||
| type: skill.kind | type: skill.kind | ||||
| }; | }; | ||||
| @@ -387,7 +387,7 @@ const cachesMap = new Map([ | |||||
| ], | ], | ||||
| [ | [ | ||||
| "images/cards_ja/CARDS_097.PNG", | "images/cards_ja/CARDS_097.PNG", | ||||
| "4e45060a84f015e77b62640dc86b5de1" | |||||
| "dca0c16718379a8ee2e43cfdad815e55" | |||||
| ], | ], | ||||
| [ | [ | ||||
| "sound/voice/ja/padv001.wav", | "sound/voice/ja/padv001.wav", | ||||
| @@ -8071,7 +8071,7 @@ const cachesMap = new Map([ | |||||
| ], | ], | ||||
| [ | [ | ||||
| "script-skill-parser.js", | "script-skill-parser.js", | ||||
| "e305f21dfa8fefb3ea90e4a9d35e3104" | |||||
| "1852abfeb76450f89260c9da2b81e7b6" | |||||
| ], | ], | ||||
| [ | [ | ||||
| "script-universal_function.js", | "script-universal_function.js", | ||||
| @@ -8143,7 +8143,7 @@ const cachesMap = new Map([ | |||||
| ], | ], | ||||
| [ | [ | ||||
| "languages/zh-TW.js", | "languages/zh-TW.js", | ||||
| "e23b5819a916cd469802a9720d0bcec8" | |||||
| "cdfdc37822c99ce8ed1cf5317c0e6381" | |||||
| ], | ], | ||||
| [ | [ | ||||
| "languages/zh.css", | "languages/zh.css", | ||||
| @@ -8151,7 +8151,7 @@ const cachesMap = new Map([ | |||||
| ], | ], | ||||
| [ | [ | ||||
| "languages/zh.js", | "languages/zh.js", | ||||
| "81948d579faef9ed743b0d738d4f0708" | |||||
| "c07e6af7ed7109dbea79526b6cd4ec77" | |||||
| ], | ], | ||||
| [ | [ | ||||
| "images/attrs.png", | "images/attrs.png", | ||||
| @@ -8323,7 +8323,7 @@ const cachesMap = new Map([ | |||||
| ], | ], | ||||
| [ | [ | ||||
| "monsters-info/ckey.json", | "monsters-info/ckey.json", | ||||
| "2ce2040633edd1c3e209b279d7ceee2a" | |||||
| "ad9cfd33c5ca62016709fa33e8694e2a" | |||||
| ], | ], | ||||
| [ | [ | ||||
| "monsters-info/mon_en.json", | "monsters-info/mon_en.json", | ||||
| @@ -8331,7 +8331,7 @@ const cachesMap = new Map([ | |||||
| ], | ], | ||||
| [ | [ | ||||
| "monsters-info/mon_ja.json", | "monsters-info/mon_ja.json", | ||||
| "e3513f04f8d8d1139347d3d76cf3fc73" | |||||
| "6096c67d1837698ca2d5d2bab83c4971" | |||||
| ], | ], | ||||
| [ | [ | ||||
| "monsters-info/mon_ko.json", | "monsters-info/mon_ko.json", | ||||
| @@ -8343,7 +8343,7 @@ const cachesMap = new Map([ | |||||
| ], | ], | ||||
| [ | [ | ||||
| "monsters-info/skill_ja.json", | "monsters-info/skill_ja.json", | ||||
| "a3f727ae97058ba37ba4b15e77dded52" | |||||
| "08ef15d3be53fa316536731812d15b8e" | |||||
| ], | ], | ||||
| [ | [ | ||||
| "monsters-info/skill_ko.json", | "monsters-info/skill_ko.json", | ||||