feat: 요술, 빠진 부분 채우기

This commit is contained in:
2023-12-25 15:45:02 +00:00
parent 05eb4366b1
commit 4edb994ac9
10 changed files with 165 additions and 4 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
namespace sammo\ActionBuff;
use sammo\General;
use \sammo\iAction;
class g65_내정성공 implements iAction
{
use \sammo\DefaultAction;
function onCalcDomestic(string $turnType, string $varType, float $value, $aux = null): float
{
if($turnType == '계략'){
if($varType == 'success') return $value + 1;
}
return $value;
}
}
+1 -1
View File
@@ -14,7 +14,7 @@ class g65_내정성공 implements iAction
function onCalcDomestic(string $turnType, string $varType, float $value, $aux = null): float
{
if ($varType == 'success' && in_array($turnType, static::$target)) {
return 1;
return $value + 1;
}
return $value;
}