반계 상향

This commit is contained in:
2018-11-26 18:08:57 +09:00
parent cac19cad4d
commit 864b94f62a
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -200,7 +200,7 @@ function getSpecialInfo(?int $type):?string{
42 => ['환술', '[전투] 계략 성공 확률 +10%p, 계략 성공 시 대미지 +30%'],
43 => ['집중', '[전투] 계략 성공 시 대미지 +50%'],
44 => ['신중', '[전투] 계략 성공 확률 100%'],
45 => ['반계', '[전투] 상대의 계략을 30% 확률로 되돌림, 반목 성공시 대미지 추가(+60% → +100%)'],
45 => ['반계', '[전투] 상대의 계략 성공 확률 -10%p, 상대의 계략을 40% 확률로 되돌림, 반목 성공시 대미지 추가(+60% → +100%)'],
50 => ['보병', '[군사] 보병 계통 징·모병비 -10%<br>[전투] 공격 시 아군 피해 -10%, 수비 시 아군 피해 -20%'],
51 => ['궁병', '[군사] 궁병 계통 징·모병비 -10%<br>[전투] 회피 확률 +20%p'],
+6 -1
View File
@@ -524,6 +524,11 @@ class WarUnitGeneral extends WarUnit{
}
yield true;
if($specialWar == 45){
$oppose->activateSkill('계략약화');
}
yield true;
if(
$specialWar == 63 &&
$this->getPhase() == 0 &&
@@ -705,7 +710,7 @@ class WarUnitGeneral extends WarUnit{
if(
$specialWar == 45 &&
$oppose->hasActivatedSkill('계략') &&
Util::randBool(0.3)
Util::randBool(0.4)
){
$this->activateSkill('반계');
$oppose->deactivateSkill('계략');