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

This commit is contained in:
2019-05-13 02:44:01 +09:00
parent 7ce1e64ee8
commit 8c163515db
24 changed files with 340 additions and 50 deletions
@@ -0,0 +1,20 @@
<?php
namespace sammo\ActionItem;
use \sammo\iAction;
use \sammo\General;
use \sammo\BaseWarUnitTrigger;
class che_사기_탁주 extends \sammo\BaseItem{
protected static $id = 3;
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, 'atmos', '+', 3),
]);
}
}