Skip to content

Commit

Permalink
[Xedra Evolved] More Lilin powers (#77269)
Browse files Browse the repository at this point in the history
* Initial commit

* Add more powers

* Fix n_vitamin

* Add the Evil Eye

* Duration edits, increase ruach cost of Reap the Whirlwind

* Fix math

* Cry of the Night Bird reduces speed by percentage, not flat number

* Those who have the evil eye are immune to the evil eye

* Add Owl's Wisdom

* Update xe_lilin.json

* Add The Pestilence that Stalks in Darkness

* Add Stand Before the Cold

* Add more abilities

* Various updates

* Increase cost of Neither Sleep nor Slumber

* Add strix to dictionary

* Fix typos

* Fix ruach cost
  • Loading branch information
Standing-Storm authored Oct 30, 2024
1 parent e48fae3 commit 2536c10
Show file tree
Hide file tree
Showing 13 changed files with 1,196 additions and 43 deletions.
87 changes: 83 additions & 4 deletions data/mods/Xedra_Evolved/effects/effects.json
Original file line number Diff line number Diff line change
Expand Up @@ -904,12 +904,13 @@
"name": [ "Evil Eye" ],
"desc": [ "Something is definitely wrong." ],
"rating": "bad",
"immune_flags": [ "EVIL_EYE_IMMUNE", "EVIL_EYE_IMMUNE_MONSTER" ],
"show_in_info": true,
"max_intensity": 5,
"show_intensity": false,
"base_mods": {
"hit_mod": [ -3 ],
"dodge_mod": [ -4 ],
"hit_mod": [ -2 ],
"dodge_mod": [ -2 ],
"per_mod": [ -2 ],
"health_chance": [ 20 ],
"health_tick": [ 30 ],
Expand Down Expand Up @@ -2306,8 +2307,15 @@
},
{
"type": "effect_type",
"id": "effect_lilin_temmporary_glorious",
"//": "Hidden effects, tracking whether you have EOC_LILIN_TEMPORARY_GLORIOUS active",
"id": "effect_lilin_temporary_glorious",
"//": "Hidden effects, tracking whether you have EOC_LILIN_TEMPORARY_GLORIOUS active.",
"name": [ "" ],
"desc": [ "" ]
},
{
"type": "effect_type",
"id": "effect_lilin_bonus_healing_active",
"//": "Hidden effects, tracking whether you have LILIN_BONUS_HEALING_ACTIVE active.",
"name": [ "" ],
"desc": [ "" ]
},
Expand Down Expand Up @@ -2460,5 +2468,76 @@
{ "limb_score": "vision", "modifier": 1.5 }
],
"flags": [ "EFFECT_LIMB_SCORE_MOD" ]
},
{
"type": "effect_type",
"id": "effect_lilin_aoe_daze",
"name": [ "Disoriented" ],
"desc": [ { "str": "A loud noise fueled by a curse has sent you reeling." } ],
"rating": "bad",
"max_duration": "5 m",
"base_mods": { "hit_mod": [ -1 ], "dodge_mod": [ -2 ] },
"show_in_info": true,
"enchantments": [ { "values": [ { "value": "SPEED", "multiply": -0.15 } ] } ]
},
{
"type": "effect_type",
"id": "effect_lilin_supernatural_disease",
"name": [ "Miasma" ],
"desc": [ { "str": "You are infected by a supernatural disease." } ],
"rating": "bad",
"max_duration": "5 h",
"base_mods": { "hit_mod": [ -1 ], "dodge_mod": [ -2 ] },
"show_in_info": true,
"enchantments": [
{
"values": [
{ "value": "SPEED", "multiply": -0.1 },
{ "value": "ARMOR_ALL", "multiply": 0.05 },
{ "value": "VISION_RANGE", "multiply": -0.15 },
{ "value": "REGEN_HP", "multiply": -0.5 }
]
}
],
"limb_score_mods": [
{ "limb_score": "balance", "modifier": 0.8 },
{ "limb_score": "breathing", "modifier": 0.75 },
{ "limb_score": "lift", "modifier": 0.75 },
{ "limb_score": "grip", "modifier": 0.6 },
{ "limb_score": "reaction", "modifier": 0.85 },
{ "limb_score": "block", "modifier": 0.8 },
{ "limb_score": "vision", "modifier": 0.85 }
],
"flags": [ "EFFECT_LIMB_SCORE_MOD" ]
},
{
"type": "effect_type",
"id": "effect_lilin_supernatural_disease_focused",
"name": [ "Devouring Plague" ],
"desc": [ { "str": "You are infected by a supernatural disease." } ],
"rating": "bad",
"max_duration": "5 m",
"base_mods": { "hit_mod": [ -2 ], "dodge_mod": [ -4 ] },
"show_in_info": true,
"enchantments": [
{
"values": [
{ "value": "SPEED", "multiply": -0.25 },
{ "value": "ARMOR_ALL", "multiply": 0.1 },
{ "value": "VISION_RANGE", "multiply": -0.35 },
{ "value": "REGEN_HP", "multiply": -0.95 }
]
}
],
"limb_score_mods": [
{ "limb_score": "balance", "modifier": 0.6 },
{ "limb_score": "breathing", "modifier": 0.5 },
{ "limb_score": "lift", "modifier": 0.65 },
{ "limb_score": "grip", "modifier": 0.6 },
{ "limb_score": "reaction", "modifier": 0.65 },
{ "limb_score": "block", "modifier": 0.5 },
{ "limb_score": "vision", "modifier": 0.55 }
],
"flags": [ "EFFECT_LIMB_SCORE_MOD" ]
}
]
9 changes: 9 additions & 0 deletions data/mods/Xedra_Evolved/flags.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,14 @@
"id": "BLESSED_WEAPON",
"type": "json_flag",
"info": "This weapon does <good>extra damage</good> against creatures of the <info>Nether</info>."
},
{
"id": "EVIL_EYE_IMMUNE",
"type": "json_flag",
"info": "You are immune to the evil eye."
},
{
"id": "EVIL_EYE_IMMUNE_MONSTER",
"type": "monster_flag"
}
]
3 changes: 2 additions & 1 deletion data/mods/Xedra_Evolved/monsters/elementals.json
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,8 @@
"NO_BREATHE",
"NOGIB",
"PLASTIC",
"HIT_AND_RUN"
"HIT_AND_RUN",
"EVIL_EYE_IMMUNE_MONSTER"
]
}
]
22 changes: 12 additions & 10 deletions data/mods/Xedra_Evolved/monsters/monster.json
Original file line number Diff line number Diff line change
Expand Up @@ -234,16 +234,18 @@
"copy-from": "mon_flaming_eye",
"type": "MONSTER",
"name": { "str": "flaming eye" },
"special_attacks": [
{ "type": "spell", "id": "stare_att", "spell_data": { "id": "stare" }, "monster_message": "", "cooldown": 12 },
{
"type": "spell",
"id": "evil_att",
"spell_data": { "id": "mon_flaming_eye_evil_spell", "min_level": 1 },
"cooldown": 20,
"monster_message": "%1$s stares at you and you feel a sense of doom!"
}
]
"extend": {
"special_attacks": [
{
"type": "spell",
"id": "evil_att",
"spell_data": { "id": "mon_flaming_eye_evil_spell", "min_level": 1 },
"cooldown": 20,
"monster_message": "%1$s stares at you and you feel a sense of doom!"
}
],
"flags": [ "EVIL_EYE_IMMUNE_MONSTER" ]
}
},
{
"id": "mon_triffid_heart",
Expand Down
29 changes: 29 additions & 0 deletions data/mods/Xedra_Evolved/mutations/mutations.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,35 @@
"description": "Your dreams can change reality.",
"vitamin_rates": [ [ "dream", -8640000 ] ]
},
{
"type": "mutation",
"id": "INFRESIST",
"copy-from": "INFRESIST",
"extend": { "category": [ "LILIN" ] }
},
{
"type": "mutation",
"id": "INFIMMUNE",
"copy-from": "INFIMMUNE",
"extend": { "category": [ "LILIN" ] }
},
{
"type": "mutation",
"id": "DEFT",
"copy-from": "DEFT",
"extend": { "category": [ "LILIN" ] }
},
{
"type": "mutation",
"id": "GENERIC_UNCANNY_DODGE_TRAIT",
"name": { "str": "The Trait That Gives you Uncanny Dodge" },
"description": "The Uncanny Dodge flag only works on traits or bionics, so this is a trait for powers that grant it.",
"points": 1,
"starting_trait": false,
"purifiable": false,
"player_display": false,
"flags": [ "UNCANNY_DODGE" ]
},
{
"type": "mutation",
"id": "VAMPIRE",
Expand Down
58 changes: 57 additions & 1 deletion data/mods/Xedra_Evolved/mutations/temporary.json
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@
"id": "TURN_INTO_OWL_TRAITS",
"name": { "str": "Owl Form" },
"points": 98,
"description": "You are am owl. This provides the actual effects of owl form. Should not be player-visible.",
"description": "You are an owl. This provides the actual effects of owl form. Should not be player-visible.",
"starting_trait": false,
"purifiable": false,
"valid": false,
Expand Down Expand Up @@ -333,6 +333,62 @@
"//2": "override below is because apparently we have no owls in the game",
"override_look": { "id": "mon_albino_penguin", "tile_category": "monster" }
},
{
"type": "mutation",
"id": "LILIN_WAR_OWL_FORM_TRAITS",
"name": { "str": "Strix Form" },
"points": 98,
"ugliness": 30,
"visibility": 30,
"description": "You are in strix form. This provides the actual effects of strix form. Should not be player-visible.",
"starting_trait": false,
"purifiable": false,
"valid": false,
"player_display": false,
"//": "The second enchantment, as well as bodytemp modifiers, takes into account the effects of the mutations added by the first enchantment, whose own enchantments do not transfer over due to bug #74994. If that bug is fixed, it can be deleted.",
"bodytemp_modifiers": [ 500, 1200 ],
"enchantments": [
{
"condition": "ALWAYS",
"values": [
{ "value": "MAX_HP", "multiply": 1.25 },
{ "value": "SPEED", "multiply": 0.1 },
{ "value": "STRENGTH", "add": 2 },
{ "value": "DEXTERITY", "add": 6 },
{ "value": "PERCEPTION", "add": 6 },
{ "value": "NIGHT_VIS", "add": 8 },
{ "value": "CRAFTING_SPEED_MULTIPLIER", "multiply": -0.6 }
],
"skills": [ { "value": "dodge", "add": 4 }, { "value": "unarmed", "add": 1 } ],
"mutations": [ "BEAK", "BIRD_EYE", "BIRD_LEGS", "DOWN", "EAGLEEYED", "HOLLOW_BONES", "LIGHTEATER", "SCREECH", "WINGS_BIRD" ]
},
{
"condition": "ALWAYS",
"values": [
{ "value": "PERCEPTION", "add": 4 },
{ "value": "BODYTEMP_SLEEP", "add": 0.5 },
{ "value": "OVERMAP_SIGHT", "add": 4 },
{ "value": "METABOLISM", "multiply": -0.2 },
{ "value": "EXTRA_BASH", "multiply": 0.8 },
{ "value": "MOVE_COST", "multiply": -0.2 },
{ "value": "ATTACK_SPEED", "multiply": -0.2 },
{ "value": "CARRY_WEIGHT", "multiply": -0.1 },
{ "value": "SOCIAL_INTIMIDATE", "add": 10 },
{ "value": "SOCIAL_LIE", "add": -20 },
{ "value": "SOCIAL_PERSUADE", "add": -10 }
]
}
],
"attacks": {
"attack_text_u": "You rip into %s with your beak!",
"attack_text_npc": "%1$s rips into %2$s with their beak!",
"body_part": "mouth",
"chance": 15,
"strength_damage": { "damage_type": "cut", "amount": 3 }
},
"flags": [ "TEMPORARY_SHAPESHIFT", "SHAPESHIFT_SIZE_LARGE", "WINGS_2", "WING_GLIDE" ],
"integrated_armor": [ "integrated_feathers", "integrated_talons" ]
},
{
"type": "mutation",
"id": "TURN_INTO_RAVEN_TRAITS",
Expand Down
Loading

0 comments on commit 2536c10

Please sign in to comment.