We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed2601e commit 43ce9e7Copy full SHA for 43ce9e7
utility.lua
@@ -248,6 +248,11 @@ function Card.IsTrapMonster(c)
248
return c:IsTrapCard() and (c:GetOriginalLevel()>0 or c:GetOriginalAttribute()>0 or c:GetOriginalRace()>0)
249
end
250
251
+function Card.GetMainCardType(c)
252
+ return c:GetType()&(TYPE_MONSTER|TYPE_SPELL|TYPE_TRAP)
253
+end
254
+
255
256
function Card.IsNonEffectMonster(c)
257
return c:IsMonster() and not c:IsType(TYPE_EFFECT)
258
0 commit comments