Chaos Project

RPG Maker => RPG Maker Scripts => Script Troubleshooting => Topic started by: MeVII on February 22, 2010, 05:45:21 pm

Title: [XP] State Effectiveness %
Post by: MeVII on February 22, 2010, 05:45:21 pm
Hi!

Is line 263 in game-battler-2
if rand(100) < [0,100,80,60,40,20,0][self.state_ranks[i]]

Where we can change the state effectiveness %s?
So changing 20 to 10 would make state efficiency F = 10 instead of 20?
If that is true, what is the first 0 for? A nil or no state?

Thanks!

                                                                        Me VII
Title: Re: [XP] State Effectiveness %
Post by: Aqua on February 22, 2010, 05:52:24 pm
Placeholder since indexes start with 0 instead of 1.
Title: Re: [XP] State Effectiveness %
Post by: MeVII on February 22, 2010, 05:56:55 pm
Well ... that was fast. :)

Thanks!  :D and *powerup* for answering in less than 10 min since I posted!  :O.o:

                                                                                             MeVII
Title: Re: [XP] State Effectiveness %
Post by: Aqua on February 22, 2010, 06:14:35 pm
It would have been sooner, but I was doing other stuff when I read the post XP