RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Need help with ''stats'' RMXP

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 86
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...

Code: [Select]
#==============================================================================
# ?¡ 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
« Last Edit: November 11, 2007, 09:25:03 PM by Valllaha »

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
Put the script in code tage:

[code-][/-code]

without the -

Anyway, I can't look at it right now, but look in the help file for information on battle formulas.

**
Rep: +0/-0Level 86
I don't know if you talk about the help files of RMXP but if it is well... it's all in chinese and I'm not able to read that Oo
And I was wondering if theirs a topic (I searched) who explain what attack does (I mean 1 atk = 1 dmg - armor) or something like that
But anyway my main problem for now is the agility Oo

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
I think Zeriab has an FAQ up in either Help or Tutorials which has the English help file attached.

http://rmrk.net/index.php/topic,6835.0.html

**
Rep: +0/-0Level 86
Well I don't find it maybe because it's late, I'lltry further looking tomorow but if some1 stille have a solution for me just say it. Thanks

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
I linked it though?

**
Rep: +0/-0Level 86
Yeah I did look at the link but found nothing from my problem I'll look more

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
I meant the English help file is attached to it. Which has the battle formulas

**
Rep: +0/-0Level 86
oh well im dumb sorry i dlwed it, but well battle formulas show me what does stats but not how I can modify the effect or w/e, but well thx for answering my second question ^^ well we probaly can change the effect of the stats with a system script who is in the project when you create a new one? I just can't spot the script, it shouldn't be so complicated i guess