Original Post
Hey, I''m having trouble with creature life.
I typed this in: if(creature1.mlife <= 0)
{
cout << "he''s dead" << endl;
cmd2();
}
else
{
cmd3();
} But when i execute the program. It just kills it no matter what. And the creature.mlife = 120; your damage = 34;
so it can''t be overkill. Does sanyone know my problem??