In Magic The Gathering cards cost mana to play, which can be drawn from "land" cards (Swamps, Mountains, Forests, Islands, Plains). Some cards require specific land cards only, specific lands and colorless, or simply colorless. Colorless means you can use any type of land. For instance, if you need 1 Mountain and 1 Colorless, you must tap at least 1 Mountain, and 1 of any other type of land (including Mountains!) to play the card.
How would I go about coding this in BYOND, preferably the most easiest and noob-programmer friendly way? The way I was going to code it is varibles such as mob/var/swamplands, etc, etc, with mob/var/landtotals and subtracting the swamplands.. and then checking to see if landtotals are positive, etc, etc, but that is WAY too amatuer.
Mar 22 2008, 3:23 pm