Пример #1
0
function strike(&$pa, &$pd, $active)
{
    if (eval(__MAGIC__)) {
        return $___RET_VALUE;
    }
    $chprocess($pa, $pd, $active);
    if ($pa['is_hit'] && strpos($pa['wepk'], $pa['wep_kind']) !== false) {
        $dmg = calculate_ex_attack_dmg($pa, $pd, $active);
        $pa['dmg_dealt'] += $dmg;
    }
}
Пример #2
0
function strike(&$pa, &$pd, $active)
{
    if (eval(__MAGIC__)) {
        return $___RET_VALUE;
    }
    $chprocess($pa, $pd, $active);
    if ($pa['is_hit'] && attr_dmg_check_not_WPG($pa, $pd, $active)) {
        $dmg = calculate_ex_attack_dmg($pa, $pd, $active);
        $pa['dmg_dealt'] += $dmg;
    }
}