ID:144038
 
Code:
obj/card/first_set
iruka_umino
icon = 'first_set.dmi'
icon_state = "iruka umino"
var
hp = 3
injured = 1
turn = 2
cost = 0
effect = "valid: when the head ninja of this team is genin and is sent out to battle, this ninja gets +0/+1 during this turn."


Problem description:

i need help with getting support on the card i dont know how to do that yet can someone help me with that his support should be 1 for hp and injured should be 1 please help.
What the hell is support? more information on what you need would help us all.
In response to A.T.H.K
it is something like on a naruto card it gives the head leader of the team support it looks like this 3/1 healthy
1/1 injured but i cant do that on the coding thing
In response to Chamilionare
so can anyone help me out i also need an example for mission and jutsu cards please help.
In response to Chamilionare
Unfortunately for you, you yourself have to code in a way to check if the head leader is genin and raise up those stats by yourself because there's no one way to do it and we don't know how you want the system to be (the way we may show you might mess up your whole game afterall)

- GhostAnime
In response to GhostAnime
obj/card/first_set
iruka_umino_2
icon = 'first_set.dmi'
icon_state = "iruka umino 2"
var
hp = "3/1"
injured = "1/1"
turn = 2
cost = 1
effect = "valid: when this head inja of this ninjas team recieves any damage, you can reduce the damage by 1. then, give damage to this ninja."


i think i found it oh and ghost i found out how by your example. so can you give me 2 more for 1 mission and for 1 jutsu i dont care which one i just need 1 example for each
In response to Chamilionare
I don't think you seem to get it, so here I go...

Whatever you want, just program it in. There's no one or specific way, the example I showed you before was a simple card datum with the basic stuff like HP and effect, you actually need to program in the system and all that.

Meaning you can have any variables and such for the things you just asked me for.


- GhostAnime
In response to GhostAnime
do you know any codes for like getting hands and discarding 1 card? and i need the getting the hand part a probability on getting a card
In response to Chamilionare
the "Code Problems" Fourm is designed to help coders with something they already coded. Not to code something for you. Try using the Developer How-To fourm. Or Read the DM guide
http://byond.com/docs/guide

~Axerob~