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 | .
 

 Essence Cannoner

View previous topic View next topic Go down 
AuthorMessage
Torpzun




Member Title : TURBO MODE! STRAIGHT INTO A WALL!
Posts : 44
Join date : 2013-09-23
Age : 22
Location : A place where the denizens wish they had some drugs.

PostSubject: Essence Cannoner   Sat Apr 26, 2014 4:28 am



Once per turn, during either player's turn: You can pay 2000 Life Points, then target 1 card on the field; destroy that target.

This should be a lot more interesting now that Life Points are becoming relevant. But anyway, this works during both player's turns, which allow for this to constantly mess up your opponent's setup at the cost of a ton of your Life Points. On YCM, people suggested to lower the cost to 1500, but I don't really trust them enough to take their word for it.

_________________
Logic dictates that whacking something with a sword enough times will make it die. It never specified what kind of sword, therefore, foam swords are dangerous weapons.
Back to top Go down
View user profile
VB99

avatar


Member Title : Legendary Planet
Posts : 368
Join date : 2013-11-10

PostSubject: Re: Essence Cannoner   Sat Apr 26, 2014 2:27 pm

I can't really say weather or not this is correct, but I think (or rather hope) it should be near the solution. 

function c70193085.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(70193085,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCost(c70193085.cost)
e1:SetTarget(c70193085.target)
e1:SetOperation(c70193085.operation)
e1:SetReset(RESET_EVENT+0x1ff0000)
c:RegisterEffect(e1)
end
function c70193085.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return not e:GetHandler():IsDisabled() and Duel.CheckLPCost(tp,2000) end
Duel.PayLPCost(tp,2000)
end
function c70193085.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsDestructable() end
if chk==0 then return Duel.IsExistingTarget(Card.IsDestructable,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local g=Duel.SelectTarget(tp,Card.IsDestructable,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,g:GetCount(),0,0)
end
function c70193085.operation(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then
Duel.Destroy(tc,REASON_EFFECT)
end
end

Of course, I could also be entirely wrong...

I really like your card, though. Not only because I like Fiend/LIGHT cards, but also because you can kill anything as long as you can pay LP. So yeah, finally a reason besides the wyrm to gain LP^^
Back to top Go down
View user profile http://www.fanfiktion.de/u/VB99
Torpzun




Member Title : TURBO MODE! STRAIGHT INTO A WALL!
Posts : 44
Join date : 2013-09-23
Age : 22
Location : A place where the denizens wish they had some drugs.

PostSubject: Re: Essence Cannoner   Sat Apr 26, 2014 9:54 pm

Well, thanks about the code, although I honestly am just totally lost about this Mackpro program. Mind helping me get acquainted to it, since I can't figure this out on my own?

_________________
Logic dictates that whacking something with a sword enough times will make it die. It never specified what kind of sword, therefore, foam swords are dangerous weapons.
Back to top Go down
View user profile
VB99

avatar


Member Title : Legendary Planet
Posts : 368
Join date : 2013-11-10

PostSubject: Re: Essence Cannoner   Sat Apr 26, 2014 10:22 pm

Well, I'm still a learner, but I'll do what I can^^

_________________
Back to top Go down
View user profile http://www.fanfiktion.de/u/VB99
Sponsored content





PostSubject: Re: Essence Cannoner   

Back to top Go down
 

Essence Cannoner

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

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