
EDIT: one email adress per person
Edit: Nevermind... I figured it out.Hmm, smooth sailing up to this point.
I'm not sure what the problem is, but I'm noticing the players health isn't updating when damage is said to be given to player.
Now I've changed hpoints to health, if you advise against this then I'll stop what I'm doing.
But I figured I was safe, I've checked all instances of the word hpoints in battle.php, attack.php
And all was fine.
Also I changed player1 to admin
Not sure if this should effect things but I make sure to check all files and I know that shouldn't be the problem.
Also I've noticed when we kill a monster it is killed from the sql?
Is that correct or did I do something wrong. O.o
Code: Select all
include 'create_creatures.php';
Code: Select all
<?php
include 'connect.php';
include 'create_creatures.php';