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

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,20 @@
<?php
namespace sammo\ActionItem;
use \sammo\iAction;
use \sammo\General;
class che_사기_의적주 extends \sammo\BaseItem{
protected static $id = 15;
protected static $name = '두강주(사기)';
protected static $info = '[전투] 사기 보정 +5';
protected static $cost = 200;
protected static $consumable = false;
public function onCalcStat(General $general, string $statName, $value, $aux=null){
if($statName === 'bonusAtmos'){
return $value + 5;
}
return $value;
}
}