Skip to content

Commit ef211f2

Browse files
authored
Initial commit (#83290)
2 parents 7b53e4f + 65a5b3a commit ef211f2

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

data/mods/MindOverMatter/effectoncondition/eoc_portal_storm_effects.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,25 @@
3333
[ "EOC_PORTAL_TAUNT", 1 ],
3434
[ "EOC_PORTAL_SHIFTING_MASS", 1 ],
3535
[ "EOC_PORTAL_ARTIFACT_WEAK", 1 ],
36+
[ "EOC_PORTAL_CONSCIOUSNESS_BLIP", 1 ],
3637
[ "EOC_PORTAL_TEMPORARY_TEARS_IN_REALITY", 1 ]
3738
]
3839
}
3940
]
4041
},
42+
{
43+
"type": "effect_on_condition",
44+
"id": "EOC_PORTAL_CONSCIOUSNESS_BLIP",
45+
"//": "Simulates your consciousness being interrupted by the portal storm for a variable length of time (max six seconds)",
46+
"condition": { "one_in_chance": 15 },
47+
"effect": [
48+
{ "math": [ "_value = (min( (ps_str * 0.1), 5) + 1)" ] },
49+
{ "u_add_effect": "psi_stunned", "duration": { "math": [ "_value" ] } },
50+
{ "u_assign_activity": "ACT_GENERIC_EOC", "duration": { "math": [ "_value" ] } },
51+
{ "math": [ "u_ire -= 3" ] },
52+
{ "u_message": "Your head tingles and the world suddenly lurches!", "type": "bad" }
53+
]
54+
},
4155
{
4256
"type": "effect_on_condition",
4357
"id": "EOC_PORTAL_TEMPORARY_TEARS_IN_REALITY",

0 commit comments

Comments
 (0)