버그 수정, 구조 변경
This commit is contained in:
@@ -10,7 +10,7 @@ class che_대의 implements iAction{
|
||||
static $name = '대의';
|
||||
static $info = '명성 +10%, 훈련 -5';
|
||||
|
||||
public function onPreGeneralStatUpdate(General $general, string $statName, $value){
|
||||
public function onCalcStat(General $general, string $statName, $value, $aux=null){
|
||||
if($statName == 'experience'){
|
||||
return $value * 1.1;
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ class che_안전 implements iAction{
|
||||
return $value;
|
||||
}
|
||||
|
||||
public function onPreGeneralStatUpdate(General $general, string $statName, $value){
|
||||
public function onCalcStat(General $general, string $statName, $value, $aux=null){
|
||||
if($statName == 'bonusAtmos'){
|
||||
return $value - 5;
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ class che_왕좌 implements iAction{
|
||||
static $name = '왕좌';
|
||||
static $info = '명성 +10%, 사기 -5';
|
||||
|
||||
public function onPreGeneralStatUpdate(General $general, string $statName, $value){
|
||||
public function onCalcStat(General $general, string $statName, $value, $aux=null){
|
||||
if($statName == 'experience'){
|
||||
return $value * 1.1;
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ class che_유지 implements iAction{
|
||||
return $value;
|
||||
}
|
||||
|
||||
public function onPreGeneralStatUpdate(General $general, string $statName, $value){
|
||||
public function onCalcStat(General $general, string $statName, $value, $aux=null){
|
||||
if($statName == 'bonusTrain'){
|
||||
return $value - 5;
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ class che_은둔 implements iAction{
|
||||
return $value;
|
||||
}
|
||||
|
||||
public function onPreGeneralStatUpdate(General $general, string $statName, $value){
|
||||
public function onCalcStat(General $general, string $statName, $value, $aux=null){
|
||||
if($statName == 'bonusAtmos'){
|
||||
return $value - 5;
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ class che_의협 implements iAction{
|
||||
return $value;
|
||||
}
|
||||
|
||||
public function onPreGeneralStatUpdate(General $general, string $statName, $value){
|
||||
public function onCalcStat(General $general, string $statName, $value, $aux=null){
|
||||
if($statName == 'bonusAtmos'){
|
||||
return $value + 5;
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ class che_재간 implements iAction{
|
||||
return $value;
|
||||
}
|
||||
|
||||
public function onPreGeneralStatUpdate(General $general, string $statName, $value){
|
||||
public function onCalcStat(General $general, string $statName, $value, $aux=null){
|
||||
if($statName == 'experience'){
|
||||
return $value * 0.9;
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ class che_정복 implements iAction{
|
||||
static $name = '정복';
|
||||
static $info = '명성 -10%, 사기 +5';
|
||||
|
||||
public function onPreGeneralStatUpdate(General $general, string $statName, $value){
|
||||
public function onCalcStat(General $general, string $statName, $value, $aux=null){
|
||||
if($statName == 'experience'){
|
||||
return $value * 0.9;
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ class che_출세 implements iAction{
|
||||
return $value;
|
||||
}
|
||||
|
||||
public function onPreGeneralStatUpdate(General $general, string $statName, $value){
|
||||
public function onCalcStat(General $general, string $statName, $value, $aux=null){
|
||||
if($statName == 'experience'){
|
||||
return $value * 1.1;
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ class che_패권 implements iAction{
|
||||
return $value;
|
||||
}
|
||||
|
||||
public function onPreGeneralStatUpdate(General $general, string $statName, $value){
|
||||
public function onCalcStat(General $general, string $statName, $value, $aux=null){
|
||||
if($statName == 'bonusTrain'){
|
||||
return $value + 5;
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ class che_할거 implements iAction{
|
||||
static $name = '할거';
|
||||
static $info = '명성 -10%, 훈련 +5';
|
||||
|
||||
public function onPreGeneralStatUpdate(General $general, string $statName, $value){
|
||||
public function onCalcStat(General $general, string $statName, $value, $aux=null){
|
||||
if($statName == 'experience'){
|
||||
return $value * 0.9;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user