游戏王残局简化版

Annotation For X-LV-27.lua
Login

Annotation For X-LV-27.lua

Origin for each line in X-LV-27.lua from check-in f8a1b1a6a8:

3dff221746 2023-04-17    1: --[[message
3dff221746 2023-04-17    2: 卡数:10
3dff221746 2023-04-17    3: 规则:新大师
3dff221746 2023-04-17    4: ]]
3dff221746 2023-04-17    5: --By OURYGO-YGO EZ manager
3dff221746 2023-04-17    6: Debug.SetAIName("顽雨沉风")
3dff221746 2023-04-17    7: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,4)
3dff221746 2023-04-17    8: Debug.SetPlayerInfo(0,51100,0,0)
3dff221746 2023-04-17    9: Debug.SetPlayerInfo(1,34600,0,0)
3dff221746 2023-04-17   10: Debug.AddCard(36736723,0,0,LOCATION_DECK,0,POS_FACEDOWN)
3dff221746 2023-04-17   11: Debug.AddCard(63977008,0,0,LOCATION_HAND,0,POS_FACEDOWN)
3dff221746 2023-04-17   12: Debug.AddCard(53855409,0,0,LOCATION_HAND,0,POS_FACEDOWN)
3dff221746 2023-04-17   13: local g02=Debug.AddCard(13582837,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
3dff221746 2023-04-17   14: local g12=Debug.AddCard(27134689,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
3dff221746 2023-04-17   15: local m01=Debug.AddCard(26864586,0,0,LOCATION_SZONE,1,POS_FACEDOWN)
3dff221746 2023-04-17   16: --~ Debug.AddCard(61844784,0,0,LOCATION_GRAVE,0,POS_FACEUP)
3dff221746 2023-04-17   17: local m02=Debug.AddCard(403847,0,0,LOCATION_SZONE,2,POS_FACEUP)
3dff221746 2023-04-17   18: local m03=Debug.AddCard(8529136,0,0,LOCATION_SZONE,3,POS_FACEDOWN)
3dff221746 2023-04-17   19: local c1=Debug.AddCard(67616300,0,0,LOCATION_SZONE,5,POS_FACEUP)
3dff221746 2023-04-17   20: Debug.PreAddCounter(c1,0x2a,1) local e1=Effect.CreateEffect(c1) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e1:SetCode(EFFECT_DESTROY_REPLACE) e1:SetTarget(function(e,tp,eg,ep,ev,re,r,rp,chk) 	if chk==0 then return bit.band(r,REASON_RULE)==0 		and e:GetHandler():GetCounter(0x2a)>0 end 	return true end) e1:SetOperation(function (e,tp,eg,ep,ev,re,r,rp,chk) 	e:GetHandler():RemoveCounter(tp,0x2a,1,REASON_EFFECT) end) e1:SetReset(RESET_EVENT+0x1fe0000) c1:RegisterEffect(e1)
3dff221746 2023-04-17   21: Debug.AddCard(60800381,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(53855409,0,0,LOCATION_GRAVE,0,POS_FACEUP)Debug.ReloadFieldEnd()
3dff221746 2023-04-17   22: Debug.ShowHint("魔法防护器的效果已适用!")
3dff221746 2023-04-17   23: aux.BeginPuzzle()
3dff221746 2023-04-17   24: local e999=Effect.GlobalEffect()
3dff221746 2023-04-17   25: e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
3dff221746 2023-04-17   26: e999:SetCode(EVENT_DAMAGE)
3dff221746 2023-04-17   27: e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
3dff221746 2023-04-17   28: e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
3dff221746 2023-04-17   29: Debug.ShowHint("残局群181175613") end)
3dff221746 2023-04-17   30: Duel.RegisterEffect(e999,0)