Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Need help with Battle System

Author
Message
Vivi Falza
19
Years of Service
User Offline
Joined: 4th Oct 2005
Location:
Posted: 4th Oct 2005 23:14
Hey, I'm trying to make a small RPG to learn the basics of them before making a larger one. I'm currently working on a battle system, but no matter what I try, I can't get it to do what I want it do do. The enemy won't attack, and the HP-type variables don't change.

I've posted what I've got (without some of my attempts to make it work). (And this is still a work in progress, so some of the options do nothing)




Any help you guys could give me to help fix these problems would be very much appreciated.

Life IS pain, anyone who tells you otherwise is selling something.
Heckno
20
Years of Service
User Offline
Joined: 8th Sep 2004
Location: Palm Coast, FL
Posted: 5th Oct 2005 08:16


just a quick look cause iis getting late....

you do realize that these variables are going to reset each cycle of your loop... most of the time values/variables such as these are placed outside of the main loop....
Vivi Falza
19
Years of Service
User Offline
Joined: 4th Oct 2005
Location:
Posted: 5th Oct 2005 22:48
I know....but when i put them outside of the loop, the "print hp"/mp
text came up as "Hp: 0/0" "MP:0/0"

Life IS pain, anyone who tells you otherwise is selling something.
Vivi Falza
19
Years of Service
User Offline
Joined: 4th Oct 2005
Location:
Posted: 6th Oct 2005 00:31
I know....but when i put them outside of the loop, the \"print hp\"/mp
text came up as \"Hp: 0/0\" \"MP:0/0\"

Edit: Never mind, I got those variables to work

Life IS pain, anyone who tells you otherwise is selling something.
Vivi Falza
19
Years of Service
User Offline
Joined: 4th Oct 2005
Location:
Posted: 6th Oct 2005 15:23
No other comments?

Life IS pain, anyone who tells you otherwise is selling something.

Login to post a reply

Server time is: 2024-11-13 21:21:46
Your offset time is: 2024-11-13 21:21:46