iAction,name,info, buildiActionCache, mode, myInfo

This commit is contained in:
2019-10-05 01:17:43 +09:00
parent 1699ac6e08
commit d481047eb4
90 changed files with 551 additions and 3592 deletions
+4
View File
@@ -39,6 +39,10 @@ class TriggerGeneralLevel implements iAction{
$this->lbonus = calcLeadershipBonus($this->generalLevel, $nationLevel);
}
public function getLbonus():int{
return $this->lbonus;
}
public function onCalcDomestic(string $turnType, string $varType, float $value, $aux=null):float{
if($turnType == '농업' || $turnType == '상업'){
if(in_array($this->generalLevel, [12, 11, 9, 7, 5, 3])){