#KUBEJS IRON SPELLBOOKS

3 messages · Page 1 of 1 (latest)

edgy robin
#

    event.create("test_attribute_spellbook", "irons_spells_js:spellbook")
        .setMaxSpellSlots(20)
        .addDefaultAttribute("kubejs:test_spell_power", "Test Spell Power", 2.0, "multiply_total")
    })```

ERROR:
[15:03:07] [ERROR] ! startup_scripts:example2.js#5: Error in 'StartupEvents.registry': Unknown type 'irons_spells_js:spellbook' for object 'kubejs:test_attribute_spellbook'!

How to repair this
rotund ginkgoBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

meager shard
#

event.create('bth:adventurers_spell_book', 'spellbook')

Found this info on CF. Now to finding the new names for
addDefaultAttribute and addDefaultSpell which apparently also changed...