gwang преди 3 години
родител
ревизия
189f2517d2
променени са 1 файла, в които са добавени 5 реда и са изтрити 5 реда
  1. 5 5
      Gameserver/Amfphp/model/User/Ins_UserHero.php

+ 5 - 5
Gameserver/Amfphp/model/User/Ins_UserHero.php

@@ -271,11 +271,11 @@ class Ins_UserHero extends Object_ext {
      */
     public function GetPower($user) {
         return (int) ($this->getHpForBattle($user) * 1.0                                    //
-                + $this->getNengLiangZhiJiForBattle() * 0                              //
-                + $this->getWuLiGongJiForBattle() * 4                                  //
-                + $this->getFaShuQiangDuForBattle() * 4                                //
-                + $this->getFangYuHuJiaForBattle() * 5                                 //
-                + $this->getMoFaKangXingForBattle() * 5                                //
+                + $this->getNengLiangZhiJiForBattle($user) * 0                              //
+                + $this->getWuLiGongJiForBattle($user) * 4                                  //
+                + $this->getFaShuQiangDuForBattle($user) * 4                                //
+                + $this->getFangYuHuJiaForBattle($user) * 5                                 //
+                + $this->getMoFaKangXingForBattle($user) * 5                                //
                 );
     }