Skip to content

TimChau/Pokemon-Project

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

All rights reserved to their respective owners.
This work is purely for educational purposes and meant as a tribute to the awesomeness that is Pokemon.

Requires blessings and kao_console modules

 ----------
| Attacks |
 ----------
    Attacks represent the moves pokemon use in the game.
    Specific pieces are handled by delegates.
    These delegates are subclasses to create the desired effects of classes

        |HitDelegate|
            Represents how an attack hits a target.
            
            hit - Called by attack to determine whether it hits
                Params: actingSide, otherSide - Both BattleSide objects, represent each side of the battle
                Returns whether the attack hits or not.
                Returns list of messages to display.
                
            core - Performs the probability check for whether an attck hits
                Params: actingSide, otherSide - Both BattleSide objects, represent each side of the battle
                Returns whether the attack hits probabilistically
                
            dodging - Check if the opponent is dodging
                Params: otherSide - BattleSide object, representing the target's Side
                Returns whether the opponent is dodging
            
            
        |DamageDelegate|
            Represents how an attack deals damage
            
            
            
 ------------
| Pokemon |
 ------------
 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%