Changelog for RGBY -> GS, HGSS -> BW
authorBrigit Lemanski <brigitlemanski@gmail.com>
Tue, 7 Dec 2010 22:05:17 +0000 (17:05 -0500)
committerBrigit Lemanski <brigitlemanski@gmail.com>
Tue, 7 Dec 2010 22:05:17 +0000 (17:05 -0500)
pokedex/data/csv/move_changelog.csv
pokedex/data/csv/move_effects.csv
pokedex/db/tables.py

index 68b00e3..30425cc 100644 (file)
@@ -1,41 +1,60 @@
-move_id,changed_in_version_group_id,power,pp,accuracy
-13,3,,,75
-17,3,35,,
-20,11,,,75
-26,11,85,25,
-33,11,35,,95
-35,11,,,85
-37,11,90,20,
-38,3,100,,
-50,11,,,80
-59,3,,,90
-67,3,50,,90
-80,11,90,20,
-83,11,15,,70
-92,11,,,85
-120,3,130,,
-128,11,,,75
-136,11,100,20,
-137,11,,,75
-139,11,,,55
-152,11,,,85
-153,3,170,,
-170,11,,40,
-178,11,,,85
-202,11,60,,
-210,11,10,,
-248,11,80,15,90
-250,11,15,,70
-251,11,10,,
-253,11,50,,
-328,11,15,,70
-331,11,10,,
-333,11,10,,
-343,11,40,,
-350,11,,,80
-353,11,120,,85
-382,11,0,,
-386,11,60,,
-387,11,130,,
-409,11,60,5,
-463,11,,,70
+move_id,changed_in_version_group_id,type_id,power,pp,accuracy,effect_id,effect_chance
+2,3,1,,,,,
+13,3,,,,75,,
+16,3,1,,,,1,
+17,3,,35,,,,
+20,11,,,,75,,
+23,3,,,,,32,
+26,11,,85,25,,,
+33,11,,35,,95,,
+35,11,,,,85,,
+37,11,,90,20,,,
+38,3,,100,,,49,
+40,3,,,,,,20
+44,3,1,,,,,10
+50,11,,,,80,,
+57,5,,,,,1,
+59,3,,,,90,,
+67,3,,50,,90,1,
+74,11,,,,,14,
+76,3,,,,,81,
+80,11,,90,20,,,
+83,11,,15,,70,,
+87,3,,,,,7,10
+89,3,,,,,1,
+92,11,,,,85,,
+94,3,,,,,,30
+120,3,,130,,,,
+126,3,,,,,,30
+128,11,,,,75,,
+130,3,,,,,81,
+136,11,,100,20,,,
+137,11,,,,75,,
+139,11,,,,55,,
+143,3,,,,,81,0
+146,3,,,,,1,0
+152,11,,,,85,,
+153,3,,170,,,,
+157,3,,,,,1,0
+161,3,,,,,1,0
+170,11,,,40,,,
+174,11,18,,,,,
+178,11,,,,85,,
+202,11,,60,,,,
+210,11,,10,,,,
+248,11,,80,15,90,,
+250,11,,15,,70,,
+251,11,,10,,,,
+253,11,,50,,,,
+294,11,,,,,54,
+328,11,,15,,70,,
+331,11,,10,,,,
+333,11,,10,,,,
+343,11,,40,,,,
+350,11,,,,80,,
+353,11,,120,,85,,
+382,11,,0,,,,
+386,11,,60,,,,
+387,11,,130,,,,
+409,11,,60,5,,,
+463,11,,,,70,,
index c0f9645..972f858 100644 (file)
@@ -77,7 +77,9 @@ Has a 3/8 chance each to hit 2 or 3 times, and a 1/8 chance each to hit 4 or 5 t
 45,Hits twice in one turn.,Inflicts [regular damage]{mechanic}.  Hits twice in one turn.
 46,"If the user misses, it takes half the damage it would have inflicted in recoil.","Inflicts [regular damage]{mechanic}.  If this move misses, is blocked by Protect or Detect, or has no effect, the user takes half the damage it would have inflicted in recoil.  This recoil damage will not exceed half the user's max HP.
 
