같은 병종 숙련전환하면 늘어나기만 하는 버그 수정
This commit is contained in:
@@ -2565,9 +2565,18 @@ function process_58(&$general) {
|
||||
|
||||
$cutDex = Util::toInt($fromOrigDex * 0.3);
|
||||
$fromNewDex = $fromOrigDex - $cutDex;
|
||||
|
||||
if($fromDexIdx == $toDexIdx){
|
||||
$toOrigDex = $fromNewDex;
|
||||
}
|
||||
|
||||
$addDex = Util::toInt($cutDex * 2 / 3);
|
||||
$toNewDex = $toOrigDex + $addDex;
|
||||
|
||||
if($fromDexIdx == $toDexIdx){
|
||||
$fromNewDex = $toNewDex;
|
||||
}
|
||||
|
||||
$exp = 10;
|
||||
$exp = CharExperience($exp, $general['personal']);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user