전투 특기 클래스 추가,
This commit is contained in:
@@ -66,6 +66,7 @@ function getCityLevelList():array{
|
||||
|
||||
//TODO: 클래스로 이동
|
||||
function getSpecial($leader, $power, $intel) {
|
||||
throw new \sammo\NotImplementedException();
|
||||
//통장
|
||||
if($leader*0.9 > $power && $leader*0.9 > $intel) {
|
||||
$type = array('che_인덕', 'che_귀모');
|
||||
@@ -106,6 +107,7 @@ function getSpecial($leader, $power, $intel) {
|
||||
// 70 저격, 필살, 징병, 의술, 격노, 척사 = 6 공통전투
|
||||
|
||||
function getSpecial2($leader, $power, $intel, $nodex=1, $dex0=0, $dex10=0, $dex20=0, $dex30=0, $dex40=0) {
|
||||
throw new \sammo\NotImplementedException();
|
||||
$special2 = 70;
|
||||
// 숙련 10,000: 25%, 40,000: 50%, 100,000: 79%, 160,000: 100%
|
||||
$dex = sqrt($dex0 + $dex10 + $dex20 + $dex30 + $dex40);
|
||||
|
||||
Reference in New Issue
Block a user