v1.4.4
This commit is contained in:
commit
9c94d113d3
10260 changed files with 1237388 additions and 0 deletions
15
assets/devel/versioning/MonsterEntity_3_4.lua
Normal file
15
assets/devel/versioning/MonsterEntity_3_4.lua
Normal file
|
@ -0,0 +1,15 @@
|
|||
function update(data)
|
||||
if type(data.dropPool) == "string" then
|
||||
if not root.isTreasurePool(data.dropPool) then
|
||||
data.dropPool = "basicMonsterTreasure"
|
||||
end
|
||||
elseif data.dropPool then
|
||||
for key, value in pairs(data.dropPool) do
|
||||
if not root.isTreasurePool(value) then
|
||||
data.dropPool[key] = "basicMonsterTreasure"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
return data
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue