Commit 5d2bdf89 authored by argon.sun's avatar argon.sun

fix

parent eebd29db
......@@ -14,7 +14,7 @@
#include <dirent.h>
#endif
const unsigned short PRO_VERSION = 0x12d0;
const unsigned short PRO_VERSION = 0x12e0;
namespace ygo {
......
......@@ -35,7 +35,7 @@ function c35112613.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e1,tp)
end
function c35112613.cfilter(c)
return c:IsSetCard(0x55) and c:GetCode()~=35112613 and c:IsAbleToGraveAsCost()
return c:IsSetCard(0x55) and c:IsType(TYPE_MONSTER) and c:GetCode()~=35112613 and c:IsAbleToGraveAsCost()
end
function c35112613.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetFlagEffect(tp,35112613)==0 and Duel.IsExistingMatchingCard(c35112613.cfilter,tp,LOCATION_HAND,0,1,nil) end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment