Help adding debuff to Range attacks

Summary

release-864 (x64)[M]
c++ exception: Error reading file highclass/jobs/archer2/archer_abilities2/archer_speed_shot2.json:

Unknown JSON literal: 0"inflictable_debuffs":{“infection”:{“uri”:“highclass:archer_buffs2:slowed”,“chance”:1.0}}

Source:
{
“type”: “entity”,
“components”: {
“stonehearth:equipment_piece”: {}
},
“entity_data”: {
“stonehearth:combat:ranged_attacks”: [
{
“name”: “archer_draw_speed_up”,
“effect”: “archer_1h_shoot_fast”,
“active_frame”: 21,
“cooldown”: 0,
“priority”: 0
“inflictable_debuffs”: {
“infection”: {
“uri”: “highclass:archer_buffs2:slowed”,
“chance”: 1.0
}
}
}
]
}
}
stack traceback:
[C]: in function ‘load_json’
radiant/modules/resources.lua:40: in function ‘load_json’
stonehearth/lib/catalog/catalog_lib.lua:72: in function ‘_load_json’
stonehearth/lib/catalog/catalog_lib.lua:78: in function ‘_load_entity_json’
stonehearth/lib/catalog/catalog_lib.lua:40: in function ‘load_catalog’
…ces/client/catalog_client/catalog_client_service.lua:11: in function ‘initialize’
stonehearth/stonehearth_client.lua:61: in function ‘create_service’
stonehearth/stonehearth_client.lua:87: in function <stonehearth/stonehearth_client.lua:82>
[C]: ?
[C]: in function ‘trigger’
radiant/modules/events.lua:55: in function <radiant/modules/events.lua:55>

That is the error I am getting.

This is what I have in file.

Summary

{
“type”: “entity”,
“components”: {
“stonehearth:equipment_piece”: {}
},
“entity_data”: {
“stonehearth:combat:ranged_attacks”: [
{
“name”: “archer_draw_speed_up”,
“effect”: “archer_1h_shoot_fast”,
“active_frame”: 21,
“cooldown”: 0,
“priority”: 0
“inflictable_debuffs”: {
“infection”: {
“uri”: “highclass:archer_buffs2:slowed”,
“chance”: 1.0
}
}
}
]
}
}

You’re missing a comma after "priority: 0".

2 Likes

OMG thank you. LMAO, 1hr troubleshoot for that… im blind