Skip to content

Commit 993b0a3

Browse files
committed
'", "*=", "'->' *= '
1 parent bd54ded commit 993b0a3

File tree

14 files changed

+57
-57
lines changed

14 files changed

+57
-57
lines changed

data/json/effects_on_condition/misc_effect_on_condition.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@
284284
"u_effect_duration('bile_irritant') > 0 ? u_effect_duration('bile_irritant') + 120 + rand(90) : 240 + rand(180)"
285285
]
286286
},
287-
{ "math": [ "MORALE_MULTIPLIER", "*=", "u_has_trait('SQUEAMISH') ? 4 : 2" ] },
287+
{ "math": [ "MORALE_MULTIPLIER *= u_has_trait('SQUEAMISH') ? 4 : 2" ] },
288288
{ "u_add_effect": "bile_irritant", "duration": { "global_val": "BILE_IRRITANT_DURATION" } }
289289
]
290290
},

data/json/monster_special_attacks/spells.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@
670670
"condition": { "not": { "u_has_worn_with_flag": "PORTAL_PROOF" } },
671671
"effect": [
672672
{ "math": [ "u_val('sleepiness') = min(u_val('sleepiness') + ps_str + 20, 1200)" ] },
673-
{ "math": [ "u_val('stamina')", "*=", "ps_str + 50" ] },
673+
{ "math": [ "u_val('stamina') *= ps_str + 50" ] },
674674
{ "math": [ "u_sleep_deprivation += time('1 minutes')" ] }
675675
]
676676
},

data/json/npcs/exodii/netherum/labyrinth_computers.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"text": "[ Prick yourself on the needle ]",
8080
"topic": "COMP_LS_Passcode_Door4blood",
8181
"effect": [
82-
{ "math": [ "u_vitamin('blood')", "*=", "0.75" ] },
82+
{ "math": [ "u_vitamin('blood') *= 0.75" ] },
8383
{ "math": [ "npc_LS_door_requests += 1" ] },
8484
{ "run_eocs": [ "EOC_LS_ReallyUnlock" ] }
8585
]

