Tacoghandi wrote:What is the difference between castcard(restricted) and castcard(normal). Was wondering due to many of the cards in my fork using castcard(normal)
About rebound: It looks like your code is set up to cast the card from exile at end of turn instead of your next upkeep. Also why move them to unsupported due to castcard not allotting for altercost, The cards can be cast from exile without paying their mana costs which gets around and manacost adjustments. Or do you mean that castcard is unable to cast for free of something is increasing the cards manacost.
Super glad to have the exile zone. Nice job.
Also when must I use the checkex, is it just for phaseaction?
What is the difference between phaseaction and phaseactionmulti and same with cumulativeupcost and cumulativeupcostmulti?
castcard(restricted) -> you cast a card and check for restrictions, if you cannot play the card due to restricions like iona or other restrictions, you cannot play it.
castcard(normal) -> cast it without any restrictions, it bypass all restrictions.
changed rebound on latest git update. they work as intended until altercost ability like sphere of resistance is in play (add 1 mana to cast a card), if you pay without cost and you have a card that alters the cost of a card to cast, you must pay those(i think determine first the cost of card, then apply cost increaser, then apply cost reducer, then apply trinisphere effect if there is any... i removed trinisphere for now), so instead of paying 0 if there's a single sphere of resistance in play, you must pay 1, or you cannot cast it.
thanks, since the exile zone is viewable, there are some abilities that needs updating...
the checkex is for phaseaction only, its meant for check exile zone if the card with phaseaction is there... if you have rebound cards and somehow its moved to another zone since exile zone can be targeted now, the phaseaction must not happen since the card is not there.
phaseaction - single ability on phase trigger, phaseactionmulti - multiple abilities on phase trigger. same with cumulativeupcost and cumulativeupcostmulti. I modified some cards with cumulativeupcost to cumulativeupcostmulti because of the bug like maddening wind, sacrificing the enchanted creature that is meant for itself if you cannot pay the upkeep cost.