- Joined
- Jul 22, 2018
- Messages
- 183
- Reaction score
- 37
- First Language
- Italian
- Primarily Uses
- RMMV
I got errors with this formula and don't know why.
I checked multiple times and tweaked in different manner but still not works.
the variables are additional parameters as variable which allow me to implement a scaling addition to base param.
just tell me if something is wrong with this formula..
(base + plus + (if (user.actorId == 1) v[42]*Math.sqrt(v[42]); elsif (user.actorId == 2) (v[52]*Math.sqrt(v[52]))*2/3; elsif (user.actorId == 3) (v[62]*Math.sqrt(v[62]))*4/3; elsif (user.actorId == 4) (v[72]*Math.sqrt(v[72]))*2/3; elsif (user.actorId == 5) (v[82]*Math.sqrt(v[82]))*2/3; elsif (user.actorId == 6) (v[92]*Math.sqrt(v[92]))*2/3; elsif (user.actorId == 7) v[102]*Math.sqrt(v[102]); end)) * paramRate * buffRate + flat
I checked multiple times and tweaked in different manner but still not works.
the variables are additional parameters as variable which allow me to implement a scaling addition to base param.
just tell me if something is wrong with this formula..
(base + plus + (if (user.actorId == 1) v[42]*Math.sqrt(v[42]); elsif (user.actorId == 2) (v[52]*Math.sqrt(v[52]))*2/3; elsif (user.actorId == 3) (v[62]*Math.sqrt(v[62]))*4/3; elsif (user.actorId == 4) (v[72]*Math.sqrt(v[72]))*2/3; elsif (user.actorId == 5) (v[82]*Math.sqrt(v[82]))*2/3; elsif (user.actorId == 6) (v[92]*Math.sqrt(v[92]))*2/3; elsif (user.actorId == 7) v[102]*Math.sqrt(v[102]); end)) * paramRate * buffRate + flat