data/mods/Magiclysm/Spells/attunements/Blood_Mage.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@
8888
{
8989
"switch": { "math": [ "u_preshift_size" ] },
9090
"cases": [
91-
{ "case": 1, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "12" ] } ] },
92-
{ "case": 2, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "6" ] } ] },
93-
{ "case": 3, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "2" ] } ] },
94-
{ "case": 4, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "1.5" ] } ] },
91+
{ "case": 1, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 12" ] } ] },
92+
{ "case": 2, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 6" ] } ] },
93+
{ "case": 3, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 2" ] } ] },
94+
{ "case": 4, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 1.5" ] } ] },
9595
{ "case": 5, "effect": [ ] }
9696
]
9797
},

data/mods/Magiclysm/Spells/biomancer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -508,10 +508,10 @@
508508
{
509509
"switch": { "math": [ "u_preshift_size" ] },
510510
"cases": [
511-
{ "case": 1, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "12" ] } ] },
512-
{ "case": 2, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "6" ] } ] },
513-
{ "case": 3, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "2" ] } ] },
514-
{ "case": 4, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "1.5" ] } ] },
511+
{ "case": 1, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 12" ] } ] },
512+
{ "case": 2, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 6" ] } ] },
513+
{ "case": 3, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 2" ] } ] },
514+
{ "case": 4, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 1.5" ] } ] },
515515
{ "case": 5, "effect": [ ] }
516516
]
517517
},

data/mods/Magiclysm/effect_on_conditions/transformations.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -81,18 +81,18 @@
8181
{
8282
"switch": { "math": [ "u_preshift_size" ] },
8383
"cases": [
84-
{ "case": 1, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "12" ] } ] },
84+
{ "case": 1, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 12" ] } ] },
8585
{
8686
"case": 2,
87-
"effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "6" ] } ]
87+
"effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 6" ] } ]
8888
},
8989
{
9090
"case": 3,
91-
"effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "2" ] } ]
91+
"effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 2" ] } ]
9292
},
9393
{
9494
"case": 4,
95-
"effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "1.5" ] } ]
95+
"effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 1.5" ] } ]
9696
},
9797
{ "case": 5, "effect": [ ] }
9898
]
@@ -198,8 +198,8 @@
198198
{ "case": 1, "effect": [ { "math": [ "u_calories() /= 4" ] } ] },
199199
{ "case": 2, "effect": [ { "math": [ "u_calories() /= 2" ] } ] },
200200
{ "case": 3, "effect": [ ] },
201-
{ "case": 4, "effect": [ { "math": [ "u_calories()", "*=", "1.5" ] } ] },
202-
{ "case": 5, "effect": [ { "math": [ "u_calories()", "*=", "3" ] } ] }
201+
{ "case": 4, "effect": [ { "math": [ "u_calories() *= 1.5" ] } ] },
202+
{ "case": 5, "effect": [ { "math": [ "u_calories() *= 3" ] } ] }
203203
]
204204
},
205205
{ "run_eocs": "EOC_SHAPESHIFTING_ARMOR_CHECK_SUBSUME_INTO_FORM" },
@@ -241,8 +241,8 @@
241241
{
242242
"switch": { "math": [ "u_preshift_size" ] },
243243
"cases": [
244-
{ "case": 1, "effect": [ { "math": [ "u_calories()", "*=", "4" ] } ] },
245-
{ "case": 2, "effect": [ { "math": [ "u_calories()", "*=", "2" ] } ] },
244+
{ "case": 1, "effect": [ { "math": [ "u_calories() *= 4" ] } ] },
245+
{ "case": 2, "effect": [ { "math": [ "u_calories() *= 2" ] } ] },
246246
{ "case": 3, "effect": [ ] },
247247
{ "case": 4, "effect": [ { "math": [ "u_calories() /= 1.5" ] } ] },
248248
{ "case": 5, "effect": [ { "math": [ "u_calories() /= 3" ] } ] }
@@ -304,11 +304,11 @@
304304
{ "case": 3, "effect": [ ] },
305305
{
306306
"case": 4,
307-
"effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "1.5" ] } ]
307+
"effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 1.5" ] } ]
308308
},
309309
{
310310
"case": 5,
311-
"effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "3" ] } ]
311+
"effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 3" ] } ]
312312
}
313313
]
314314
},
@@ -346,10 +346,10 @@
346346
{
347347
"switch": { "math": [ "u_preshift_size" ] },
348348
"cases": [
349-
{ "case": 1, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "4" ] } ] },
349+
{ "case": 1, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 4" ] } ] },
350350
{
351351
"case": 2,
352-
"effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "2" ] } ]
352+
"effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 2" ] } ]
353353
},
354354
{ "case": 3, "effect": [ ] },
355355
{
@@ -468,19 +468,19 @@
468468
{ "case": 1, "effect": [ ] },
469469
{
470470
"case": 2,
471-
"effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "2" ] } ]
471+
"effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 2" ] } ]
472472
},
473473
{
474474
"case": 3,
475-
"effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "4" ] } ]
475+
"effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 4" ] } ]
476476
},
477477
{
478478
"case": 4,
479-
"effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "6" ] } ]
479+
"effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 6" ] } ]
480480
},
481481
{
482482
"case": 5,
483-
"effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "10" ] } ]
483+
"effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 10" ] } ]
484484
}
485485
]
486486
},

