Mercurial > vba-clojure
diff clojure/com/aurellem/gb/hxc.clj @ 245:a50faba43967
forgot to include Bird type with the list of available type names for type advantage data. now hxc-advantage is correct.
author | Dylan Holmes <ocsenave@gmail.com> |
---|---|
date | Sun, 25 Mar 2012 23:04:01 -0500 |
parents | 27ca947084cf |
children | 921d2277bb57 |
line wrap: on
line diff
1.1 --- a/clojure/com/aurellem/gb/hxc.clj Sun Mar 25 22:33:17 2012 -0500 1.2 +++ b/clojure/com/aurellem/gb/hxc.clj Sun Mar 25 23:04:01 2012 -0500 1.3 @@ -91,6 +91,7 @@ 1.4 :poison 1.5 :ground 1.6 :rock 1.7 + :bird 1.8 :bug 1.9 :ghost 1.10 :A 1.11 @@ -115,6 +116,7 @@ 1.12 1.13 1.14 (def hxc-advantage 1.15 + "The hardcoded type advantages in memory, returned as tuples of [atk-type def-type multiplier]. By default (i.e. if not listed here), the multiplier is 1." 1.16 (map 1.17 (fn [[atk def mult]] [(get pkmn-types atk (hex atk)) 1.18 (get pkmn-types def (hex def))