버그 수정
- 의병 모집 - 장수 변경 시 생성 폼 남음
This commit is contained in:
@@ -192,6 +192,10 @@ $(function($) {
|
|||||||
printGenerals(value);
|
printGenerals(value);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (hasGeneralID) {
|
||||||
|
$('#create_plate').hide();
|
||||||
|
}
|
||||||
|
|
||||||
$('#build_general').on('click', buildGeneral);
|
$('#build_general').on('click', buildGeneral);
|
||||||
|
|
||||||
$.each(validCustomOption, function(idx, value) {
|
$.each(validCustomOption, function(idx, value) {
|
||||||
|
|||||||
@@ -159,6 +159,7 @@ class che_의병모집 extends Command\NationCommand
|
|||||||
$newNPC->setCityID($general->getCityID());
|
$newNPC->setCityID($general->getCityID());
|
||||||
|
|
||||||
$newNPC->setSpecial('None', 'None');
|
$newNPC->setSpecial('None', 'None');
|
||||||
|
$newNPC->setLifeSpan($env['year']-20, $env['year']+10);
|
||||||
$newNPC->setKillturn(Util::randRangeInt(64, 70));
|
$newNPC->setKillturn(Util::randRangeInt(64, 70));
|
||||||
$newNPC->setNPCType(4);
|
$newNPC->setNPCType(4);
|
||||||
$newNPC->setMoney(1000, 1000);
|
$newNPC->setMoney(1000, 1000);
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ history.go(-1);
|
|||||||
</div>
|
</div>
|
||||||
</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="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 class="with_border legacy_layout" style="display:flex">
|
||||||
<div style='flex:1;' id='left_pad'>
|
<div style='flex:1;' id='left_pad'>
|
||||||
@@ -184,7 +184,8 @@ if ($admin['show_img_level'] >= 1 && $member['grade'] >= 1 && $member['picture']
|
|||||||
</div>
|
</div>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="bg0">
|
||||||
<div class="with_border legacy_layout"><?=backButton()?></div>
|
<div class="with_border legacy_layout"><?=backButton()?></div>
|
||||||
<div class="with_border legacy_layout"><?=banner()?></div>
|
<div class="with_border legacy_layout"><?=banner()?></div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user