if(typesof(B,/obj/card/monster/OOAK))
if(cardCount == 1)
alert(usr,"This is Special Card, You can only have one of each in your deck")
return
else
continue
Problem description:
If I were to click something this is an only type of /obj/card/monster, it does this command but I only want it to occur when it is in that tree, nothing before it.
I want it to do it if it's
/obj/card/monster/OOAK/Card1
/obj/card/monster/OOAK/Card2
NOT:
/obj/card/monster/CardSet/Card1
/obj/card/monster/CardSet2/Card1