forked from devsam/core
내특을 iActionTrigger로 구현
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
namespace sammo\TriggerSpecialDomestic;
|
||||
use \sammo\iActionTrigger;
|
||||
use \sammo\General;
|
||||
use \sammo\SpecialityConst;
|
||||
|
||||
class che_귀모 implements iActionTrigger{
|
||||
use \sammo\DefaultActionTrigger;
|
||||
|
||||
static $id = 31;
|
||||
static $name = '귀모';
|
||||
static $info = '[계략] 화계·탈취·파괴·선동 : 성공률 +20%p';
|
||||
|
||||
static $selectWeightType = SpecialityConst::WEIGHT_PERCENT;
|
||||
static $selectWeight = 2.5;
|
||||
static $type = [
|
||||
SpecialityConst::STAT_LEADERSHIP,
|
||||
SpecialityConst::STAT_POWER,
|
||||
SpecialityConst::STAT_INTEL
|
||||
];
|
||||
|
||||
public function onCalcSabotageProp(float $successRate):float{
|
||||
return $successRate + 0.2;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user