버그 수정, 구조 변경

This commit is contained in:
2019-04-28 03:49:03 +09:00
parent fe2a076558
commit ef40f299ef
52 changed files with 140 additions and 165 deletions
+1 -1
View File
@@ -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;
}
+1 -1
View File
@@ -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;
}
+1 -1
View File
@@ -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;
}
+1 -1
View File
@@ -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;
}
+1 -1
View File
@@ -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;
}
+1 -1
View File
@@ -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;
}
+1 -1
View File
@@ -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;
}
+1 -1
View File
@@ -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;
}
+1 -1
View File
@@ -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;
}
+1 -1
View File
@@ -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;
}
+1 -1
View File
@@ -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;
}