refac: 아이템에 미사용 $id 값 제거
This commit is contained in:
@@ -8,7 +8,6 @@ use \sammo\WarUnit;
|
||||
|
||||
class event_전투특기_보병 extends \sammo\BaseItem{
|
||||
|
||||
protected $id = 50;
|
||||
protected $rawName = '비급';
|
||||
protected $name = '비급(보병)';
|
||||
protected $info = '[군사] 보병 계통 징·모병비 -10%<br>[전투] 공격 시 아군 피해 -10%, 수비 시 아군 피해 -20%,<br>공격시 상대 병종에/수비시 자신 병종 숙련에 보병 숙련을 가산';
|
||||
@@ -22,7 +21,7 @@ class event_전투특기_보병 extends \sammo\BaseItem{
|
||||
if(in_array($turnType, ['징병', '모병'])){
|
||||
if($varType == 'cost' && $aux['armType'] == GameUnitConst::T_FOOTMAN) return $value * 0.9;
|
||||
}
|
||||
|
||||
|
||||
return $value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user