• entries
570
2427
• views
215895

# Untitled

144 views

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:

POW MAG TAL
CON WIS CHA
LUK DEX

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, CHAFirearm:   CON, TAL, CHASpears:    WIS, POW, MAGMagic:     MAG, WIS, CONDaggers:   CHA, POW, TALBows:      TAL, CON, WIS

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?

There are no comments to display.

## Create an account

Register a new account