From 134f043e9caf91395ea127190556457e506e8388 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sat, 19 Feb 2022 23:54:03 +0900 Subject: [PATCH] =?UTF-8?q?refac:=20=EC=95=84=EC=9D=B4=ED=85=9C=EC=97=90?= =?UTF-8?q?=20=EB=AF=B8=EC=82=AC=EC=9A=A9=20$id=20=EA=B0=92=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/ActionItem/None.php | 1 - hwe/sammo/ActionItem/che_계략_삼략.php | 3 +-- hwe/sammo/ActionItem/che_계략_육도.php | 3 +-- hwe/sammo/ActionItem/che_계략_이추.php | 3 +-- hwe/sammo/ActionItem/che_계략_향낭.php | 3 +-- hwe/sammo/ActionItem/che_반계_백우선.php | 1 - hwe/sammo/ActionItem/che_반계_파초선.php | 1 - hwe/sammo/ActionItem/che_부적_태현청생부.php | 1 - hwe/sammo/ActionItem/che_사기_두강주.php | 1 - hwe/sammo/ActionItem/che_사기_보령압주.php | 1 - hwe/sammo/ActionItem/che_사기_의적주.php | 1 - hwe/sammo/ActionItem/che_사기_초선화.php | 1 - hwe/sammo/ActionItem/che_사기_춘화첩.php | 1 - hwe/sammo/ActionItem/che_사기_탁주.php | 1 - hwe/sammo/ActionItem/che_의술_상한잡병론.php | 3 +-- hwe/sammo/ActionItem/che_의술_청낭서.php | 3 +-- hwe/sammo/ActionItem/che_의술_태평청령.php | 3 +-- hwe/sammo/ActionItem/che_저격_매화수전.php | 1 - hwe/sammo/ActionItem/che_저격_비도.php | 1 - hwe/sammo/ActionItem/che_저격_수극.php | 1 - hwe/sammo/ActionItem/che_치료_도소연명.php | 1 - hwe/sammo/ActionItem/che_치료_무후행군.php | 1 - hwe/sammo/ActionItem/che_치료_오석산.php | 1 - hwe/sammo/ActionItem/che_치료_정력견혈.php | 1 - hwe/sammo/ActionItem/che_치료_칠엽청점.php | 1 - hwe/sammo/ActionItem/che_치료_환약.php | 1 - hwe/sammo/ActionItem/che_행동_서촉지형도.php | 1 - hwe/sammo/ActionItem/che_회피_둔갑천서.php | 1 - hwe/sammo/ActionItem/che_회피_태평요술.php | 1 - hwe/sammo/ActionItem/che_훈련_과실주.php | 1 - hwe/sammo/ActionItem/che_훈련_단결도.php | 1 - hwe/sammo/ActionItem/che_훈련_이강주.php | 1 - hwe/sammo/ActionItem/che_훈련_철벽서.php | 1 - hwe/sammo/ActionItem/che_훈련_청주.php | 1 - hwe/sammo/ActionItem/event_빼빼로.php | 1 - hwe/sammo/ActionItem/event_전투특기_격노.php | 1 - hwe/sammo/ActionItem/event_전투특기_견고.php | 1 - hwe/sammo/ActionItem/event_전투특기_공성.php | 3 +-- hwe/sammo/ActionItem/event_전투특기_궁병.php | 3 +-- hwe/sammo/ActionItem/event_전투특기_귀병.php | 3 +-- hwe/sammo/ActionItem/event_전투특기_기병.php | 3 +-- hwe/sammo/ActionItem/event_전투특기_돌격.php | 1 - hwe/sammo/ActionItem/event_전투특기_무쌍.php | 1 - hwe/sammo/ActionItem/event_전투특기_반계.php | 1 - hwe/sammo/ActionItem/event_전투특기_보병.php | 3 +-- hwe/sammo/ActionItem/event_전투특기_신산.php | 3 +-- hwe/sammo/ActionItem/event_전투특기_신중.php | 1 - hwe/sammo/ActionItem/event_전투특기_위압.php | 1 - hwe/sammo/ActionItem/event_전투특기_의술.php | 1 - hwe/sammo/ActionItem/event_전투특기_저격.php | 1 - hwe/sammo/ActionItem/event_전투특기_집중.php | 1 - hwe/sammo/ActionItem/event_전투특기_징병.php | 3 +-- hwe/sammo/ActionItem/event_전투특기_척사.php | 1 - hwe/sammo/ActionItem/event_전투특기_필살.php | 1 - hwe/sammo/ActionItem/event_전투특기_환술.php | 1 - hwe/sammo/BaseItem.php | 3 +-- 56 files changed, 15 insertions(+), 71 deletions(-) diff --git a/hwe/sammo/ActionItem/None.php b/hwe/sammo/ActionItem/None.php index bcb2578f..177fc1d4 100644 --- a/hwe/sammo/ActionItem/None.php +++ b/hwe/sammo/ActionItem/None.php @@ -5,7 +5,6 @@ use \sammo\General; class None extends \sammo\BaseItem{ - protected $id = 0; protected $name = '-'; protected $info = null; protected $cost = 0; diff --git a/hwe/sammo/ActionItem/che_계략_삼략.php b/hwe/sammo/ActionItem/che_계략_삼략.php index d119775a..9617db30 100644 --- a/hwe/sammo/ActionItem/che_계략_삼략.php +++ b/hwe/sammo/ActionItem/che_계략_삼략.php @@ -5,7 +5,6 @@ use \sammo\General; class che_계략_삼략 extends \sammo\BaseItem{ - protected $id = 22; protected $rawName = '삼략'; protected $name = '삼략(계략)'; protected $info = '[계략] 화계·탈취·파괴·선동 : 성공률 +20%p
[전투] 계략 시도 확률 +10%p, 계략 성공 확률 +10%p'; @@ -16,7 +15,7 @@ class che_계략_삼략 extends \sammo\BaseItem{ if($turnType == '계략'){ if($varType == 'success') return $value + 0.2; } - + return $value; } diff --git a/hwe/sammo/ActionItem/che_계략_육도.php b/hwe/sammo/ActionItem/che_계략_육도.php index f4f2726a..7915052d 100644 --- a/hwe/sammo/ActionItem/che_계략_육도.php +++ b/hwe/sammo/ActionItem/che_계략_육도.php @@ -5,7 +5,6 @@ use \sammo\General; class che_계략_육도 extends \sammo\BaseItem{ - protected $id = 21; protected $rawName = '육도'; protected $name = '육도(계략)'; protected $info = '[계략] 화계·탈취·파괴·선동 : 성공률 +20%p
[전투] 계략 시도 확률 +10%p, 계략 성공 확률 +10%p'; @@ -16,7 +15,7 @@ class che_계략_육도 extends \sammo\BaseItem{ if($turnType == '계략'){ if($varType == 'success') return $value + 0.2; } - + return $value; } diff --git a/hwe/sammo/ActionItem/che_계략_이추.php b/hwe/sammo/ActionItem/che_계략_이추.php index 68380391..f999e5a5 100644 --- a/hwe/sammo/ActionItem/che_계략_이추.php +++ b/hwe/sammo/ActionItem/che_계략_이추.php @@ -5,7 +5,6 @@ use \sammo\General; class che_계략_이추 extends \sammo\BaseItem{ - protected $id = 5; protected $rawName = '이추'; protected $name = '이추(계략)'; protected $info = '[계략] 화계·탈취·파괴·선동 : 성공률 +20%p'; @@ -18,7 +17,7 @@ class che_계략_이추 extends \sammo\BaseItem{ if($turnType == '계략'){ if($varType == 'success') return $value + 0.2; } - + return $value; } diff --git a/hwe/sammo/ActionItem/che_계략_향낭.php b/hwe/sammo/ActionItem/che_계략_향낭.php index 1a382bb5..6035226e 100644 --- a/hwe/sammo/ActionItem/che_계략_향낭.php +++ b/hwe/sammo/ActionItem/che_계략_향낭.php @@ -5,7 +5,6 @@ use \sammo\General; class che_계략_향낭 extends \sammo\BaseItem{ - protected $id = 5; protected $rawName = '항냥'; protected $name = '항냥(계략)'; protected $info = '[계략] 화계·탈취·파괴·선동 : 성공률 +50%p'; @@ -18,7 +17,7 @@ class che_계략_향낭 extends \sammo\BaseItem{ if($turnType == '계략'){ if($varType == 'success') return $value + 0.5; } - + return $value; } diff --git a/hwe/sammo/ActionItem/che_반계_백우선.php b/hwe/sammo/ActionItem/che_반계_백우선.php index 850f9ede..ce9a4542 100644 --- a/hwe/sammo/ActionItem/che_반계_백우선.php +++ b/hwe/sammo/ActionItem/che_반계_백우선.php @@ -12,7 +12,6 @@ use \sammo\WarUnitTrigger\che_반계발동; class che_반계_백우선 extends \sammo\BaseItem{ - protected $id = 45; protected $rawName = '백우선'; protected $name = '백우선(반계)'; protected $info = '[전투] 상대의 계략 성공 확률 -10%p, 상대의 계략을 20% 확률로 되돌림'; diff --git a/hwe/sammo/ActionItem/che_반계_파초선.php b/hwe/sammo/ActionItem/che_반계_파초선.php index 5294714c..0b95351c 100644 --- a/hwe/sammo/ActionItem/che_반계_파초선.php +++ b/hwe/sammo/ActionItem/che_반계_파초선.php @@ -12,7 +12,6 @@ use \sammo\WarUnitTrigger\che_반계발동; class che_반계_파초선 extends \sammo\BaseItem{ - protected $id = 45; protected $rawName = '파초선'; protected $name = '파초선(반계)'; protected $info = '[전투] 상대의 계략 성공 확률 -10%p, 상대의 계략을 20% 확률로 되돌림'; diff --git a/hwe/sammo/ActionItem/che_부적_태현청생부.php b/hwe/sammo/ActionItem/che_부적_태현청생부.php index 1094880a..fd66bba7 100644 --- a/hwe/sammo/ActionItem/che_부적_태현청생부.php +++ b/hwe/sammo/ActionItem/che_부적_태현청생부.php @@ -15,7 +15,6 @@ use sammo\WarUnitTrigger\WarActivateSkills; class che_부적_태현청생부 extends \sammo\BaseItem { - protected $id = 9; protected $rawName = '태현청생부'; protected $name = '태현청생부(부적)'; protected $info = '[전투] 저격 불가, 부상 없음'; diff --git a/hwe/sammo/ActionItem/che_사기_두강주.php b/hwe/sammo/ActionItem/che_사기_두강주.php index 5038cda1..28093060 100644 --- a/hwe/sammo/ActionItem/che_사기_두강주.php +++ b/hwe/sammo/ActionItem/che_사기_두강주.php @@ -5,7 +5,6 @@ use \sammo\General; class che_사기_두강주 extends \sammo\BaseItem{ - protected $id = 15; protected $rawName = '두강주'; protected $name = '두강주(사기)'; protected $info = '[전투] 사기 보정 +10'; diff --git a/hwe/sammo/ActionItem/che_사기_보령압주.php b/hwe/sammo/ActionItem/che_사기_보령압주.php index 7179a02f..cc3101fe 100644 --- a/hwe/sammo/ActionItem/che_사기_보령압주.php +++ b/hwe/sammo/ActionItem/che_사기_보령압주.php @@ -5,7 +5,6 @@ use \sammo\General; class che_사기_보령압주 extends \sammo\BaseItem{ - protected $id = 16; protected $rawName = '보령압주'; protected $name = '보령압주(사기)'; protected $info = '[전투] 사기 보정 +10'; diff --git a/hwe/sammo/ActionItem/che_사기_의적주.php b/hwe/sammo/ActionItem/che_사기_의적주.php index 43896cc9..86f2a9db 100644 --- a/hwe/sammo/ActionItem/che_사기_의적주.php +++ b/hwe/sammo/ActionItem/che_사기_의적주.php @@ -5,7 +5,6 @@ use \sammo\General; class che_사기_의적주 extends \sammo\BaseItem{ - protected $id = 14; protected $rawName = '의적주'; protected $name = '의적주(사기)'; protected $info = '[전투] 사기 보정 +10'; diff --git a/hwe/sammo/ActionItem/che_사기_초선화.php b/hwe/sammo/ActionItem/che_사기_초선화.php index 6cbc604a..35b92058 100644 --- a/hwe/sammo/ActionItem/che_사기_초선화.php +++ b/hwe/sammo/ActionItem/che_사기_초선화.php @@ -5,7 +5,6 @@ use \sammo\General; class che_사기_초선화 extends \sammo\BaseItem{ - protected $id = 20; protected $rawName = '초선화'; protected $name = '초선화(사기)'; protected $info = '[전투] 사기 보정 +14'; diff --git a/hwe/sammo/ActionItem/che_사기_춘화첩.php b/hwe/sammo/ActionItem/che_사기_춘화첩.php index 96357223..f25580de 100644 --- a/hwe/sammo/ActionItem/che_사기_춘화첩.php +++ b/hwe/sammo/ActionItem/che_사기_춘화첩.php @@ -5,7 +5,6 @@ use \sammo\General; class che_사기_춘화첩 extends \sammo\BaseItem{ - protected $id = 19; protected $rawName = '춘화첩'; protected $name = '춘화첩(사기)'; protected $info = '[전투] 사기 보정 +14'; diff --git a/hwe/sammo/ActionItem/che_사기_탁주.php b/hwe/sammo/ActionItem/che_사기_탁주.php index a15c1c3a..d10e4959 100644 --- a/hwe/sammo/ActionItem/che_사기_탁주.php +++ b/hwe/sammo/ActionItem/che_사기_탁주.php @@ -9,7 +9,6 @@ use \sammo\WarUnitTrigger\능력치변경; class che_사기_탁주 extends \sammo\BaseItem{ - protected $id = 3; protected $rawName = '탁주'; protected $name = '탁주(사기)'; protected $info = '[전투] 사기 +6. 1회용'; diff --git a/hwe/sammo/ActionItem/che_의술_상한잡병론.php b/hwe/sammo/ActionItem/che_의술_상한잡병론.php index 060e3fc6..5d1f01f8 100644 --- a/hwe/sammo/ActionItem/che_의술_상한잡병론.php +++ b/hwe/sammo/ActionItem/che_의술_상한잡병론.php @@ -11,7 +11,6 @@ use sammo\WarUnitTrigger\che_전투치료시도; class che_의술_상한잡병론 extends \sammo\BaseItem{ - protected $id = 24; protected $rawName = '상한잡병론'; protected $name = '상한잡병론(의술)'; protected $info = '[군사] 매 턴마다 자신(100%)과 소속 도시 장수(적 포함 50%) 부상 회복
[전투] 페이즈마다 40% 확률로 치료 발동(아군 피해 1/3 감소, 부상 회복)'; @@ -29,7 +28,7 @@ class che_의술_상한잡병론 extends \sammo\BaseItem{ return new WarUnitTriggerCaller( new che_전투치료시도($unit, BaseWarUnitTrigger::TYPE_ITEM+BaseWarUnitTrigger::TYPE_DEDUP_TYPE_BASE*301), new che_전투치료발동($unit, BaseWarUnitTrigger::TYPE_ITEM) - + ); } } \ No newline at end of file diff --git a/hwe/sammo/ActionItem/che_의술_청낭서.php b/hwe/sammo/ActionItem/che_의술_청낭서.php index 40dab3fd..6034ee56 100644 --- a/hwe/sammo/ActionItem/che_의술_청낭서.php +++ b/hwe/sammo/ActionItem/che_의술_청낭서.php @@ -11,7 +11,6 @@ use sammo\WarUnitTriggerCaller; class che_의술_청낭서 extends \sammo\BaseItem{ - protected $id = 23; protected $rawName = '청낭서'; protected $name = '청낭서(의술)'; protected $info = '[군사] 매 턴마다 자신(100%)과 소속 도시 장수(적 포함 50%) 부상 회복
[전투] 페이즈마다 40% 확률로 치료 발동(아군 피해 1/3 감소, 부상 회복)'; @@ -29,7 +28,7 @@ class che_의술_청낭서 extends \sammo\BaseItem{ return new WarUnitTriggerCaller( new che_전투치료시도($unit, BaseWarUnitTrigger::TYPE_ITEM+BaseWarUnitTrigger::TYPE_DEDUP_TYPE_BASE*302), new che_전투치료발동($unit, BaseWarUnitTrigger::TYPE_ITEM) - + ); } } \ No newline at end of file diff --git a/hwe/sammo/ActionItem/che_의술_태평청령.php b/hwe/sammo/ActionItem/che_의술_태평청령.php index 875d536f..55abef16 100644 --- a/hwe/sammo/ActionItem/che_의술_태평청령.php +++ b/hwe/sammo/ActionItem/che_의술_태평청령.php @@ -11,7 +11,6 @@ use sammo\WarUnitTrigger\che_전투치료시도; class che_의술_태평청령 extends \sammo\BaseItem{ - protected $id = 24; protected $rawName = '태평청령'; protected $name = '태평청령(의술)'; protected $info = '[군사] 매 턴마다 자신(100%)과 소속 도시 장수(적 포함 50%) 부상 회복
[전투] 페이즈마다 40% 확률로 치료 발동(아군 피해 1/3 감소, 부상 회복)'; @@ -29,7 +28,7 @@ class che_의술_태평청령 extends \sammo\BaseItem{ return new WarUnitTriggerCaller( new che_전투치료시도($unit, BaseWarUnitTrigger::TYPE_ITEM+BaseWarUnitTrigger::TYPE_DEDUP_TYPE_BASE*303), new che_전투치료발동($unit, BaseWarUnitTrigger::TYPE_ITEM) - + ); } } \ No newline at end of file diff --git a/hwe/sammo/ActionItem/che_저격_매화수전.php b/hwe/sammo/ActionItem/che_저격_매화수전.php index a72e9c55..b0671002 100644 --- a/hwe/sammo/ActionItem/che_저격_매화수전.php +++ b/hwe/sammo/ActionItem/che_저격_매화수전.php @@ -12,7 +12,6 @@ use \sammo\WarUnitTrigger\che_저격발동; class che_저격_매화수전 extends \sammo\BaseItem{ - protected $id = 70; protected $rawName = '매화수전'; protected $name = '매화수전(저격)'; protected $info = '[전투] 새로운 상대와 전투 시 50% 확률로 저격 발동, 성공 시 사기+20'; diff --git a/hwe/sammo/ActionItem/che_저격_비도.php b/hwe/sammo/ActionItem/che_저격_비도.php index 5ab2c493..d9bf9509 100644 --- a/hwe/sammo/ActionItem/che_저격_비도.php +++ b/hwe/sammo/ActionItem/che_저격_비도.php @@ -12,7 +12,6 @@ use \sammo\WarUnitTrigger\che_저격발동; class che_저격_비도 extends \sammo\BaseItem{ - protected $id = 70; protected $rawName = '비도'; protected $name = '비도(저격)'; protected $info = '[전투] 새로운 상대와 전투 시 50% 확률로 저격 발동, 성공 시 사기+20'; diff --git a/hwe/sammo/ActionItem/che_저격_수극.php b/hwe/sammo/ActionItem/che_저격_수극.php index 9a31fc5a..7fe46fc9 100644 --- a/hwe/sammo/ActionItem/che_저격_수극.php +++ b/hwe/sammo/ActionItem/che_저격_수극.php @@ -10,7 +10,6 @@ use \sammo\BaseWarUnitTrigger; class che_저격_수극 extends \sammo\BaseItem{ - protected $id = 2; protected $rawName = '수극'; protected $name = '수극(저격)'; protected $info = '[전투] 전투 개시 전 50% 확률로 저격 시도. 1회용'; diff --git a/hwe/sammo/ActionItem/che_치료_도소연명.php b/hwe/sammo/ActionItem/che_치료_도소연명.php index dc9138e4..eec9e54e 100644 --- a/hwe/sammo/ActionItem/che_치료_도소연명.php +++ b/hwe/sammo/ActionItem/che_치료_도소연명.php @@ -7,7 +7,6 @@ use \sammo\GeneralTriggerCaller; class che_치료_도소연명 extends \sammo\BaseItem{ - protected $id = 9; protected $rawName = '도소연명'; protected $name = '도소연명(치료)'; protected $info = '[군사] 턴 실행 전 부상 회복.'; diff --git a/hwe/sammo/ActionItem/che_치료_무후행군.php b/hwe/sammo/ActionItem/che_치료_무후행군.php index e5c2f922..8dc781e9 100644 --- a/hwe/sammo/ActionItem/che_치료_무후행군.php +++ b/hwe/sammo/ActionItem/che_치료_무후행군.php @@ -7,7 +7,6 @@ use \sammo\GeneralTriggerCaller; class che_치료_무후행군 extends \sammo\BaseItem{ - protected $id = 8; protected $rawName = '무후행군'; protected $name = '무후행군(치료)'; protected $info = '[군사] 턴 실행 전 부상 회복.'; diff --git a/hwe/sammo/ActionItem/che_치료_오석산.php b/hwe/sammo/ActionItem/che_치료_오석산.php index 561c941b..df8fa889 100644 --- a/hwe/sammo/ActionItem/che_치료_오석산.php +++ b/hwe/sammo/ActionItem/che_치료_오석산.php @@ -7,7 +7,6 @@ use \sammo\GeneralTriggerCaller; class che_치료_오석산 extends \sammo\BaseItem{ - protected $id = 7; protected $rawName = '오석산'; protected $name = '오석산(치료)'; protected $info = '[군사] 턴 실행 전 부상 회복.'; diff --git a/hwe/sammo/ActionItem/che_치료_정력견혈.php b/hwe/sammo/ActionItem/che_치료_정력견혈.php index cb66fe7b..79eaa7a3 100644 --- a/hwe/sammo/ActionItem/che_치료_정력견혈.php +++ b/hwe/sammo/ActionItem/che_치료_정력견혈.php @@ -7,7 +7,6 @@ use \sammo\GeneralTriggerCaller; class che_치료_정력견혈 extends \sammo\BaseItem{ - protected $id = 11; protected $rawName = '정력견혈'; protected $name = '정력견혈(치료)'; protected $info = '[군사] 턴 실행 전 부상 회복.'; diff --git a/hwe/sammo/ActionItem/che_치료_칠엽청점.php b/hwe/sammo/ActionItem/che_치료_칠엽청점.php index 23225735..99d6f20f 100644 --- a/hwe/sammo/ActionItem/che_치료_칠엽청점.php +++ b/hwe/sammo/ActionItem/che_치료_칠엽청점.php @@ -7,7 +7,6 @@ use \sammo\GeneralTriggerCaller; class che_치료_칠엽청점 extends \sammo\BaseItem{ - protected $id = 10; protected $rawName = '칠엽청점'; protected $name = '칠엽청점(치료)'; protected $info = '[군사] 턴 실행 전 부상 회복.'; diff --git a/hwe/sammo/ActionItem/che_치료_환약.php b/hwe/sammo/ActionItem/che_치료_환약.php index 30bd692e..39f5d5e5 100644 --- a/hwe/sammo/ActionItem/che_치료_환약.php +++ b/hwe/sammo/ActionItem/che_치료_환약.php @@ -7,7 +7,6 @@ use \sammo\GeneralTriggerCaller; class che_치료_환약 extends \sammo\BaseItem{ - protected $id = 1; protected $rawName = '환약'; protected $name = '환약(치료)'; protected $info = '[군사] 턴 실행 전 부상 회복. 1회용'; diff --git a/hwe/sammo/ActionItem/che_행동_서촉지형도.php b/hwe/sammo/ActionItem/che_행동_서촉지형도.php index bce22a82..e5e7f3a3 100644 --- a/hwe/sammo/ActionItem/che_행동_서촉지형도.php +++ b/hwe/sammo/ActionItem/che_행동_서촉지형도.php @@ -5,7 +5,6 @@ use \sammo\General; class che_행동_서촉지형도 extends \sammo\BaseItem{ - protected $id = 22; protected $rawName = '서촉지형도'; protected $name = '서촉지형도(행동)'; protected $info = '[전투] 공격 시 페이즈 + 2'; diff --git a/hwe/sammo/ActionItem/che_회피_둔갑천서.php b/hwe/sammo/ActionItem/che_회피_둔갑천서.php index e158ee06..22cca129 100644 --- a/hwe/sammo/ActionItem/che_회피_둔갑천서.php +++ b/hwe/sammo/ActionItem/che_회피_둔갑천서.php @@ -5,7 +5,6 @@ use \sammo\General; class che_회피_둔갑천서 extends \sammo\BaseItem{ - protected $id = 26; protected $rawName = '둔갑천서'; protected $name = '둔갑천서(회피)'; protected $info = '[전투] 회피 확률 +20%p'; diff --git a/hwe/sammo/ActionItem/che_회피_태평요술.php b/hwe/sammo/ActionItem/che_회피_태평요술.php index 3a89d06c..70b5926e 100644 --- a/hwe/sammo/ActionItem/che_회피_태평요술.php +++ b/hwe/sammo/ActionItem/che_회피_태평요술.php @@ -5,7 +5,6 @@ use \sammo\General; class che_회피_태평요술 extends \sammo\BaseItem{ - protected $id = 25; protected $rawName = '태평요술'; protected $name = '태평요술(회피)'; protected $info = '[전투] 회피 확률 +20%p'; diff --git a/hwe/sammo/ActionItem/che_훈련_과실주.php b/hwe/sammo/ActionItem/che_훈련_과실주.php index 59ee5e36..7bc55f0e 100644 --- a/hwe/sammo/ActionItem/che_훈련_과실주.php +++ b/hwe/sammo/ActionItem/che_훈련_과실주.php @@ -5,7 +5,6 @@ use \sammo\General; class che_훈련_과실주 extends \sammo\BaseItem{ - protected $id = 12; protected $rawName = '과실주'; protected $name = '과실주(훈련)'; protected $info = '[전투] 훈련 보정 +10'; diff --git a/hwe/sammo/ActionItem/che_훈련_단결도.php b/hwe/sammo/ActionItem/che_훈련_단결도.php index a7f117a1..3c3a74f2 100644 --- a/hwe/sammo/ActionItem/che_훈련_단결도.php +++ b/hwe/sammo/ActionItem/che_훈련_단결도.php @@ -5,7 +5,6 @@ use \sammo\General; class che_훈련_단결도 extends \sammo\BaseItem{ - protected $id = 18; protected $rawName = '단결도'; protected $name = '단결도(훈련)'; protected $info = '[전투] 훈련 보정 +14'; diff --git a/hwe/sammo/ActionItem/che_훈련_이강주.php b/hwe/sammo/ActionItem/che_훈련_이강주.php index bc2425f9..a8593c6a 100644 --- a/hwe/sammo/ActionItem/che_훈련_이강주.php +++ b/hwe/sammo/ActionItem/che_훈련_이강주.php @@ -5,7 +5,6 @@ use \sammo\General; class che_훈련_이강주 extends \sammo\BaseItem{ - protected $id = 13; protected $rawName = '이강주'; protected $name = '이강주(훈련)'; protected $info = '[전투] 훈련 보정 +10'; diff --git a/hwe/sammo/ActionItem/che_훈련_철벽서.php b/hwe/sammo/ActionItem/che_훈련_철벽서.php index e2ef2d65..021cb8ed 100644 --- a/hwe/sammo/ActionItem/che_훈련_철벽서.php +++ b/hwe/sammo/ActionItem/che_훈련_철벽서.php @@ -5,7 +5,6 @@ use \sammo\General; class che_훈련_철벽서 extends \sammo\BaseItem{ - protected $id = 17; protected $rawName = '철벽서'; protected $name = '철벽서(훈련)'; protected $info = '[전투] 훈련 보정 +14'; diff --git a/hwe/sammo/ActionItem/che_훈련_청주.php b/hwe/sammo/ActionItem/che_훈련_청주.php index f97fb8b4..47e4e15a 100644 --- a/hwe/sammo/ActionItem/che_훈련_청주.php +++ b/hwe/sammo/ActionItem/che_훈련_청주.php @@ -9,7 +9,6 @@ use \sammo\WarUnitTrigger\능력치변경; class che_훈련_청주 extends \sammo\BaseItem{ - protected $id = 4; protected $rawName = '청주'; protected $name = '청주(훈련)'; protected $info = '[전투] 훈련 +6. 1회용'; diff --git a/hwe/sammo/ActionItem/event_빼빼로.php b/hwe/sammo/ActionItem/event_빼빼로.php index 37f2dd20..79389bf3 100644 --- a/hwe/sammo/ActionItem/event_빼빼로.php +++ b/hwe/sammo/ActionItem/event_빼빼로.php @@ -10,7 +10,6 @@ use sammo\WarUnitTrigger\che_격노발동; class event_빼빼로 extends \sammo\BaseItem{ - protected $id = 75; protected $rawName = '빼빼로'; protected $name = '빼빼로'; protected $info = '1의 상징입니다.
통솔 +1, 무력 +1, 지력 +1'; diff --git a/hwe/sammo/ActionItem/event_전투특기_격노.php b/hwe/sammo/ActionItem/event_전투특기_격노.php index 26fd8d14..aa5db3b2 100644 --- a/hwe/sammo/ActionItem/event_전투특기_격노.php +++ b/hwe/sammo/ActionItem/event_전투특기_격노.php @@ -10,7 +10,6 @@ use sammo\WarUnitTrigger\che_격노발동; class event_전투특기_격노 extends \sammo\BaseItem{ - protected $id = 74; protected $rawName = '비급'; protected $name = '비급(격노)'; protected $info = '[전투] 상대방 필살 시 격노(필살) 발동, 회피 시도시 25% 확률로 격노 발동, 공격 시 일정 확률로 진노(1페이즈 추가)'; diff --git a/hwe/sammo/ActionItem/event_전투특기_견고.php b/hwe/sammo/ActionItem/event_전투특기_견고.php index 71e0a009..143cb5e0 100644 --- a/hwe/sammo/ActionItem/event_전투특기_견고.php +++ b/hwe/sammo/ActionItem/event_전투특기_견고.php @@ -9,7 +9,6 @@ use sammo\WarUnitTriggerCaller; class event_전투특기_견고 extends \sammo\BaseItem{ - protected $id = 74; protected $rawName = '비급'; protected $name = '비급(견고)'; protected $info = '[전투] 상대 필살 확률 -20%p, 상대 계략 시도시 성공 확률 -10%p, 부상 없음, 아군 피해 -10%'; diff --git a/hwe/sammo/ActionItem/event_전투특기_공성.php b/hwe/sammo/ActionItem/event_전투특기_공성.php index fc30fcb0..a26a47e2 100644 --- a/hwe/sammo/ActionItem/event_전투특기_공성.php +++ b/hwe/sammo/ActionItem/event_전투특기_공성.php @@ -9,7 +9,6 @@ use \sammo\WarUnitCity; class event_전투특기_공성 extends \sammo\BaseItem{ - protected $id = 53; protected $rawName = '비급'; protected $name = '비급(공성)'; protected $info = '[군사] 차병 계통 징·모병비 -10%
[전투] 성벽 공격 시 대미지 +100%,
공격시 상대 병종에/수비시 자신 병종 숙련에 차병 숙련을 가산'; @@ -22,7 +21,7 @@ class event_전투특기_공성 extends \sammo\BaseItem{ if(in_array($turnType, ['징병', '모병'])){ if($varType == 'cost' && $aux['armType'] == GameUnitConst::T_SIEGE) return $value * 0.9; } - + return $value; } diff --git a/hwe/sammo/ActionItem/event_전투특기_궁병.php b/hwe/sammo/ActionItem/event_전투특기_궁병.php index 182c5212..81381a69 100644 --- a/hwe/sammo/ActionItem/event_전투특기_궁병.php +++ b/hwe/sammo/ActionItem/event_전투특기_궁병.php @@ -8,7 +8,6 @@ use \sammo\GameUnitConst; class event_전투특기_궁병 extends \sammo\BaseItem{ - protected $id = 51; protected $rawName = '비급'; protected $name = '비급(궁병)'; protected $info = '[군사] 궁병 계통 징·모병비 -10%
[전투] 회피 확률 +20%p,
공격시 상대 병종에/수비시 자신 병종 숙련에 궁병 숙련을 가산'; @@ -21,7 +20,7 @@ class event_전투특기_궁병 extends \sammo\BaseItem{ if(in_array($turnType, ['징병', '모병'])){ if($varType == 'cost' && $aux['armType'] == GameUnitConst::T_ARCHER) return $value * 0.9; } - + return $value; } diff --git a/hwe/sammo/ActionItem/event_전투특기_귀병.php b/hwe/sammo/ActionItem/event_전투특기_귀병.php index 3bcc2201..e11ea251 100644 --- a/hwe/sammo/ActionItem/event_전투특기_귀병.php +++ b/hwe/sammo/ActionItem/event_전투특기_귀병.php @@ -8,7 +8,6 @@ use \sammo\WarUnit; class event_전투특기_귀병 extends \sammo\BaseItem{ - protected $id = 40; protected $rawName = '비급'; protected $name = '비급(귀병)'; protected $info = '[군사] 귀병 계통 징·모병비 -10%
[전투] 계략 성공 확률 +20%p,
공격시 상대 병종에/수비시 자신 병종 숙련에 귀병 숙련을 가산'; @@ -21,7 +20,7 @@ class event_전투특기_귀병 extends \sammo\BaseItem{ if(in_array($turnType, ['징병', '모병'])){ if($varType == 'cost' && $aux['armType'] == GameUnitConst::T_WIZARD) return $value * 0.9; } - + return $value; } diff --git a/hwe/sammo/ActionItem/event_전투특기_기병.php b/hwe/sammo/ActionItem/event_전투특기_기병.php index 36a163b4..e19ad59b 100644 --- a/hwe/sammo/ActionItem/event_전투특기_기병.php +++ b/hwe/sammo/ActionItem/event_전투특기_기병.php @@ -8,7 +8,6 @@ use \sammo\WarUnit; class event_전투특기_기병 extends \sammo\BaseItem{ - protected $id = 52; protected $rawName = '비급'; protected $name = '비급(기병)'; protected $info = '[군사] 기병 계통 징·모병비 -10%
[전투] 수비 시 대미지 +10%, 공격 시 대미지 +20%,
공격시 상대 병종에/수비시 자신 병종 숙련에 기병 숙련을 가산'; @@ -21,7 +20,7 @@ class event_전투특기_기병 extends \sammo\BaseItem{ if(in_array($turnType, ['징병', '모병'])){ if($varType == 'cost' && $aux['armType'] == GameUnitConst::T_CAVALRY) return $value * 0.9; } - + return $value; } diff --git a/hwe/sammo/ActionItem/event_전투특기_돌격.php b/hwe/sammo/ActionItem/event_전투특기_돌격.php index 6a1b8401..dd858663 100644 --- a/hwe/sammo/ActionItem/event_전투특기_돌격.php +++ b/hwe/sammo/ActionItem/event_전투특기_돌격.php @@ -11,7 +11,6 @@ use \sammo\WarUnitTrigger\che_돌격지속; class event_전투특기_돌격 extends \sammo\BaseItem{ - protected $id = 60; protected $rawName = '비급'; protected $name = '비급(돌격)'; protected $info = '[전투] 공격 시 대등/유리한 병종에게는 퇴각 전까지 전투, 공격 시 페이즈 + 2, 공격 시 대미지 +5%'; diff --git a/hwe/sammo/ActionItem/event_전투특기_무쌍.php b/hwe/sammo/ActionItem/event_전투특기_무쌍.php index 6d53e9f9..02524aa3 100644 --- a/hwe/sammo/ActionItem/event_전투특기_무쌍.php +++ b/hwe/sammo/ActionItem/event_전투특기_무쌍.php @@ -8,7 +8,6 @@ use \sammo\Util; class event_전투특기_무쌍 extends \sammo\BaseItem{ - protected $id = 61; protected $rawName = '비급'; protected $name = '비급(무쌍)'; protected $info = '[전투] 대미지 +5%, 피해 -2%, 공격 시 필살 확률 +10%p,
승리 수의 로그 비례로 대미지 상승(10회 ⇒ +5%, 40회 ⇒ +15%)
승리 수의 로그 비례로 피해 감소(10회 ⇒ -2%, 40회 ⇒ -6%)'; diff --git a/hwe/sammo/ActionItem/event_전투특기_반계.php b/hwe/sammo/ActionItem/event_전투특기_반계.php index 23fb5faf..30e2bd4f 100644 --- a/hwe/sammo/ActionItem/event_전투특기_반계.php +++ b/hwe/sammo/ActionItem/event_전투특기_반계.php @@ -12,7 +12,6 @@ use \sammo\WarUnitTrigger\che_반계발동; class event_전투특기_반계 extends \sammo\BaseItem{ - protected $id = 45; protected $rawName = '비급'; protected $name = '비급(반계)'; protected $info = '[전투] 상대의 계략 성공 확률 -10%p, 상대의 계략을 40% 확률로 되돌림, 반목 성공시 대미지 추가(+60% → +150%)'; diff --git a/hwe/sammo/ActionItem/event_전투특기_보병.php b/hwe/sammo/ActionItem/event_전투특기_보병.php index d38e7e51..36af41ad 100644 --- a/hwe/sammo/ActionItem/event_전투특기_보병.php +++ b/hwe/sammo/ActionItem/event_전투특기_보병.php @@ -8,7 +8,6 @@ use \sammo\WarUnit; class event_전투특기_보병 extends \sammo\BaseItem{ - protected $id = 50; protected $rawName = '비급'; protected $name = '비급(보병)'; protected $info = '[군사] 보병 계통 징·모병비 -10%
[전투] 공격 시 아군 피해 -10%, 수비 시 아군 피해 -20%,
공격시 상대 병종에/수비시 자신 병종 숙련에 보병 숙련을 가산'; @@ -22,7 +21,7 @@ class event_전투특기_보병 extends \sammo\BaseItem{ if(in_array($turnType, ['징병', '모병'])){ if($varType == 'cost' && $aux['armType'] == GameUnitConst::T_FOOTMAN) return $value * 0.9; } - + return $value; } diff --git a/hwe/sammo/ActionItem/event_전투특기_신산.php b/hwe/sammo/ActionItem/event_전투특기_신산.php index d0fecdfa..e782e9cc 100644 --- a/hwe/sammo/ActionItem/event_전투특기_신산.php +++ b/hwe/sammo/ActionItem/event_전투특기_신산.php @@ -7,7 +7,6 @@ use \sammo\WarUnit; class event_전투특기_신산 extends \sammo\BaseItem{ - protected $id = 41; protected $rawName = '비급'; protected $name = '비급(신산)'; protected $info = '[계략] 화계·탈취·파괴·선동 : 성공률 +10%p
[전투] 계략 시도 확률 +20%p, 계략 성공 확률 +20%p'; @@ -20,7 +19,7 @@ class event_전투특기_신산 extends \sammo\BaseItem{ if($turnType == '계략'){ if($varType == 'success') return $value + 0.1; } - + return $value; } diff --git a/hwe/sammo/ActionItem/event_전투특기_신중.php b/hwe/sammo/ActionItem/event_전투특기_신중.php index 32f35244..2c678932 100644 --- a/hwe/sammo/ActionItem/event_전투특기_신중.php +++ b/hwe/sammo/ActionItem/event_전투특기_신중.php @@ -7,7 +7,6 @@ use \sammo\WarUnit; class event_전투특기_신중 extends \sammo\BaseItem{ - protected $id = 44; protected $rawName = '비급'; protected $name = '비급(신중)'; protected $info = '[전투] 계략 성공 확률 100%'; diff --git a/hwe/sammo/ActionItem/event_전투특기_위압.php b/hwe/sammo/ActionItem/event_전투특기_위압.php index 3c17cf42..3c056660 100644 --- a/hwe/sammo/ActionItem/event_전투특기_위압.php +++ b/hwe/sammo/ActionItem/event_전투특기_위압.php @@ -10,7 +10,6 @@ use \sammo\WarUnitTrigger\che_위압발동; class event_전투특기_위압 extends \sammo\BaseItem{ - protected $id = 63; protected $rawName = '비급'; protected $name = '비급(위압)'; protected $info = '[전투] 첫 페이즈 위압 발동(적 공격, 회피 불가, 사기 5 감소)'; diff --git a/hwe/sammo/ActionItem/event_전투특기_의술.php b/hwe/sammo/ActionItem/event_전투특기_의술.php index 654c08cd..0b87382e 100644 --- a/hwe/sammo/ActionItem/event_전투특기_의술.php +++ b/hwe/sammo/ActionItem/event_전투특기_의술.php @@ -13,7 +13,6 @@ use sammo\WarUnitTriggerCaller; class event_전투특기_의술 extends \sammo\BaseItem{ - protected $id = 73; protected $rawName = '비급'; protected $name = '비급(의술)'; protected $info = '[군사] 매 턴마다 자신(100%)과 소속 도시 장수(적 포함 50%) 부상 회복
[전투] 페이즈마다 40% 확률로 치료 발동(아군 피해 1/3 감소, 부상 회복)'; diff --git a/hwe/sammo/ActionItem/event_전투특기_저격.php b/hwe/sammo/ActionItem/event_전투특기_저격.php index 223f7a5f..dd02abb8 100644 --- a/hwe/sammo/ActionItem/event_전투특기_저격.php +++ b/hwe/sammo/ActionItem/event_전투특기_저격.php @@ -10,7 +10,6 @@ use \sammo\WarUnitTrigger\che_저격발동; class event_전투특기_저격 extends \sammo\BaseItem{ - protected $id = 70; protected $rawName = '비급'; protected $name = '비급(저격)'; protected $info = '[전투] 새로운 상대와 전투 시 50% 확률로 저격 발동, 성공 시 사기+20'; diff --git a/hwe/sammo/ActionItem/event_전투특기_집중.php b/hwe/sammo/ActionItem/event_전투특기_집중.php index a0a0d344..5b0c9b1a 100644 --- a/hwe/sammo/ActionItem/event_전투특기_집중.php +++ b/hwe/sammo/ActionItem/event_전투특기_집중.php @@ -7,7 +7,6 @@ use \sammo\WarUnit; class event_전투특기_집중 extends \sammo\BaseItem{ - protected $id = 43; protected $rawName = '비급'; protected $name = '비급(집중)'; protected $info = '[전투] 계략 성공 시 대미지 +50%'; diff --git a/hwe/sammo/ActionItem/event_전투특기_징병.php b/hwe/sammo/ActionItem/event_전투특기_징병.php index c253a5b0..1e35b396 100644 --- a/hwe/sammo/ActionItem/event_전투특기_징병.php +++ b/hwe/sammo/ActionItem/event_전투특기_징병.php @@ -7,7 +7,6 @@ use \sammo\WarUnit; class event_전투특기_징병 extends \sammo\BaseItem{ - protected $id = 72; protected $rawName = '비급'; protected $name = '비급(징병)'; protected $info = '[군사] 징·모병비 -50%, 통솔 순수 능력치 보정 +15%'; @@ -20,7 +19,7 @@ class event_전투특기_징병 extends \sammo\BaseItem{ if(in_array($turnType, ['징병', '모병'])){ if($varType == 'cost') return $value * 0.5; } - + return $value; } diff --git a/hwe/sammo/ActionItem/event_전투특기_척사.php b/hwe/sammo/ActionItem/event_전투특기_척사.php index f8bed76e..bdae2626 100644 --- a/hwe/sammo/ActionItem/event_전투특기_척사.php +++ b/hwe/sammo/ActionItem/event_전투특기_척사.php @@ -7,7 +7,6 @@ use \sammo\WarUnit; class event_전투특기_척사 extends \sammo\BaseItem{ - protected $id = 75; protected $rawName = '비급'; protected $name = '비급(척사)'; protected $info = '[전투] 지역·도시 병종 상대로 대미지 +20%, 아군 피해 -20%'; diff --git a/hwe/sammo/ActionItem/event_전투특기_필살.php b/hwe/sammo/ActionItem/event_전투특기_필살.php index 5efa89f5..a606819a 100644 --- a/hwe/sammo/ActionItem/event_전투특기_필살.php +++ b/hwe/sammo/ActionItem/event_전투특기_필살.php @@ -9,7 +9,6 @@ use sammo\WarUnitTrigger\che_필살강화_회피불가; class event_전투특기_필살 extends \sammo\BaseItem{ - protected $id = 71; protected $rawName = '비급'; protected $name = '비급(필살)'; protected $info = '[전투] 필살 확률 +30%p, 필살 발동시 대상 회피 불가'; diff --git a/hwe/sammo/ActionItem/event_전투특기_환술.php b/hwe/sammo/ActionItem/event_전투특기_환술.php index 4f37fe3c..42b50b56 100644 --- a/hwe/sammo/ActionItem/event_전투특기_환술.php +++ b/hwe/sammo/ActionItem/event_전투특기_환술.php @@ -7,7 +7,6 @@ use \sammo\WarUnit; class event_전투특기_환술 extends \sammo\BaseItem{ - protected $id = 42; protected $rawName = '비급'; protected $name = '비급(환술)'; protected $info = '[전투] 계략 성공 확률 +10%p, 계략 성공 시 대미지 +30%'; diff --git a/hwe/sammo/BaseItem.php b/hwe/sammo/BaseItem.php index 1b73d684..a8a9061f 100644 --- a/hwe/sammo/BaseItem.php +++ b/hwe/sammo/BaseItem.php @@ -7,7 +7,6 @@ use \sammo\General; class BaseItem implements iAction{ use \sammo\DefaultAction; - protected $id = 0; protected $rawName = '-'; protected $name = '-'; protected $info = ''; @@ -30,7 +29,7 @@ class BaseItem implements iAction{ } return static::class; } - + function getCost(){ return $this->cost; }