Hello!!
So,I've been trying to create a custom formula for the basic Attack skill.
I've managed to make the extra parameter I needed for the formula (Weapon Atk) using a script I found on this site.
The formula I want to create is this: (x.stat.str is the custom parameter)
Base= a.xstat.str - b.def
Bonus= a.atk + rand(100) ([(a.level +k a.atk) / 8] + 1)
Damage= Base * Bonus
I have tried various methods to achieve this and still nothing.
I have tried the method mentioned on this thread:
http://forums.rpgmakerweb.com/index.php?/topic/17056-improved-damage-formula-scripting/
No luck...
It's either 0 damage all the time or an error window opens and says unexpected ''('' or '')" and things like that...
I've even tried doing it on one line like this:
"(a.xstat.str - b.def) * (a.atk + rand(100) ([(a.level + a.atk) / 8] + 1))"
Still nothing...!
Could please help me? My knowledge of Maths is extremely limited....)-: (I'm more of a writer/director type of guy)
I'm sure there is a silly error I'm doing here...!!
If you need exact error messages tell me.
So,I've been trying to create a custom formula for the basic Attack skill.
I've managed to make the extra parameter I needed for the formula (Weapon Atk) using a script I found on this site.
The formula I want to create is this: (x.stat.str is the custom parameter)
Base= a.xstat.str - b.def
Bonus= a.atk + rand(100) ([(a.level +k a.atk) / 8] + 1)
Damage= Base * Bonus
I have tried various methods to achieve this and still nothing.
I have tried the method mentioned on this thread:
http://forums.rpgmakerweb.com/index.php?/topic/17056-improved-damage-formula-scripting/
No luck...
It's either 0 damage all the time or an error window opens and says unexpected ''('' or '')" and things like that...
I've even tried doing it on one line like this:
"(a.xstat.str - b.def) * (a.atk + rand(100) ([(a.level + a.atk) / 8] + 1))"
Still nothing...!
Could please help me? My knowledge of Maths is extremely limited....)-: (I'm more of a writer/director type of guy)
I'm sure there is a silly error I'm doing here...!!
If you need exact error messages tell me.