버그 수정

- 의병 모집
- 장수 변경 시 생성 폼 남음
This commit is contained in:
2021-01-01 19:54:28 +09:00
parent d100030da6
commit 4327f9529a
3 changed files with 8 additions and 2 deletions
+4
View File
@@ -192,6 +192,10 @@ $(function($) {
printGenerals(value);
});
if (hasGeneralID) {
$('#create_plate').hide();
}
$('#build_general').on('click', buildGeneral);
$.each(validCustomOption, function(idx, value) {
@@ -159,6 +159,7 @@ class che_의병모집 extends Command\NationCommand
$newNPC->setCityID($general->getCityID());
$newNPC->setSpecial('None', 'None');
$newNPC->setLifeSpan($env['year']-20, $env['year']+10);
$newNPC->setKillturn(Util::randRangeInt(64, 70));
$newNPC->setNPCType(4);
$newNPC->setMoney(1000, 1000);
+3 -2
View File
@@ -106,7 +106,7 @@ history.go(-1);
</div>
</div>
<div class="bg0">
<div class="bg0" id="create_plate">
<div class="bg1 with_border legacy_layout font1" style="text-align:center;font-weight:bold;margin-top:10px;">장수 생성</div>
<div class="with_border legacy_layout" style="display:flex">
<div style='flex:1;' id='left_pad'>
@@ -184,7 +184,8 @@ if ($admin['show_img_level'] >= 1 && $member['grade'] >= 1 && $member['picture']
</div>
</table>
</div>
</div>
<div class="bg0">
<div class="with_border legacy_layout"><?=backButton()?></div>
<div class="with_border legacy_layout"><?=banner()?></div>
</div>