ID:146797
 
Code:
if(src.MaxHp < 99999 & src.MaxMp < 99999 & src.Str < 9999 & src.Def < 9999 & src.Dex < 9999 src.Agl < 9999 & src.Int < 9999 & src.Wis < 9999 & src.Con < 9999 & src.Chr < 9999)
src.Str += rand(2,6)
src.Def += rand(2,6)
src.Dex += rand(1,4)
src.Agl += rand(1,3)
src.Int += rand(0,2)
src.Wis += rand(0,4)
src.Con += rand(3,7)
src.Chr += rand(2,5)


Problem description: Character Handling.dm:70:error: src: missing comma ',' or right-paren ')' Why does this happen?

Kyranik wrote:
Code:
if(src.MaxHp < 99999 & src.MaxMp < 99999 & src.Str < 9999 & src.Def < 9999 & src.Dex < 9999 src.Agl < 9999 & src.Int < 9999 & src.Wis < 9999 & src.Con < 9999 & src.Chr < 9999)
> src.Str += rand(2,6)
> src.Def += rand(2,6)
> src.Dex += rand(1,4)
> src.Agl += rand(1,3)
> src.Int += rand(0,2)
> src.Wis += rand(0,4)
> src.Con += rand(3,7)
> src.Chr += rand(2,5)
>

Problem description: Character Handling.dm:70:error: src: missing comma ',' or right-paren ')' Why does this happen?


Just taking a glance at the code above so dont get too up set if Im wrong but, Isnt it suppose to be && not &? inless ur trying to use the bit and operator?
In response to Green Lime
Nevermind, I changed the system...Now i have another prob (points to other topic)....