| I thought of a method but I don't know if it disrupts the spell casting - you store your mana in a variable, add it to your gold, and if it exceeds the mana cost + gold cost, then it casts. You AND it to mana cost + lumber cost exceeded, then subtract your mana from gold/lumber immediately after casting the spell - but not sure if it disrupts.
The ability goes wrong because I believe they are the same spell string? In that case, you can have a boolean variable that stores whether the creature is a bear or crow or something.*
__________________ * IM IN UR WIKI RVRTING UR EDITS |