Commit graph

826 commits

Author SHA1 Message Date
Petr Viktorin
5fb0eed9dc Take Shedinja's 'shed' evolution into account. 2011-04-27 18:00:35 +03:00
Petr Viktorin
11d803fd63 Some love for the interface & tests 2011-04-27 16:00:50 +03:00
Petr Viktorin
b27187e99a Rewrite _HeapDict.pop() a bit 2011-04-27 14:50:07 +03:00
Petr Viktorin
e4c0d0b16b Share session across tests 2011-04-27 14:30:11 +03:00
Petr Viktorin
d746716575 Cache common stuff. Remove goal from a_star. 2011-04-27 14:21:24 +03:00
Petr Viktorin
cb78144e8d print 'Illegal move combination.' 2011-04-27 13:33:08 +03:00
Petr Viktorin
0f28e1ebda Make the trade table more sparse 2011-04-27 13:16:39 +03:00
Petr Viktorin
15b92851ed Add a profiling harness 2011-04-27 04:58:15 +03:00
Petr Viktorin
681d56387d Eliminate some unneeded node creation 2011-04-27 04:47:36 +03:00
Petr Viktorin
0de03e864f Optimize some set operations 2011-04-27 04:34:29 +03:00
Petr Viktorin
b2e54ca1ea Merge A* in. General improvements. 2011-04-27 04:13:54 +03:00
Petr Viktorin
88b9a216c7 Misc. 2011-04-27 03:17:07 +03:00
Petr Viktorin
add72ef5da Add a docstring 2011-04-27 02:35:11 +03:00
Petr Viktorin
6f535fdba4 Improve breeding a bit. And, add Unicode 2011-04-27 02:24:57 +03:00
Petr Viktorin
7fe9e62be3 Add Sketch. And some tests. 2011-04-27 02:04:28 +03:00
Petr Viktorin
266f863334 Yet another breed compatibility check 2011-04-27 01:04:14 +03:00
Petr Viktorin
4f8108d61b Fix up breeding 2011-04-27 00:51:40 +03:00
Petr Viktorin
8dee48d966 Misc. 2011-04-26 21:04:29 +03:00
Petr Viktorin
02dd22eaf4 Make Volt Tackle work again 2011-04-26 20:22:05 +03:00
Petr Viktorin
a626886ec2 Working on breeding 2011-04-26 20:09:04 +03:00
Petr Viktorin
054421d93d Prettify output 2011-04-26 18:05:16 +03:00
Petr Viktorin
237830d523 Trading, evolution, and grow expansion 2011-04-26 17:02:08 +03:00
Petr Viktorin
858e177e7d Basic move expansion 2011-04-26 16:11:11 +03:00
Petr Viktorin
27570525ff Load babies 2011-04-26 13:56:29 +03:00
Petr Viktorin
a6647d95a4 Deduplicate version groups 2011-04-26 13:32:25 +03:00
Petr Viktorin
0d75f50b7b Breed graph construction, part II 2011-04-26 12:53:48 +03:00
Petr Viktorin
2f8611458d Breed graph construction, part I 2011-04-26 03:14:32 +03:00
Petr Viktorin
02deb8c06a Loading pokemon
Just stuffing them all in memory works fine.
2011-04-26 02:50:09 +03:00
Petr Viktorin
bca84867c8 Start work on a moveset checker 2011-04-26 01:58:38 +03:00
Petr Viktorin
b4f29e83d8 Adapt spline's query timer proxy to be also useful for CLI scripts 2011-04-26 01:51:47 +03:00
Lynn "Zhorken" Vaughan
aee71712f9 Add form names for Keldeo; do "forme" → "Form" for Kyurem.
Note that "Form" isn't actaully official for Kyurem; it's just "Kyurem",
"Black Kyurem", and "White Kyurem", but we do the same with Rotom and
some other cases like this.
2012-10-06 21:29:59 -04:00
Andrew Ekstedt
32d88bf97f Add B/W 2 encounters
- Victory Road, Giant Chasm, and Reversal Mountain have unknown area
  names. The others are hopefully accurate.

- Swarms are, again, not present. Neither are Hidden Grove encounters.
2012-09-29 00:03:40 -07:00
Andrew Ekstedt
84f34dee42 Add B/W 2 locations
Most of the English names are official; the remaining few were
translated by Guested.

B/W 2 adds another Victory Road—this is a new location, distinct from
the previous one. The name remains the same, but our identifier is
unova-victory-road-2.
2012-09-28 23:58:03 -07:00
Andrew Ekstedt
7d9381699a Add B/W encounters
- Victory Road still has unknown area names

- Swarms don't work like normal encounters so are not present
2012-09-28 23:50:04 -07:00
Andrew Ekstedt
ca5b7a9cbf Add B/W encounter methods and conditions
Spots: it might seem like they should be conditions, but in practice
they behave more like methods. Specifically, conditions typically make
only minor changes to an encounter list. Spots change everything.
So spots are added as methods, with each type of spot as a separate
method. Not exactly ideal, but this causes the least fuss.

Seasons work fine as conditions.

Well, as well as time-of-day.
2012-09-28 23:00:53 -07:00
Andrew Ekstedt
c5fee20ef1 Make Encounter.condition_values a relationship(). 2012-09-27 12:59:16 -07:00
Lynn "Zhorken" Vaughan
442ba27943 Delete unused conquest move effects and renumber effect 0 to 1. 2012-09-25 21:35:59 -04:00
Lynn "Zhorken" Vaughan
c3f2919ef3 Minor cleanup in tables.py to make tests pass. 2012-09-25 21:18:53 -04:00
Lynn "Zhorken" Vaughan
cb3740a7e5 Merge branch 'conquest'
Conflicts:
	pokedex/data/csv/pokemon_dex_numbers.csv
2012-09-25 21:00:02 -04:00
Lynn "Zhorken" Vaughan
765be26405 Add episodes and warrior transformation info. 2012-08-17 01:50:09 -04:00
Lynn "Zhorken" Vaughan
108c4243da More move effect tweaking... 2012-08-17 01:49:31 -04:00
Lynn "Zhorken" Vaughan
ac3aee12ee Add innerjoin=True and add/remove lazy='joined' on a bunch of relationships. 2012-08-07 00:14:22 -04:00
Lynn "Zhorken" Vaughan
f11058dd2f Toss the capacity column now that it's a stat. 2012-08-07 00:13:00 -04:00
Lynn "Zhorken" Vaughan
95422bc985 Only markdownify $target if move.range exists. 2012-08-06 14:10:36 -04:00
Lynn "Zhorken" Vaughan
c00bc4cad2 Remove Mega Drain's "effect chance".
Effect chance shares seven bits with draining moves' drain percentage
(always 50) and Dragon Rage's set damage (40) in Conquest's guts.
2012-08-05 20:54:29 -04:00
Lynn "Zhorken" Vaughan
b3ade1ecf1 De-convolute my attempt at broadening MoveEffectProperty. 2012-08-05 20:39:03 -04:00
Lynn "Zhorken" Vaughan
d689bd3de3 Give Splash its own effect. 2012-08-05 00:52:50 -04:00
Lynn "Zhorken" Vaughan
0596032d00 Flesh out move effects some more. 2012-08-04 23:50:39 -04:00
Lynn "Zhorken" Vaughan
789a1bdc0e Add target counts for Conquest move ranges. 2012-08-04 19:55:55 -04:00
Lynn "Zhorken" Vaughan
14232f0e74 Add prose for most things move-related. 2012-08-03 20:37:28 -04:00