장수 생성시 능력치 덧셈이 이상한 버그 수정
This commit is contained in:
+1
-1
@@ -165,7 +165,7 @@ jQuery(function($){
|
||||
});
|
||||
|
||||
$('#join_form').submit(function(){
|
||||
var currentStatTotal = parseInt($leader.val()) + parseInt($power.val()) + parseInt($leader.val());
|
||||
var currentStatTotal = parseInt($leader.val()) + parseInt($power.val()) + parseInt($intel.val());
|
||||
if(currentStatTotal < defaultStatTotal){
|
||||
if(!confirm('현재 능력치 총합은 {0}으로, {1}보다 낮습니다. 장수 생성을 진행할까요?'.format(currentStatTotal, defaultStatTotal))){
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user