치료가 '필살', '회피'와 중복 가능. 전특과 의술 아이템의 치료 효과 증폭

This commit is contained in:
2018-08-19 03:00:08 +09:00
parent 79d2b04721
commit e7b7fd0bcc
+12
View File
@@ -476,6 +476,10 @@ class WarUnitGeneral extends WarUnit{
$specialWar = $this->getSpecialWar();
$item = $this->getItem();
if($specialWar == 73 && Util::randBool(0.2)){
$this->activateSkill('치료');
}
if(
!$this->hasActivatedSkill('특수') &&
Util::randBool($this->getComputedCriticalRatio())
@@ -504,6 +508,14 @@ class WarUnitGeneral extends WarUnit{
$activated = true;
}
if(
($item == 23 || $item == 24) &&
!$this->hasActivatedSkill('치료') &&
Util::randBool(0.2)
){
$this->activateSkill('치료');
}
return $activated;
}