메시지 예제 초기 데이터 준비

예제용 이미지 추가
fresh_result.json에 갠메, 전메, 국메, 외교 추가
This commit is contained in:
2018-02-10 23:49:43 +09:00
parent 75c99904c6
commit 6052b3c577
9 changed files with 387 additions and 12 deletions
+5 -1
View File
@@ -34,7 +34,11 @@ var messageTemplate = `
<font color="<%dest.color%>"><%e(dest.name)%>:<%e(dest.nation)%></font>
]</b>
<%} else if(msgType == 'national') {%>
<%} else if(msgType == 'national' && src.nation_id == dest.nation_id){%>
<b>[
<font color="<%src.color%>"><%e(src.name)%>:<%e(src.nation)%></font>
]</b>
<%} else if(msgType == 'national' || msgType == 'diplomacy'){%>
<b>[
<font color="<%src.color%>"><%e(src.name)%>:<%e(src.nation)%></font>