So i wanna make a thing:
You go to the wilderness (where the monsters are) then you are presented with some paths:
so thats all okay.. but i want to make a thing like this:You Find Many paths to the Wilderness!
Choose one
Monsters Level 1-10
Monsters Level 1-20
Monsters Level 1-30
Monsters Level 1-50
Monsters Level 1-70
Monsters Level 1-90
Monsters Level 1-120
Choose well, you may die in the journey!
i made a battle.php for each intervalYou Find Many paths to the Wilderness!
Choose one
Monsters Level 1-10
Monsters Level 10-20
Monsters Level 20-30
Monsters Level 30-50
Monsters Level 50-70
Monsters Level 70-90
Monsters Level 90-120
Choose well, you may die in the journey!
but all i need is an example so lets take battle90.php:
here's the important part:
Code: Select all
$mobinfo="SELECT * from monsters where level <= '90' order by rand() limit 1";
Code: Select all
$mobinfo="SELECT * from monsters where level <= '90' AND > '70' order by rand() limit 1";