Skip to content

Commit

Permalink
Fix coruscating not draining on use
Browse files Browse the repository at this point in the history
  • Loading branch information
Standing-Storm committed Jul 10, 2023
1 parent 6fac4ab commit b3a81bb
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,14 @@
{ "u_consume_item": "matrix_crystal_vitakinesis", "count": 1 },
{ "u_spawn_item": "matrix_crystal_drained", "suppress_message": true }
]
},
{
"type": "effect_on_condition",
"id": "EOC_CORUSCATING_CRYSTAL_DRAINING",
"condition": { "u_has_item": "matrix_crystal_coruscating" },
"effect": [
{ "u_consume_item": "matrix_crystal_coruscating", "count": 1 },
{ "u_spawn_item": "matrix_crystal_drained", "suppress_message": true }
]
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -417,16 +417,19 @@
{
"type": "effect_on_condition",
"id": "EOC_CORUSCATING_MATRIX",
"effect": {
"weighted_list_eocs": [
[ "EOC_BIOKIN_MATRIX_AWAKENING_3", { "const": 1 } ],
[ "EOC_CLAIR_MATRIX_AWAKENING_3", { "const": 1 } ],
[ "EOC_PYROKIN_MATRIX_AWAKENING_3", { "const": 1 } ],
[ "EOC_TELEKIN_MATRIX_AWAKENING_3", { "const": 1 } ],
[ "EOC_TEEP_MATRIX_AWAKENING_3", { "const": 1 } ],
[ "EOC_TELEPORT_MATRIX_AWAKENING_3", { "const": 1 } ],
[ "EOC_VITAKIN_MATRIX_AWAKENING_3", { "const": 1 } ]
]
}
"effect": [
{ "queue_eocs": "EOC_CORUSCATING_CRYSTAL_DRAINING", "time_in_future": "1 seconds" },
{
"weighted_list_eocs": [
[ "EOC_BIOKIN_MATRIX_AWAKENING_3", { "const": 1 } ],
[ "EOC_CLAIR_MATRIX_AWAKENING_3", { "const": 1 } ],
[ "EOC_PYROKIN_MATRIX_AWAKENING_3", { "const": 1 } ],
[ "EOC_TELEKIN_MATRIX_AWAKENING_3", { "const": 1 } ],
[ "EOC_TEEP_MATRIX_AWAKENING_3", { "const": 1 } ],
[ "EOC_TELEPORT_MATRIX_AWAKENING_3", { "const": 1 } ],
[ "EOC_VITAKIN_MATRIX_AWAKENING_3", { "const": 1 } ]
]
}
]
}
]
2 changes: 1 addition & 1 deletion data/mods/MindOverMatter/items/matrix_crystals.json
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@
{
"type": "TOOL",
"id": "matrix_crystal_coruscating",
"name": { "str_sp": "strange crystal" },
"name": { "str_sp": "strange crystal, coruscating" },
"description": "A strange-looking, surprisingly-heavy crystal. In total darkness, multicolored lights churn and swirl within its depths.",
"copy-from": "matrix_crystal_biokinesis",
"color": "brown",
Expand Down

0 comments on commit b3a81bb

Please sign in to comment.