View Single Post
Old 02-22-2007, 02:53 AM   #3 (permalink)
x42bn6
Aya Matsuura is awesome
 
x42bn6's Avatar
 
Join Date: Nov 2002
Location: Trieste, Friuli-Venezia Giulia
Age: 20
Posts: 15,282
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

x42bn6 is offline   Reply With Quote