|
15 | 15 | \(quick effect\):| |
16 | 16 | from your deck to your hand| |
17 | 17 | except "| |
18 | | -special summon| |
| 18 | +special summon | |
19 | 19 | you cannot special summon for the rest of this turn, except| |
20 | 20 | draw| |
| 21 | +cannot be normal summoned| |
| 22 | +must be special summoned by its own effect| |
| 23 | +must be special summoned by a card effect| |
| 24 | +must first be special summoned by| |
| 25 | +must first be special summoned by its own effect| |
21 | 26 | 1 | |
22 | 27 | 2 | |
23 | 28 | 3 | |
@@ -50,6 +55,19 @@ def scriptranslate(psct): |
50 | 55 | return ('All autoscripts done.',0,'','') |
51 | 56 | # find what option to autoscript |
52 | 57 | match res[0]: |
| 58 | + |
| 59 | + case ('cannot be normal summoned'): |
| 60 | + return (res[0],1,'<expand initial>','c:EnableReviveLimit()\n <expand effect>') |
| 61 | + |
| 62 | + case ('must be special summoned by its own effect'): |
| 63 | + return (res[0],1,'<expand initial>','--Special Summon Restriction\n local e2=Effect.CreateEffect(c)\n e2:SetType(EFFECT_TYPE_SINGLE)\n e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)\n e2:SetCode(EFFECT_SPSUMMON_CONDITION)\n e2:SetValue(aux.FALSE)\n c:RegisterEffect(e2)\n <expand initial>','<expand effect>','e1:SetCategory(CATEGORY_SPECIAL_SUMMON)\n e1:SetRange(<range>)\n <expand effect>')+add_operation+('<edit operation>','local c=e:GetHandler()\n if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,true,false,POS_FACEUP)>0 then\n c:CompleteProcedure()\n end\n <edit operation>') |
| 64 | + |
| 65 | + case ('must be special summoned by a card effect'): |
| 66 | + return (res[0],1,'<edit settype>','EFFECT_TYPE_SINGLE','<edit setcode>','EFFECT_SPSUMMON_CONDITION','<expand effect>','e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)\n e1:SetValue(s.splimit)\n <expand effect>','<add func>','function s.splimit(e,se,sp,st)\n return se:IsHasType(EFFECT_TYPE_ACTIONS)\nend\n<add func>') |
| 67 | + |
| 68 | + case ('must first be special summoned by'): |
| 69 | + return (res[0],1,'<expand effect>','e1:SetCategory(CATEGORY_SPECIAL_SUMMON)\n e1:SetRange(<range>)\n <expand effect>')+add_operation+('<edit operation>','local c=e:GetHandler()\n if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,true,false,POS_FACEUP)>0 then\n c:CompleteProcedure()\n end\n <edit operation>') |
| 70 | + |
53 | 71 | case '" once per turn': |
54 | 72 | return (res[0],1,'<expand effect>','e1:SetCountLimit(1,{id,0})\n <expand effect>') |
55 | 73 |
|
|
0 commit comments