isConsumableNow 버그 수정

This commit is contained in:
2019-10-09 11:38:28 +09:00
parent 68aeafaa0b
commit 09ae205e37
8 changed files with 4 additions and 46 deletions
@@ -18,11 +18,4 @@ class che_계략_삼략 extends \sammo\BaseItem{
return $value;
}
function isConsumableNow(string $actionType, string $command):bool{
if($actionType == 'GeneralCommand' && $command == '계략'){
return true;
}
return false;
}
}
@@ -18,11 +18,4 @@ class che_계략_육도 extends \sammo\BaseItem{
return $value;
}
function isConsumableNow(string $actionType, string $command):bool{
if($actionType == 'GeneralCommand' && $command == '계략'){
return true;
}
return false;
}
}
@@ -18,11 +18,4 @@ class che_치료_도소연명 extends \sammo\BaseItem{
new GeneralTrigger\che_아이템치료($general)
);
}
function isConsumableNow(string $actionType, string $command):bool{
if($actionType == 'GeneralTrigger' && $command == 'che_아이템치료'){
return true;
}
return false;
}
}
@@ -18,11 +18,4 @@ class che_치료_무후행군 extends \sammo\BaseItem{
new GeneralTrigger\che_아이템치료($general)
);
}
function isConsumableNow(string $actionType, string $command):bool{
if($actionType == 'GeneralTrigger' && $command == 'che_아이템치료'){
return true;
}
return false;
}
}
@@ -19,7 +19,7 @@ class che_치료_오석산 extends \sammo\BaseItem{
);
}
function isConsumableNow(string $actionType, string $command):bool{
function isValidTurnItem(string $actionType, string $command):bool{
if($actionType == 'GeneralTrigger' && $command == 'che_아이템치료'){
return true;
}
@@ -18,11 +18,4 @@ class che_치료_정력견혈 extends \sammo\BaseItem{
new GeneralTrigger\che_아이템치료($general)
);
}
function isConsumableNow(string $actionType, string $command):bool{
if($actionType == 'GeneralTrigger' && $command == 'che_아이템치료'){
return true;
}
return false;
}
}
@@ -18,11 +18,4 @@ class che_치료_칠엽청점 extends \sammo\BaseItem{
new GeneralTrigger\che_아이템치료($general)
);
}
function isConsumableNow(string $actionType, string $command):bool{
if($actionType == 'GeneralTrigger' && $command == 'che_아이템치료'){
return true;
}
return false;
}
}