Ver Fonte

战力公式调整

cyzhao há 1 ano atrás
pai
commit
189aed0472
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      Gameserver/App/process/FightProc.php

+ 1 - 1
Gameserver/App/process/FightProc.php

@@ -1061,7 +1061,7 @@ class FightProc {
         $bigHit_Val = $mo->bigHit_Val;
         $bigHit_rate = $mo->bigHit_rate;
 
-        $val = $heroAttck * ($heroHp-$dec_demage) * (1+$bigHit_rate*($bigHit_Val-1));
+        $val = $heroAttck * ($heroHp-$dec_demage) * (1+$bigHit_rate*($bigHit_Val/100-1));
 
         return intval($val);
     }