Skip to content

Commit 130f0cf

Browse files
authored
Update card names in comments (#1192)
1 parent 1db4f81 commit 130f0cf

76 files changed

Lines changed: 215 additions & 225 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

official/c11677278.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--Japanese name
1+
--ミミグル・アーマー
22
--Mimighoul Armor
33
--scripted by Hatter
44
local s,id=GetID()

official/c13204145.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--Japanese name
1+
--ミミグル・メーカー
22
--Mimighoul Maker
33
--Scripted by Hatter
44
local s,id=GetID()

official/c16955631.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--Japanese name
1+
--ジャイアント・ミミグル
22
--Giant Mimighoul
33
--Scripted by the Razgriz
44
local s,id=GetID()

official/c19338434.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--Japanese name
1+
--ミミグル・フォーク
22
--Mimighoul Fork
33
--scripted by Naim
44
local s,id=GetID()

official/c22916418.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--Japanese name
1+
--超人伝-マントマン
22
--Mantman the Ultrahuman
33
--scripted by pyrQ
44
local s,id=GetID()

official/c23920796.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--Japanese name
1+
--ミミグル・ケルベロス
22
--Mimighoul Cerberus
33
--Scripted by Hatter
44
local s,id=GetID()

official/c25140659.lua

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
--Danger! Response Team
1+
--未界域調査報告
22
--Danger! Response Team
33
local s,id=GetID()
44
function s.initial_effect(c)
5-
--Activate
5+
--Return 1 "Danger!" monster you control and 1 monster on the field the the hand
66
local e1=Effect.CreateEffect(c)
7+
e1:SetDescription(aux.Stringid(id,0))
78
e1:SetCategory(CATEGORY_TOHAND)
89
e1:SetType(EFFECT_TYPE_ACTIVATE)
910
e1:SetCode(EVENT_FREE_CHAIN)
@@ -12,10 +13,10 @@ function s.initial_effect(c)
1213
e1:SetTarget(s.target)
1314
e1:SetOperation(s.activate)
1415
c:RegisterEffect(e1)
15-
--to deck and draw
16+
--Place this card on the bottom of the Deck, then draw 1 card
1617
local e2=Effect.CreateEffect(c)
17-
e2:SetCategory(CATEGORY_TODECK+CATEGORY_DRAW)
1818
e2:SetDescription(aux.Stringid(id,1))
19+
e2:SetCategory(CATEGORY_TODECK+CATEGORY_DRAW)
1920
e2:SetType(EFFECT_TYPE_IGNITION)
2021
e2:SetRange(LOCATION_GRAVE)
2122
e2:SetCountLimit(1,{id,1})
@@ -27,18 +28,15 @@ end
2728
s.listed_series={SET_DANGER}
2829
function s.filter1(c,tp)
2930
return c:IsFaceup() and c:IsSetCard(SET_DANGER) and c:IsAbleToHand()
30-
and Duel.IsExistingTarget(s.filter2,tp,LOCATION_MZONE,LOCATION_MZONE,1,c)
31-
end
32-
function s.filter2(c)
33-
return c:IsAbleToHand()
31+
and Duel.IsExistingTarget(Card.IsAbleToHand,tp,LOCATION_MZONE,LOCATION_MZONE,1,c)
3432
end
3533
function s.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
3634
if chkc then return false end
3735
if chk==0 then return Duel.IsExistingTarget(s.filter1,tp,LOCATION_MZONE,0,1,nil,tp) end
3836
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RTOHAND)
3937
local g1=Duel.SelectTarget(tp,s.filter1,tp,LOCATION_MZONE,0,1,1,nil,tp)
4038
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RTOHAND)
41-
local g2=Duel.SelectTarget(tp,s.filter2,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,g1:GetFirst())
39+
local g2=Duel.SelectTarget(tp,Card.IsAbleToHand,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,g1:GetFirst())
4240
g1:Merge(g2)
4341
Duel.SetOperationInfo(0,CATEGORY_TOHAND,g1,2,0,0)
4442
end

