아이템 속성이 동적으로 변경되어 static 제거

This commit is contained in:
2019-10-04 14:30:45 +09:00
parent 9181cbfee5
commit 07328847f4
101 changed files with 323 additions and 404 deletions
@@ -11,11 +11,11 @@ use sammo\WarUnitTriggerCaller;
class che_의술_청낭서 extends \sammo\BaseItem{
protected static $id = 23;
protected static $name = '청낭서(의술)';
protected static $info = '[군사] 매 턴마다 자신(100%)과 소속 도시 장수(적 포함 50%) 부상 회복<br>[전투] 페이즈마다 20% 확률로 치료 발동(아군 피해 1/3 감소)';
protected static $cost = 200;
protected static $consumable = false;
protected $id = 23;
protected $name = '청낭서(의술)';
protected $info = '[군사] 매 턴마다 자신(100%)과 소속 도시 장수(적 포함 50%) 부상 회복<br>[전투] 페이즈마다 20% 확률로 치료 발동(아군 피해 1/3 감소)';
protected $cost = 200;
protected $consumable = false;
public function getPreTurnExecuteTriggerList(General $general):?GeneralTriggerCaller{
return new GeneralTriggerCaller(