-This move cannot be used while [Gravity]{move} is in effect."
+This move cannot be used while [Gravity]{move} is in effect.
+
+Before GS: If this move misses, the user takes 1 point of damage in recoil."
 47,Protects the user's stats from being changed by enemy moves.,"Pokémon on the user's side of the [field]{mechanic} are immune to stat-lowering effects for five turns.
 
 [Guard Swap]{move}, [Heart Swap]{move}, and [Power Swap]{move} may still be used.
@@ -820,9 +822,11 @@ This effect is passed on by [Baton Pass]{move}."
 254,User takes 1/3 the damage inflicted in recoil.  Has a $effect_chance% chance to burn the target.,"Inflicts [regular damage]{mechanic}.  User takes 1/3 the damage it inflicts in recoil.  Has a $effect_chance% chance to [burn]{mechanic} the target.  [Frozen]{mechanic} Pokémon may use this move, in which case they will thaw."
 255,User takes 1/4 its max HP in recoil.,"Inflicts [typeless]{mechanic} [regular damage]{mechanic}.  User takes 1/4 its max [HP]{mechanic} in recoil.  Ignores [accuracy]{mechanic} and [evasion]{mechanic} modifiers.
 
-This move is used automatically when a Pokémon cannot use any other move legally, e.g., due to having no [PP]{mechanic} remaining or being under the effect of both [Encore]{move} and [Torment]{move} at the same time
+This move is used automatically when a Pokémon cannot use any other move legally, e.g., due to having no [PP]{mechanic} remaining or being under the effect of both [Encore]{move} and [Torment]{move} at the same time.
+
+This move cannot be copied by [Mimic]{move}, [Mirror Move]{move}, or [Sketch]{move}, nor selected by [Assist]{move} or [Metronome]{move}, nor forced by [Encore]{move}.
 
-This move cannot be copied by [Mimic]{move}, [Mirror Move]{move}, or [Sketch]{move}, nor selected by [Assist]{move} or [Metronome]{move}, nor forced by [Encore]{move}."
+Before GS: This move inflicts [normal]{type}-type damage and the user receives 1/2 of damage dealt in recoil."
 256,"User dives underwater, dodging all attacks, and hits next turn.","Inflicts [regular damage]{mechanic}.  User dives underwater for one turn, becoming immune to attack, and hits on the second turn.
 
 During the immune turn, [Low Kick]{move}, [Surf]{move}, and [Whirlpool]{move} still hit the user normally.  [Surf]{move} and [Whirlpool]{move} also have double power against the user.
index 59755a7..8d7f3cf 100644 (file)
@@ -673,7 +673,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,
+    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)"))
@@ -689,12 +689,18 @@ class MoveChangelog(TableBase):
         info=dict(description="ID of the move that changed"))
     changed_in_version_group_id = Column(Integer, ForeignKey('version_groups.id'), primary_key=True, nullable=False,
         info=dict(description="ID of the version group in which the move changed"))
+    type_id = Column(Integer, ForeignKey('types.id'), nullable=True,
+        info=dict(description="Prior type of the move, or NULL if unchanged"))
     power = Column(SmallInteger, nullable=True,
         info=dict(description="Prior base power of the move, or NULL if unchanged"))
     pp = Column(SmallInteger, nullable=True,
         info=dict(description="Prior base PP of the move, or NULL if unchanged"))
     accuracy = Column(SmallInteger, nullable=True,
         info=dict(description="Prior accuracy of the move, or NULL if unchanged"))
+    effect_id = Column(Integer, ForeignKey('move_effects.id'), nullable=True,
+        info=dict(description="Prior ID of the effect, or NULL if unchanged"))
+    effect_chance = Column(Integer, nullable=True,
+        info=dict(description="Prior effect chance, or NULL if unchanged"))
 
 class Nature(TableBase):
     u"""A nature a pokémon can have, such as Calm or Brave