From 6c02987fb622781010bcda44a7ed74d7c5d14da7 Mon Sep 17 00:00:00 2001 From: Brigit Lemanski Date: Tue, 7 Dec 2010 20:38:16 -0500 Subject: [PATCH] Fixing typos like a winner. --- pokedex/data/csv/move_effect_changelog.csv | 2 +- pokedex/db/tables.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pokedex/data/csv/move_effect_changelog.csv b/pokedex/data/csv/move_effect_changelog.csv index d1a5a83..a5bf1a4 100644 --- a/pokedex/data/csv/move_effect_changelog.csv +++ b/pokedex/data/csv/move_effect_changelog.csv @@ -1,6 +1,6 @@ effect_id,changed_in_version_group_id,effect 8,11,"Halves the target's [Defense]{mechanic} for damage calculation, which is similar to doubling the attack's [power]{mechanic}." -29,33,"Does nothing in trainer battles." +29,3,"Does nothing in trainer battles." 38,8,"Works while asleep through [Sleep Talk]{move} if not at full health." 46,3,"If this move misses, the user takes 1 point of damage in recoil." 46,11,"If this move misses, the user takes half of the damage it would have inflicted in recoil." diff --git a/pokedex/db/tables.py b/pokedex/db/tables.py index 67064b8..63b2efc 100644 --- a/pokedex/db/tables.py +++ b/pokedex/db/tables.py @@ -683,7 +683,7 @@ class Move(TableBase): info=dict(description="ID of the damage class (physical/special) of the move")) effect_id = Column(Integer, ForeignKey('move_effects.id'), nullable=False, info=dict(description="ID of the move's effect")) - effect_chance = Column(Integer, nullable=True + effect_chance = Column(Integer, nullable=True, info=dict(description="The chance for a secondary effect. What this is a chance of is specified by the move's effect.")) contest_type_id = Column(Integer, ForeignKey('contest_types.id'), nullable=True, info=dict(description="ID of the move's Contest type (e.g. cool or smart)"))