Can Someone Help me Program this, Ive been trying to figure it out all day
Tried combining skill drain and torrential, didnt work, cannot seem to figure out the script for how to script it
Torrential Skill Loss
When a monster(s) is Normal Summoned OR Flip Summoned: Negate the effects of all face-up monsters currently on the field.
Some Reason My Script all it does it negate itself, when i chain to a summon
I have
--Torrential Skill Loss
Here is the Effect Part, I didnt know what to put in for Category, that might be what messed me up
function c10010043.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsDestructable,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil) end
local g=Duel.GetMatchingGroup(Card.IsDestructable,tp,LOCATION_MZONE,LOCATION_MZONE,nil)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,g:GetCount(),0,0)
end
function c10010043.activate(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(Card.IsDestructable,tp,LOCATION_MZONE,LOCATION_MZONE,nil)
if g:GetCount()>0 then
Duel.NegateEffect(g)
end
end
Edited by user
2015-08-06T00:11:37Z
|
Reason: Not specified