아이템 관련 버그 수정

This commit is contained in:
2019-10-09 11:34:56 +09:00
parent cb1ac4541b
commit 68aeafaa0b
18 changed files with 35 additions and 27 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ class che_계략_삼략 extends \sammo\BaseItem{
return $value;
}
function isValidTurnItem(string $actionType, string $command):bool{
function isConsumableNow(string $actionType, string $command):bool{
if($actionType == 'GeneralCommand' && $command == '계략'){
return true;
}
+1 -1
View File
@@ -19,7 +19,7 @@ class che_계략_육도 extends \sammo\BaseItem{
return $value;
}
function isValidTurnItem(string $actionType, string $command):bool{
function isConsumableNow(string $actionType, string $command):bool{
if($actionType == 'GeneralCommand' && $command == '계략'){
return true;
}
+1 -1
View File
@@ -21,7 +21,7 @@ class che_계략_이추 extends \sammo\BaseItem{
return $value;
}
function isValidTurnItem(string $actionType, string $command):bool{
function isConsumableNow(string $actionType, string $command):bool{
if($actionType == 'GeneralCommand' && $command == '계략'){
return true;
}
+1 -1
View File
@@ -21,7 +21,7 @@ class che_계략_향낭 extends \sammo\BaseItem{
return $value;
}
function isValidTurnItem(string $actionType, string $command):bool{
function isConsumableNow(string $actionType, string $command):bool{
if($actionType == 'GeneralCommand' && $command == '계략'){
return true;
}
@@ -19,7 +19,7 @@ class che_치료_도소연명 extends \sammo\BaseItem{
);
}
function isValidTurnItem(string $actionType, string $command):bool{
function isConsumableNow(string $actionType, string $command):bool{
if($actionType == 'GeneralTrigger' && $command == 'che_아이템치료'){
return true;
}
@@ -19,7 +19,7 @@ class che_치료_무후행군 extends \sammo\BaseItem{
);
}
function isValidTurnItem(string $actionType, string $command):bool{
function isConsumableNow(string $actionType, string $command):bool{
if($actionType == 'GeneralTrigger' && $command == 'che_아이템치료'){
return true;
}
@@ -19,7 +19,7 @@ class che_치료_오석산 extends \sammo\BaseItem{
);
}
function isValidTurnItem(string $actionType, string $command):bool{
function isConsumableNow(string $actionType, string $command):bool{
if($actionType == 'GeneralTrigger' && $command == 'che_아이템치료'){
return true;
}
@@ -19,7 +19,7 @@ class che_치료_정력견혈 extends \sammo\BaseItem{
);
}
function isValidTurnItem(string $actionType, string $command):bool{
function isConsumableNow(string $actionType, string $command):bool{
if($actionType == 'GeneralTrigger' && $command == 'che_아이템치료'){
return true;
}
@@ -19,7 +19,7 @@ class che_치료_칠엽청점 extends \sammo\BaseItem{
);
}
function isValidTurnItem(string $actionType, string $command):bool{
function isConsumableNow(string $actionType, string $command):bool{
if($actionType == 'GeneralTrigger' && $command == 'che_아이템치료'){
return true;
}
+1 -1
View File
@@ -21,7 +21,7 @@ class che_치료_환약 extends \sammo\BaseItem{
);
}
function isValidTurnItem(string $actionType, string $command):bool{
function isConsumableNow(string $actionType, string $command):bool{
if($actionType == 'GeneralTrigger' && $command == 'che_아이템치료'){
return true;
}