game: 국가 임관 시, 기존 등용장 무효화
This commit is contained in:
@@ -9,7 +9,8 @@ use \sammo\{
|
||||
GameConst,
|
||||
LastTurn,
|
||||
Command,
|
||||
KVStorage
|
||||
KVStorage,
|
||||
ScoutMessage
|
||||
};
|
||||
|
||||
use function \sammo\tryUniqueItemLottery;
|
||||
@@ -175,6 +176,8 @@ class che_임관 extends Command\GeneralCommand
|
||||
tryUniqueItemLottery(\sammo\genGenericUniqueRNGFromGeneral($general), $general);
|
||||
$general->applyDB($db);
|
||||
|
||||
ScoutMessage::invalidateAll($general->getID());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user