游戏王残局简化版

Check-in [d44c9db3f6]
Login

Check-in [d44c9db3f6]

Overview
Comment:0
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d44c9db3f6646e2f1609cbb09a018dc04c135cf134ced7fc3f79c49a2b68b3e8
User & Date: 顽雨沉风 on 2024-07-26 00:23:35.943
Other Links: manifest | tags
Context
2024-07-26
00:32
0 check-in: 5dab06044b user: 顽雨沉风 tags: trunk
00:23
0 check-in: d44c9db3f6 user: 顽雨沉风 tags: trunk
00:21
0 check-in: 065386963f user: 顽雨沉风 tags: trunk
Changes
︙︙
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
  c:RegisterEffect(e3)
end
function c896311393.cfilter(c,tp)
  return c:IsReason(REASON_BATTLE+REASON_EFFECT) and c:IsSetCard(0xc6)
    and c:IsPreviousLocation(LOCATION_MZONE) and c:IsPreviousPosition(POS_FACEUP) and c:IsPreviousControler(tp)
end
function c896311393.spcon1(e,tp,eg,ep,ev,re,r,rp)
  return eg:IsExists(c7563579.cfilter,1,nil,tp)
end
function c896311393.sptg1(e,tp,eg,ep,ev,re,r,rp,chk)
  if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
    and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
  Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
  Duel.SetOperationInfo(0,CATEGORY_DAMAGE,0,0,tp,500)
end
function c896311393.spop1(e,tp,eg,ep,ev,re,r,rp)
  local c=e:GetHandler()
  if not c:IsRelateToEffect(e) then return end
  if Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 then
    Duel.BreakEffect()
    Duel.Damage(tp,500,REASON_EFFECT)
  end
end
function c896311393.spcon2(e,tp,eg,ep,ev,re,r,rp)
  return bit.band(r,REASON_EFFECT+REASON_BATTLE)~=0 and e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD)
end
function c896311393.spfilter(c,e,tp)
  return c:IsSetCard(0xc6) and not c:IsCode(896311393) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function c896311393.sptg2(e,tp,eg,ep,ev,re,r,rp,chk)
  if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
    and Duel.IsExistingMatchingCard(c896311393.spfilter,tp,LOCATION_HAND+LOCATION_DECK,0,1,nil,e,tp) end
  Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_HAND+LOCATION_DECK)
end
function c896311393.spop2(e,tp,eg,ep,ev,re,r,rp)







|



















|







26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
  c:RegisterEffect(e3)
end
function c896311393.cfilter(c,tp)
  return c:IsReason(REASON_BATTLE+REASON_EFFECT) and c:IsSetCard(0xc6)
    and c:IsPreviousLocation(LOCATION_MZONE) and c:IsPreviousPosition(POS_FACEUP) and c:IsPreviousControler(tp)
end
function c896311393.spcon1(e,tp,eg,ep,ev,re,r,rp)
  return eg:IsExists(c896311393.cfilter,1,nil,tp)
end
function c896311393.sptg1(e,tp,eg,ep,ev,re,r,rp,chk)
  if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
    and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
  Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
  Duel.SetOperationInfo(0,CATEGORY_DAMAGE,0,0,tp,500)
end
function c896311393.spop1(e,tp,eg,ep,ev,re,r,rp)
  local c=e:GetHandler()
  if not c:IsRelateToEffect(e) then return end
  if Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 then
    Duel.BreakEffect()
    Duel.Damage(tp,500,REASON_EFFECT)
  end
end
function c896311393.spcon2(e,tp,eg,ep,ev,re,r,rp)
  return bit.band(r,REASON_EFFECT+REASON_BATTLE)~=0 and e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD)
end
function c896311393.spfilter(c,e,tp)
  return c:IsSetCard(0xc6) and not c:IsCode(7563579) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function c896311393.sptg2(e,tp,eg,ep,ev,re,r,rp,chk)
  if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
    and Duel.IsExistingMatchingCard(c896311393.spfilter,tp,LOCATION_HAND+LOCATION_DECK,0,1,nil,e,tp) end
  Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_HAND+LOCATION_DECK)
end
function c896311393.spop2(e,tp,eg,ep,ev,re,r,rp)
︙︙