game: 비전투 커맨드 효율 유니크 추가

This commit is contained in:
2022-02-20 04:02:35 +09:00
parent dc538af7ba
commit f1e4185193
3 changed files with 62 additions and 0 deletions
@@ -0,0 +1,20 @@
<?php
namespace sammo\ActionItem;
use \sammo\iAction;
use \sammo\General;
class che_명성_구석 extends \sammo\BaseItem{
protected $rawName = '구석';
protected $name = '구석(명성)';
protected $info = '명성 +15%';
protected $cost = 200;
protected $consumable = false;
public function onCalcStat(General $general, string $statName, $value, $aux=null){
if($statName == 'experience'){
return $value * 1.15;
}
return $value;
}
}