Lines of
single/X-LV-01.lua
from check-in f0bbfc58b7
that are changed by the sequence of edits moving toward
check-in 45674e12c9:
1: --[[message
2: 新手教学
3: ]]
4: --By OURYGO-YGO EZ manager
5: --~ 必须位于残局文件顶部
6: --~ 加载残局函数库
7: Debug.AddCard(0,0,0,LOCATION_MZONE,-1,POS_FACEUP)
8: Debug.SetAIName("顽雨沉风")
9: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,4)
10: Debug.SetPlayerInfo(0,8000,0,0)
11: Debug.SetPlayerInfo(1,1000,0,0)
12: Debug.AddCard(53927679,0,0,LOCATION_HAND,0,POS_FACEDOWN)
13: local g02=Debug.AddCard(89631139,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
14: local g13=Debug.AddCard(3797883,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
15: local g12=Debug.AddCard(46986414,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
16: local g11=Debug.AddCard(46986414,1,1,LOCATION_MZONE,1,POS_FACEUP_DEFENSE)
17: Debug.ReloadFieldEnd()
18: Debug.ShowHint
19: ("尝试一下攻击表示与守备表示的区别\nM1:主要阶段1 BP:战斗阶段 M2:主要阶段2")
20: --~ Debug.ShowHint
21: --~ ("M1:主要阶段1 BP:战斗阶段 M2:主要阶段2")
22: aux.BeginPuzzle()
23: fun["开局说明"]()
24:
f0bbfc58b7 2023-07-15 25:
f0bbfc58b7 2023-07-15 26: local times = 100000000
f0bbfc58b7 2023-07-15 27:
f0bbfc58b7 2023-07-15 28:
f0bbfc58b7 2023-07-15 29: local start_time=os.clock()
f0bbfc58b7 2023-07-15 30: for i=1, times do
f0bbfc58b7 2023-07-15 31: a=10*0.1
f0bbfc58b7 2023-07-15 32: end
f0bbfc58b7 2023-07-15 33: Debug.Message("* 时间: \n", os.clock()-start_time .. " s")
f0bbfc58b7 2023-07-15 34:
f0bbfc58b7 2023-07-15 35:
f0bbfc58b7 2023-07-15 36: local start_time=os.clock()
f0bbfc58b7 2023-07-15 37: for i=1, times do
f0bbfc58b7 2023-07-15 38: a=10/10
f0bbfc58b7 2023-07-15 39: end
f0bbfc58b7 2023-07-15 40: Debug.Message("/ 时间: \n", os.clock()-start_time .. " s")