Hi im having a little trouble with my stats.
For example, i have gotten a stat distribution from a tutorial and i put up defense. if i put enough def the monster starts taking -15 dmg or something on me, which heals me. How do u make it so that no matter how much def u get the lowest ammount of dmg it can take is 1 and it cant go under 1.
Problems with agi stat: when i put up agi my evade doesnt go up.
Problems with Accuracy: hit rate doesnt go up
all of these stats dont work and all i can get working is Strength.
Any Help would be appreciated.
ID:167564
Feb 25 2006, 1:07 pm
|
|
In response to A.T.H.K
|
|
Nvm i found out where to put it myself. Thanks for all the help! But i still need to fix my accuracy and agi stats. Anyone know how to do it?
|
In response to A.T.H.K
|
|
A.T.H.K wrote:
if(damage < 0) damage = 1
I hope thats what you meant Except that you probably want if(damage < 1) |
In response to Noob360
|
|
anyone can help?
|
In response to Noob360
|
|
Oh please, you need to give more detail. We have no idea whatsoever how you made your code, so we have no idea whatsoever how we could fix it.
|
In response to Mysame
|
|
Mysame wrote:
Oh please, you need to give more detail. We have no idea whatsoever how you made your code, so we have no idea whatsoever how we could fix it. Ok, I have put this coding so it shows in the stat panel Stat() Then i used this Stat Distribution System. statobj But when i increase agility, the hit rate or probability of the monster hitting me doesnt decrease. and Dex, When i increase it, the hit rate or probablity of me hitting the monster doesnt increase. Hope that clears things up |
In response to Noob360
|
|
Anyone got any idea how to fix this?
|
In response to Noob360
|
|
Euhm, yeah.. Don't copy/paste codes?
|
if(damage < 0) damage = 1
I hope thats what you meant