-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MoM] Wielding a matrix crystal enhances your powers (#66644)
* Initial commits * Move crystal draining to dedicated EoCs * rename
- Loading branch information
1 parent
b0ae1c2
commit 66e88e5
Showing
5 changed files
with
188 additions
and
16 deletions.
There are no files selected for viewing
65 changes: 65 additions & 0 deletions
65
data/mods/MindOverMatter/effectoncondition/eoc_crystal_draining.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
[ | ||
{ | ||
"type": "effect_on_condition", | ||
"id": "EOC_BIOKIN_CRYSTAL_DRAINING", | ||
"condition": { "u_has_item": "matrix_crystal_biokinesis" }, | ||
"effect": [ | ||
{ "u_consume_item": "matrix_crystal_biokinesis", "count": 1 }, | ||
{ "u_spawn_item": "matrix_crystal_drained", "suppress_message": true } | ||
] | ||
}, | ||
{ | ||
"type": "effect_on_condition", | ||
"id": "EOC_CLAIR_CRYSTAL_DRAINING", | ||
"condition": { "u_has_item": "matrix_crystal_clairsentience" }, | ||
"effect": [ | ||
{ "u_consume_item": "matrix_crystal_clairsentience", "count": 1 }, | ||
{ "u_spawn_item": "matrix_crystal_drained", "suppress_message": true } | ||
] | ||
}, | ||
{ | ||
"type": "effect_on_condition", | ||
"id": "EOC_PYROKIN_CRYSTAL_DRAINING", | ||
"condition": { "u_has_item": "matrix_crystal_pyrokinesis" }, | ||
"effect": [ | ||
{ "u_consume_item": "matrix_crystal_pyrokinesis", "count": 1 }, | ||
{ "u_spawn_item": "matrix_crystal_drained", "suppress_message": true } | ||
] | ||
}, | ||
{ | ||
"type": "effect_on_condition", | ||
"id": "EOC_TELEKIN_CRYSTAL_DRAINING", | ||
"condition": { "u_has_item": "matrix_crystal_telekinesis" }, | ||
"effect": [ | ||
{ "u_consume_item": "matrix_crystal_telekinesis", "count": 1 }, | ||
{ "u_spawn_item": "matrix_crystal_drained", "suppress_message": true } | ||
] | ||
}, | ||
{ | ||
"type": "effect_on_condition", | ||
"id": "EOC_TELEPATH_CRYSTAL_DRAINING", | ||
"condition": { "u_has_item": "matrix_crystal_telepathy" }, | ||
"effect": [ | ||
{ "u_consume_item": "matrix_crystal_telepathy", "count": 1 }, | ||
{ "u_spawn_item": "matrix_crystal_drained", "suppress_message": true } | ||
] | ||
}, | ||
{ | ||
"type": "effect_on_condition", | ||
"id": "EOC_TELEPORT_CRYSTAL_DRAINING", | ||
"condition": { "u_has_item": "matrix_crystal_teleportation" }, | ||
"effect": [ | ||
{ "u_consume_item": "matrix_crystal_teleportation", "count": 1 }, | ||
{ "u_spawn_item": "matrix_crystal_drained", "suppress_message": true } | ||
] | ||
}, | ||
{ | ||
"type": "effect_on_condition", | ||
"id": "EOC_VITAKIN_CRYSTAL_DRAINING", | ||
"condition": { "u_has_item": "matrix_crystal_vitakinesis" }, | ||
"effect": [ | ||
{ "u_consume_item": "matrix_crystal_vitakinesis", "count": 1 }, | ||
{ "u_spawn_item": "matrix_crystal_drained", "suppress_message": true } | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 58 additions & 0 deletions
58
data/mods/MindOverMatter/effectoncondition/eoc_matrix_power_boosts.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
[ | ||
{ | ||
"type": "effect_on_condition", | ||
"id": "EOC_BIOKIN_MATRIX_BOOST", | ||
"eoc_type": "EVENT", | ||
"required_event": "opens_spellbook", | ||
"condition": { "and": [ { "u_has_trait": "BIOKINETIC" }, { "u_has_wielded_with_flag": "MATRIX_CRYSTAL_BIOKINESIS" } ] }, | ||
"effect": [ { "math": [ "u_val('spell_level_adjustment', 'school: BIOKINETIC')", "=", "4" ] } ] | ||
}, | ||
{ | ||
"type": "effect_on_condition", | ||
"id": "EOC_CLAIR_MATRIX_BOOST", | ||
"eoc_type": "EVENT", | ||
"required_event": "opens_spellbook", | ||
"condition": { "and": [ { "u_has_trait": "CLAIRSENTIENT" }, { "u_has_wielded_with_flag": "MATRIX_CRYSTAL_CLAIRSENTIENCE" } ] }, | ||
"effect": [ { "math": [ "u_val('spell_level_adjustment', 'school: CLAIRSENTIENT')", "=", "4" ] } ] | ||
}, | ||
{ | ||
"type": "effect_on_condition", | ||
"id": "EOC_PYRO_MATRIX_BOOST", | ||
"eoc_type": "EVENT", | ||
"required_event": "opens_spellbook", | ||
"condition": { "and": [ { "u_has_trait": "PYROKINETIC" }, { "u_has_wielded_with_flag": "MATRIX_CRYSTAL_PYROKINESIS" } ] }, | ||
"effect": [ { "math": [ "u_val('spell_level_adjustment', 'school: PYROKINETIC')", "=", "4" ] } ] | ||
}, | ||
{ | ||
"type": "effect_on_condition", | ||
"id": "EOC_TELEKIN_MATRIX_BOOST", | ||
"eoc_type": "EVENT", | ||
"required_event": "opens_spellbook", | ||
"condition": { "and": [ { "u_has_trait": "TELEKINETIC" }, { "u_has_wielded_with_flag": "MATRIX_CRYSTAL_TELEKINESIS" } ] }, | ||
"effect": [ { "math": [ "u_val('spell_level_adjustment', 'school: TELEKINETIC')", "=", "4" ] } ] | ||
}, | ||
{ | ||
"type": "effect_on_condition", | ||
"id": "EOC_TEEP_MATRIX_BOOST", | ||
"eoc_type": "EVENT", | ||
"required_event": "opens_spellbook", | ||
"condition": { "and": [ { "u_has_trait": "TELEPATH" }, { "u_has_wielded_with_flag": "MATRIX_CRYSTAL_TELEPATHY" } ] }, | ||
"effect": [ { "math": [ "u_val('spell_level_adjustment', 'school: TELEPATH')", "=", "4" ] } ] | ||
}, | ||
{ | ||
"type": "effect_on_condition", | ||
"id": "EOC_TELEPORT_MATRIX_BOOST", | ||
"eoc_type": "EVENT", | ||
"required_event": "opens_spellbook", | ||
"condition": { "and": [ { "u_has_trait": "TELEPORTER" }, { "u_has_wielded_with_flag": "MATRIX_CRYSTAL_TELEPORTATION" } ] }, | ||
"effect": [ { "math": [ "u_val('spell_level_adjustment', 'school: TELEPORTER')", "=", "4" ] } ] | ||
}, | ||
{ | ||
"type": "effect_on_condition", | ||
"id": "EOC_VITAKIN_MATRIX_BOOST", | ||
"eoc_type": "EVENT", | ||
"required_event": "opens_spellbook", | ||
"condition": { "and": [ { "u_has_trait": "VITAKINETIC" }, { "u_has_wielded_with_flag": "MATRIX_CRYSTAL_VITAKINESIS" } ] }, | ||
"effect": [ { "math": [ "u_val('spell_level_adjustment', 'school: VITAKINETIC')", "=", "4" ] } ] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
[ | ||
{ | ||
"id": "MATRIX_CRYSTAL_BIOKINESIS", | ||
"type": "json_flag", | ||
"info": "This is a matrix crystal attuned to biokinesis." | ||
}, | ||
{ | ||
"id": "MATRIX_CRYSTAL_CLAIRSENTIENCE", | ||
"type": "json_flag", | ||
"info": "This is a matrix crystal attuned to clairsentience." | ||
}, | ||
{ | ||
"id": "MATRIX_CRYSTAL_PYROKINESIS", | ||
"type": "json_flag", | ||
"info": "This is a matrix crystal attuned to pyrokinesis." | ||
}, | ||
{ | ||
"id": "MATRIX_CRYSTAL_TELEKINESIS", | ||
"type": "json_flag", | ||
"info": "This is a matrix crystal attuned to telekinesis." | ||
}, | ||
{ | ||
"id": "MATRIX_CRYSTAL_TELEPATHY", | ||
"type": "json_flag", | ||
"info": "This is a matrix crystal attuned to telepathy." | ||
}, | ||
{ | ||
"id": "MATRIX_CRYSTAL_TELEPORTATION", | ||
"type": "json_flag", | ||
"info": "This is a matrix crystal attuned to teleportation." | ||
}, | ||
{ | ||
"id": "MATRIX_CRYSTAL_VITAKINESIS", | ||
"type": "json_flag", | ||
"info": "This is a matrix crystal attuned to vitakinesis." | ||
}, | ||
{ | ||
"id": "MATRIX_CRYSTAL_CORUSCATING", | ||
"type": "json_flag", | ||
"info": "This is a matrix crystal with an unclear attunement." | ||
} | ||
] |