feat(WIP): 이벤트 시나리오 준비
This commit is contained in:
@@ -212,11 +212,11 @@ class Scenario{
|
||||
$this->events = array_map(function($rawEvent){
|
||||
//event는 여기서 풀지 않는다. 평가만 한다.
|
||||
$target = $rawEvent[0];
|
||||
if(is_string($target)){
|
||||
if(!is_string($target)){
|
||||
throw new \RuntimeException("{$target}이 문자열이 아님");
|
||||
}
|
||||
$priority = $rawEvent[1];
|
||||
if(is_int($priority)){
|
||||
if(!is_int($priority)){
|
||||
throw new \RuntimeException("{$priority}가 정수가 아님");
|
||||
}
|
||||
$cond = $rawEvent[2];
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"title":"【이벤트】 대리전",
|
||||
"startYear":180,
|
||||
"map":{
|
||||
"mapName":"miniche_b"
|
||||
},
|
||||
"history":[
|
||||
"<C>●</>180년 1월:<L><b>【이벤트】</b></>NPC 군주 뒤에 플레이해보는 이벤트 깃수"
|
||||
],
|
||||
"const": {
|
||||
"joinRuinedNPCProp":0
|
||||
},
|
||||
"nation":[
|
||||
["엄백호", "#800080", 10000, 10000, "엄백호", 0, "che_덕가", 2, ["건안"]],
|
||||
["맹획", "#A0522D", 10000, 10000, "맹획", 0, "che_덕가", 2, ["월수"]],
|
||||
["유표", "#E0FFFF", 10000, 10000, "유표", 0, "che_도가", 2, ["영릉"]],
|
||||
["올돌골", "#800000", 10000, 10000, "올돌골", 0, "che_도적", 2, ["남해"]],
|
||||
["동탁", "#A9A9A9", 10000, 10000, "동탁", 0, "che_도적", 2, ["안정"]],
|
||||
["유비", "#008000", 10000, 10000, "유비", 0, "che_명가", 2, ["평원"]],
|
||||
["유기", "#008080", 10000, 10000, "유기", 0, "che_명가", 2, ["강하"]],
|
||||
["유장", "#483D8B", 10000, 10000, "유장", 0, "che_묵가", 2, ["덕양"]],
|
||||
["조조", "#000080", 10000, 10000, "조조", 0, "che_법가", 2, ["진류"]],
|
||||
["원소", "#FF00FF", 10000, 10000, "원소", 0, "che_병가", 2, ["거록"]],
|
||||
["공손찬", "#87CEEB", 10000, 10000, "공손찬", 0, "che_병가", 2, ["계"]],
|
||||
["신라", "#FFA500", 10000, 10000, "신라", 0, "che_불가", 2, ["계림"]],
|
||||
["고구려", "#FF6347", 10000, 10000, "고구려", 0, "che_불가", 2, ["국내"]],
|
||||
["장로", "#20B2AA", 10000, 10000, "장로", 0, "che_오두미도", 2, ["상용"]],
|
||||
["도겸", "#00FF00", 10000, 10000, "도겸", 0, "che_오두미도", 2, ["하비"]],
|
||||
["손권", "#FF0000", 10000, 10000, "손권", 0, "che_유가", 2, ["오"]],
|
||||
["헌제", "#BA55D3", 10000, 10000, "헌제", 0, "che_유가", 2, ["홍농"]],
|
||||
["원술", "#FFC0CB", 10000, 10000, "원술", 0, "che_음양가", 2, ["여남"]],
|
||||
["마등", "#808000", 10000, 10000, "마등", 0, "che_종횡가", 2, ["무도"]],
|
||||
["목록대왕", "#7CFC00", 10000, 10000, "목록대왕", 0, "che_종횡가", 2, ["건녕"]],
|
||||
["장량", "#FFD700", 10000, 10000, "장량", 0, "che_태평도", 2, ["하내"]]
|
||||
],
|
||||
"general":[
|
||||
[999, "엄백호", 1217, 1, null, 85, 85, 85, 12, 150, 250, null, null],
|
||||
[999, "맹획", 1108, 2, null, 85, 85, 85, 12, 150, 250, null, null],
|
||||
[999, "유표", 1293, 3, null, 85, 85, 85, 12, 150, 250, null, null],
|
||||
[999, "올돌골", 1241, 4, null, 85, 85, 85, 12, 150, 250, null, null],
|
||||
[999, "동탁", 1083, 5, null, 85, 85, 85, 12, 150, 250, null, null],
|
||||
[999, "유비", 1281, 6, null, 85, 85, 85, 12, 150, 250, null, null],
|
||||
[999, "유기", 1276, 7, null, 85, 85, 85, 12, 150, 250, null, null],
|
||||
[999, "유장", 1290, 8, null, 85, 85, 85, 12, 150, 250, null, null],
|
||||
[999, "조조", 1392, 9, null, 85, 85, 85, 12, 150, 250, null, null],
|
||||
[999, "원소", 1268, 10, null, 85, 85, 85, 12, 150, 250, null, null],
|
||||
[999, "공손찬", 1033, 11, null, 85, 85, 85, 12, 150, 250, null, null],
|
||||
[999, "석벌휴", null, 12, null, 85, 85, 85, 12, 150, 250, null, null],
|
||||
[999, "고남무", null, 13, null, 85, 85, 85, 12, 150, 250, null, null],
|
||||
[999, "장로", 1319, 14, null, 85, 85, 85, 12, 150, 250, null, null],
|
||||
[999, "도겸", 1074, 15, null, 85, 85, 85, 12, 150, 250, null, null],
|
||||
[999, "손권", 1169, 16, null, 85, 85, 85, 12, 150, 250, null, null],
|
||||
[999, "헌제", 1002, 17, null, 85, 85, 85, 12, 150, 250, null, null],
|
||||
[999, "원술", 1269, 18, null, 85, 85, 85, 12, 150, 250, null, null],
|
||||
[999, "마등", 1094, 19, null, 85, 85, 85, 12, 150, 250, null, null],
|
||||
[999, "목록대왕", 1110, 20, null, 85, 85, 85, 12, 150, 250, null, null],
|
||||
[999, "장량", 1318, 21, null, 85, 85, 85, 12, 150, 250, null, null]
|
||||
],
|
||||
"events":[
|
||||
[
|
||||
"month", 1000,
|
||||
["or", ["Date", "==", null, 12], ["Date", "==", null, 6]],
|
||||
["CreateManyNPC", 10, 10],
|
||||
["DeleteEvent"]
|
||||
]
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user