So.. well, I got a CBS scripts with a time gauge (i'm sure you know the script I use), the problem is that if my agility is to much high, my gauge bar goes to fast, so I set a low agility start to my hero but another problem, i ALWAYS miss so i set my monster evasion -100 so I don't miss, but I need to modify the monster agility as well or he will attack me 30 times before I can attack once, so 10 agility for my monster seems perfect, problem... He ALWAYS miss and I can't (i think) modify the evasion of my character since it's agility? Is their a way to modify the main evasion of everybody without refer to stats or not? or is their a solution?
I tried to change the script but I failed, if I change any numbers it seems to do nothing at all :
Well if you refer to the AGI part you can see numbers who I THINK indicate the speed of the gauge, and I'm.... yeah ok I'm not good at all on scripting so I need help if it's the only way to help my evasion problems -_- (Because from now I can control the speed of the gauge with agility but it cause another problem) And I don't really know what in the script does affect the attack rate of my monster, it should work with the samesnumber i think...
#==============================================================================
# ?¡ Scene_Battle_CP
#==============================================================================
class Scene_Battle_CP
#--------------------------------------------------------------------------
# ?œ ŒöŠJƒCƒ“ƒXƒ^ƒ“ƒX•Ï?”
#--------------------------------------------------------------------------
attr_accessor :stop # CP‰ÁŽZƒXƒgƒbƒv
#----------------------------------------------------------------------------
# ?œ ƒIƒuƒWƒFƒNƒg‚Ì?‰Šú‰»
#----------------------------------------------------------------------------
def initialize
@battlers = []
@cancel = false
@agi_total = 0
# ”z—ñ @count_battlers ‚ð?‰Šú‰»
@count_battlers = []
# ƒGƒlƒ~?[‚ð”z—ñ @count_battlers ‚ɒljÁ
for enemy in $game_troop.enemies
@count_battlers.push(enemy)
end
# ƒAƒNƒ^?[‚ð”z—ñ @count_battlers ‚ɒljÁ
for actor in $game_party.actors
@count_battlers.push(actor)
end
for battler in @count_battlers
@agi_total += battler.agi
end
for battler in @count_battlers
battler.cp = [[65535 * (rand(15) + 85) / 100 * battler.agi / @agi_total * 4, 0].max, 65535].min
end
end
#----------------------------------------------------------------------------
# ?œ CPƒJƒEƒ“ƒg‚ÌŠJŽn
#----------------------------------------------------------------------------
def start
if @cp_thread != nil then
return
end
@cancel = false
@stop = false
# ‚±‚±‚©‚çƒXƒŒƒbƒh
@cp_thread = Thread.new do
while @cancel != true
if @stop != true
self.update # ?X?V
sleep(0.05)
end
end
end
# ‚±‚±‚܂ŃXƒŒƒbƒh
end
#----------------------------------------------------------------------------
# ?œ CPƒJƒEƒ“ƒgƒAƒbƒv
#----------------------------------------------------------------------------
def update
if @count_battlers != nil then
for battler in @count_battlers
# ?s“®?o—ˆ‚È‚¯‚ê‚Ζ³Ž‹
if battler.dead? == true #or battler.movable? == false then
battler.cp = 0
next
end
# ‚±‚±‚Ì 1.3‚ð•Ï‚¦‚邱‚Æ‚Å?«ƒXƒs?[ƒh‚ð•Ï?X‰Â”\?B‚½‚¾‚µ??”“_‚ÍŽg—p‚·‚邱‚Æ?B
battler.cp = [[battler.cp + 1.3 * 4096 * battler.agi / @agi_total, 0].max, 65535].min
end
end
end
#----------------------------------------------------------------------------
# ?œ CPƒJƒEƒ“ƒg‚ÌŠJŽn
#----------------------------------------------------------------------------
def stop
@cancel = true
if @cp_thread != nil then
@cp_thread.join
@cp_thread = nil
end
end
end
Sorry for all the mistakes I've done, I'm from quebec so I learnt english so I apologize Sad
Thank you for your answer and if I'm not clear enough or if you want the complete scripts just ask it.
and this scripts belong to MakirouAru
Thanks again