mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2026-07-21 23:27:00 +00:00
[6.8.2] Safari Zone crash patch
This commit is contained in:
@@ -180,7 +180,7 @@ class BattledTrainer
|
||||
held_item = pokemon.item
|
||||
is_holdable_item = HELD_ITEMS.include?(held_item.id)
|
||||
echoln "#{held_item} #{is_holdable_item}"
|
||||
next if is_holdable_item && rand(100) >= store_held_item_chancex
|
||||
next if is_holdable_item && rand(100) >= store_held_item_chance
|
||||
|
||||
is_evolution_item = held_item.is_evolution_stone?
|
||||
is_battle_item = held_item.has_battle_use?
|
||||
|
||||
Reference in New Issue
Block a user