- 저격 성공시 증가하는 사기량 증가 - 전특만, 몇몇 유니크 제외 - 저격이 성벽에도 발동 - 사기 상승만 추가, 성벽 너프 없음 - 견고 효과 변경 - 필살 무효 -> 필살 확률 20% 감소 - 저격 무효 -> 저격은 받지만 부상 무효
31 lines
1011 B
PHP
31 lines
1011 B
PHP
<?php
|
|
namespace sammo\ActionSpecialWar;
|
|
use \sammo\iAction;
|
|
use \sammo\General;
|
|
use \sammo\SpecialityHelper;
|
|
use \sammo\WarUnit;
|
|
use sammo\WarUnitTriggerCaller;
|
|
use \sammo\WarUnitTrigger\che_저격시도;
|
|
use \sammo\WarUnitTrigger\che_저격발동;
|
|
|
|
class che_저격 extends \sammo\BaseSpecial{
|
|
|
|
protected $id = 70;
|
|
protected $name = '저격';
|
|
protected $info = '[전투] 새로운 상대와 전투 시 50% 확률로 저격 발동, 성공 시 사기+20';
|
|
|
|
static $selectWeightType = SpecialityHelper::WEIGHT_NORM;
|
|
static $selectWeight = 1;
|
|
static $type = [
|
|
SpecialityHelper::STAT_LEADERSHIP,
|
|
SpecialityHelper::STAT_STRENGTH,
|
|
SpecialityHelper::STAT_INTEL
|
|
];
|
|
|
|
public function getBattlePhaseSkillTriggerList(WarUnit $unit):?WarUnitTriggerCaller{
|
|
return new WarUnitTriggerCaller(
|
|
new che_저격시도($unit, che_저격시도::TYPE_NONE, 0.5, 20, 40),
|
|
new che_저격발동($unit)
|
|
);
|
|
}
|
|
} |