Parcourir la source

战力公式调整

cyzhao il y a 1 an
Parent
commit
189aed0472
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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);
     }