Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Python

Cannot retrieve the latest commit at this time.
Failed to load latest commit information. | |||
![]() |
lib | ||
![]() |
src | ||
![]() |
.gitignore | ||
![]() |
README | ||
![]() |
abilities-to-do | ||
![]() |
attacks-to-do |
README
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 | ------------