Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views


Sign in to follow this  


So I was laying out the battle system for the PHP crap (instead of studying for my probability exam which... is in an hour LOL!), and I realized that, hey, I really have no idea how my battle system is going to work. lols.

I mean, I've got part of it: each character has 8 stats:


The first 6 are ones that you choose to spend SP on each time you level up, the bottom two are composite stats - DEX is a weighted sum of POW, TAL, and CHA, and LUK is basically random.

There are also 6 weapon types, each one has a primary stat and two secondary stats, such that for each stat there is one weapon type which has it as a primary, and two that have it for a secondary (weapon type, primary, secondary, secondary):
Sword:     POW, MAG, CHA
Firearm: CON, TAL, CHA
Spears: WIS, POW, MAG
Magic: MAG, WIS, CON
Daggers: CHA, POW, TAL

These stats also determine other composite stats, ie, maximum HP/MP, etc etc.

Equipment influences actual attack/defense power, which is modified by skills and effects to generate the actual damage outputs.

Each item of equipment has a set of scales which determine how its attack/defense values are affected by stats, in addition to parameters for a scaling function for the output. Example -

(some sword)
2.3 POW 0.0 MAG
1.2 TAL 0.1 CON
0.0 WIS 0.8 CHA
0.9 DEX 0.2 LUK

The unscaled output of the sword is simply the sum of each weight with the character's respective stat points. This value is then fed through a sigmoid-like function (actually, a scaled and clipped sine wave) to determine the actual output of the weapon/armor.

What this means, is that you can equip any weapon/armor at any time, however, the actual output of the equipment depends on your stats. (ie, if a mage attempts to wield a sword, he'll probably not have enough strength to wield it effectively, but will still be able to use it).

Skills, likewise, have a similar stat manipulation that I haven't worked out yet.

I'm not sure how I should do monsters yet... like, I don't want the monsters to just be things to hack away at, I want there to be some diversity other than "THIS MONSTER DOES 10 TIMES MORE DAMAGE THAN THE LAST ONE OMG CAN YOU HANDLE THE PAAIIINNNNN?!" because that's boring.

I want to implement a system whereby you have to work out how to kill the monster in an effective way, while still allowing the un-hardcore to plink away at them.

Or something, I guess I need to think about it more. Comments/Ideas/Spam?
Sign in to follow this  


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!