data/mods/Magiclysm/items/enchanted_cloaks.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@
5959
"switch": { "math": [ "u_preshift_size" ] },
6060
"cases": [
6161
{ "case": 1, "effect": [ ] },
62-
{ "case": 2, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "2" ] } ] },
63-
{ "case": 3, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "4" ] } ] },
64-
{ "case": 4, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "6" ] } ] },
65-
{ "case": 5, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "10" ] } ] }
62+
{ "case": 2, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 2" ] } ] },
63+
{ "case": 3, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 4" ] } ] },
64+
{ "case": 4, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 6" ] } ] },
65+
{ "case": 5, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 10" ] } ] }
6666
]
6767
}
6868
]
@@ -107,10 +107,10 @@
107107
{
108108
"switch": { "math": [ "u_preshift_size" ] },
109109
"cases": [
110-
{ "case": 1, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "12" ] } ] },
111-
{ "case": 2, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "6" ] } ] },
112-
{ "case": 3, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "2" ] } ] },
113-
{ "case": 4, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "1.5" ] } ] },
110+
{ "case": 1, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 12" ] } ] },
111+
{ "case": 2, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 6" ] } ] },
112+
{ "case": 3, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 2" ] } ] },
113+
{ "case": 4, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 1.5" ] } ] },
114114
{ "case": 5, "effect": [ ] }
115115
]
116116
}
@@ -178,8 +178,8 @@
178178
{ "case": 1, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true) /= 4" ] } ] },
179179
{ "case": 2, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true) /= 2" ] } ] },
180180
{ "case": 3, "effect": [ ] },
181-
{ "case": 4, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "1.5" ] } ] },
182-
{ "case": 5, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "3" ] } ] }
181+
{ "case": 4, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 1.5" ] } ] },
182+
{ "case": 5, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 3" ] } ] }
183183
]
184184
}
185185
]
@@ -194,8 +194,8 @@
194194
{
195195
"switch": { "math": [ "u_preshift_size" ] },
196196
"cases": [
197-
{ "case": 1, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "4" ] } ] },
198-
{ "case": 2, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "2" ] } ] },
197+
{ "case": 1, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 4" ] } ] },
198+
{ "case": 2, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 2" ] } ] },
199199
{ "case": 3, "effect": [ ] },
200200
{ "case": 4, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true) /= 1.5" ] } ] },
201201
{ "case": 5, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true) /= 3" ] } ] }

data/mods/Xedra_Evolved/eocs/shapeshifter_eocs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
"effect": [
201201
{ "u_assign_activity": "ACT_GENERIC_EOC", "duration": 1.5 },
202202
{ "math": [ "u_val('mana') -= 20" ] },
203-
{ "math": [ "u_calories('dont_affect_weariness': true)", "*=", "3" ] },
203+
{ "math": [ "u_calories('dont_affect_weariness': true) *= 3" ] },
204204
{ "math": [ "u_werewolf_healing_tick_counter = 0" ] },
205205
{ "run_eocs": "EOC_SHAPESHIFTING_ARMOR_CHECK_SUBSUME_INTO_FORM" },
206206
{ "u_add_trait": "WEREWOLF_HYBRID_FORM_TRAITS" },

data/mods/Xedra_Evolved/items/comestibles/goblin_fruits.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -422,10 +422,10 @@
422422
{
423423
"switch": { "math": [ "u_preshift_size" ] },
424424
"cases": [
425-
{ "case": 1, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "12" ] } ] },
426-
{ "case": 2, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "6" ] } ] },
427-
{ "case": 3, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "2" ] } ] },
428-
{ "case": 4, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true)", "*=", "1.5" ] } ] },
425+
{ "case": 1, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 12" ] } ] },
426+
{ "case": 2, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 6" ] } ] },
427+
{ "case": 3, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 2" ] } ] },
428+
{ "case": 4, "effect": [ { "math": [ "u_calories('dont_affect_weariness': true) *= 1.5" ] } ] },
429429
{ "case": 5, "effect": [ ] }
430430
]
431431
},

data/mods/Xedra_Evolved/mutations/playable_changeling_eocs.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,7 +1210,7 @@
12101210
"effect": [
12111211
{ "u_assign_activity": "ACT_GENERIC_EOC", "duration": 2.5 },
12121212
{ "u_lose_trait": "ECHOLOCATION" },
1213-
{ "math": [ "u_calories()", "*=", "4" ] },
1213+
{ "math": [ "u_calories() *= 4" ] },
12141214
{ "u_lose_trait": "VAMPIRE_BAT_FORM_TRAITS" },
12151215
{
12161216
"u_message": "Your body shifts and your fingers separate as you return to your previous form.",
@@ -1271,7 +1271,7 @@
12711271
"condition": { "u_has_trait": "TURN_INTO_RAVEN_TRAITS" },
12721272
"effect": [
12731273
{ "u_assign_activity": "ACT_GENERIC_EOC", "duration": 2.5 },
1274-
{ "math": [ "u_calories()", "*=", "4" ] },
1274+
{ "math": [ "u_calories() *= 4" ] },
12751275
{ "u_lose_trait": "TURN_INTO_RAVEN_TRAITS" },
12761276
{
12771277
"u_message": "Your body shifts and your feathers vanish as you return to your previous form.",
@@ -1310,7 +1310,7 @@
13101310
{ "u_assign_activity": "ACT_GENERIC_EOC", "duration": 2.5 },
13111311
{ "run_eocs": "EOC_SHAPESHIFTING_ARMOR_CHECK_SUBSUME_INTO_FORM" },
13121312
{ "u_add_trait": "TURN_INTO_BEAR_TRAITS" },
1313-
{ "math": [ "u_calories()", "*=", "3" ] },
1313+
{ "math": [ "u_calories() *= 3" ] },
13141314
{
13151315
"u_message": "Your body shifts and expands as fur sprouts from your skin and your mouth and teeth lengthen.",
13161316
"type": "good"

0 commit comments

Comments
 (0)