changing the battle system in RPG Starter
|
|
ok so anyway i was looking around byond for a decent Turn based RPG style battle system... and the only one that actually was what i was looking for didnt work so now im asking you if you could possibly make either a tutorial (dont say you dont know how because CC2 proves otherwise), make a version of RPG maker specifically with turn based and a nice ATB system..., or give me a working map file for CC2 so i can use the CC 2 source that I have and change as much as I can and release it since you gave up on it a long time ago.... (btw i still have the zelda, CC1, DD, Outbreak, and DBZ HE sources if you want to go through them and try to redo them)..
|
Attack()set hidden=1 //this verb is macroed in the macro part of the Interface.dmf file
if(usr.Attacking) return
usr.Attacking=1
spawn(4) if(usr) usr.Attacking=0
flick("Attack[usr.icon_state]",usr) //this can be used to make the character look like their attacking
for(var/mob/Monster/M in get_step(usr,usr.dir)) //finds any monsters directly in front of the user
var/damage = src.Str-M.Def //a simple damage calculation
damage=max(0,damage+rand(-1,1)) //make sure damage isnt negative and varry it a little
M.HP-=damage //subtract the damage from HP
M.DamageShow(damage,200,0,0) //flashes the damage on the screen
M.DeathCheck(usr) //check if you killed the monster