game,feat: 소비형 아이템 효율 상승, 환약 3회용으로 변경

This commit is contained in:
2022-02-23 01:41:24 +09:00
parent 5f36143b44
commit 9f84eb8d4d
9 changed files with 45 additions and 18 deletions
+3 -2
View File
@@ -3,6 +3,7 @@ namespace sammo\ActionItem;
use \sammo\iAction;
use \sammo\General;
use \sammo\BaseWarUnitTrigger;
use sammo\GameConst;
use \sammo\WarUnit;
use \sammo\WarUnitTriggerCaller;
use \sammo\WarUnitTrigger\능력치변경;
@@ -11,7 +12,7 @@ class che_사기_탁주 extends \sammo\BaseItem{
protected $rawName = '탁주';
protected $name = '탁주(사기)';
protected $info = '[전투] 사기 +6. 1회용';
protected $info = '[전투] 사기 +30(한도 내). 1회용';
protected $cost = 1000;
protected $consumable = true;
protected $buyable = true;
@@ -19,7 +20,7 @@ class che_사기_탁주 extends \sammo\BaseItem{
public function getBattleInitSkillTriggerList(WarUnit $unit):?WarUnitTriggerCaller{
return new WarUnitTriggerCaller(
new 능력치변경($unit, BaseWarUnitTrigger::TYPE_CONSUMABLE_ITEM, 'atmos', '+', 6)
new 능력치변경($unit, BaseWarUnitTrigger::TYPE_CONSUMABLE_ITEM, 'atmos', '+', 30, null, GameConst::$maxAtmosByWar)
);
}
}