This commit is contained in:
2019-04-07 19:51:19 +09:00
parent 44295de206
commit f1dd328c38
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ class che_반계 implements iAction{
static $id = 45; static $id = 45;
static $name = '반계'; static $name = '반계';
static $info = '[전투] 상대의 계략을 30% 확률로 되돌림, 반목 성공시 대미지 추가(+60% → +100%)'; static $info = '[전투] 상대의 계략 성공 확률 -10%p, 상대의 계략을 40% 확률로 되돌림, 반목 성공시 대미지 추가(+60% → +100%)';
static $selectWeightType = SpecialityConst::WEIGHT_NORM; static $selectWeightType = SpecialityConst::WEIGHT_NORM;
static $selectWeight = 1; static $selectWeight = 1;
+6 -1
View File
@@ -524,6 +524,11 @@ class WarUnitGeneral extends WarUnit{
} }
yield true; yield true;
if($specialWar == 45){
$oppose->activateSkill('계략약화');
}
yield true;
if( if(
$specialWar == 63 && $specialWar == 63 &&
$this->getPhase() == 0 && $this->getPhase() == 0 &&
@@ -705,7 +710,7 @@ class WarUnitGeneral extends WarUnit{
if( if(
$specialWar == 45 && $specialWar == 45 &&
$oppose->hasActivatedSkill('계략') && $oppose->hasActivatedSkill('계략') &&
Util::randBool(0.3) Util::randBool(0.4)
){ ){
$this->activateSkill('반계'); $this->activateSkill('반계');
$oppose->deactivateSkill('계략'); $oppose->deactivateSkill('계략');