So, I attempted to make a stronger version of the Cleric and somewhat copied the Cleric class. Everything works but the buffs… which is technically everything.
This is what I get when the Stronger Cleric Levels up to lvl 1.
Error Report
release-763 (x64)[M]
stonehearth/components/buffs/buffs_component.lua:48: assertion failed!
stack traceback:
radiant/modules/common.lua:245: in function 'report_traceback’
radiant/modules/common.lua:256: in function <radiant/modules/common.lua:250>
[C]: in function 'assert’
stonehearth/components/buffs/buffs_component.lua:48: in function 'add_buff’
radiant/modules/entities.lua:670: in function 'add_buff’
stonehearth/data/buffs/scripts/aura_buff.lua:63: in function '_on_pulse’
stonehearth/data/buffs/scripts/aura_buff.lua:19: in function 'on_buff_added’
stonehearth/components/buffs/buff.lua:298: in function '_create_script_controller’
stonehearth/components/buffs/buff.lua:96: in function '_create_buff’
stonehearth/components/buffs/buff.lua:78: in function 'post_activate’
radiant/modules/common.lua:542: in function ‘create_controller’
…
stonehearth/components/job/job_component.lua:286: in function ‘promote_to’
…arth/ai/actions/change_job_using_talisman_action.lua:24: in function '_trigger_cb’
radiant/modules/effects/trigger_effect.lua:14: in function 'fn’
radiant/controllers/nonpersistent_timer.lua:56: in function 'fire’
radiant/controllers/time_tracker_controller.lua:86: in function <radiant/controllers/time_tracker_controller.lua:86>
[C]: in function 'xpcall’
radiant/modules/common.lua:265: in function 'xpcall’
radiant/controllers/time_tracker_controller.lua:86: in function 'set_now’
radiant/modules/gamestate.lua:9: in function 'set_now’
radiant/server.lua:60: in function <radiant/server.lua:58>
I am not good at reading or writing Lua codes. So. I was hoping I didnt need to since I am making somewhat of a cleric clone.