To calculate the adjusted damage \( D \), start with this formula:
\[ D = \max(0, \left\lfloor (F - A) \times E \right\rfloor ) \]
Where: - \( D \) is the adjusted damage. - \( F \) is the final base damage dealt (including possible critical hits). - \( A \) is the final defense of the opponent (including possible critical defense). - \( E \) is the elemental effectiveness factor, which adjusts the damage based on the interaction between attacker’s and defender’s elements.
The elemental effectiveness \( E \) depends on the elements involved and their respective potencies. If one element is strong against another, the effectiveness factor increases; if one element is weak against another, the effectiveness factor decreases. Here’s how it is calculated:
For element interactions: 1. If the attacker’s element is strong against the defender’s element: \[ E = 1.2 + 0.05 \times (p_1 - p_2) \] Where \( p_1 \) is the potency of the attacker’s element, and \( p_2 \) is the potency of the defender’s element.
2. If the attacker’s element is weak against the defender’s element: \[ E = 0.8 - 0.05 \times (p_1 - p_2) \]
3. Otherwise (if there is no specific strength or weakness between the elements or no elements are involved): \[ E = 1.0 \]
Here are specific examples of element interactions: - Fire vs Ice: \( E = 1.2 + 0.05 \times (p_1 - p_2) \) - Ice vs Fire: \( E = 0.8 - 0.05 \times (p_1 - p_2) \) - Fire vs Water: \( E = 0.8 - 0.05 \times (p_1 - p_2) \) - Water vs Fire: \( E = 1.2 + 0.05 \times (p_1 - p_2) \) - Water vs Earth: \( E = 0.8 - 0.05 \times (p_1 - p_2) \) - Earth vs Water: \( E = 1.2 + 0.05 \times (p_1 - p_2) \) - Earth vs Air: \( E = 0.8 - 0.05 \times (p_1 - p_2) \) - Air vs Earth: \( E = 1.2 + 0.05 \times (p_1 - p_2) \) - Air vs Lightning: \( E = 0.8 - 0.05 \times (p_1 - p_2) \) - Lightning vs Air: \( E = 1.2 + 0.05 \times (p_1 - p_2) \) - Lightning vs Water: \( E = 1.2 + 0.05 \times (p_1 - p_2) \) - Water vs Lightning: \( E = 0.8 - 0.05 \times (p_1 - p_2) \) - Ice vs Lightning: \( E = 0.8 - 0.05 \times (p_1 - p_2) \) - Lightning vs Ice: \( E = 1.2 + 0.05 \times (p_1 - p_2) \) - Light vs Dark: \( E = 1.2 + 0.05 \times (p_1 - p_2) \) - Dark vs Light: \( E = 0.8 - 0.05 \times (p_1 - p_2) \) - If the attacker's element is Dark and the defender has no elemental defense: \[ E = 1.2 + 0.05 \times (p_1 - 0) \] 0025警備員[Lv.0][新芽]2024/05/22(水) 21:44:03.22ID:7w+sGPAx0 テスト 0026警備員[Lv.0][新芽]2024/05/22(水) 21:46:39.39ID:1MMcmuYO0 てすと 0027警備員[Lv.0][新芽]2024/05/22(水) 21:48:45.29ID:28fstJrV0 てすと 0028警備員[Lv.1][新芽]2024/05/22(水) 21:53:53.20ID:Mky4KidW0 てすと 0029警備員[Lv.0][新芽]2024/05/22(水) 21:57:09.54ID:I458SDUT0 枯れたわ 0030警備員[Lv.0][新芽]2024/05/22(水) 22:05:01.05ID:Vc/SXLzc0 て 0031ななしさん警備員[Lv.0][新芽警]2024/05/22(水) 22:06:40.72ID:dmbBrCG70 てす 0032ななしさん警備員[Lv.4][新芽]2024/05/22(水) 22:07:09.66ID:bxCbvMLm0 んー? 0033警備員[Lv.4][新芽]2024/05/22(水) 22:07:40.17ID:bxCbvMLm0 わからん 0034警備員[Lv.3][新芽]2024/05/22(水) 22:10:41.55ID:Jciptj5+0 テスト 0035ななしさん警備員[Lv.0][新芽警]2024/05/22(水) 22:16:13.15ID:Aj+p22Au0 てす 0036警備員[Lv.11][芽]2024/05/22(水) 22:22:27.10ID:ony9Z4pA0 枯れた? 0037ななしさん警備員[Lv.0][新芽告]2024/05/22(水) 22:29:12.98ID:Aj+p22Au0 てす 0038警備員[Lv.6][芽]2024/05/22(水) 22:30:28.03ID:IuabcaCo0 てす 0039ななしさん警備員[Lv.14]2024/05/22(水) 22:36:23.30ID:uQn7PeyC0 テスト 0040ななしさん警備員[Lv.0][新芽告]2024/05/22(水) 22:37:32.98ID:rhZ1TT5w0 てす 0041ななしさん警備員[Lv.0][新芽]2024/05/22(水) 22:45:43.37ID:wQO/m0tG0 テスト 0042ななしさん警備員[Lv.1][新芽告]2024/05/22(水) 22:46:06.70ID:MolR+9WS0 てす 0043警備員[Lv.5][新芽]2024/05/22(水) 22:52:41.92ID:bxCbvMLm0 はい 0044警備員[Lv.0][新芽]2024/05/22(水) 22:58:21.16ID:s5bXD7jd0 やるな まじかや 0045警備員[Lv.0][新芽]2024/05/22(水) 22:58:32.90ID:s5bXD7jd0 枯れまくる 0046ななしさん警備員[Lv.1][新芽告]2024/05/22(水) 23:01:25.73ID:MolR+9WS0 てす 0047ななしさん警備員[Lv.1][新芽]2024/05/22(水) 23:02:44.05ID:rsQbfLpE0 かれた 0048警備員[Lv.0][新芽]2024/05/22(水) 23:04:00.95ID:UUltkCc70 テスト 0049警備員[Lv.1][新芽]2024/05/22(水) 23:04:42.36ID:s5bXD7jd0 いけるか 0050警備員[Lv.17]2024/05/22(水) 23:05:24.62ID:v6D8K1ek0 テスト 0051ななしさん警備員[Lv.0][警]2024/05/22(水) 23:08:14.36ID:uNdZ5aJp0 テスト 0052警備員[Lv.0][新芽]2024/05/22(水) 23:08:36.46ID:5ah3xBth0 テスト 0053ななしさん警備員[Lv.0][新芽]2024/05/22(水) 23:11:15.60ID:iGAAy8+n0 あれ 0054ななしさん警備員[Lv.0][新芽]2024/05/22(水) 23:13:37.43ID:iGAAy8+n0 ぎゃああああ 0055警備員[Lv.0][新芽]2024/05/22(水) 23:14:55.24ID:31yhIojH0 テスト 0056警備員[Lv.9]2024/05/22(水) 23:15:46.23ID:t7XyrbJe0 test 0057警備員[Lv.0][新芽]2024/05/22(水) 23:16:02.27ID:4KqXATjm0 test 0058警備員[Lv.7][芽]2024/05/22(水) 23:18:14.72ID:F61g4Q2t0 ほんと鬱陶しいな 0059ななしさん警備員[Lv.2][新芽]2024/05/22(水) 23:20:18.84ID:rsQbfLpE0 すぐどんぐり枯れるンゴ 0060ななしさん警備員[Lv.0][新芽]2024/05/22(水) 23:20:59.97ID:grmcV9Zu0 bmbh