아이템에 consumable 개념 추가, GameConstBase에 아이템 준비

This commit is contained in:
2019-05-13 03:17:48 +09:00
parent 85409263c8
commit 2e06b28e5a
8 changed files with 51 additions and 0 deletions
@@ -10,6 +10,7 @@ class che_계략_이추 extends \sammo\BaseItem{
protected static $info = '[계략] 화계·탈취·파괴·선동 : 성공률 +10%p';
protected static $cost = 1000;
protected static $consumable = true;
protected static $buyable = true;
public function onCalcDomestic(string $turnType, string $varType, float $value, $aux=null):float{
if($turnType == '계략'){