Skip to content

Commit

Permalink
Magiclysm] Add Bracers of Archery (#76663)
Browse files Browse the repository at this point in the history
* Add bracers

* Add hit bonus effect

* Add to loot groups

* Update data/mods/Magiclysm/effects/effects.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/Magiclysm/items/enchanted_bracers.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/Magiclysm/items/enchanted_bracers.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Linting + use BOW_SHEATH

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
Standing-Storm and github-actions[bot] authored Sep 27, 2024
1 parent 5d38e0d commit b4ca7ca
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 2 deletions.
9 changes: 9 additions & 0 deletions data/mods/Magiclysm/effects/effects.json
Original file line number Diff line number Diff line change
Expand Up @@ -1443,6 +1443,15 @@
"remove_message": "Your magical flight ends.",
"flags": [ "CLIMB_FLYING", "LEVITATION" ]
},
{
"type": "effect_type",
"id": "effect_plus_two_to_hit",
"//": "Self-explanatory",
"name": [ "" ],
"desc": [ "" ],
"rating": "good",
"base_mods": { "hit_mod": [ 2 ] }
},
{
"id": "effect_dispel_magic",
"type": "effect_type",
Expand Down
13 changes: 12 additions & 1 deletion data/mods/Magiclysm/itemgroups/itemgroups.json
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,11 @@
"type": "item_group",
"//": "lesser enchanted bracers",
"subtype": "collection",
"items": [ { "item": "mbracer_defense_lesser", "prob": 10 }, { "item": "mbracer_lightning_lesser", "prob": 10 } ]
"items": [
{ "item": "mbracer_defense_lesser", "prob": 10 },
{ "item": "mbracer_lightning_lesser", "prob": 10 },
{ "item": "mbracer_archery", "prob": 5 }
]
},
{
"id": "enchanted_bracers_greater",
Expand Down Expand Up @@ -1898,5 +1902,12 @@
[ "gold_anklet", 20 ],
[ "silver_anklet", 30 ]
]
},
{
"type": "item_group",
"id": "SUS_hunting_archery",
"copy-from": "SUS_hunting_archery",
"subtype": "collection",
"extend": { "items": [ { "item": "mbracer_archery", "prob": 1 } ] }
}
]
22 changes: 22 additions & 0 deletions data/mods/Magiclysm/items/enchanted_bracers.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,5 +105,27 @@
"passive_effects": [ { "has": "WORN", "condition": "ALWAYS", "values": [ { "value": "ARMOR_ELEC", "add": -10 } ] } ]
},
"use_action": { "type": "cast_spell", "spell_id": "lightning_bolt", "no_fail": true, "level": 15, "need_worn": true }
},
{
"copy-from": "armguard_larmor",
"type": "ARMOR",
"id": "mbracer_archery",
"name": { "str": "pair of bracers of archery", "str_pl": "pairs of bracers of archery" },
"price_postapoc": "750 USD",
"description": "A set of leather bracers worked with images of arrows in flight and scenes of hunting parties. Bows you wield will be more accurate and do more damage while you wear these, and you can shoot your arrows farther as well.",
"relic_data": {
"passive_effects": [
{
"has": "WORN",
"condition": { "u_has_wielded_with_flag": "SHEATH_BOW" },
"values": [
{ "value": "RANGED_DAMAGE", "multiply": 0.25 },
{ "value": "RANGE", "multiply": 0.2 },
{ "value": "WEAPON_DISPERSION", "multiply": -0.33 }
],
"ench_effects": [ { "effect": "effect_plus_two_to_hit", "intensity": 1 } ]
}
]
}
}
]
1 change: 0 additions & 1 deletion data/mods/Magiclysm/items/ethereal_items.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,6 @@
},
{
"id": "druid_recurve",
"//": "Not using copy-from 'reflexbow', since wearability causes druid bow not to be wielded, and ammo / clip type causes it to require real arrows",
"type": "GUN",
"symbol": "(",
"color": "yellow",
Expand Down

0 comments on commit b4ca7ca

Please sign in to comment.