a place for all your custom card needs you can post scripts pics and request for card to be made also please donate to the funding for a new server made for custom card duels
 
HomePortalCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | .
 

 Jinzo Alpha help

View previous topic View next topic Go down 
AuthorMessage
Marc1




Posts : 43
Join date : 2013-08-03

PostSubject: Jinzo Alpha help   Tue Feb 16, 2016 7:09 pm

How do I modify the Jinzo script so that it prevents only my opponent from activating traps?


-人造人間-サイコ・ショッカー
function c77585513.initial_effect(c)
--cannot trigger
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_CANNOT_TRIGGER)
e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
e1:SetRange(LOCATION_MZONE)
e1:SetTargetRange(0xa,0xa)
e1:SetTarget(c77585513.distg)
c:RegisterEffect(e1)
--disable
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_DISABLE)
e2:SetRange(LOCATION_MZONE)
e2:SetTargetRange(LOCATION_SZONE,LOCATION_SZONE)
e2:SetTarget(c77585513.distg)
c:RegisterEffect(e2)
--disable effect
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e3:SetCode(EVENT_CHAIN_SOLVING)
e3:SetRange(LOCATION_MZONE)
e3:SetOperation(c77585513.disop)
c:RegisterEffect(e3)
--disable trap monster
local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_FIELD)
e4:SetCode(EFFECT_DISABLE_TRAPMONSTER)
e4:SetRange(LOCATION_MZONE)
e4:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE)
e4:SetTarget(c77585513.distg)
c:RegisterEffect(e4)
end
function c77585513.distg(e,c)
return c:IsType(TYPE_TRAP)
end
function c77585513.disop(e,tp,eg,ep,ev,re,r,rp)
local tl=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_LOCATION)
if tl==LOCATION_SZONE and re:IsActiveType(TYPE_TRAP) then
Duel.NegateEffect(ev)
end
end
Back to top Go down
View user profile
XxDragoulxX




Member Title : Fire Guardian
Posts : 17
Join date : 2013-11-09

PostSubject: Re: Jinzo Alpha help   Thu Feb 18, 2016 3:06 pm

is the effect exacly the same as jinzos, or are there more effects attached onto this, other than stopping your opponent from activating traps?
Back to top Go down
View user profile
Marc1




Posts : 43
Join date : 2013-08-03

PostSubject: Re: Jinzo Alpha help   Thu Feb 18, 2016 5:32 pm

yes, the same effect as Jinzo but only stops my opponent from using traps.
Back to top Go down
View user profile
Project Leviamon

avatar


Member Title : Busy with high school sadly
Posts : 320
Join date : 2013-08-03
Age : 18
Location : Digital World

PostSubject: Re: Jinzo Alpha help   Sat Feb 20, 2016 11:59 pm

Look at Naturia Bamboo and remove the spell card part of it's effect.

EDIT: Nvm, using Naturia Bamboo won't work, I'll try finding something else.

EDIT 2: 

function c77585513.initial_effect(c)
--act limit
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EFFECT_CANNOT_ACTIVATE)
e1:SetRange(LOCATION_MZONE)
e1:SetTargetRange(0,1)
e1:SetValue(c77585513.aclimit)
c:RegisterEffect(e1)
end

function c77585513.aclimit(e,re,tp)
return re:IsHasType(EFFECT_TYPE_ACTIVATE) and re:IsActiveType(TYPE_TRAP)
end

This should work

_________________
Not the best at scripting, but will help if I can. Really busy lately tho :/


Youtube Channel

Dark Army vs Elemental Dragons

Planned Archetypes:
-Persona Card
-Dark Army
-Elemental Dragons
-END (tons and tons of cards made in card maker)
-Chained Dragons (lost in a computer meltdown, will redo eventually)
-RWBY (thinking of making these)
Back to top Go down
View user profile http://www.pokecommunity.com/member.php?u=364458
Marc1




Posts : 43
Join date : 2013-08-03

PostSubject: Re: Jinzo Alpha help   Sun Feb 21, 2016 10:00 pm

Thank you! It works!
Back to top Go down
View user profile
Sponsored content





PostSubject: Re: Jinzo Alpha help   

Back to top Go down
 

Jinzo Alpha help

View previous topic View next topic Back to top 
Page 1 of 1

 Similar topics

-
» Jinzo/Skill Drain Question
» Skill drain vs Jinzo
» Jinzo Deck plz i beg
» Ruling question about Skill drain VS Jinzo
» Jinzo Sworn * Sry DS >.<

Permissions in this forum:You cannot reply to topics in this forum
Mackpro :: MackPro :: Custom cards - Single cards-