Dark Age Games
Home Dark Age EX Dark Age 2 Message Board Fan Art FAQ Kelzar Mage DALpedia MS Forum
Board Index Dark Age General Bug Report Website Off Topic Register User Edit User User List Search

Need help
Posted by: Tough Dragon
17:58:09 03-06-2006

can you help me with my battle system

#Bitmap("testbkg.jpg")
#Put(15, 5, "char.tst005")
#Put(1, 5, "char.tst015")
#battledone!=0
#while(battledone! == 0)
{
#mwincls
#midiplay("music.mid")
character0[name]$ = "Tough Dragon"
character0[health]! = 100
character0[attack]! = 25
character0[defense]! = 10
enemy0[name]$ = "Usake"
enemy0[health]! = 100
enemy0[attack]! = 25
enemy0[defense]! = 10
specialmove["level"]$ = "fierce"
specialmove["power"]! = 100
#Mwin(1 - Fight)
#MWin(2 - Special Moves)
#MWin(3 - Item)
#MWin(4 - Run)
#Wait(a$)
******************************
#if (a$=="1")
{
#castlit(cnum!,cnum$)
#castlit(enum!,enum$)
#code$="#damage! = character"+cnum$+"[attack]! - enemy"+enum$+"[defense]!"
#rpgcode(code$)
#code$="#enemy"+enum$+"[health]!=enemy"+enum$+"[health]!-damage!"
#rpgcode(code$)

}
******************************
******************************
#if (a$=="2")
{
special moves
}
******************************
******************************
#if (a$=="3")
{
iems
}
******************************
******************************
#if (a$=="4")
{
#battledone! = 1
}
******************************
}

http://toughdragon.mysticsoftware.net/
for my website.
Edit Post