@@ -7,8 +7,7 @@ use \sammo\{
|
|||||||
ActionLogger,
|
ActionLogger,
|
||||||
GameConst, GameUnitConst,
|
GameConst, GameUnitConst,
|
||||||
LastTurn,
|
LastTurn,
|
||||||
Command,
|
Command
|
||||||
ScoutMessage
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@@ -179,8 +178,6 @@ class che_거병 extends Command\GeneralCommand{
|
|||||||
|
|
||||||
$general->applyDB($db);
|
$general->applyDB($db);
|
||||||
|
|
||||||
ScoutMessage::invalidateAll($general->getID());
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,8 @@ use \sammo\Constraint\ConstraintHelper;
|
|||||||
use sammo\CityConst;
|
use sammo\CityConst;
|
||||||
use sammo\Enums\InheritanceKey;
|
use sammo\Enums\InheritanceKey;
|
||||||
use sammo\MustNotBeReachedException;
|
use sammo\MustNotBeReachedException;
|
||||||
use sammo\ScoutMessage;
|
|
||||||
|
|
||||||
|
|
||||||
class che_랜덤임관 extends Command\GeneralCommand
|
class che_랜덤임관 extends Command\GeneralCommand
|
||||||
{
|
{
|
||||||
@@ -283,8 +284,6 @@ class che_랜덤임관 extends Command\GeneralCommand
|
|||||||
tryUniqueItemLottery(genGenericUniqueRNGFromGeneral($general), $general, '랜덤 임관');
|
tryUniqueItemLottery(genGenericUniqueRNGFromGeneral($general), $general, '랜덤 임관');
|
||||||
$general->applyDB($db);
|
$general->applyDB($db);
|
||||||
|
|
||||||
ScoutMessage::invalidateAll($general->getID());
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,8 +9,7 @@ use \sammo\{
|
|||||||
GameConst,
|
GameConst,
|
||||||
LastTurn,
|
LastTurn,
|
||||||
Command,
|
Command,
|
||||||
KVStorage,
|
KVStorage
|
||||||
ScoutMessage
|
|
||||||
};
|
};
|
||||||
|
|
||||||
use function \sammo\tryUniqueItemLottery;
|
use function \sammo\tryUniqueItemLottery;
|
||||||
@@ -176,8 +175,6 @@ class che_임관 extends Command\GeneralCommand
|
|||||||
tryUniqueItemLottery(\sammo\genGenericUniqueRNGFromGeneral($general), $general);
|
tryUniqueItemLottery(\sammo\genGenericUniqueRNGFromGeneral($general), $general);
|
||||||
$general->applyDB($db);
|
$general->applyDB($db);
|
||||||
|
|
||||||
ScoutMessage::invalidateAll($general->getID());
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -9,8 +9,7 @@ use \sammo\{
|
|||||||
LastTurn,
|
LastTurn,
|
||||||
Command,
|
Command,
|
||||||
Json,
|
Json,
|
||||||
KVStorage,
|
KVStorage
|
||||||
ScoutMessage
|
|
||||||
};
|
};
|
||||||
|
|
||||||
use function sammo\getAllNationStaticInfo;
|
use function sammo\getAllNationStaticInfo;
|
||||||
@@ -174,8 +173,6 @@ class che_장수대상임관 extends Command\GeneralCommand{
|
|||||||
tryUniqueItemLottery(\sammo\genGenericUniqueRNGFromGeneral($general), $general);
|
tryUniqueItemLottery(\sammo\genGenericUniqueRNGFromGeneral($general), $general);
|
||||||
$general->applyDB($db);
|
$general->applyDB($db);
|
||||||
|
|
||||||
ScoutMessage::invalidateAll($general->getID());
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user