Skip to content

Commit

Permalink
[Xedra Evolved] Add yet more lilin traits (#77576)
Browse files Browse the repository at this point in the history
* Add Jmath

* Fix trait name

* Add on to formula

* Add efficiency traits

* Add Shattering the Broken Vessels

* Add Smoother than Oil

* Update EoCs for ruach efficiency

* Add Given Sleep to Their Eyes

* Add Like an Unclean Spirit

* Add Eating Drops of Honey

* Eating Meat at Twilight

* Fix name

* Scale back Eating Meat at Twilight thirst values

* Fix single space

* Add Senseless and Without Knowledge

* Add removal EoCs

* Merge

* npc_ -> n_

* Add All Their Days They Eat in Darkness

* Change power name

* Add death EoC processing

* Add Dwelling in Deep Darkness

* Add EoC effects for Dwelling in Deep Darkness

* linting

* Add ruach cost to Dwelling in Deep Darkness

* Fixes

* Add vitamins + kick
  • Loading branch information
Standing-Storm authored Nov 15, 2024
1 parent 36d1e0c commit 64fa49b
Show file tree
Hide file tree
Showing 7 changed files with 794 additions and 52 deletions.
62 changes: 52 additions & 10 deletions data/mods/Xedra_Evolved/effects/effects.json
Original file line number Diff line number Diff line change
Expand Up @@ -2314,22 +2314,38 @@
{
"type": "effect_type",
"id": "effect_lilin_vampire_immune",
"//": "Hidden effects, prevents you from being vampirized",
"//": "Hidden effect, prevents you from being vampirized",
"name": [ "" ],
"desc": [ "" ],
"removes_effects": [ "vampire_virus" ]
},
{
"type": "effect_type",
"id": "effect_gained_lilin_power",
"//": "Hidden effects, prevents you from gaining more lilin powers too quickly",
"//": "Hidden effect, prevents you from gaining more lilin powers too quickly",
"name": [ "" ],
"desc": [ "" ]
},
{
"type": "effect_type",
"id": "effect_lilin_temporary_glorious",
"//": "Hidden effects, tracking whether you have EOC_LILIN_TEMPORARY_GLORIOUS active.",
"//": "Hidden effect, tracking whether you have EOC_LILIN_TEMPORARY_GLORIOUS active.",
"name": [ "" ],
"desc": [ "" ]
},
{
"type": "effect_type",
"id": "lilit_prevent_death_escape",
"//": "Hidden effect, allows you to get away after turning into an owl.",
"name": [ "" ],
"desc": [ "" ],
"removes_effects": [ "grabbed", "downed" ],
"enchantments": [ { "values": [ { "value": "EVASION", "add": 0.55 } ] } ]
},
{
"type": "effect_type",
"id": "lilit_prevent_death_cooldown",
"//": "Hidden effect, used to prevent Their Worm Shall Not Die from activating multiple times back to back",
"name": [ "" ],
"desc": [ "" ]
},
Expand Down Expand Up @@ -2480,13 +2496,13 @@
"desc": [ "Now they will know why they fear the night." ],
"rating": "good",
"limb_score_mods": [
{ "limb_score": "balance", "modifier": 1.2 },
{ "limb_score": "breathing", "modifier": 1.5 },
{ "limb_score": "lift", "modifier": 1.25 },
{ "limb_score": "grip", "modifier": 1.25 },
{ "limb_score": "reaction", "modifier": 1.35 },
{ "limb_score": "block", "modifier": 1.3 },
{ "limb_score": "vision", "modifier": 1.5 }
{ "limb_score": "balance", "modifier": 1.1 },
{ "limb_score": "breathing", "modifier": 1.3 },
{ "limb_score": "lift", "modifier": 1.1 },
{ "limb_score": "grip", "modifier": 1.15 },
{ "limb_score": "reaction", "modifier": 1.2 },
{ "limb_score": "block", "modifier": 1.1 },
{ "limb_score": "vision", "modifier": 1.35 }
],
"flags": [ "EFFECT_LIMB_SCORE_MOD" ]
},
Expand Down Expand Up @@ -2526,6 +2542,15 @@
],
"removes_effects": [ "grabbed", "bleed" ]
},
{
"type": "effect_type",
"id": "effect_lilin_mesmerize_tracker",
"name": [ "Mesmerized" ],
"desc": [ "You are in a daze." ],
"apply_message": "",
"remove_message": "You snap out of your trance.",
"show_in_info": true
},
{
"type": "effect_type",
"id": "effect_lilin_aoe_daze",
Expand Down Expand Up @@ -2596,5 +2621,22 @@
{ "limb_score": "vision", "modifier": 0.55 }
],
"flags": [ "EFFECT_LIMB_SCORE_MOD" ]
},
{
"type": "effect_type",
"id": "effect_lilin_owl_form_pass_through_walls",
"//": "Allows owl form lilin with the appropriate traits to fly through walls and avoid attacks",
"name": [ "" ],
"desc": [ "" ],
"enchantments": [
{
"condition": { "u_has_trait": "TURN_INTO_OWL_TRAITS" },
"values": [ { "value": "EVASION", "add": { "math": [ "0.4 + (u_vitamin('lilin_ruach_vitamin') / 18000)" ] } } ]
},
{
"condition": { "and": [ { "u_has_trait": "TURN_INTO_OWL_TRAITS" }, { "not": "is_day" } ] },
"values": [ { "value": "PHASE_DISTANCE", "add": 1 } ]
}
]
}
]
13 changes: 13 additions & 0 deletions data/mods/Xedra_Evolved/jmath.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,5 +149,18 @@
"id": "selkie_has_weather_mastery",
"num_args": 0,
"return": "1 + (u_has_trait('SELKIE_CHANGE_WEATHER_MASTER') * 1.5)"
},
{
"type": "jmath_function",
"id": "lilin_has_ruach_efficiency",
"num_args": 0,
"return": "1 - min( ( (u_has_trait('LILIN_RUACH_EFFICIENCY') * 0.15) + (u_has_trait('LILIN_RUACH_EFFICIENCY_UPGRADE') * 0.15) + ( u_has_trait('LILIN_RUACH_EFFICIENCY_UPGRADE') * max( ( (u_vitamin('lilin_ruach_vitamin') - 3500 ) / 12000 ), 0) ) ), 0.33)"
},
{
"type": "jmath_function",
"id": "lilin_has_ruach_efficiency_beta",
"//": "For use when the lilit is the beta talker of the spell EoC, such as when it's targeting someone else",
"num_args": 0,
"return": "1 - min( ( (n_has_trait('LILIN_RUACH_EFFICIENCY') * 0.15) + (n_has_trait('LILIN_RUACH_EFFICIENCY_UPGRADE') * 0.15) + ( n_has_trait('LILIN_RUACH_EFFICIENCY_UPGRADE') * max( ( (n_vitamin('lilin_ruach_vitamin') - 3500 ) / 12000 ), 0) ) ), 0.33)"
}
]
Loading

0 comments on commit 64fa49b

Please sign in to comment.