Once again... in Developer Help
|
|
Warlord_Robert Card=1 Cname="Warlord Robert" bStrength=5 bDefense=15 bSpeed=1 bLevel=5 bRange=1 bVitality=8 bIntelligence=9 bWill=6 bHP=3 bAttacks=2 Type="Character" Species="Human" Element="Mercala" Ability="At the start of your turn, you may choose which deck you draw from." proc/Before_Draw() var/a=input("Which deck do you wish to draw from?")in list("Characters","Spells","Runes","Items")
|
Calling it isn't as easy as I thought.
proc Draw() for(var/obj/cards/o in world) if(o.inplay==1) o.Before_Draw()
|
Undefined proc error. Any solutions would be mucho appreciated.
|
That should do it.