The part i am asking about is located in the weapon_name.json
"stonehearth:combat:ranged_attacks": [
{
"name": "archer_1h_shoot",
"effect": "archer_1h_shoot",
"active_frame": 60,
"cooldown": 200,
"priority": 0
}
In what are the cooldown measured? I have seen that the special abillity of a footman for instance has a 4000 cooldown.
And about the active_frame I assume that is the duration of the animation. Am i correct?
This is the current stats of the longbow i created and i wanted it so that it does a lot increased damage and range but have a slower fire rate and i found out that increasing the active frame alone did not do enough so i added a cooldown but i have no clue how much of a cooldown i gave it.
whole longbow.json
{
"mixins": "stonehearth:mixins:item_properties",
"type": "entity",
"components": {
"model_variants": {
"default": {
"models": [
"file(longbow_equipped.qb)"
]
}
},
"stonehearth:entity_forms": {
"iconic_form": "file(longbow_iconic.json)"
},
"stonehearth:equipment_piece": {
"slot": "mainhand",
"render_type": "attach_to_bone",
"postures": [
"stonehearth:combat",
"stonehearth:patrol"
],
"ilevel": 40,
"roles": "archer_job",
"required_job_level": 5,
"equip_effect": "stonehearth:effects:weapon_level_up"
}
},
"entity_data": {
"stonehearth:combat:weapon_data": {
"base_damage": 52,
"base_ranged_damage": 52,
"range": 45,
"projectile_speed": 50,
"projectile_uri": "stonehearth:weapons:arrow"
},
"stonehearth:combat:ranged_attacks": [
{
"name": "archer_1h_shoot",
"effect": "archer_1h_shoot",
"active_frame": 60,
"cooldown": 200,
"priority": 0
}
],
"stonehearth:combat:idle:ready": {
"name": "archer_1h_idle"
},
"stonehearth:net_worth": {
"value_in_gold": 70,
"rarity": "common",
"shop_info": {
"buyable": true,
"sellable": true,
"shopkeeper_level": 3,
"shopkeeper_type": "caravan"
}
},
"stonehearth:catalog": {
"display_name": "i18n(yangarmoury:entities.weapons.longbow.display_name)",
"description": "i18n(yangarmoury:entities.weapons.longbow.description)",
"icon": "file(longbow.png)",
"category": "weapons",
"material_tags": "wood ranged_weapon stockpile_weapon"
}
}
}
Thanks for helping me ^¢^