Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Standing-Storm committed Jul 22, 2024
1 parent ee4058b commit 027b225
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions data/mods/Magiclysm/enchantments/Artificer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[
{
"type": "effect_on_condition",
"id": "EOC_ATTUNEMENT_ARTIFICER_BATTERY_RECHARGING",
"condition": { "u_has_trait": "ARTIFICER" },
"recurrence": "1 minutes",
"deactivate_condition": { "not": { "u_has_trait": "ARTIFICER" } },
"effect": [
{
"u_run_inv_eocs": "all",
"search_data": [
{ "flags": [ "BATTERY_ULTRA_LIGHT" ] },
{ "flags": [ "BATTERY_LIGHT" ] },
{ "flags": [ "BATTERY_MEDIUM" ] },
{ "flags": [ "BATTERY_HEAVY" ] }
],
"true_eocs": [
{
"id": "EOC_ATTUNEMENT_ARTIFICER_BATTERY_RECHARGING_CHARGER",
"condition": { "math": [ "n_val('power')", "<", "n_val('power_max')" ] },
"effect": [ { "math": [ "n_val('power')", "+=", "u_spell_level('spy_wasp') + u_spell_level('artificer_toolkit')" ] } ]
}
]
}
]
}
]

0 comments on commit 027b225

Please sign in to comment.