사용자:이의섭/창고: 두 판 사이의 차이

리버티게임, 모두가 만들어가는 자유로운 게임
imported>이의섭
잔글편집 요약 없음
imported>이의섭
잔글편집 요약 없음
4번째 줄: 4번째 줄:


{{#vardefine:Test|{{#switch:{{{1}}}|0=Yes|1=No}}}}
{{#vardefine:Test|{{#switch:{{{1}}}|0=Yes|1=No}}}}
{{#var:Test|1}}
 
<!--동방선거전/전역/유세변수-->
<!--동방선거전/전역/유세변수 종족, 지역간 호환성 상수-->
{{#switch:{{{1}}}
<!--지역간호환성-->
|re|지역=<!--지역간 호환성 시작-->{{#switch:{{{2}}}
{{#vardefine:K1|{{#switch:{{{1}}}
|0=<!--하쿠레이 신사-->{{#switch:{{{3}}}
|0=<!--하쿠레이 신사-->{{#switch:{{{2}}}
|11=0.6
|11=0.6
|12=0.7
|12=0.7
14번째 줄: 14번째 줄:
|0=1.5
|0=1.5
|#default=1}}
|#default=1}}
|1=<!--홍마관과 그 인근-->{{#switch:{{{3}}}
|1=<!--홍마관과 그 인근-->{{#switch:{{{2}}}
|11|12=0.7
|11|12=0.7
|1=1.5
|1=1.5
|#default=1}}
|#default=1}}
|2=<!--마법의숲과 그 인근-->{{#switch:{{{3}}}
|2=<!--마법의숲과 그 인근-->{{#switch:{{{2}}}
|11|12=0.7
|11|12=0.7
|2=1.5
|2=1.5
|#default=1}}
|#default=1}}
|3=<!--백옥루-->{{#switch:{{{3}}}
|3=<!--백옥루-->{{#switch:{{{2}}}
|11|12=0.7
|11|12=0.7
|3=1.5
|3=1.5
|#default=1}}
|#default=1}}
|4=<!--남쪽 인간 마을-->{{#switch:{{{3}}}
|4=<!--남쪽 인간 마을-->{{#switch:{{{2}}}
|11|12=0.7
|11|12=0.7
|5=1.1
|5=1.1
|4=1.5
|4=1.5
|#default=1}}
|#default=1}}
|5=<!--영원정-->{{#switch:{{{3}}}
|5=<!--영원정-->{{#switch:{{{2}}}
|12=0.7
|12=0.7
|4=1.1
|4=1.1
|5=1.5
|5=1.5
|#default=1}}
|#default=1}}
|6=<!--삼도천과 그 근방-->{{#switch:{{{3}}}
|6=<!--삼도천과 그 근방-->{{#switch:{{{2}}}
|6=1.5
|6=1.5
|#default=1}}
|#default=1}}
|7=<!--구지옥-->{{#switch:{{{3}}}
|7=<!--구지옥-->{{#switch:{{{2}}}
|16=0.7
|16=0.7
|9=0.9
|9=0.9
|7=1.5
|7=1.5
|#default=1}}
|#default=1}}
|8=<!--현무의 계곡-->{{#switch:{{{3}}}
|8=<!--현무의 계곡-->{{#switch:{{{2}}}
|11|12=0.7
|11|12=0.7
|9|10=1.1
|9|10=1.1
|8=1.5
|8=1.5
|#default=1}}
|#default=1}}
|9=<!--텐구 집성지-->{{#switch:{{{3}}}
|9=<!--텐구 집성지-->{{#switch:{{{2}}}
|11|12=0.7
|11|12=0.7
|7|10=0.9
|7|10=0.9
55번째 줄: 55번째 줄:
|9=1.1
|9=1.1
|#default=1}}
|#default=1}}
|10=<!--모리야신사와 인근-->{{#switch:{{{3}}}
|10=<!--모리야신사와 인근-->{{#switch:{{{2}}}
|7|10=0.9
|7|10=0.9
|9=1.1
|9=1.1
|10=1.5
|10=1.5
|#default=1}}
|#default=1}}
|11=<!--달의 도시-->{{#switch:{{{3}}}
|11=<!--달의 도시-->{{#switch:{{{2}}}
|0=0.6
|0=0.6
|1|2|3|4|8|9|10|13|14|15=0.8
|1|2|3|4|8|9|10|13|14|15=0.8
66번째 줄: 66번째 줄:
|11=1.5
|11=1.5
|#default=1}}
|#default=1}}
|12=<!--천계-->{{#switch:{{{3}}}
|12=<!--천계-->{{#switch:{{{2}}}
|0=0.7
|0=0.7
|1|2|3|4|8|9|10|13|14=0.9
|1|2|3|4|8|9|10|13|14=0.9
72번째 줄: 72번째 줄:
|12=1.5
|12=1.5
|#default=1}}
|#default=1}}
|13=<!--동쪽 인간 마을(지역 출신 없음)-->{{#switch:{{{3}}}
|13=<!--동쪽 인간 마을(지역 출신 없음)-->{{#switch:{{{2}}}
|13=1.5
|13=1.5
|#default=1}}
|#default=1}}
|14=<!--묘렌사-->{{#switch:{{{3}}}
|14=<!--묘렌사-->{{#switch:{{{2}}}
|11|12=0.7
|11|12=0.7
|0=0.9|15=0.9
|0=0.9|15=0.9
|14=1.5
|14=1.5
|#default=1}}
|#default=1}}
|15=<!--신령묘-->{{#switch:{{{3}}}
|15=<!--신령묘-->{{#switch:{{{2}}}
|11=0.7
|11=0.7
|0|12|15=0.9
|0|12|15=0.9
|15=1.5
|15=1.5
|#default=1}}
|#default=1}}
|16=<!--귀형수 지옥-->{{#switch:{{{3}}}
|16=<!--귀형수 지옥-->{{#switch:{{{2}}}
|7=0.6
|7=0.6
|16=1.5
|16=1.5
|#default=1}}}}
|#default=1}}}}
|ra|종족=<!--종족별 특징-->{{#switch:{{{2}}}
<!--종족별 관계-->
|0={{#switch:{{{3}}}|0=1.2|1=0.9|2=0.9|3=1|4=1.1|5=1.1|6=1|7=0.9}}
{{#vardefine:K2|{{#switch:{{{1}}}
|1={{#switch:{{{3}}}|0=0.9|1=1|2=0.9|3=1|4=0.9|5=0.9|6=1|7=0.8}}
|0={{#switch:{{{2}}}|0=1.2|1=0.9|2=0.9|3=1|4=1.1|5=1.1|6=1|7=0.9}}
|2={{#switch:{{{3}}}|0=0.9|1=0.9|2=0.9|3=1|4=1|5=1|6=1|7=1}}
|1={{#switch:{{{2}}}|0=0.9|1=1|2=0.9|3=1|4=0.9|5=0.9|6=1|7=0.8}}
|3={{#switch:{{{3}}}|0=1|1=1|2=1|3=1|4=1|5=1|6=1|7=1}}
|2={{#switch:{{{2}}}|0=0.9|1=0.9|2=0.9|3=1|4=1|5=1|6=1|7=1}}
|4={{#switch:{{{3}}}|0=1.2|1=0.9|2=0.9|3=1|4=1.5|5=0.9|6=0.9|7=0.9}}
|3={{#switch:{{{2}}}|0=1|1=1|2=1|3=1|4=1|5=1|6=1|7=1}}
|5={{#switch:{{{3}}}|0=1.2|1=0.9|2=0.9|3=1|4=0.9|5=1.2|6=0.9|7=0.9}}
|4={{#switch:{{{2}}}|0=1.2|1=0.9|2=0.9|3=1|4=1.5|5=0.9|6=0.9|7=0.9}}
|6={{#switch:{{{3}}}|0=1.1|1=1|2=1|3=1|4=1|5=1|6=0.9|7=1}}
|5={{#switch:{{{2}}}|0=1.2|1=0.9|2=0.9|3=1|4=0.9|5=1.2|6=0.9|7=0.9}}
|7={{#switch:{{{3}}}|0=0.9|1=0.8|2=0.8|3=1|4=0.8|5=0.9|6=1.1|7=1.5}}}}
|6={{#switch:{{{2}}}|0=1.1|1=1|2=1|3=1|4=1|5=1|6=0.9|7=1}}
|7={{#switch:{{{2}}}|0=0.9|1=0.8|2=0.8|3=1|4=0.8|5=0.9|6=1.1|7=1.5}}}}
|#default=0
|#default=0
}}
}}
{{#var:K2|{{#urlget:race}}|{{:동방선거전/전역/플레이어|race|{{#urlget:player}}}}}}
<!--동방선거전/기능 일부 발췌-->
<!--동방선거전/기능 일부 발췌-->
{{#expr:{{:동방선거전/전역/유세변수|지역|{{#urlget:region}}}}*
{{#vardefine:F1|{{#expr:{{#var:K1|{{#urlget:region}}|{{:동방선거전/전역/플레이어|home|{{#urlget:player}}}}}}*
({{:동방선거전/전역/유세변수|종족|{{#urlget:race}}|{{{2}}}}}*{{{3}}}
({{#var:K2|{{{1}}}|{{:동방선거전/전역/플레이어|race|{{#urlget:player}}}}}}*{{{2}}}
+{{:동방선거전/전역/유세변수|종족|{{#urlget:race}}|{{{4}}}}}*{{{5}}}
+{{#var:K2|{{{2}}}|{{:동방선거전/전역/플레이어|race|{{#urlget:player}}}}}}*{{{4}}}
+{{:동방선거전/전역/유세변수|종족|{{#urlget:race}}|{{{6}}}}}*{{{7}}}
+{{#var:K2|{{{3}}}|{{:동방선거전/전역/플레이어|race|{{#urlget:player}}}}}}*{{{6}}}
)}}
)}}}}
<!--동방선거전/전역/시간변수-->
<!--동방선거전/전역/시간변수-->
{{#switch:{{{1}}}
{{#var:K3|{{#switch:{{{1}}}
|d|직접={{#switch:{{#expr:{{#urlget:time}}mod4}}
|d|직접=<!--1차 경선때부터 제공되는 커맨드-->{{#switch:{{#expr:{{#urlget:time}}mod4}}
|0|2={{#switch:{{#urlget:region}}
|0|2={{#switch:{{#urlget:region}}
|0={{:동방선거전/기능|유세함수|0|0.5|1|0.4|2|0.1}}
|0={{#var:K2|0|0.5|1|0.4|2|0.1}}
|1={{:동방선거전/기능|유세함수|1|0.4|2|0.6|7|0}}
|1={{#var:K2|유세함수|1|0.4|2|0.6|7|0}}
|2={{:동방선거전/기능|유세함수|1|0.3|2|0.3|3|0.2}}
|2={{#var:K2|유세함수|1|0.3|2|0.3|3|0.2}}
|3={{:동방선거전/기능|유세함수|1|0.2|3|0.8|7|0}}
|3={{#var:K2|유세함수|1|0.2|3|0.8|7|0}}
|4={{:동방선거전/기능|유세함수|0|0.9|1|0.05|6|0.05}}
|4={{#var:K2|유세함수|0|0.9|1|0.05|6|0.05}}
|5={{:동방선거전/기능|유세함수|0|0.1|1|0.9|7|0}}
|5={{#var:K2|유세함수|0|0.1|1|0.9|7|0}}
|6={{:동방선거전/기능|유세함수|3|1|7|0|7|0}}
|6={{#var:K2|유세함수|3|1|7|0|7|0}}
|7={{:동방선거전/기능|유세함수|1|0.4|3|0.6|7|0}}
|7={{#var:K2|유세함수|1|0.4|3|0.6|7|0}}
|8={{:동방선거전/기능|유세함수|0|0.1|4|0.7|5|0.2}}
|8={{#var:K2|유세함수|0|0.1|4|0.7|5|0.2}}
|9={{:동방선거전/기능|유세함수|0|0.1|5|0.9|7|0}}
|9={{#var:K2|유세함수|0|0.1|5|0.9|7|0}}
|10={{:동방선거전/기능|유세함수|0|0.1|6|0.9|7|0}}
|10={{#var:K2|유세함수|0|0.1|6|0.9|7|0}}
|11={{:동방선거전/기능|유세함수|7|1|7|0|7|0}}
|11={{#var:K2|유세함수|7|1|7|0|7|0}}
|12={{:동방선거전/기능|유세함수|0|0.1|1|0.1|7|0.8}}
|12={{#var:K2|유세함수|0|0.1|1|0.1|7|0.8}}
|13={{:동방선거전/기능|유세함수|0|0.7|1|0.1|6|0.2}}
|13={{#var:K2|유세함수|0|0.7|1|0.1|6|0.2}}
|14={{:동방선거전/기능|유세함수|0|0.5|1|0.3|2|0.2}}
|14={{#var:K2|유세함수|0|0.5|1|0.3|2|0.2}}
|15={{:동방선거전/기능|유세함수|0|0.6|1|0.3|7|0.1}}
|15={{#var:K2|유세함수|0|0.6|1|0.3|7|0.1}}
|16={{:동방선거전/기능|유세함수|1|0.5|2|0.4|3|0.1}}
|16={{#var:K2|유세함수|1|0.5|2|0.4|3|0.1}}
}}
}}
|1={{#switch:{{#urlget:region}}
|1={{#switch:{{#urlget:region}}
|0={{:동방선거전/기능|유세함수|0|1|1|0.1|2|0.1}}
|0={{#var:K2|유세함수|0|1|1|0.1|2|0.1}}
|1={{:동방선거전/기능|유세함수|1|0.4|2|0.6|7|0}}
|1={{#var:K2|유세함수|1|0.4|2|0.6|7|0}}
|2={{:동방선거전/기능|유세함수|0|0.3|2|0.3|3|0.2}}
|2={{#var:K2|유세함수|0|0.3|2|0.3|3|0.2}}
|3={{:동방선거전/기능|유세함수|1|0.2|3|0.8|7|0}}
|3={{#var:K2|유세함수|1|0.2|3|0.8|7|0}}
|4={{:동방선거전/기능|유세함수|0|1.1|4|0.2|5|0.1}}
|4={{#var:K2|유세함수|0|1.1|4|0.2|5|0.1}}
|5={{:동방선거전/기능|유세함수|0|0.3|1|1.2|7|0}}
|5={{#var:K2|유세함수|0|0.3|1|1.2|7|0}}
|6={{:동방선거전/기능|유세함수|3|1|7|0|7|0}}
|6={{#var:K2|유세함수|3|1|7|0|7|0}}
|7={{:동방선거전/기능|유세함수|1|0.4|3|0.6|7|0}}
|7={{#var:K2|유세함수|1|0.4|3|0.6|7|0}}
|8={{:동방선거전/기능|유세함수|0|0.2|4|0.9|5|0.1}}
|8={{#var:K2|유세함수|0|0.2|4|0.9|5|0.1}}
|9={{:동방선거전/기능|유세함수|0|0.1|5|0.9|6|0.1}}
|9={{#var:K2|유세함수|0|0.1|5|0.9|6|0.1}}
|10={{:동방선거전/기능|유세함수|0|0.3|6|0.7|7|0}}
|10={{#var:K2|유세함수|0|0.3|6|0.7|7|0}}
|11={{:동방선거전/기능|유세함수|7|1.2|7|0|7|0}}
|11={{#var:K2|유세함수|7|1.2|7|0|7|0}}
|12={{:동방선거전/기능|유세함수|0|0.1|7|1|7|0}}
|12={{#var:K2|유세함수|0|0.1|7|1|7|0}}
|13={{:동방선거전/기능|유세함수|0|0.8|4|0.2|5|0.1}}
|13={{#var:K2|유세함수|0|0.8|4|0.2|5|0.1}}
|14={{:동방선거전/기능|유세함수|0|0.8|2|0.4|7|0}}
|14={{#var:K2|유세함수|0|0.8|2|0.4|7|0}}
|15={{:동방선거전/기능|유세함수|0|0.6|2|0.2|7|0.2}}
|15={{#var:K2|유세함수|0|0.6|2|0.2|7|0.2}}
|16={{:동방선거전/기능|유세함수|1|0.5|2|0.4|3|0.1}}
|16={{#var:K2|유세함수|1|0.5|2|0.4|3|0.1}}
}}
}}
|3={{#switch:{{#urlget:region}}
|3={{#switch:{{#urlget:region}}
|0={{:동방선거전/기능|유세함수|0|0.1|1|0.7|2|0.2}}
|0={{#var:K2|유세함수|0|0.1|1|0.7|2|0.2}}
|1={{:동방선거전/기능|유세함수|1|0.4|2|0.6|7|0}}
|1={{#var:K2|유세함수|1|0.4|2|0.6|7|0}}
|2={{:동방선거전/기능|유세함수|0|0.3|2|0.3|3|0.2}}
|2={{#var:K2|유세함수|0|0.3|2|0.3|3|0.2}}
|3={{:동방선거전/기능|유세함수|1|0.2|3|0.8|7|0}}
|3={{#var:K2|유세함수|1|0.2|3|0.8|7|0}}
|4={{:동방선거전/기능|유세함수|0|0.4|1|0.2|6|0.1}}
|4={{#var:K2|유세함수|0|0.4|1|0.2|6|0.1}}
|5={{:동방선거전/기능|유세함수|1|1|7|0|7|0}}
|5={{#var:K2|유세함수|1|1|7|0|7|0}}
|6={{:동방선거전/기능|유세함수|3|1|7|0|7|0}}
|6={{#var:K2|유세함수|3|1|7|0|7|0}}
|7={{:동방선거전/기능|유세함수|1|0.4|3|0.6|7|0}}
|7={{#var:K2|유세함수|1|0.4|3|0.6|7|0}}
|8={{:동방선거전/기능|유세함수|4|0.8|5|0.2|7|0}}
|8={{#var:K2|유세함수|4|0.8|5|0.2|7|0}}
|9={{:동방선거전/기능|유세함수|5|1|7|0|7|0}}
|9={{#var:K2|유세함수|5|1|7|0|7|0}}
|10={{:동방선거전/기능|유세함수|0|0.1|6|0.9|7|0}}
|10={{#var:K2|유세함수|0|0.1|6|0.9|7|0}}
|11={{:동방선거전/기능|유세함수|7|0.8|7|0|7|0}}
|11={{#var:K2|유세함수|7|0.8|7|0|7|0}}
|12={{:동방선거전/기능|유세함수|1|0.2|7|0.8|7|0}}
|12={{#var:K2|유세함수|1|0.2|7|0.8|7|0}}
|13={{:동방선거전/기능|유세함수|0|0.4|4|0.3|5|0.2}}
|13={{#var:K2|유세함수|0|0.4|4|0.3|5|0.2}}
|14={{:동방선거전/기능|유세함수|0|0.3|1|0.4|2|0.4}}
|14={{#var:K2|유세함수|0|0.3|1|0.4|2|0.4}}
|15={{:동방선거전/기능|유세함수|0|0.4|1|0.5|7|0.1}}
|15={{#var:K2|유세함수|0|0.4|1|0.5|7|0.1}}
|16={{:동방선거전/기능|유세함수|1|0.5|2|0.4|3|0.1}}
|16={{#var:K2|유세함수|1|0.5|2|0.4|3|0.1}}
}}
}}
}}
}}
171번째 줄: 173번째 줄:
{{#switch:{{{1}}}
{{#switch:{{{1}}}
|d={{CGI2|
|d={{CGI2|
{{CGI2/변수수정|rm{{#urlget:region}}|{{#expr:{{#urlget:rm{{#urlget:region}}}}+{{:동방선거전/전역/시간변수|d}}*{{{2}}}round 0}}}}
{{CGI2/변수수정|rm{{#urlget:region}}|{{#expr:{{#urlget:rm{{#urlget:region}}}}+{{#var:K3}}*{{{2}}}round 0}}}}
{{CGI2/변수수정|fan|{{#expr:{{#urlget:fan}}+{{:동방선거전/전역/시간변수|d}}*{{{2}}}/{{{3}}}round 0}}}}
{{CGI2/변수수정|fan|{{#expr:{{#urlget:fan}}+{{#var:K3}}*{{{2}}}/{{{3}}}round 0}}}}
{{CGI2/변수계산|force|-|1}}
{{CGI2/변수계산|force|-|1}}
{{CGI2/변수계산|hp|-|{{{4}}}}}
{{CGI2/변수계산|hp|-|{{{4}}}}}
{{CGI2/변수계산|money|-|{{{5}}}}}
{{CGI2/변수계산|money|-|{{{5}}}}}
|{{{6}}}}}}}
|{{{6}}}}}}}

2020년 5월 18일 (월) 13:52 판

이 틀은 복잡하고 무겁기 때문에 문서를 모두 내립니다. 뭐, 나중에 돌려놓으면 되니까요.

동방선거전의 유세함수는 다섯 다른 문서를 거쳐서 만들어집니다. 정리를 할 필요가 있죠.


{{#vardefine:K1|


{{#var:K3|{{#switch:{{{1}}} |d|직접=