function get_trap_damage() { if (eval(__MAGIC__)) { return $___RET_VALUE; } eval(import_module('sys', 'player')); if (\skillbase\skill_query(409) && check_unlocked409()) { return round(0.9 * $chprocess()); } return $chprocess(); }
function get_final_dmg_multiplier(&$pa, &$pd, $active) { if (eval(__MAGIC__)) { return $___RET_VALUE; } $r = array(); if (\skillbase\skill_query(409, $pd) && check_unlocked409($pd)) { eval(import_module('logger')); if ($active) { $log .= "<span class=\"yellow\">「不动」使敌人受到的最终伤害降低了10%!</span><br>"; } else { $log .= "<span class=\"yellow\">「不动」使你受到的最终伤害降低了10%!</span><br>"; } $r = array(0.9); } return array_merge($r, $chprocess($pa, $pd, $active)); }