훈련, 사기템 효과 두배
This commit is contained in:
@@ -7,13 +7,13 @@ class che_사기_의적주 extends \sammo\BaseItem{
|
||||
|
||||
protected static $id = 15;
|
||||
protected static $name = '두강주(사기)';
|
||||
protected static $info = '[전투] 사기 보정 +5';
|
||||
protected static $info = '[전투] 사기 보정 +10';
|
||||
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 + 10;
|
||||
}
|
||||
return $value;
|
||||
}
|
||||
|
||||
@@ -7,13 +7,13 @@ class che_사기_보령압주 extends \sammo\BaseItem{
|
||||
|
||||
protected static $id = 16;
|
||||
protected static $name = '보령압주(사기)';
|
||||
protected static $info = '[전투] 사기 보정 +5';
|
||||
protected static $info = '[전투] 사기 보정 +10';
|
||||
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 + 10;
|
||||
}
|
||||
return $value;
|
||||
}
|
||||
|
||||
@@ -7,13 +7,13 @@ class che_사기_의적주 extends \sammo\BaseItem{
|
||||
|
||||
protected static $id = 14;
|
||||
protected static $name = '의적주(사기)';
|
||||
protected static $info = '[전투] 사기 보정 +5';
|
||||
protected static $info = '[전투] 사기 보정 +10';
|
||||
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 + 10;
|
||||
}
|
||||
return $value;
|
||||
}
|
||||
|
||||
@@ -7,13 +7,13 @@ class che_사기_초선화 extends \sammo\BaseItem{
|
||||
|
||||
protected static $id = 20;
|
||||
protected static $name = '초선화(사기)';
|
||||
protected static $info = '[전투] 사기 보정 +7';
|
||||
protected static $info = '[전투] 사기 보정 +14';
|
||||
protected static $cost = 200;
|
||||
protected static $consumable = false;
|
||||
|
||||
public function onCalcStat(General $general, string $statName, $value, $aux=null){
|
||||
if($statName === 'bonusAtmos'){
|
||||
return $value + 7;
|
||||
return $value + 14;
|
||||
}
|
||||
return $value;
|
||||
}
|
||||
|
||||
@@ -7,13 +7,13 @@ class che_사기_춘화첩 extends \sammo\BaseItem{
|
||||
|
||||
protected static $id = 19;
|
||||
protected static $name = '춘화첩(사기)';
|
||||
protected static $info = '[전투] 사기 보정 +7';
|
||||
protected static $info = '[전투] 사기 보정 +14';
|
||||
protected static $cost = 200;
|
||||
protected static $consumable = false;
|
||||
|
||||
public function onCalcStat(General $general, string $statName, $value, $aux=null){
|
||||
if($statName === 'bonusAtmos'){
|
||||
return $value + 7;
|
||||
return $value + 14;
|
||||
}
|
||||
return $value;
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ class che_사기_탁주 extends \sammo\BaseItem{
|
||||
|
||||
protected static $id = 3;
|
||||
protected static $name = '탁주(사기)';
|
||||
protected static $info = '[전투] 사기 +3. 1회용';
|
||||
protected static $info = '[전투] 사기 +6. 1회용';
|
||||
protected static $cost = 1000;
|
||||
protected static $consumable = true;
|
||||
protected static $buyable = true;
|
||||
@@ -16,7 +16,7 @@ class che_사기_탁주 extends \sammo\BaseItem{
|
||||
|
||||
public function getBattleInitSkillTriggerList(WarUnit $unit):?WarUnitTriggerCaller{
|
||||
return new WarUnitTriggerCaller(
|
||||
new 능력치변경($unit, BaseWarUnitTrigger::TYPE_CONSUMABLE_ITEM, 'atmos', '+', 3)
|
||||
new 능력치변경($unit, BaseWarUnitTrigger::TYPE_CONSUMABLE_ITEM, 'atmos', '+', 6)
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -7,13 +7,13 @@ class che_훈련_과실주 extends \sammo\BaseItem{
|
||||
|
||||
protected static $id = 12;
|
||||
protected static $name = '과실주(훈련)';
|
||||
protected static $info = '[전투] 훈련 보정 +5';
|
||||
protected static $info = '[전투] 훈련 보정 +10';
|
||||
protected static $cost = 200;
|
||||
protected static $consumable = false;
|
||||
|
||||
public function onCalcStat(General $general, string $statName, $value, $aux=null){
|
||||
if($statName === 'bonusTrain'){
|
||||
return $value + 5;
|
||||
return $value + 10;
|
||||
}
|
||||
return $value;
|
||||
}
|
||||
|
||||
@@ -7,13 +7,13 @@ class che_훈련_단결도 extends \sammo\BaseItem{
|
||||
|
||||
protected static $id = 18;
|
||||
protected static $name = '단결도(훈련)';
|
||||
protected static $info = '[전투] 훈련 보정 +7';
|
||||
protected static $info = '[전투] 훈련 보정 +14';
|
||||
protected static $cost = 200;
|
||||
protected static $consumable = false;
|
||||
|
||||
public function onCalcStat(General $general, string $statName, $value, $aux=null){
|
||||
if($statName === 'bonusTrain'){
|
||||
return $value + 7;
|
||||
return $value + 14;
|
||||
}
|
||||
return $value;
|
||||
}
|
||||
|
||||
@@ -7,13 +7,13 @@ class che_훈련_이강주 extends \sammo\BaseItem{
|
||||
|
||||
protected static $id = 13;
|
||||
protected static $name = '이강주(훈련)';
|
||||
protected static $info = '[전투] 훈련 보정 +5';
|
||||
protected static $info = '[전투] 훈련 보정 +10';
|
||||
protected static $cost = 200;
|
||||
protected static $consumable = false;
|
||||
|
||||
public function onCalcStat(General $general, string $statName, $value, $aux=null){
|
||||
if($statName === 'bonusTrain'){
|
||||
return $value + 5;
|
||||
return $value + 10;
|
||||
}
|
||||
return $value;
|
||||
}
|
||||
|
||||
@@ -7,13 +7,13 @@ class che_훈련_철벽서 extends \sammo\BaseItem{
|
||||
|
||||
protected static $id = 17;
|
||||
protected static $name = '철벽서(훈련)';
|
||||
protected static $info = '[전투] 훈련 보정 +7';
|
||||
protected static $info = '[전투] 훈련 보정 +14';
|
||||
protected static $cost = 200;
|
||||
protected static $consumable = false;
|
||||
|
||||
public function onCalcStat(General $general, string $statName, $value, $aux=null){
|
||||
if($statName === 'bonusTrain'){
|
||||
return $value + 7;
|
||||
return $value + 14;
|
||||
}
|
||||
return $value;
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ class che_훈련_청주 extends \sammo\BaseItem{
|
||||
|
||||
protected static $id = 4;
|
||||
protected static $name = '청주(훈련)';
|
||||
protected static $info = '[전투] 훈련 +3. 1회용';
|
||||
protected static $info = '[전투] 훈련 +6. 1회용';
|
||||
protected static $cost = 1000;
|
||||
protected static $consumable = true;
|
||||
protected static $buyable = true;
|
||||
@@ -16,7 +16,7 @@ class che_훈련_청주 extends \sammo\BaseItem{
|
||||
|
||||
public function getBattleInitSkillTriggerList(WarUnit $unit):?WarUnitTriggerCaller{
|
||||
return new WarUnitTriggerCaller(
|
||||
new 능력치변경($unit, BaseWarUnitTrigger::TYPE_CONSUMABLE_ITEM, 'train', '+', 3)
|
||||
new 능력치변경($unit, BaseWarUnitTrigger::TYPE_CONSUMABLE_ITEM, 'train', '+', 6)
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user