游戏王残局简化版

Check-in [d21b5167ba]
Login

Check-in [d21b5167ba]

Overview
Comment:0
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d21b5167bacdcac10a1ec5e5fbb130743437e93a4a62b257639582dd299053c2
User & Date: 顽雨沉风 on 2024-07-26 01:30:20
Other Links: manifest | tags
Context
2024-07-26
01:44
0 check-in: d32ea96724 user: 顽雨沉风 tags: trunk
01:30
0 check-in: d21b5167ba user: 顽雨沉风 tags: trunk
01:10
0 check-in: 7c5800df27 user: 顽雨沉风 tags: trunk
Changes

Added expansions/script/c7563580.lua version [2fde615039].




































































1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
61
62
63
64
65
66
67
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
--Emヒグルミ
function c7563580.initial_effect(c)
  --pendulum summon
  aux.EnablePendulumAttribute(c)
  --spsummon
  local e2=Effect.CreateEffect(c)
  e2:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DAMAGE)
  e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
  e2:SetCode(EVENT_DESTROYED)
  e2:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
  e2:SetRange(LOCATION_PZONE)
  e2:SetCountLimit(1,7563580)
  e2:SetCondition(c7563580.spcon1)
  e2:SetTarget(c7563580.sptg1)
  e2:SetOperation(c7563580.spop1)
  c:RegisterEffect(e2)
  --spsummon
  local e3=Effect.CreateEffect(c)
  e3:SetCategory(CATEGORY_SPECIAL_SUMMON)
  e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
  e3:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
  e3:SetCode(EVENT_DESTROYED)
  e3:SetCondition(c7563580.spcon2)
  e3:SetTarget(c7563580.sptg2)
  e3:SetOperation(c7563580.spop2)
  c:RegisterEffect(e3)
end
function c7563580.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 c7563580.spcon1(e,tp,eg,ep,ev,re,r,rp)
  return eg:IsExists(c7563580.cfilter,1,nil,tp)
end
function c7563580.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 c7563580.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 c7563580.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 c7563580.spfilter(c,e,tp)
  return c:IsSetCard(0xc6) and not c:IsCode(7563580) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function c7563580.sptg2(e,tp,eg,ep,ev,re,r,rp,chk)
  if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
    and Duel.IsExistingMatchingCard(c7563580.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 c7563580.spop2(e,tp,eg,ep,ev,re,r,rp)
  if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
  Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
  local g=Duel.SelectMatchingCard(tp,c7563580.spfilter,tp,LOCATION_HAND+LOCATION_DECK,0,1,1,nil,e,tp)
  if g:GetCount()>0 then
    Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
  end
end

Deleted expansions/script/c896311393.lua version [ce0a22e1cd].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
61
62
63
64
65
66
67



































































-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
--Emヒグルミ
function c896311393.initial_effect(c)
  --pendulum summon
  aux.EnablePendulumAttribute(c)
  --spsummon
  local e2=Effect.CreateEffect(c)
  e2:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DAMAGE)
  e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
  e2:SetCode(EVENT_DESTROYED)
  e2:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
  e2:SetRange(LOCATION_PZONE)
  e2:SetCountLimit(1,7563580)
  e2:SetCondition(c896311393.spcon1)
  e2:SetTarget(c896311393.sptg1)
  e2:SetOperation(c896311393.spop1)
  c:RegisterEffect(e2)
  --spsummon
  local e3=Effect.CreateEffect(c)
  e3:SetCategory(CATEGORY_SPECIAL_SUMMON)
  e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
  e3:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
  e3:SetCode(EVENT_DESTROYED)
  e3:SetCondition(c896311393.spcon2)
  e3:SetTarget(c896311393.sptg2)
  e3:SetOperation(c896311393.spop2)
  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(7563580) 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)
  if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
  Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
  local g=Duel.SelectMatchingCard(tp,c896311393.spfilter,tp,LOCATION_HAND+LOCATION_DECK,0,1,1,nil,e,tp)
  if g:GetCount()>0 then
    Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
  end
end

Modified expansions/ygo_endgame.cdb from [e4f41746a8] to [ecf336c930].

cannot compute difference between binary files

Modified single/简化版_30_052_1.lua from [a0d1ee5ef5] to [08901e5df6].

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
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







-
-
+
+









-
+







Debug.AddCard(92746535, 0, 0, k1, 0, k2)
Debug.AddCard(60666820, 0, 0, k1, 0, k2)
Debug.AddCard(68819554, 0, 0, k1, 0, k2)
Debug.AddCard(68819554, 0, 0, k1, 0, k2)
Debug.AddCard(31292357, 0, 0, k1, 0, k2)
Debug.AddCard(71578874, 0, 0, k1, 0, k2)
Debug.AddCard(71578874, 0, 0, k1, 0, k2)
Debug.AddCard(896311393, 0, 0, k1, 0, k2)
Debug.AddCard(896311393, 0, 0, k1, 0, k2)
Debug.AddCard(7563580, 0, 0, k1, 0, k2)
Debug.AddCard(7563580, 0, 0, k1, 0, k2)
Debug.AddCard(67696066, 0, 0, k1, 0, k2)
Debug.AddCard(53724621, 0, 0, k1, 0, k2)
Debug.AddCard(73130445, 0, 0, k1, 0, k2)
Debug.AddCard(17330916, 0, 0, k1, 0, k2)
Debug.AddCard(69211541, 0, 0, k1, 0, k2)
Debug.AddCard(47075569, 0, 0, k1, 0, k2)
Debug.AddCard(91584698, 0, 0, k1, 0, k2)
Debug.AddCard(31222701, 0, 0, k1, 0, k2)
Debug.AddCard(99590524, 0, 0, k1, 0, k2)
Debug.AddCard(896311393, 0, 0, k1, 0, k2)
Debug.AddCard(7563580, 0, 0, k1, 0, k2)
local k1, k2 = LOCATION_EXTRA, POS_FACEDOWN--外组
Debug.AddCard(22638495, 0, 0, k1, 0, k2)
Debug.AddCard(80532587, 0, 0, k1, 0, k2)
Debug.AddCard(17412721, 0, 0, k1, 0, k2)
Debug.AddCard(17412721, 0, 0, k1, 0, k2)
Debug.AddCard(18239909, 0, 0, k1, 0, k2)
Debug.AddCard(18239909, 0, 0, k1, 0, k2)