This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- https://tieba.baidu.com/p/6048246840 | |
-- 动机 https://tieba.baidu.com/p/6030357600?fid=25249178&pid=124195062887&cid=124202650757&red_tag=0539315367#124202650757 | |
减伤比例 :: Fractional n => n -> n | |
减伤比例 减防后的防御 = 减防后的防御 / (600 + 减防后的防御) | |
伤害 :: Fractional n => n -> n -> n | |
伤害 减防后的防御 攻击输出 = 攻击输出 * (1 - 减伤比例 减防后的防御) | |
我这玄策伤害 :: Fractional n => Bool -> Bool -> Bool -> n -> n -> n |