mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Set rarity for gift encounter slots
This commit is contained in:
parent
6fd43b097c
commit
ada0e9c545
2 changed files with 27 additions and 26 deletions
|
@ -488,27 +488,27 @@ id,version_group_id,encounter_method_id,slot,rarity
|
|||
487,15,4,0,60
|
||||
488,15,4,1,35
|
||||
489,15,4,2,5
|
||||
490,1,18,,
|
||||
491,15,18,,
|
||||
492,3,18,,
|
||||
493,4,18,,
|
||||
494,5,18,,
|
||||
495,6,18,,
|
||||
496,7,18,,
|
||||
497,8,18,,
|
||||
498,9,18,,
|
||||
499,10,18,,
|
||||
500,11,18,,
|
||||
501,14,18,,
|
||||
502,16,18,,
|
||||
503,3,19,,
|
||||
504,4,19,,
|
||||
505,5,19,,
|
||||
506,6,19,,
|
||||
507,7,19,,
|
||||
508,8,19,,
|
||||
509,9,19,,
|
||||
510,10,19,,
|
||||
511,11,19,,
|
||||
512,14,19,,
|
||||
513,16,19,,
|
||||
490,1,18,,100
|
||||
491,15,18,,100
|
||||
492,3,18,,100
|
||||
493,4,18,,100
|
||||
494,5,18,,100
|
||||
495,6,18,,100
|
||||
496,7,18,,100
|
||||
497,8,18,,100
|
||||
498,9,18,,100
|
||||
499,10,18,,100
|
||||
500,11,18,,100
|
||||
501,14,18,,100
|
||||
502,16,18,,100
|
||||
503,3,19,,100
|
||||
504,4,19,,100
|
||||
505,5,19,,100
|
||||
506,6,19,,100
|
||||
507,7,19,,100
|
||||
508,8,19,,100
|
||||
509,9,19,,100
|
||||
510,10,19,,100
|
||||
511,11,19,,100
|
||||
512,14,19,,100
|
||||
513,16,19,,100
|
||||
|
|
|
|
@ -275,8 +275,9 @@ def record_method_and_gifts(gift_method, gift_data):
|
|||
encounter_method_id = gift_method.id,
|
||||
# No priority over or under other events/conditions
|
||||
slot = None,
|
||||
# Rarity is meaningless for gifts
|
||||
rarity = None,
|
||||
# Rarity is meaningless for gifts, but say that it's
|
||||
# 100% to help out code that expects rarity to be defined.
|
||||
rarity = 100,
|
||||
)
|
||||
session.add(encounter_slot)
|
||||
session.commit()
|
||||
|
|
Loading…
Reference in a new issue