Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials

Notices
For all updates, view the main page.

Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.



Reply
 
Thread Tools
  #1    
Old August 28th, 2013 (10:13 AM).
Alexandre's Avatar
Alexandre
 
Join Date: Mar 2005
Age: 20
Nature: Lonely
Hey everyone, quick question regarding the battle system in Essentials (and in Pokemon in general I guess). I'm wondering which procedures are entirely or partly random and/or rely on probability calculations. I am aware of critical hits, and move effects like confusion, paralysis, burn etc etc but I was wondering if there are any others. It's been a while since I've messed with Essentials or even played Pokemon so it would be a big help. Cheers.
Reply With Quote
  #2    
Old August 28th, 2013 (05:51 PM).
dexter1o6
 
Join Date: Jul 2013
Age: 26
Gender: Male
You can start reading here:

http://bulbapedia.bulbagarden.net/wiki/Damage_modification

For starters, look under 'Other' --> 'Randomization adjustment'

This should be all you need, except that I cannot tell you what is actually implemented in Pokemon Essentials (I would have to test it or at least read through the scripts. But you can do that, right?)
Reply With Quote
  #3    
Old September 1st, 2013 (04:36 AM).
FL's Avatar
FL
Pokémon Island Creator
 
Join Date: Sep 2010
Gender: Male
Generally uses this method:

Code:
def pbRandom(x)
  return rand(x)
end
rand ranges from 0...x

Critical hit are done using 'pbIsCritical?' method. Some effects durations like confusion are setted when the pokémon become confused.
__________________
Reply With Quote
Reply
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 10:16 AM.