YGOPRO Forum

Welcome Guest! To enable all features please try to register or login.
Options
Go to last post Go to first unread
BananaPhone42  
#1 Posted : Thursday, August 23, 2018 12:22:24 AM(UTC)
BananaPhone42

Rank: Advanced Member

Joined: 1/16/2018(UTC)
Posts: 114

Thanks: 8 times
Was thanked: 1 time(s) in 1 post(s)
Now, let me preface by saying that if you think these cards are overpowered in Summoning terms, well... Yes. That's precisely the point. These cards are created with various Special Summonings and the Sp. Summon is treated as the kind of Summoning it's meant for (e.g., Synchro Field Spell = treated as a Synchro Summon).

And before you ask, I have no plans to work on Link Summoning because Version 1.034 doesn't have an A.I. that I can test my cards out on. I'll get the Flip and Tribute Summoning Fields up shortly. I've even put up a "Readme" file so you can tell what the effects are, and there should be at least 7 (not counting Flip and Tribute, which would bring it up to 9 in summoning types).

(NOTE: For some reason, the House of Duality won't treat the Special Summon as a Normal one, therefore the effect of "When this card is Normal Summoned" Monsters does not happen. If anyone wants to help me with that, the coding is below the download. Also, it turns out "Satanic Room of Rituals" isn't functioning quite the way I want it to... so, that's House of Duality and Satanic Room of Rituals that still need some work. For now, let's just call them "Beta" cards.

I can at least give you their names and tell you what type of Summoning they're meant for...

Prairie of the Synchro (Synchro Summoning)
Desert of Xyz (Xyz Summoning)
Ravine of Fusion (Fusion Summoning)
Satanic Room of Rituals (Ritual Summoning)
Sacred Plateau of Summoning (Special Summons any Monster & Attaches Xyz Material to Xyz Monsters)
Plains of the Toon World (Sp. Summon Toon Monsters and Attaches Xyz Material to Xyz Toon Monsters)
House of Duality (Allows Special And Normal Summonings [supposedly])

Here's the code and download link:

OP Field Spell Cards

Code:
--House of Duality
function c58757629.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--special summon
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(58757629,0))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_FZONE)
e2:SetTarget(c58757629.target)
e2:SetOperation(c58757629.operation)
c:RegisterEffect(e2)
--effect indestructable
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_SINGLE)
e3:SetCode(EFFECT_INDESTRUCTABLE_EFFECT)
e3:SetValue(1)
e3:SetRange(LOCATION_FZONE)
c:RegisterEffect(e3)
--spsummon
local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_SINGLE)
e4:SetCode(EFFECT_CANNOT_DISABLE_SPSUMMON)
e4:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
c:RegisterEffect(e4)
--Immune
local e5=Effect.CreateEffect(c)
e5:SetType(EFFECT_TYPE_SINGLE)
e5:SetCode(EFFECT_IMMUNE_EFFECT)
e5:SetRange(LOCATION_FZONE)
e5:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE)
e5:SetValue(c58757629.efilter)
c:RegisterEffect(e5)
--Attach
local e6=Effect.CreateEffect(c)
e6:SetDescription(aux.Stringid(58757629,1))
e6:SetType(EFFECT_TYPE_IGNITION)
e6:SetRange(LOCATION_FZONE)
e6:SetProperty(EFFECT_FLAG_CARD_TARGET)
e6:SetTarget(c58757629.target2)
e6:SetOperation(c58757629.operation2)
c:RegisterEffect(e6)
--normal summon
local e7=Effect.CreateEffect(c)
e7:SetDescription(aux.Stringid(58757629,2))
e7:SetCategory(CATEGORY_SPECIAL_SUMMON)
e7:SetType(EFFECT_TYPE_IGNITION)
e7:SetRange(LOCATION_FZONE)
e7:SetTarget(c58757629.target3)
e7:SetOperation(c58757629.operation3)
c:RegisterEffect(e7)
--cannot disable normal summon
local e8=Effect.CreateEffect(c)
e8:SetType(EFFECT_TYPE_SINGLE)
e8:SetCode(EFFECT_CANNOT_DISABLE_SUMMON)
e8:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
c:RegisterEffect(e8)
end
function c58757629.filter(c,e,sp)
return c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_SPECIAL,sp,true,true) and c:IsType(TYPE_MONSTER)
end
function c58757629.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(c58757629.filter,tp,0x73,0,1,nil,e,tp) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,0x73)
end
function c58757629.operation(e,tp,eg,ep,ev,re,r,rp)
if not e:GetHandler():IsRelateToEffect(e) then return end
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,c58757629.filter,tp,0x73,0,1,1,nil,e,tp)
if g:GetCount()>0 then
Duel.SpecialSummon(g,SUMMON_TYPE_SPECIAL,tp,tp,true,true,POS_FACEUP)
end
end
function c58757629.efilter(e,re)
return e:GetHandlerPlayer()~=re:GetHandlerPlayer()
end
function c58757629.atfilter(c)
return c:IsFaceup() and c:IsType(TYPE_XYZ) and c:IsRace(RACE_ALL)
end
function c58757629.target2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c58757629.atfilter(chkc) end
if chk==0 then return Duel.IsExistingTarget(c58757629.atfilter,tp,LOCATION_MZONE,0,1,nil)
and Duel.IsExistingMatchingCard(Card.IsRace,tp,LOCATION_HAND+LOCATION_DECK+LOCATION_GRAVE,0,1,nil,RACE_ALL) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
Duel.SelectTarget(tp,c58757629.atfilter,tp,LOCATION_MZONE,0,1,1,nil)
end
function c58757629.operation2(e,tp,eg,ep,ev,re,r,rp)
if not e:GetHandler():IsRelateToEffect(e) then return end
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and not tc:IsImmuneToEffect(e) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_XMATERIAL)
local g=Duel.SelectMatchingCard(tp,Card.IsRace,tp,LOCATION_HAND+LOCATION_DECK+LOCATION_GRAVE,0,1,1,nil,RACE_ALL)
if g:GetCount()>0 then
Duel.Overlay(tc,g)
end
end
end
function c58757629.nrmlfilter(c,e,sp)
return c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_NORMAL,sp,true,true) and c:IsType(TYPE_MONSTER)
end
function c58757629.target3(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(c58757629.nrmlfilter,tp,0x73,0,1,nil,e,tp) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,0x73)
end
function c58757629.operation3(e,tp,eg,ep,ev,re,r,rp)
if not e:GetHandler():IsRelateToEffect(e) then return end
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,c58757629.nrmlfilter,tp,0x73,0,1,1,nil,e,tp)
if g:GetCount()>0 then
Duel.SpecialSummon(g,SUMMON_TYPE_NORMAL,tp,tp,true,true,POS_FACEUP)
end
end

Edited by user Thursday, August 23, 2018 3:32:21 AM(UTC)  | Reason: Added Names

TheDarkV2  
#2 Posted : Monday, September 17, 2018 4:03:51 PM(UTC)
TheDarkV2

Rank: Newbie

Joined: 9/17/2018(UTC)
Posts: 3

These do not work. When added to the deck and after the duel starts the cards aren't in the deck even after saving.

If they do work in another way let me know. But for me they don't work.

Edited by user Monday, September 17, 2018 4:04:28 PM(UTC)  | Reason: Not specified

BananaPhone42  
#3 Posted : Thursday, December 06, 2018 1:49:18 PM(UTC)
BananaPhone42

Rank: Advanced Member

Joined: 1/16/2018(UTC)
Posts: 114

Thanks: 8 times
Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: TheDarkV2 Go to Quoted Post
These do not work. When added to the deck and after the duel starts the cards aren't in the deck even after saving.

If they do work in another way let me know. But for me they don't work.


That's strange... strange, indeed, because they work just fine for me. I can give you just the scripts so you can build the cards yourself, if that'll help?
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Notification

Icon
Error