diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2007-10-26 20:46:09 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2007-10-26 20:46:09 +0000 |
| commit | 4385af885daf460a18e236f08509358f764b2c8c (patch) | |
| tree | 6c2838312dd7f42769280e24e8abc16b53c165cb /pokemod/MoveEffect.cpp | |
| parent | 1f08afc80c73087bf9bde639754670548b89fc9f (diff) | |
Reverted repo back to rev24 because committing of rev25 messed up
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@26 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/MoveEffect.cpp')
| -rw-r--r-- | pokemod/MoveEffect.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pokemod/MoveEffect.cpp b/pokemod/MoveEffect.cpp index 7a8a5aca..4ceedbb8 100644 --- a/pokemod/MoveEffect.cpp +++ b/pokemod/MoveEffect.cpp @@ -22,8 +22,6 @@ #include "MoveEffect.h" -const char* PokeGen::PokeMod::MoveEffect::EffectStr[PokeGen::PokeMod::MoveEffect::E_End] = {}; - PokeGen::PokeMod::MoveEffect::MoveEffect(const Pokemod* par, const unsigned _id) : Object(_id, par), chance(1, 1), @@ -100,6 +98,7 @@ bool PokeGen::PokeMod::MoveEffect::SetEffect(const unsigned e) return (effect == e); } +// TODO (Ben#1#): Effect code bool PokeGen::PokeMod::MoveEffect::SetVal1(const int v1) { val1 = v1; @@ -112,7 +111,7 @@ bool PokeGen::PokeMod::MoveEffect::SetVal2(const unsigned v2) return (val2 == v2); } -PokeGen::Frac PokeGen::PokeMod::MoveEffect::GetChance() const +PokeGen::PokeMod::Frac PokeGen::PokeMod::MoveEffect::GetChance() const { return chance; } |
