[過去ログ] どんぐりシステムについて話しましょう ★40 (1002レス)
上下前次1-新
抽出解除 レス栞
このスレッドは過去ログ倉庫に格納されています。
次スレ検索 歴削→次スレ 栞削→次スレ 過去ログメニュー
641(1): どんぐりキャノン ★ ハンター[Lv.257][木告] 05/21(火)15:52 ID:CAP_USER(44/65) AAS
>>603 >>638
This is the actual code. Would you like to check it?
elementalScaling :: Float
elementalScaling = 0.05
elementalEffectiveness :: Maybe (Element Int) -> Maybe (Element Int) -> Float
-- Main elemental cycle: Lightning > Air > Earth > Water > Fire > Ice > Lightning
elementalEffectiveness (Just (Lightning !potency1)) (Just (Air !potency2)) = 1.2 + elementalScaling * fromIntegral (potency1 - potency2)
elementalEffectiveness (Just (Air !potency1)) (Just (Earth !potency2)) = 1.2 + elementalScaling * fromIntegral (potency1 - potency2)
elementalEffectiveness (Just (Earth !potency1)) (Just (Water !potency2)) = 1.2 + elementalScaling * fromIntegral (potency1 - potency2)
elementalEffectiveness (Just (Water !potency1)) (Just (Fire !potency2)) = 1.2 + elementalScaling * fromIntegral (potency1 - potency2)
省19
646(1): 警備員[Lv.23] 05/21(火)16:03 ID:OlCPksEr0(3/10) AAS
>>641
It's simple.
- Water vs Earth: \( E = 0.8 - 0.05 \times (p_1 - p_2) \) is wrong.
It should be like this.
- Water vs Earth: \( E = 0.8 - 0.05 \times (p_2 - p_1) \)
上下前次1-新書関写板覧索設栞歴
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ AAサムネイル
ぬこの手 ぬこTOP 1.397s*