official/c2834264.lua

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
--Beetrooper Armor Horn
1+
--騎甲虫アームド・ホーン
22
--Beetrooper Armor Horn
33
local s,id=GetID()
44
function s.initial_effect(c)
5-
--link summon
6-
c:EnableReviveLimit()
75
Link.AddProcedure(c,aux.FilterBoolFunctionEx(Card.IsRace,RACE_INSECT),2,2)
8-
--cannot special summon
6+
--Link Summon procedure: 2 Insect monsters
7+
c:EnableReviveLimit()
8+
--You cannot Special Summon monsters, except Insect monsters
99
local e1=Effect.CreateEffect(c)
1010
e1:SetType(EFFECT_TYPE_FIELD)
1111
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
@@ -14,17 +14,19 @@ function s.initial_effect(c)
1414
e1:SetTargetRange(1,0)
1515
e1:SetTarget(s.sumlimit)
1616
c:RegisterEffect(e1)
17-
--normal summon
17+
--Immediately after this effect resolves, Normal Summon 1 Insect monster
1818
local e2=Effect.CreateEffect(c)
19+
e2:SetDescription(aux.Stringid(id,0))
1920
e2:SetCategory(CATEGORY_SUMMON)
2021
e2:SetType(EFFECT_TYPE_IGNITION)
2122
e2:SetRange(LOCATION_MZONE)
2223
e2:SetCountLimit(1,id)
2324
e2:SetTarget(s.nstg)
2425
e2:SetOperation(s.nsop)
2526
c:RegisterEffect(e2)
26-
--special summon
27+
--Special Summon this card from the GY
2728
local e3=Effect.CreateEffect(c)
29+
e3:SetDescription(aux.Stringid(id,1))
2830
e3:SetCategory(CATEGORY_SPECIAL_SUMMON)
2931
e3:SetType(EFFECT_TYPE_IGNITION)
3032
e3:SetRange(LOCATION_GRAVE)
@@ -46,8 +48,7 @@ function s.nstg(e,tp,eg,ep,ev,re,r,rp,chk)
4648
end
4749
function s.nsop(e,tp,eg,ep,ev,re,r,rp)
4850
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SUMMON)
49-
local g=Duel.SelectMatchingCard(tp,s.nsfilter,tp,LOCATION_HAND|LOCATION_MZONE,0,1,1,nil)
50-
local tc=g:GetFirst()
51+
local tc=Duel.SelectMatchingCard(tp,s.nsfilter,tp,LOCATION_HAND|LOCATION_MZONE,0,1,1,nil):GetFirst()
5152
if tc then
5253
Duel.Summon(tp,tc,true,nil)
5354
end
@@ -69,7 +70,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
6970
end
7071
function s.spop(e,tp,eg,ep,ev,re,r,rp)
7172
local c=e:GetHandler()
72-
if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 then
73+
if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)>0 then
7374
--Banish it when it leaves the field
7475
local e1=Effect.CreateEffect(c)
7576
e1:SetDescription(3300)

official/c29265962.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--Japanese name
1+
--同姓同名同盟罷業
22
--The League of Uniform Nomenclature Strikes
33
--scripted by Naim
44
local s,id=GetID()

official/c30163008.lua

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
--Ra'ten, the Heavenly General
1+
--羅天神将
22
--Ra'ten, the Heavenly General
33
local s,id=GetID()
44
function s.initial_effect(c)
55
c:EnableReviveLimit()
6+
--Link Summon procedure: 2+ monsters with the same Type
67
Link.AddProcedure(c,nil,2,99,s.lcheck)
7-
--special Summon
8+
--Special Summon 1 Level 4 or lower monster with the same Type as a targeted monster from your hand to your zone this card points to
89
local e1=Effect.CreateEffect(c)
10+
e1:SetDescription(aux.Stringid(id,0))
911
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
1012
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
1113
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
@@ -15,8 +17,9 @@ function s.initial_effect(c)
1517
e1:SetTarget(s.sptg)
1618
e1:SetOperation(s.spop)
1719
c:RegisterEffect(e1)
18-
--destroy
20+
--Destroy 1 card your opponent controls
1921
local e2=Effect.CreateEffect(c)
22+
e2:SetDescription(aux.Stringid(id,1))
2023
e2:SetCategory(CATEGORY_DESTROY)
2124
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
2225
e2:SetProperty(EFFECT_FLAG_CARD_TARGET)
@@ -54,8 +57,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
5457
local zone=e:GetHandler():GetLinkedZone(tp)
5558
if Duel.GetLocationCount(tp,LOCATION_MZONE,tp,LOCATION_REASON_TOFIELD,zone)<=0 then return end
5659
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
57-
local g=Duel.SelectMatchingCard(tp,s.spfilter2,tp,LOCATION_HAND,0,1,1,nil,e,tp,tg:GetRace(),zone)
58-
local tc=g:GetFirst()
60+
local tc=Duel.SelectMatchingCard(tp,s.spfilter2,tp,LOCATION_HAND,0,1,1,nil,e,tp,tg:GetRace(),zone):GetFirst()
5961
if tc then
6062
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP,zone)
6163
end
@@ -65,11 +67,11 @@ function s.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
6567
if chk==0 then return Duel.IsExistingTarget(nil,tp,0,LOCATION_ONFIELD,1,nil) end
6668
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
6769
local g=Duel.SelectTarget(tp,nil,tp,0,LOCATION_ONFIELD,1,1,nil)
68-
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,1,0,0)
70+
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,1,tp,0)
6971
end
7072
function s.desop(e,tp,eg,ep,ev,re,r,rp)
7173
local tc=Duel.GetFirstTarget()
72-
if tc and tc:IsRelateToEffect(e) then
74+
if tc:IsRelateToEffect(e) then
7375
Duel.Destroy(tc,REASON_EFFECT)
7476
end
7577
end

0 commit comments

Comments
 (0)