1. RPG level system code

dude i know this is simple code, but ive had a long week of FINALS.. sooooo dont make fun of me! LOL! Whats wrong with this here script?

If (("race" = Human))
"ata" = 32 + 3 * _root.lvl
and "def" = 45 + 5 * _root.lvl
and "mag" = 12 + 2 * _root.lvl
and "magdef" = 30 + 4 * _root.lvl

wow.... i cant belive i cant get this to work but hey its just one of those days... lol help me out (im gona go get some coffee ... or beer LOL!)

2. Hmmm...

```
if(race = "Human")
{
ata = 32 + 3 * _root.lvl;
def = 45 + 5 * _root.lvl;
mag = 12 + 2 * _root.lvl;
magdef = 30 + 4 * _root.lvl;
}

```

??? I dunno... The code is entirely too fragmented in your example.. Is this what you are trying to convey?

3. I may be wrong, but wouldn't you want to say:
Code:
```If (race == "Human")
{
ata = (32 + 3 * _root.lvl);
def = (45 + 5 * _root.lvl);
mag = (12 + 2 * _root.lvl);
magdef = (30 + 4 * _root.lvl);
}```

4. I may be wrong, but wouldn't you want to say:

```
If (race == "Human")
{
ata = (32 + 3 * _root.lvl);
def = (45 + 5 * _root.lvl);
mag = (12 + 2 * _root.lvl);
magdef = (30 + 4 * _root.lvl);
}

```
Not really.. That wouldn't dop much to change anything... But he might possibly want to do.

[AS]
if (race == "Human")
{
ata = (32 + 3) * _root.lvl;
def = (45 + 5) * _root.lvl;
mag = (12 + 2) * _root.lvl;
magdef = (30 + 4) * _root.lvl;
}

5. WTF i cant see any of the replies you typed.... can someone just PM me what they said?!

6. nvm i can see it now.. lol it was something in my footer

7. Ya thanks you 2! it was Mars's 2nd post that was the right one but thanks for the help!

8. No problem bro.