mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
Wrote a generalised data property editor that deals with a list of things from a GameData module, allowed the WildItem properties for species to contain multiple items each
This commit is contained in:
@@ -573,7 +573,7 @@ class Pokemon
|
||||
return held_item && held_item == check_item
|
||||
end
|
||||
|
||||
# @return [Array<Symbol>] the items this species can be found holding in the wild
|
||||
# @return [Array<Array<Symbol>>] the items this species can be found holding in the wild
|
||||
def wildHoldItems
|
||||
sp_data = species_data
|
||||
return [sp_data.wild_item_common, sp_data.wild_item_uncommon, sp_data.wild_item_rare]
|
||||
|
||||
Reference in New Issue
Block a user