Laxusrichy
2017-11-17T21:00:03Z
Could someone help me by creating just one script for this monster? I'm not good with scripts, and even if I want to learn, my English is very bad, and that complicates a lot. [:doh:]

It will have the number "c888"

I'll leave his picture here.

Báofênglán The Tronado Dragon
Hippocampus1901
2017-11-18T22:42:29Z
Hi Laxusrichy,

I made this script for you, but I haven't tested it yet. Try it out and let me know if it works:
--Baofenglan the Tornado Dragon
function c888.initial_effect(c)
	--synchro summon
	aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
	c:EnableReviveLimit()
	--cannot target
	local e1=Effect.CreateEffect(c)
	e1:SetType(EFFECT_TYPE_SINGLE)
	e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
	e1:SetRange(LOCATION_MZONE)
	e1:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET)
	e1:SetValue(aux.tgoval)
	c:RegisterEffect(e1)
	--return to deck
	local e2=Effect.CreateEffect(c)
	e2:SetCategory(CATEGORY_TODECK)
	e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
	e2:SetCode(EVENT_BATTLE_DESTROYING)
	e2:SetCountLimit(1)
	e2:SetCondition(aux.bdocon)
	e2:SetTarget(c888.drtg)
	e2:SetOperation(c888.drop)
	c:RegisterEffect(e2)
end
function c888.filter(c)
	return c:IsFaceup() and c:IsAbleToDeck()
end
function c888.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
	if chkc then return chkc:IsOnField() and chkc:IsControler(tp) and c888.filter(chkc) end
	if chk==0 then return Duel.IsExistingTarget(c888.filter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) end
	Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
	local g=Duel.SelectTarget(tp,c888.filter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil)
	Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0)
end
function c888.drop(e,tp,eg,ep,ev,re,r,rp)
	local tc=Duel.GetFirstTarget()
	if tc:IsRelateToEffect(e) then
		Duel.SendtoDeck(tc,nil,2,REASON_EFFECT)
	end
end
Laxusrichy
2017-11-19T13:07:06Z
Originally Posted by: Hippocampus1901 

Hi Laxusrichy,

I made this script for you, but I haven't tested it yet. Try it out and let me know if it works:

--Baofenglan the Tornado Dragon
function c888.initial_effect(c)
	--synchro summon
	aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
	c:EnableReviveLimit()
	--cannot target
	local e1=Effect.CreateEffect(c)
	e1:SetType(EFFECT_TYPE_SINGLE)
	e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
	e1:SetRange(LOCATION_MZONE)
	e1:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET)
	e1:SetValue(aux.tgoval)
	c:RegisterEffect(e1)
	--return to deck
	local e2=Effect.CreateEffect(c)
	e2:SetCategory(CATEGORY_TODECK)
	e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
	e2:SetCode(EVENT_BATTLE_DESTROYING)
	e2:SetCountLimit(1)
	e2:SetCondition(aux.bdocon)
	e2:SetTarget(c888.drtg)
	e2:SetOperation(c888.drop)
	c:RegisterEffect(e2)
end
function c888.filter(c)
	return c:IsFaceup() and c:IsAbleToDeck()
end
function c888.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
	if chkc then return chkc:IsOnField() and chkc:IsControler(tp) and c888.filter(chkc) end
	if chk==0 then return Duel.IsExistingTarget(c888.filter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) end
	Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
	local g=Duel.SelectTarget(tp,c888.filter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil)
	Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0)
end
function c888.drop(e,tp,eg,ep,ev,re,r,rp)
	local tc=Duel.GetFirstTarget()
	if tc:IsRelateToEffect(e) then
		Duel.SendtoDeck(tc,nil,2,REASON_EFFECT)
	end
end




Wow! [:w00t:]
Many thanks, man. Thank you so! [:love:]

I already put it and already tested this card in ygopro and it works perfectly (so far no problem at least).
I would love to know how to do these scripts. My notion about this is very basic, I even tried to read the tutorial here, but unfortunately my English is also bad, and even using the translator, there are things that are translated in the wrong way, and this makes it difficult for some understanding, and the videos tutorials are in English as well. [:wall:]

It is a pity, I'd love to create scripts to put my own cards on ygopro. I have some custom cards although I really want to use them on ygopro, but unfortunately there are many, and I do not know if anyone here would have time to attend to my requests for many cards. And not to mention an archetype that an acquaintance of mine did and that I fell in love with the cards he created, I would love telos in Ygopro, but there are many cards and it would be too much work. [:doh:]

But thank you very much Hippocampus. [:clap:]
Hippocampus1901
2017-11-20T15:59:40Z
Originally Posted by: Laxusrichy 

Wow! [:w00t:]
Many thanks, man. Thank you so! [:love:]

I already put it and already tested this card in ygopro and it works perfectly (so far no problem at least).
I would love to know how to do these scripts. My notion about this is very basic, I even tried to read the tutorial here, but unfortunately my English is also bad, and even using the translator, there are things that are translated in the wrong way, and this makes it difficult for some understanding, and the videos tutorials are in English as well. [:wall:]

It is a pity, I'd love to create scripts to put my own cards on ygopro. I have some custom cards although I really want to use them on ygopro, but unfortunately there are many, and I do not know if anyone here would have time to attend to my requests for many cards. And not to mention an archetype that an acquaintance of mine did and that I fell in love with the cards he created, I would love telos in Ygopro, but there are many cards and it would be too much work. [:doh:]

But thank you very much Hippocampus. [:clap:]

You're very welcome, mate! Glad to see you so appreciative XD

Yeah I wouldn't mind helping you learn to script either but unfortunately I don't know how to speak Portuguese so I probably wouldn't be any more useful than those tutorials in English you're reading.
Laxusrichy
2017-11-22T12:21:22Z
Originally Posted by: Hippocampus1901 

You're very welcome, mate! Glad to see you so appreciative XD

Yeah I wouldn't mind helping you learn to script either but unfortunately I don't know how to speak Portuguese so I probably wouldn't be any more useful than those tutorials in English you're reading.



I understand. Anyway, you've helped me a lot already. Well, if it's not too uncomfortable, taking advantage of this topic, I'll leave one more card I would like to have on ygopro too, I recently found it on the web.

The Phantom Knights Of Old Axe

In his description, says the following:

The Phantom Knights of Old Axe

3 Level 4 Warrior-Type monsters
Once per turn, you can also Xyz Summon this card by using 1 "Phantom Knights" monster and 1 DARK monster you control with the same Level as materials. Once per turn: You can detach 1 Xyz Material from this card; destroy cards on the field, up to the number of your banished Warrior-Type monsters. When this card is targeted by an opponent's card effect: You can Special Summon 1 "The Phantom Knights" Xyz Monster from your Extra Deck by using this card as the Xyz Material, and if you do, it gains card's effects, also its name becomes this card's. (This is treated as an Xyz Summon. Xyz Materials attached to this card also become Xyz Materials on the Summoned monster.) You can only use this effect of "The Phantom Knights of Old Axe" once per Duel.



But if you can not help, I'll understand.

Note: the script is for the version ygopro-1.033.7-v2-Percy, and its number will be c767