아이템 전량 구현, 말, 무기, 책 준비

This commit is contained in:
2019-05-13 02:44:01 +09:00
parent 91b5a1e44a
commit 85409263c8
24 changed files with 340 additions and 50 deletions
@@ -0,0 +1,19 @@
<?php
namespace sammo\ActionItem;
use \sammo\iAction;
use \sammo\General;
class che_훈련_청주 extends \sammo\BaseItem{
protected static $id = 4;
protected static $name = '청주(훈련)';
protected static $info = '[전투] 훈련 +3. 1회용';
protected static $cost = 1000;
protected static $consumable = true;
public function getBattleInitSkillTriggerList(WarUnit $unit):?WarUnitTriggerCaller{
return new WarUnitTriggerCaller([
new 능력치변경($unit, BaseWarUnitTrigger::TYPE_CONSUMABLE_ITEM, 'train', '+', 3),
]);
}
}