치료가 '필살', '회피'와 중복 가능. 전특과 의술 아이템의 치료 효과 증폭
This commit is contained in:
@@ -476,6 +476,10 @@ class WarUnitGeneral extends WarUnit{
|
|||||||
$specialWar = $this->getSpecialWar();
|
$specialWar = $this->getSpecialWar();
|
||||||
$item = $this->getItem();
|
$item = $this->getItem();
|
||||||
|
|
||||||
|
if($specialWar == 73 && Util::randBool(0.2)){
|
||||||
|
$this->activateSkill('치료');
|
||||||
|
}
|
||||||
|
|
||||||
if(
|
if(
|
||||||
!$this->hasActivatedSkill('특수') &&
|
!$this->hasActivatedSkill('특수') &&
|
||||||
Util::randBool($this->getComputedCriticalRatio())
|
Util::randBool($this->getComputedCriticalRatio())
|
||||||
@@ -504,6 +508,14 @@ class WarUnitGeneral extends WarUnit{
|
|||||||
$activated = true;
|
$activated = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(
|
||||||
|
($item == 23 || $item == 24) &&
|
||||||
|
!$this->hasActivatedSkill('치료') &&
|
||||||
|
Util::randBool(0.2)
|
||||||
|
){
|
||||||
|
$this->activateSkill('치료');
|
||||||
|
}
|
||||||
|
|
||||||
return $activated;
|
return $activated;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user