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 Alexandre is offline
     
    Join Date: Mar 2005
    Age: 22
    Nature: Lonely
    Posts: 401

    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

    Relevant Advertising!

      #2    
    Old August 28th, 2013 (5:51 PM).
    dexter1o6 dexter1o6 is offline
       
      Join Date: Jul 2013
      Age: 29
      Gender: Male
      Posts: 64

      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 (4:36 AM).
      FL's Avatar
      FL FL is offline
      Pokémon Island Creator
         
        Join Date: Sep 2010
        Gender: Male
        Posts: 1,698

        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

        Forum Jump


        All times are GMT -8. The time now is 9:11 PM.