伊甸之路

伊甸之路

Find mods for One Step From Eden
Add mods to One Step From Eden by subscribing to these workshop items!
了解更多
TheTrueFinalBoss 2 2020 年 4 月 12 日 上午 7:48
Mod Lua files?
I tried adding

function DepleteArchmage(item)
if item.being.theSpellCast.itemID == "Explosion" then
item.Deplete();
end
end

To a Lua file Artifacts.lua in my own mod's files. However when I try to add it with

<App trigger="OnSpellCast" effect="DepleteArchmage"></App>

on an artifact it causes an error when clicking Install Mods saying 'DepleteArchmage' doesn't exist.