N
N3ONReaper
Guest
Okay this is going to be a relatively hard one.
I have set up 2 grids, one for skills and one for effects in my RPG (I also have one for the party, but that isn't important for this)
This is how each row in my grid is set up for skills, with each skill being 1 column:
and also for effects:
however, say i wanted to have a skill inflict multiple effects on a target, with different chances, or have an effect lower / boost multiple stats, with different values, some being a multiplier and others not, i am stuck as to how to set it up. I know that 1 cell can only hold 1 value in a grid, so i would need some other workaround, preferably something itterable (so that i can correctly apply the effects with the correct values / chances using a for loop), and without having to create another separate grid for each possible combination. Any ideas??
I have set up 2 grids, one for skills and one for effects in my RPG (I also have one for the party, but that isn't important for this)
This is how each row in my grid is set up for skills, with each skill being 1 column:
Code:
name
icon
tool tip
cost
dmg Multiplier
Has Effects?
effect id
effect chance
target (0 = 1 enemy, 1 = all enemies, -1 = 1 party member, -2 = all party members)
unlock level
Code:
name
icon
effect (damage, heal, boost stat, paralyze, lower stat)
multiplier? no,yes
value
turns lasting
stat to boost? (-1 for none)