From ca53e3de3a9b44ace870d96d32093a98086ec006 Mon Sep 17 00:00:00 2001 From: hide_d Date: Mon, 26 Nov 2018 18:08:57 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B0=98=EA=B3=84=20=EC=83=81=ED=96=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func_converter.php | 2 +- hwe/sammo/WarUnitGeneral.php | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/hwe/func_converter.php b/hwe/func_converter.php index 66efa246..c0fb6d0e 100644 --- a/hwe/func_converter.php +++ b/hwe/func_converter.php @@ -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%
[전투] 공격 시 아군 피해 -10%, 수비 시 아군 피해 -20%'], 51 => ['궁병', '[군사] 궁병 계통 징·모병비 -10%
[전투] 회피 확률 +20%p'], diff --git a/hwe/sammo/WarUnitGeneral.php b/hwe/sammo/WarUnitGeneral.php index 5f61e401..714c4341 100644 --- a/hwe/sammo/WarUnitGeneral.php +++ b/hwe/sammo/WarUnitGeneral.php @@ -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('계략');