YGOPRO Forum

Welcome Guest! To enable all features please try to register or login.
Options
Go to last post Go to first unread
DM999  
#1 Posted : Wednesday, June 12, 2019 12:25:11 AM(UTC)
DM999

Rank: Newbie

Joined: 12/1/2015(UTC)
Posts: 7

Thanks: 1 times
This might have been answered before, bit I wanted to know how, if you summon a monster like Flower Cardian Pine With Crane/Zebra Grass with Moon/Willow With Calligrapher/Paulownia with Phoenix, you can change their special summon effect to ignore the summoning conditions of the monster drawn. I wanted to change this with a few other cards also but I wanted to know how you would change their script in Lua edit. I tried copying the lua script from a few other cards over to it but it didn't seem to work.
MVPIII  
#2 Posted : Wednesday, June 12, 2019 12:50:26 AM(UTC)
MVPIII

Rank: Advanced Member

Joined: 2/7/2014(UTC)
Posts: 268

Thanks: 27 times
Was thanked: 24 time(s) in 22 post(s)
The flower cardians have 2 extra parameters in their register effect
c:RegisterEffect(e1,false,2)

I don't recall what they do exactly, but that might be what you're looking for. I mean, if I had to guess, those parameters are there to ignore summoning conditions, seeing as their spsummon proc states that they must first be special summoned by Tributing flower cardian monsters of the same level. And the target function of the flower cardians (the one that allows you to special summon one if you draw and show it to your opponent) doesn't ignore summoning conditions.

If that doesn't work, you can just change the first "false" of things like c:IsCanBeSpecialSummoned(e,0,tp,false,false)
to true
DM999  
#3 Posted : Wednesday, June 12, 2019 3:35:52 AM(UTC)
DM999

Rank: Newbie

Joined: 12/1/2015(UTC)
Posts: 7

Thanks: 1 times
Hmm, it still wouldn't work. This is the part in the lua where, for example, I was trying to make it ignore the summoning conditions of the monster drawn with its second effect, I changed the "false" to "true", but it won't ignore summoning conditions. Unless there's something else I need to change in the script as well?

function c43413875.operation(e,tp,eg,ep,ev,re,r,rp)
local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM)
if Duel.Draw(p,d,REASON_EFFECT)~=0 then
local tc=Duel.GetOperatedGroup():GetFirst()
Duel.ConfirmCards(1-tp,tc)
Duel.BreakEffect()
if tc:IsType(TYPE_MONSTER) and tc:IsSetCard(0xe6) then
if tc:IsCanBeSpecialSummoned(e,0,tp,true,false)
and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.SelectYesNo(tp,aux.Stringid(43413875,1)) then
Duel.SpecialSummon(tc,0,tp,tp,true,false,POS_FACEUP)
end
MVPIII  
#4 Posted : Thursday, June 13, 2019 10:56:06 PM(UTC)
MVPIII

Rank: Advanced Member

Joined: 2/7/2014(UTC)
Posts: 268

Thanks: 27 times
Was thanked: 24 time(s) in 22 post(s)
All I found was this post

If it has a spsummon proc, maybe try adding c:RegisterEffect(e1,false,2) to that? I haven't messed with those cards so I wouldn't know.:S
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