From f1d317fecd84db5ffee62d1ac528895c0f205899 Mon Sep 17 00:00:00 2001 From: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com> Date: Fri, 20 Sep 2024 23:24:13 -0500 Subject: [PATCH] [Xedra Evolved] Add more pooka changeling traits (#76503) * Initial commit * Initial commit * Initial commit * Update data/mods/Xedra_Evolved/mutations/playable_changeling_eocs.json Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Linting * Add traits * Add EoCs * Add Tail Sting * Update playable_changeling.json * Update playable_changeling_eocs.json * More traits * Fix parentheses * Add final shapeshift traits * Add missing bat form choice EoC * Add missing mana deactivations * Wolf form has tough feet, fix spell * Fix weird speed bug * langauge -> language * bfore -> before --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .../Xedra_Evolved/items/armor/integrated.json | 25 + data/mods/Xedra_Evolved/jmath.json | 2 +- .../Xedra_Evolved/mutations/mutations.json | 4 +- .../mutations/playable_changeling.json | 513 +++++++++++++- .../mutations/playable_changeling_eocs.json | 664 +++++++++++++++++- .../Xedra_Evolved/mutations/temporary.json | 142 +++- .../spells/changeling_spells.json | 33 + tools/spell_checker/dictionary.txt | 2 + 8 files changed, 1372 insertions(+), 13 deletions(-) diff --git a/data/mods/Xedra_Evolved/items/armor/integrated.json b/data/mods/Xedra_Evolved/items/armor/integrated.json index 4d80f1b49f715..3c3655ec118a9 100644 --- a/data/mods/Xedra_Evolved/items/armor/integrated.json +++ b/data/mods/Xedra_Evolved/items/armor/integrated.json @@ -907,5 +907,30 @@ "encumbrance": 0 } ] + }, + { + "id": "integrated_antlers", + "type": "ARMOR", + "category": "armor", + "name": { "str_sp": "deer antlers" }, + "description": "You have a majestic crown of antlers.", + "weight": "2000 g", + "volume": "2500 ml", + "price": "0 cent", + "price_postapoc": "0 cent", + "material": [ "bone" ], + "symbol": "V", + "color": "dark_gray", + "flags": [ "INTEGRATED", "ALLOWS_NATURAL_ATTACKS", "UNBREAKABLE", "AURA", "PADDED", "NO_SALVAGE" ], + "armor": [ + { + "material": [ { "type": "bone", "covered_by_mat": 100, "thickness": 3 } ], + "covers": [ "head" ], + "specifically_covers": [ "head_crown" ], + "coverage": 20, + "encumbrance": 2 + } + ], + "melee_damage": { "bash": 6 } } ] diff --git a/data/mods/Xedra_Evolved/jmath.json b/data/mods/Xedra_Evolved/jmath.json index a3399190d5894..603201ad52f86 100644 --- a/data/mods/Xedra_Evolved/jmath.json +++ b/data/mods/Xedra_Evolved/jmath.json @@ -142,6 +142,6 @@ "type": "jmath_function", "id": "pooka_shapeshift_traits", "num_args": 0, - "return": "u_has_trait('ANTLERS') + u_has_trait('LUPINE_EARS') + u_has_trait('CLAWS') + u_has_trait('CLAWS_ST') + u_has_trait('TAIL_FLUFFY') + u_has_trait('TAIL_LONG')" + "return": "u_has_trait('ANTLERS') + u_has_trait('HORNS_CURLED') + u_has_trait('LUPINE_EARS') + u_has_trait('FELINE_EARS') + u_has_trait('CLAWS') + u_has_trait('CLAWS_ST') + u_has_trait('WINGS_BIRD') + u_has_trait('URSINE_FUR') + u_has_trait('CHITIN2') + u_has_trait('POOKA_QUADRUPED_TRAITS') + u_has_trait('LEAPING_LEGS') + u_has_trait('TAIL_FLUFFY') + u_has_trait('TAIL_LONG')" } ] diff --git a/data/mods/Xedra_Evolved/mutations/mutations.json b/data/mods/Xedra_Evolved/mutations/mutations.json index 3f41c087fdce5..7149bc2003080 100644 --- a/data/mods/Xedra_Evolved/mutations/mutations.json +++ b/data/mods/Xedra_Evolved/mutations/mutations.json @@ -667,7 +667,7 @@ ] }, { - "condition": { "and": [ { "u_has_flag": "QUADRUPED_CROUCH" }, { "u_has_flag": "QUADRUPED_RUN" }, { "not": "u_can_drop_weapon" } ] }, + "condition": { "and": [ { "not": "u_can_drop_weapon" } ] }, "values": [ { "value": "MOVE_COST", "multiply": -0.15 } ], "ench_effects": [ { "effect": "natural_stance", "intensity": 1 }, { "effect": "quadruped_full", "intensity": 1 } ] }, @@ -677,7 +677,7 @@ "values": [ { "value": "MELEE_DAMAGE", "multiply": -1 }, { "value": "RANGE", "multiply": -1 } ] } ], - "flags": [ "MUTE", "PRED3", "QUADRUPED_CROUCH", "QUADRUPED_RUN", "TEMPORARY_SHAPESHIFT" ], + "flags": [ "MUTE", "PRED3", "QUADRUPED_CROUCH", "QUADRUPED_RUN", "TOUGH_FEET", "TEMPORARY_SHAPESHIFT" ], "override_look": { "id": "mon_wolf", "tile_category": "monster" }, "integrated_armor": [ "integrated_fangs", "integrated_lupine_fur" ] }, diff --git a/data/mods/Xedra_Evolved/mutations/playable_changeling.json b/data/mods/Xedra_Evolved/mutations/playable_changeling.json index b628006f79c73..f1c1c5e3a48ba 100644 --- a/data/mods/Xedra_Evolved/mutations/playable_changeling.json +++ b/data/mods/Xedra_Evolved/mutations/playable_changeling.json @@ -198,18 +198,36 @@ "copy-from": "STR_UP_3", "extend": { "category": [ "FAIR_FOLK_COMMONER_TROW" ], "threshreq": [ "THRESH_FAIR_FOLK_COMMONER_TROW" ] } }, + { + "type": "mutation", + "id": "STR_UP_4", + "copy-from": "STR_UP_4", + "extend": { "category": [ "FAIR_FOLK_COMMONER_TROW" ], "threshreq": [ "THRESH_FAIR_FOLK_COMMONER_TROW" ] } + }, { "type": "mutation", "id": "DEX_UP_3", "copy-from": "DEX_UP_3", "extend": { "category": [ "FAIR_FOLK_COMMONER_BROWNIE" ], "threshreq": [ "THRESH_FAIR_FOLK_COMMONER_BROWNIE" ] } }, + { + "type": "mutation", + "id": "DEX_UP_4", + "copy-from": "DEX_UP_4", + "extend": { "category": [ "FAIR_FOLK_COMMONER_BROWNIE" ], "threshreq": [ "THRESH_FAIR_FOLK_COMMONER_BROWNIE" ] } + }, { "type": "mutation", "id": "PER_UP_3", "copy-from": "PER_UP_3", "extend": { "category": [ "FAIR_FOLK_COMMONER_POOKA" ], "threshreq": [ "THRESH_FAIR_FOLK_COMMONER_POOKA" ] } }, + { + "type": "mutation", + "id": "PER_UP_4", + "copy-from": "PER_UP_4", + "extend": { "category": [ "FAIR_FOLK_COMMONER_POOKA" ], "threshreq": [ "THRESH_FAIR_FOLK_COMMONER_POOKA" ] } + }, { "type": "mutation", "id": "DISRESISTANT", @@ -468,6 +486,26 @@ "category": [ "FAIR_FOLK_COMMONER_BROWNIE" ], "integrated_armor": [ "integrated_brownie_fur" ] }, + { + "type": "mutation", + "id": "PER_UP_BROWNIE", + "name": { "str": "Seneschal's Gaze" }, + "points": 3, + "description": "With a few quick glances you can take in the contents of an entire room. +3 Perception.", + "prereqs": [ "PARACLESIAN_INT_PER_1", "PARACLESIAN_INT_PER_2" ], + "category": [ "FAIR_FOLK_COMMONER_BROWNIE" ], + "enchantments": [ { "values": [ { "value": "PERCEPTION", "add": 3 } ] } ] + }, + { + "type": "mutation", + "id": "INT_UP_BROWNIE", + "name": { "str": "Chatelain's Mind" }, + "points": 2, + "description": "It takes a keen mind to keep a household running smoothly. +2 Intelligence.", + "prereqs": [ "PARACLESIAN_INT_PER_1", "PARACLESIAN_INT_PER_2" ], + "category": [ "FAIR_FOLK_COMMONER_BROWNIE" ], + "enchantments": [ { "values": [ { "value": "INTELLIGENCE", "add": 2 } ] } ] + }, { "type": "mutation", "id": "BROWNIE_HOMEBODY", @@ -516,6 +554,16 @@ "threshreq": [ "THRESH_FAIR_FOLK_COMMONER_BROWNIE" ], "spells_learned": [ [ "changeling_teleport_home_spell", 1 ] ] }, + { + "type": "mutation", + "id": "POOKA_CHARM_ANIMALS", + "name": { "str": "Friend to Birds and Beasts" }, + "points": 3, + "description": "You are close enough to the birds and beasts that you can speak their language and ask them for aid.", + "prereqs": [ "ANIMALEMPATH2" ], + "category": [ "FAIR_FOLK_COMMONER_POOKA" ], + "spells_learned": [ [ "changeling_pooka_charm_animals_spell", 1 ] ] + }, { "type": "mutation", "id": "POOKA_ANTLERS", @@ -529,6 +577,47 @@ "processed_eocs": [ "EOC_POOKA_SHAPESHIFTING_MANA_CHECK" ], "deactivated_eocs": [ "EOC_POOKA_ANTLERS_OFF" ] }, + { + "type": "mutation", + "id": "POOKA_HORNS", + "name": { "str": "Curled Horns (Shapeshift)" }, + "points": 2, + "description": "Grow a set of spiraling curled horns, allowing you to make a headbutt attack but preventing you from wearing a helmet.", + "category": [ "FAIR_FOLK_COMMONER_POOKA" ], + "active": true, + "activated_is_setup": true, + "activated_eocs": [ "EOC_POOKA_HORNS_ON" ], + "processed_eocs": [ "EOC_POOKA_SHAPESHIFTING_MANA_CHECK" ], + "deactivated_eocs": [ "EOC_POOKA_HORNS_OFF" ] + }, + { + "type": "mutation", + "id": "POOKA_FANGS", + "name": { "str": "Fangs (Shapeshift)" }, + "points": 2, + "description": "Grow a set of sharp fangs, allowing you to make a bite attack.", + "category": [ "FAIR_FOLK_COMMONER_POOKA" ], + "changes_to": [ "POOKA_SABER_TEETH" ], + "active": true, + "activated_is_setup": true, + "activated_eocs": [ "EOC_POOKA_FANGS_ON" ], + "processed_eocs": [ "EOC_POOKA_SHAPESHIFTING_MANA_CHECK" ], + "deactivated_eocs": [ "EOC_POOKA_FANGS_OFF" ] + }, + { + "type": "mutation", + "id": "POOKA_SABER_TEETH", + "name": { "str": "Vicious Fangs (Shapeshift)" }, + "points": 2, + "description": "Grow a set of long, saber-like fangs, preventing you from wearing mouth gear but allowing you to make rending bite attacks.", + "category": [ "FAIR_FOLK_COMMONER_POOKA" ], + "prereqs": [ "POOKA_FANGS" ], + "active": true, + "activated_is_setup": true, + "activated_eocs": [ "EOC_POOKA_SABER_TEETH_ON" ], + "processed_eocs": [ "EOC_POOKA_SHAPESHIFTING_MANA_CHECK" ], + "deactivated_eocs": [ "EOC_POOKA_SABER_TEETH_OFF" ] + }, { "type": "mutation", "id": "POOKA_WOLF_EARS", @@ -542,6 +631,19 @@ "processed_eocs": [ "EOC_POOKA_SHAPESHIFTING_MANA_CHECK" ], "deactivated_eocs": [ "EOC_POOKA_WOLF_EARS_OFF" ] }, + { + "type": "mutation", + "id": "POOKA_FELINE_EARS", + "name": { "str": "Feline Ears (Shapeshift)" }, + "points": 2, + "description": "Change your ears into the ears of a great cat, granting you increased hearing.", + "category": [ "FAIR_FOLK_COMMONER_POOKA" ], + "active": true, + "activated_is_setup": true, + "activated_eocs": [ "EOC_POOKA_FELINE_EARS_ON" ], + "processed_eocs": [ "EOC_POOKA_SHAPESHIFTING_MANA_CHECK" ], + "deactivated_eocs": [ "EOC_POOKA_FELINE_EARS_OFF" ] + }, { "type": "mutation", "id": "POOKA_CLAWS", @@ -549,6 +651,7 @@ "points": 2, "description": "Grow a set of claws, improving your unarmed damage if you aren't wearing gloves.", "category": [ "FAIR_FOLK_COMMONER_POOKA" ], + "changes_to": [ "POOKA_STAINLESS_CLAWS" ], "active": true, "activated_is_setup": true, "activated_eocs": [ "EOC_POOKA_CLAWS_ON" ], @@ -559,15 +662,111 @@ "type": "mutation", "id": "POOKA_STAINLESS_CLAWS", "name": { "str": "Vicious Claws (Shapeshift)" }, - "points": 2, + "points": 4, "description": "Grow a powerful set of claws, nearly as hard as steel, greatly improving your unarmed damage if you aren't wearing gloves.", "category": [ "FAIR_FOLK_COMMONER_POOKA" ], + "prereqs": [ "POOKA_CLAWS" ], "active": true, "activated_is_setup": true, "activated_eocs": [ "EOC_POOKA_STAINLESS_CLAWS_ON" ], "processed_eocs": [ "EOC_POOKA_SHAPESHIFTING_MANA_CHECK" ], "deactivated_eocs": [ "EOC_POOKA_STAINLESS_CLAWS_OFF" ] }, + { + "type": "mutation", + "id": "POOKA_BIRD_WINGS", + "name": { "str": "Bird Wings (Shapeshift)" }, + "points": 2, + "description": "Transform your arms into bird wings, allow you to slow your fall when jumping from a high place and glide short distances.", + "category": [ "FAIR_FOLK_COMMONER_POOKA" ], + "active": true, + "activated_is_setup": true, + "activated_eocs": [ "EOC_POOKA_BIRD_WINGS_ON" ], + "processed_eocs": [ "EOC_POOKA_SHAPESHIFTING_MANA_CHECK" ], + "deactivated_eocs": [ "EOC_POOKA_BIRD_WINGS_OFF" ] + }, + { + "type": "mutation", + "id": "POOKA_URSINE_FUR", + "name": { "str": "Thick Fur (Shapeshift)" }, + "points": 2, + "description": "Grow a coat of thick fur, keeping you warm in the winter and protecting you from attacks.", + "category": [ "FAIR_FOLK_COMMONER_POOKA" ], + "active": true, + "activated_is_setup": true, + "activated_eocs": [ "EOC_POOKA_URSINE_FUR_ON" ], + "processed_eocs": [ "EOC_POOKA_SHAPESHIFTING_MANA_CHECK" ], + "deactivated_eocs": [ "EOC_POOKA_URSINE_FUR_OFF" ] + }, + { + "type": "mutation", + "id": "POOKA_CHITIN", + "name": { "str": "Chitin Carapace (Shapeshift)" }, + "points": 2, + "description": "Grow an armored suit of chitin, protecting you and making your punches hit harder.", + "category": [ "FAIR_FOLK_COMMONER_POOKA" ], + "active": true, + "activated_is_setup": true, + "activated_eocs": [ "EOC_POOKA_CHITIN_ON" ], + "processed_eocs": [ "EOC_POOKA_SHAPESHIFTING_MANA_CHECK" ], + "deactivated_eocs": [ "EOC_POOKA_CHITIN_OFF" ] + }, + { + "type": "mutation", + "id": "POOKA_QUADRUPED", + "name": { "str": "Quadruped (Shapeshift)" }, + "points": 2, + "description": "Grow paws and animal-like legs, allowing you to run much faster on all fours, but preventing you from wearing shoes or gloves.", + "category": [ "FAIR_FOLK_COMMONER_POOKA" ], + "active": true, + "activated_is_setup": true, + "activated_eocs": [ "EOC_POOKA_QUADRUPED_ON" ], + "processed_eocs": [ "EOC_POOKA_SHAPESHIFTING_MANA_CHECK" ], + "deactivated_eocs": [ "EOC_POOKA_QUADRUPED_OFF" ] + }, + { + "//": "The existing quadruped mutations check for thresholds so we need this custom one.", + "type": "mutation", + "id": "POOKA_QUADRUPED_TRAITS", + "name": { "str": "Quadruped" }, + "points": 2, + "visibility": 8, + "ugliness": 6, + "description": "Your arms, hands, and legs are animal-like, allowing you to move quickly when running on all fours, but preventing you from wearing shoes or gloves.", + "category": [ "FAIR_FOLK_COMMONER_POOKA" ], + "restricts_gear": [ "foot_l", "foot_r", "hand_l", "hand_r" ], + "triggers": [ + [ + { + "condition": { "and": [ { "u_has_move_mode": "crouch" }, { "not": "u_can_drop_weapon" } ] }, + "msg_on": { "text": "You drop down on all fours." }, + "msg_off": { "text": "You come out of your quadrupedal posture." } + } + ] + ], + "enchantments": [ + { + "condition": { + "and": [ { "or": [ { "u_has_move_mode": "crouch" }, { "u_has_move_mode": "run" } ] }, { "not": "u_can_drop_weapon" } ] + }, + "values": [ { "value": "MOVE_COST", "multiply": -0.5 }, { "value": "CARRY_WEIGHT", "multiply": 0.35 } ], + "ench_effects": [ { "effect": "natural_stance", "intensity": 1 }, { "effect": "quadruped_full", "intensity": 1 } ] + } + ] + }, + { + "type": "mutation", + "id": "POOKA_LEAPING_LEGS", + "name": { "str": "Leaping Legs (Shapeshift)" }, + "points": 2, + "description": "Grow strong frog- or cat-like legs, allowing you to leap great distances.", + "category": [ "FAIR_FOLK_COMMONER_POOKA" ], + "active": true, + "activated_is_setup": true, + "activated_eocs": [ "EOC_POOKA_LEAPING_LEGS_ON" ], + "processed_eocs": [ "EOC_POOKA_SHAPESHIFTING_MANA_CHECK" ], + "deactivated_eocs": [ "EOC_POOKA_LEAPING_LEGS_OFF" ] + }, { "type": "mutation", "id": "POOKA_WOLF_TAIL", @@ -594,6 +793,318 @@ "processed_eocs": [ "EOC_POOKA_SHAPESHIFTING_MANA_CHECK" ], "deactivated_eocs": [ "EOC_POOKA_TAIL_LONG_OFF" ] }, + { + "type": "mutation", + "id": "POOKA_TAIL_STING", + "name": { "str": "Spiked Tail (Shapeshift)" }, + "points": 2, + "description": "Grow the tail of a scorpion, making it harder to wear pants but allowing you to attack with the stinger.", + "category": [ "FAIR_FOLK_COMMONER_POOKA" ], + "active": true, + "activated_is_setup": true, + "activated_eocs": [ "EOC_POOKA_TAIL_STING_ON" ], + "processed_eocs": [ "EOC_POOKA_SHAPESHIFTING_MANA_CHECK" ], + "deactivated_eocs": [ "EOC_POOKA_TAIL_STING_OFF" ] + }, + { + "type": "mutation", + "id": "STR_UP_POOKA", + "name": { "str": "Bestial Strength" }, + "points": 2, + "description": "Even when not shapeshifted you can bring part of a wild animal's strength to bear. +2 Strength.", + "prereqs": [ "PARACLESIAN_STR_DEX_1", "PARACLESIAN_STR_DEX_2" ], + "category": [ "FAIR_FOLK_COMMONER_POOKA" ], + "enchantments": [ { "values": [ { "value": "STRENGTH", "add": 2 } ] } ] + }, + { + "type": "mutation", + "id": "DEX_UP_POOKA", + "name": { "str": "Untamed Agility" }, + "points": 3, + "description": "You have the quick reactions of a wild animal. +3 Dexterity.", + "prereqs": [ "PARACLESIAN_STR_DEX_1", "PARACLESIAN_STR_DEX_2" ], + "category": [ "FAIR_FOLK_COMMONER_POOKA" ], + "enchantments": [ { "values": [ { "value": "DEXTERITY", "add": 3 } ] } ] + }, + { + "type": "mutation", + "id": "POOKA_SHAPESHIFT_GOOD", + "name": { "str": "Initiate of Forms" }, + "points": 2, + "description": "You are getting better at shapeshifting and are able to maintain one more simultaneous shapeshift without drawing on your mana.", + "changes_to": [ "POOKA_SHAPESHIFT_GOOD2" ], + "category": [ "FAIR_FOLK_COMMONER_POOKA" ] + }, + { + "type": "mutation", + "id": "POOKA_SHAPESHIFT_GOOD2", + "name": { "str": "Adept of Forms" }, + "points": 4, + "description": "You are getting much better at shapeshifting and are able to maintain two more simultaneous shapeshifts without drawing on your mana.", + "prereqs": [ "POOKA_SHAPESHIFT_GOOD" ], + "changes_to": [ "POOKA_SHAPESHIFT_GOOD3" ], + "category": [ "FAIR_FOLK_COMMONER_POOKA" ] + }, + { + "type": "mutation", + "id": "POOKA_SHAPESHIFT_GOOD3", + "name": { "str": "Master of Forms" }, + "points": 6, + "description": "You are a master of shapeshifting and are able to maintain four more simultaneous shapeshifts without drawing on your mana.", + "prereqs": [ "POOKA_SHAPESHIFT_GOOD2" ], + "category": [ "FAIR_FOLK_COMMONER_POOKA" ], + "threshreq": [ "THRESH_FAIR_FOLK_COMMONER_POOKA" ] + }, + { + "type": "mutation", + "id": "POOKA_SHAPESHIFT_FULL_SELECTOR", + "name": { "str": "Pinnacle of Forms" }, + "points": 6, + "description": "This gives you access to the full shapeshift traits. You should never seen it.", + "prereqs": [ "POOKA_SHAPESHIFT_GOOD2", "POOKA_SHAPESHIFT_GOOD3" ], + "player_display": false, + "category": [ "FAIR_FOLK_COMMONER_POOKA" ], + "threshreq": [ "THRESH_FAIR_FOLK_COMMONER_POOKA" ] + }, + { + "type": "mutation", + "id": "POOKA_SHAPESHIFT_FULL_BAT", + "name": { "str": "Spirit of the Bat" }, + "points": 10, + "description": "You can transform yourself into a bat.", + "purifiable": false, + "valid": false, + "active": true, + "activated_is_setup": true, + "activated_eocs": [ "EOC_POOKA_SHAPESHIFT_FULL_BAT_activated" ], + "processed_eocs": [ "EOC_POOKA_SHAPESHIFT_FULL_PROCESSED" ], + "deactivated_eocs": [ "EOC_POOKA_SHAPESHIFT_FULL_BAT_deactivated" ] + }, + { + "type": "mutation", + "id": "POOKA_SHAPESHIFT_FULL_RAVEN", + "name": { "str": "Spirit of the Raven" }, + "points": 10, + "description": "You can transform yourself into a raven.", + "purifiable": false, + "valid": false, + "active": true, + "activated_is_setup": true, + "activated_eocs": [ "EOC_POOKA_SHAPESHIFT_FULL_RAVEN_activated" ], + "processed_eocs": [ "EOC_POOKA_SHAPESHIFT_FULL_PROCESSED" ], + "deactivated_eocs": [ "EOC_POOKA_SHAPESHIFT_FULL_RAVEN_deactivated" ] + }, + { + "type": "mutation", + "id": "POOKA_SHAPESHIFT_FULL_BEAR", + "name": { "str": "Spirit of the Bear" }, + "points": 10, + "description": "You can transform yourself into a bear.", + "purifiable": false, + "valid": false, + "active": true, + "activated_is_setup": true, + "activated_eocs": [ "EOC_POOKA_SHAPESHIFT_FULL_BEAR_activated" ], + "processed_eocs": [ "EOC_POOKA_SHAPESHIFT_FULL_PROCESSED" ], + "deactivated_eocs": [ "EOC_POOKA_SHAPESHIFT_FULL_BEAR_deactivated" ] + }, + { + "type": "mutation", + "id": "POOKA_SHAPESHIFT_FULL_DEER", + "name": { "str": "Spirit of the Deer" }, + "points": 10, + "description": "You can transform yourself into a deer.", + "purifiable": false, + "valid": false, + "active": true, + "activated_is_setup": true, + "activated_eocs": [ "EOC_POOKA_SHAPESHIFT_FULL_DEER_activated" ], + "processed_eocs": [ "EOC_POOKA_SHAPESHIFT_FULL_PROCESSED" ], + "deactivated_eocs": [ "EOC_POOKA_SHAPESHIFT_FULL_DEER_deactivated" ] + }, + { + "type": "mutation", + "id": "POOKA_SHAPESHIFT_FULL_WOLF", + "name": { "str": "Spirit of the Wolf" }, + "points": 10, + "description": "You can transform yourself into a wolf.", + "purifiable": false, + "valid": false, + "active": true, + "activated_is_setup": true, + "activated_eocs": [ "EOC_POOKA_SHAPESHIFT_FULL_WOLF_activated" ], + "processed_eocs": [ "EOC_POOKA_SHAPESHIFT_FULL_PROCESSED" ], + "deactivated_eocs": [ "EOC_POOKA_SHAPESHIFT_FULL_WOLF_deactivated" ] + }, + { + "type": "mutation", + "id": "POOKA_SHAPESHIFT_FULL_COUGAR", + "name": { "str": "Spirit of the Cougar" }, + "points": 10, + "description": "You can transform yourself into a cougar.", + "purifiable": false, + "valid": false, + "active": true, + "activated_is_setup": true, + "activated_eocs": [ "EOC_POOKA_SHAPESHIFT_FULL_COUGAR_activated" ], + "processed_eocs": [ "EOC_POOKA_SHAPESHIFT_FULL_PROCESSED" ], + "deactivated_eocs": [ "EOC_POOKA_SHAPESHIFT_FULL_COUGAR_deactivated" ] + }, + { + "type": "mutation", + "id": "POOKA_UNARMED_ATTACK_BONUSES", + "name": { "str": "Instinctive Attacks" }, + "points": 3, + "description": "You're getting used to moving and reacting like an animal. When without weapons or armor and using your gifts of shapeshifting, your natural attacks do more damage.", + "prereqs": [ "POOKA_ANTLERS", "POOKA_HORNS", "POOKA_FANGS", "POOKA_SABER_TEETH" ], + "prereqs2": [ "POOKA_CLAWS", "POOKA_STAINLESS_CLAWS", "POOKA_TAIL_STING" ], + "category": [ "FAIR_FOLK_COMMONER_POOKA" ], + "enchantments": [ + { + "condition": { + "and": [ + { "not": "u_can_drop_weapon" }, + { "not": { "u_has_worn_with_flag": "STURDY" } }, + { + "u_has_any_trait": [ "ANTLERS", "HORNS_CURLED", "FANGS", "SABER_TEETH", "CLAWS", "CLAWS_ST", "TAIL_STING" ] + }, + { + "not": { + "u_has_any_trait": [ + "VAMPIRE_BAT_FORM_TRAITS", + "TURN_INTO_RAVEN_TRAITS", + "TURN_INTO_BEAR_TRAITS", + "TURN_INTO_DEER_TRAITS", + "VAMPIRE_WOLF_FORM_TRAITS", + "TURN_INTO_COUGAR_TRAITS" + ] + } + } + ] + }, + "values": [ + { + "value": "MELEE_DAMAGE", + "multiply": { "math": [ "0.1 + (u_sum_traits_of_category_char_has('FAIR_FOLK_COMMONER_POOKA') * 0.01)" ] } + } + ] + } + ] + }, + { + "type": "mutation", + "id": "POOKA_UNARMED_DODGE_BONUSES", + "name": { "str": "Animalistic Defense" }, + "points": 5, + "description": "The best defense is not getting hit, especially if you're a wild animal. When using your shapeshifting and not wearing armor or using a weapon, you gain a bonus to your dodging.", + "prereqs": [ "POOKA_UNARMED_ATTACK_BONUSES" ], + "category": [ "FAIR_FOLK_COMMONER_POOKA" ], + "enchantments": [ + { + "condition": { + "and": [ + { "not": "u_can_drop_weapon" }, + { "not": { "u_has_worn_with_flag": "STURDY" } }, + { + "u_has_any_trait": [ + "ANTLERS", + "HORNS_CURLED", + "FANGS", + "SABER_TEETH", + "CLAWS", + "CLAWS_ST", + "WINGS_BIRD", + "URSINE_FUR", + "CHITIN2", + "POOKA_QUADRUPED_TRAITS", + "TAIL_FLUFFY", + "TAIL_LONG" + ] + }, + { + "not": { + "u_has_any_trait": [ + "VAMPIRE_BAT_FORM_TRAITS", + "TURN_INTO_RAVEN_TRAITS", + "TURN_INTO_BEAR_TRAITS", + "TURN_INTO_DEER_TRAITS", + "VAMPIRE_WOLF_FORM_TRAITS", + "TURN_INTO_COUGAR_TRAITS" + ] + } + } + ] + }, + "values": [ + { + "value": "BONUS_DODGE", + "add": { "math": [ "min( (1 + (u_sum_traits_of_category_char_has('FAIR_FOLK_COMMONER_POOKA') * 0.1)),4)" ] } + }, + { + "value": "DODGE_CHANCE", + "add": { "math": [ "min( (2 + (u_sum_traits_of_category_char_has('FAIR_FOLK_COMMONER_POOKA') * 0.25) ),12)" ] } + } + ] + } + ] + }, + { + "type": "mutation", + "id": "POOKA_SPEED_BONUSES", + "name": { "str": "Primal Alacrity" }, + "points": 3, + "description": "Like the animals you mimic, you're quicker than you seem. You gain a speed bonus while shapeshifted as long as you're unarmed and unarmored.", + "prereqs": [ "POOKA_UNARMED_ATTACK_BONUSES" ], + "prereqs2": [ "WINGS_BIRD", "POOKA_LEAPING_LEGS", "POOKA_QUADRUPED", "TAIL_FLUFFY", "TAIL_LONG" ], + "category": [ "FAIR_FOLK_COMMONER_POOKA" ], + "enchantments": [ + { + "condition": { + "and": [ + { "not": "u_can_drop_weapon" }, + { "not": { "u_has_worn_with_flag": "STURDY" } }, + { + "u_has_any_trait": [ + "ANTLERS", + "HORNS_CURLED", + "FANGS", + "SABER_TEETH", + "CLAWS", + "CLAWS_ST", + "WINGS_BIRD", + "URSINE_FUR", + "CHITIN2", + "TAIL_FLUFFY", + "TAIL_LONG" + ] + }, + { + "not": { + "u_has_any_trait": [ + "VAMPIRE_BAT_FORM_TRAITS", + "TURN_INTO_RAVEN_TRAITS", + "TURN_INTO_BEAR_TRAITS", + "TURN_INTO_DEER_TRAITS", + "VAMPIRE_WOLF_FORM_TRAITS", + "TURN_INTO_COUGAR_TRAITS" + ] + } + } + ] + }, + "values": [ + { + "value": "SPEED", + "add": { + "math": [ + "min( (3 + (u_has_trait('ANTLERS') * 2) + (u_has_trait('HORNS_CURLED') * 2) + (u_has_trait('FANGS') * 2) + (u_has_trait('SABER_TEETH') * 2) + (u_has_trait('CLAWS') * 2) + (u_has_trait('CLAWS_ST') * 2) + (u_has_trait('WINGS_BIRD') * 2) + (u_has_trait('URSINE_FUR') * 2) + (u_has_trait('CHITIN2') * 2) + (u_has_trait('TAIL_FLUFFY') * 2) + (u_has_trait('TAIL_LONG') * 2) ),30)" + ] + } + } + ] + } + ] + }, { "type": "mutation", "id": "SELKIE_BREATHING_WATER", diff --git a/data/mods/Xedra_Evolved/mutations/playable_changeling_eocs.json b/data/mods/Xedra_Evolved/mutations/playable_changeling_eocs.json index dd5d8abb8c042..2fc43d5407083 100644 --- a/data/mods/Xedra_Evolved/mutations/playable_changeling_eocs.json +++ b/data/mods/Xedra_Evolved/mutations/playable_changeling_eocs.json @@ -787,7 +787,11 @@ { "id": "EOC_POOKA_SHAPESHIFTING_MANA_CHECK_2", "condition": { - "math": [ "pooka_shapeshift_traits()", ">=", "2 + (u_sum_traits_of_category_char_has('FAIR_FOLK_COMMONER_POOKA') / 25)" ] + "math": [ + "pooka_shapeshift_traits()", + ">=", + "1 + u_has_trait('POOKA_SHAPESHIFT_GOOD') + (u_has_trait('POOKA_SHAPESHIFT_GOOD2') * 2) + (u_has_trait('POOKA_SHAPESHIFT_GOOD3') * 4) + (u_sum_traits_of_category_char_has('FAIR_FOLK_COMMONER_POOKA') / 50)" + ] }, "effect": [ { "math": [ "u_val('mana')", "--" ] } ] } @@ -804,37 +808,142 @@ "id": "EOC_POOKA_SHAPESHIFTS_REMOVE_deactivate_future", "effect": [ { "u_deactivate_trait": "POOKA_ANTLERS" }, + { "u_deactivate_trait": "POOKA_HORNS" }, + { "u_deactivate_trait": "POOKA_FANGS" }, + { "u_deactivate_trait": "POOKA_SABER_TEETH" }, { "u_deactivate_trait": "POOKA_WOLF_EARS" }, + { "u_deactivate_trait": "POOKA_FELINE_EARS" }, { "u_deactivate_trait": "POOKA_CLAWS" }, { "u_deactivate_trait": "POOKA_STAINLESS_CLAWS" }, + { "u_deactivate_trait": "POOKA_URSINE_FUR" }, + { "u_deactivate_trait": "POOKA_CHITIN" }, + { "u_deactivate_trait": "POOKA_QUADRUPED" }, + { "u_deactivate_trait": "POOKA_LEAPING_LEGS" }, { "u_deactivate_trait": "POOKA_WOLF_TAIL" }, - { "u_deactivate_trait": "POOKA_TAIL_LONG" } + { "u_deactivate_trait": "POOKA_TAIL_LONG" }, + { "u_deactivate_trait": "POOKA_TAIL_STING" } ] }, { "type": "effect_on_condition", "id": "EOC_POOKA_ANTLERS_ON", - "effect": [ { "u_add_trait": "ANTLERS" } ] + "condition": { "not": { "u_has_flag": "TEMPORARY_SHAPESHIFT" } }, + "effect": [ { "u_deactivate_trait": "POOKA_HORNS" }, { "u_add_trait": "ANTLERS" } ], + "false_effect": [ + { + "u_message": "You are in the form of an animal. You must turn back before shapeshifting individual parts of your body.", + "type": "bad" + }, + { "run_eocs": "EOC_POOKA_SHAPESHIFTS_REMOVE_deactivate_future" } + ] }, { "type": "effect_on_condition", "id": "EOC_POOKA_ANTLERS_OFF", "effect": [ { "u_lose_trait": "ANTLERS" } ] }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_HORNS_ON", + "condition": { "not": { "u_has_flag": "TEMPORARY_SHAPESHIFT" } }, + "effect": [ { "u_deactivate_trait": "POOKA_ANTLERS" }, { "u_add_trait": "HORNS_CURLED" } ], + "false_effect": [ + { + "u_message": "You are in the form of an animal. You must turn back before shapeshifting individual parts of your body.", + "type": "bad" + }, + { "run_eocs": "EOC_POOKA_SHAPESHIFTS_REMOVE_deactivate_future" } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_HORNS_OFF", + "effect": [ { "u_lose_trait": "HORNS_CURLED" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_FANGS_ON", + "condition": { "not": { "u_has_flag": "TEMPORARY_SHAPESHIFT" } }, + "effect": [ { "u_add_trait": "FANGS" } ], + "false_effect": [ + { + "u_message": "You are in the form of an animal. You must turn back before shapeshifting individual parts of your body.", + "type": "bad" + }, + { "run_eocs": "EOC_POOKA_SHAPESHIFTS_REMOVE_deactivate_future" } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_FANGS_OFF", + "effect": [ { "u_lose_trait": "FANGS" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_SABER_TEETH_ON", + "condition": { "not": { "u_has_flag": "TEMPORARY_SHAPESHIFT" } }, + "effect": [ { "u_add_trait": "SABER_TEETH" } ], + "false_effect": [ + { + "u_message": "You are in the form of an animal. You must turn back before shapeshifting individual parts of your body.", + "type": "bad" + }, + { "run_eocs": "EOC_POOKA_SHAPESHIFTS_REMOVE_deactivate_future" } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_SABER_TEETH_OFF", + "effect": [ { "u_lose_trait": "SABER_TEETH" } ] + }, { "type": "effect_on_condition", "id": "EOC_POOKA_WOLF_EARS_ON", - "effect": [ { "u_lose_trait": "ELFA_EARS" }, { "u_add_trait": "LUPINE_EARS" } ] + "condition": { "not": { "u_has_flag": "TEMPORARY_SHAPESHIFT" } }, + "effect": [ { "u_lose_trait": "ELFA_EARS" }, { "u_deactivate_trait": "POOKA_FELINE_EARS" }, { "u_add_trait": "LUPINE_EARS" } ], + "false_effect": [ + { + "u_message": "You are in the form of an animal. You must turn back before shapeshifting individual parts of your body.", + "type": "bad" + }, + { "run_eocs": "EOC_POOKA_SHAPESHIFTS_REMOVE_deactivate_future" } + ] }, { "type": "effect_on_condition", "id": "EOC_POOKA_WOLF_EARS_OFF", "effect": [ { "u_lose_trait": "LUPINE_EARS" }, { "u_add_trait": "ELFA_EARS" } ] }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_FELINE_EARS_ON", + "condition": { "not": { "u_has_flag": "TEMPORARY_SHAPESHIFT" } }, + "effect": [ { "u_lose_trait": "ELFA_EARS" }, { "u_deactivate_trait": "POOKA_WOLF_EARS" }, { "u_add_trait": "FELINE_EARS" } ], + "false_effect": [ + { + "u_message": "You are in the form of an animal. You must turn back before shapeshifting individual parts of your body.", + "type": "bad" + }, + { "run_eocs": "EOC_POOKA_SHAPESHIFTS_REMOVE_deactivate_future" } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_FELINE_EARS_OFF", + "effect": [ { "u_lose_trait": "FELINE_EARS" }, { "u_add_trait": "ELFA_EARS" } ] + }, { "type": "effect_on_condition", "id": "EOC_POOKA_CLAWS_ON", - "effect": [ { "u_add_trait": "CLAWS" } ] + "condition": { "not": { "u_has_flag": "TEMPORARY_SHAPESHIFT" } }, + "effect": [ { "u_add_trait": "CLAWS" } ], + "false_effect": [ + { + "u_message": "You are in the form of an animal. You must turn back before shapeshifting individual parts of your body.", + "type": "bad" + }, + { "run_eocs": "EOC_POOKA_SHAPESHIFTS_REMOVE_deactivate_future" } + ] }, { "type": "effect_on_condition", @@ -844,17 +953,127 @@ { "type": "effect_on_condition", "id": "EOC_POOKA_STAINLESS_CLAWS_ON", - "effect": [ { "u_add_trait": "CLAWS_ST" } ] + "condition": { "not": { "u_has_flag": "TEMPORARY_SHAPESHIFT" } }, + "effect": [ { "u_add_trait": "CLAWS_ST" } ], + "false_effect": [ + { + "u_message": "You are in the form of an animal. You must turn back before shapeshifting individual parts of your body.", + "type": "bad" + }, + { "run_eocs": "EOC_POOKA_SHAPESHIFTS_REMOVE_deactivate_future" } + ] }, { "type": "effect_on_condition", "id": "EOC_POOKA_STAINLESS_CLAWS_OFF", "effect": [ { "u_lose_trait": "CLAWS_ST" } ] }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_BIRD_WINGS_ON", + "condition": { "not": { "u_has_flag": "TEMPORARY_SHAPESHIFT" } }, + "effect": [ { "u_add_trait": "WINGS_BIRD" } ], + "false_effect": [ + { + "u_message": "You are in the form of an animal. You must turn back before shapeshifting individual parts of your body.", + "type": "bad" + }, + { "run_eocs": "EOC_POOKA_SHAPESHIFTS_REMOVE_deactivate_future" } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_BIRD_WINGS_OFF", + "effect": [ { "u_lose_trait": "WINGS_BIRD" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_URSINE_FUR_ON", + "condition": { "not": { "u_has_flag": "TEMPORARY_SHAPESHIFT" } }, + "effect": [ { "u_deactivate_trait": "POOKA_CHITIN" }, { "u_add_trait": "URSINE_FUR" } ], + "false_effect": [ + { + "u_message": "You are in the form of an animal. You must turn back before shapeshifting individual parts of your body.", + "type": "bad" + }, + { "run_eocs": "EOC_POOKA_SHAPESHIFTS_REMOVE_deactivate_future" } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_URSINE_FUR_OFF", + "effect": [ { "u_lose_trait": "URSINE_FUR" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_CHITIN_ON", + "condition": { "not": { "u_has_flag": "TEMPORARY_SHAPESHIFT" } }, + "effect": [ { "u_deactivate_trait": "POOKA_URSINE_FUR" }, { "u_add_trait": "CHITIN2" } ], + "false_effect": [ + { + "u_message": "You are in the form of an animal. You must turn back before shapeshifting individual parts of your body.", + "type": "bad" + }, + { "run_eocs": "EOC_POOKA_SHAPESHIFTS_REMOVE_deactivate_future" } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_CHITIN_OFF", + "effect": [ { "u_lose_trait": "CHITIN2" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_QUADRUPED_ON", + "condition": { "not": { "u_has_flag": "TEMPORARY_SHAPESHIFT" } }, + "effect": [ { "u_deactivate_trait": "POOKA_LEAPING_LEGS" }, { "u_add_trait": "POOKA_QUADRUPED_TRAITS" } ], + "false_effect": [ + { + "u_message": "You are in the form of an animal. You must turn back before shapeshifting individual parts of your body.", + "type": "bad" + }, + { "run_eocs": "EOC_POOKA_SHAPESHIFTS_REMOVE_deactivate_future" } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_QUADRUPED_OFF", + "effect": [ { "u_lose_trait": "POOKA_QUADRUPED_TRAITS" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_LEAPING_LEGS_ON", + "condition": { "not": { "u_has_flag": "TEMPORARY_SHAPESHIFT" } }, + "effect": [ { "u_deactivate_trait": "POOKA_QUADRUPED_TRAITS" }, { "u_add_trait": "LEAPING_LEGS" } ], + "false_effect": [ + { + "u_message": "You are in the form of an animal. You must turn back before shapeshifting individual parts of your body.", + "type": "bad" + }, + { "run_eocs": "EOC_POOKA_SHAPESHIFTS_REMOVE_deactivate_future" } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_LEAPING_LEGS_OFF", + "effect": [ { "u_lose_trait": "LEAPING_LEGS" } ] + }, { "type": "effect_on_condition", "id": "EOC_POOKA_WOLF_TAIL_ON", - "effect": [ { "u_deactivate_trait": "POOKA_TAIL_LONG" }, { "u_add_trait": "TAIL_FLUFFY" } ] + "condition": { "not": { "u_has_flag": "TEMPORARY_SHAPESHIFT" } }, + "effect": [ + { "u_deactivate_trait": "POOKA_TAIL_LONG" }, + { "u_deactivate_trait": "POOKA_TAIL_STING" }, + { "u_add_trait": "TAIL_FLUFFY" } + ], + "false_effect": [ + { + "u_message": "You are in the form of an animal. You must turn back before shapeshifting individual parts of your body.", + "type": "bad" + }, + { "run_eocs": "EOC_POOKA_SHAPESHIFTS_REMOVE_deactivate_future" } + ] }, { "type": "effect_on_condition", @@ -864,11 +1083,440 @@ { "type": "effect_on_condition", "id": "EOC_POOKA_TAIL_LONG_ON", - "effect": [ { "u_deactivate_trait": "POOKA_WOLF_TAIL" }, { "u_add_trait": "TAIL_LONG" } ] + "condition": { "not": { "u_has_flag": "TEMPORARY_SHAPESHIFT" } }, + "effect": [ + { "u_deactivate_trait": "POOKA_WOLF_TAIL" }, + { "u_deactivate_trait": "POOKA_TAIL_STING" }, + { "u_add_trait": "TAIL_LONG" } + ], + "false_effect": [ + { + "u_message": "You are in the form of an animal. You must turn back before shapeshifting individual parts of your body.", + "type": "bad" + }, + { "run_eocs": "EOC_POOKA_SHAPESHIFTS_REMOVE_deactivate_future" } + ] }, { "type": "effect_on_condition", "id": "EOC_POOKA_TAIL_LONG_OFF", "effect": [ { "u_lose_trait": "TAIL_LONG" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_TAIL_STING_ON", + "condition": { "not": { "u_has_flag": "TEMPORARY_SHAPESHIFT" } }, + "effect": [ + { "u_deactivate_trait": "POOKA_WOLF_TAIL" }, + { "u_deactivate_trait": "POOKA_TAIL_LONG" }, + { "u_add_trait": "TAIL_STING" } + ], + "false_effect": [ + { + "u_message": "You are in the form of an animal. You must turn back before shapeshifting individual parts of your body.", + "type": "bad" + }, + { "run_eocs": "EOC_POOKA_SHAPESHIFTS_REMOVE_deactivate_future" } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_TAIL_STING_OFF", + "effect": [ { "u_lose_trait": "TAIL_STING" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKIE_GAIN_PINNACLE_OF_FORMS_TRAIT", + "required_event": "gains_mutation", + "eoc_type": "EVENT", + "condition": { "compare_string": [ "POOKA_SHAPESHIFT_FULL_SELECTOR", { "context_val": "trait" } ] }, + "effect": [ + { + "run_eoc_selector": [ + "EOC_POOKIE_GAIN_PINNACLE_OF_FORMS_TRAIT_BAT", + "EOC_POOKIE_GAIN_PINNACLE_OF_FORMS_TRAIT_RAVEN", + "EOC_POOKIE_GAIN_PINNACLE_OF_FORMS_TRAIT_BEAR", + "EOC_POOKIE_GAIN_PINNACLE_OF_FORMS_TRAIT_DEER", + "EOC_POOKIE_GAIN_PINNACLE_OF_FORMS_TRAIT_WOLF", + "EOC_POOKIE_GAIN_PINNACLE_OF_FORMS_TRAIT_COUGAR" + ], + "title": "What form will you be able to assume?", + "names": [ "Bat", "Raven", "Bear", "Deer", "Wolf", "Cougar" ], + "keys": [ "1", "2", "3", "4", "5", "6" ], + "descriptions": [ + "You will be able to assume the form of a bat.", + "You will be able to assume the form of a raven.", + "You will be able to assume the form of a bear.", + "You will be able to assume the form of a deer.", + "You will be able to assume the form of a wolf.", + "You will be able to assume the form of a cougar." + ] + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_SHAPESHIFT_FULL_PROCESSED", + "condition": { "math": [ "u_val('mana')", ">=", "2" ] }, + "effect": [ { "math": [ "u_val('mana')", "-=", "1" ] } ], + "false_effect": [ + { "u_deactivate_trait": "POOKA_SHAPESHIFT_FULL_BAT" }, + { "u_deactivate_trait": "POOKA_SHAPESHIFT_FULL_RAVEN" }, + { "u_deactivate_trait": "POOKA_SHAPESHIFT_FULL_BEAR" }, + { "u_deactivate_trait": "POOKA_SHAPESHIFT_FULL_DEER" }, + { "u_deactivate_trait": "POOKA_SHAPESHIFT_FULL_WOLF" }, + { "u_deactivate_trait": "POOKA_SHAPESHIFT_FULL_COUGAR" } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKIE_GAIN_PINNACLE_OF_FORMS_TRAIT_BAT", + "effect": [ { "u_add_trait": "POOKA_SHAPESHIFT_FULL_BAT" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_SHAPESHIFT_FULL_BAT_activated", + "condition": { "not": { "u_has_trait": "VAMPIRE_BAT_FORM_TRAITS" } }, + "effect": [ + { + "run_eocs": [ + "EOC_POOKA_SHAPESHIFTS_REMOVE_deactivate_future", + { + "id": "EOC_POOKA_SHAPESHIFT_FULL_BAT_activated_2", + "condition": { "math": [ "u_val('mana')", ">=", "2" ] }, + "effect": [ + { "u_assign_activity": "ACT_GENERIC_EOC", "duration": 2.5 }, + { "u_add_trait": "VAMPIRE_BAT_FORM_TRAITS" }, + { "u_add_trait": "ECHOLOCATION" }, + { "math": [ "u_calories()", "/=", "4" ] }, + { + "u_message": "Your fingers lengthen as flaps of skin grow between them and as your legs shorten, you take to the air.", + "type": "good" + } + ], + "false_effect": [ + { "u_message": "You don't have enough mana to transform into a bat.", "type": "bad" }, + { "queue_eocs": "EOC_POOKA_SHAPESHIFT_FULL_BAT_deactivate_future", "time_in_future": 0 } + ] + } + ] + } + ], + "false_effect": [ + { + "run_eocs": [ + { + "id": "EOC_POOKA_SHAPESHIFT_FULL_BAT_deactivated", + "condition": { "u_has_trait": "VAMPIRE_BAT_FORM_TRAITS" }, + "effect": [ + { "u_assign_activity": "ACT_GENERIC_EOC", "duration": 2.5 }, + { "u_lose_trait": "ECHOLOCATION" }, + { "math": [ "u_calories()", "*=", "4" ] }, + { "u_lose_trait": "VAMPIRE_BAT_FORM_TRAITS" }, + { + "u_message": "Your body shifts and your fingers separate as you return to your previous form.", + "type": "neutral" + } + ] + } + ] + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_SHAPESHIFT_FULL_BAT_deactivate_future", + "//": "This is necessary because calling u_deactivate_trait from within the trait EoC does not work", + "effect": { "u_deactivate_trait": "POOKA_SHAPESHIFT_FULL_BAT" } + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKIE_GAIN_PINNACLE_OF_FORMS_TRAIT_RAVEN", + "effect": [ { "u_add_trait": "POOKA_SHAPESHIFT_FULL_RAVEN" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_SHAPESHIFT_FULL_RAVEN_activated", + "condition": { "not": { "u_has_trait": "TURN_INTO_RAVEN_TRAITS" } }, + "effect": [ + { + "run_eocs": [ + "EOC_POOKA_SHAPESHIFTS_REMOVE_deactivate_future", + { + "id": "EOC_POOKA_SHAPESHIFT_FULL_RAVEN_activated_2", + "condition": { "math": [ "u_val('mana')", ">=", "2" ] }, + "effect": [ + { "u_assign_activity": "ACT_GENERIC_EOC", "duration": 2.5 }, + { "u_add_trait": "TURN_INTO_RAVEN_TRAITS" }, + { "math": [ "u_calories()", "/=", "4" ] }, + { + "u_message": "Your body shifts and warps as your fingers extend into wings and feathers burst from your skin as you take to the air.", + "type": "good" + } + ], + "false_effect": [ + { "u_message": "You don't have enough mana to transform into a raven.", "type": "bad" }, + { "queue_eocs": "EOC_POOKA_SHAPESHIFT_FULL_RAVEN_deactivate_future", "time_in_future": 0 } + ] + } + ] + } + ], + "false_effect": [ + { + "run_eocs": [ + { + "id": "EOC_POOKA_SHAPESHIFT_FULL_RAVEN_deactivated", + "condition": { "u_has_trait": "TURN_INTO_RAVEN_TRAITS" }, + "effect": [ + { "u_assign_activity": "ACT_GENERIC_EOC", "duration": 2.5 }, + { "math": [ "u_calories()", "*=", "4" ] }, + { "u_lose_trait": "TURN_INTO_RAVEN_TRAITS" }, + { + "u_message": "Your body shifts and your feathers vanish as you return to your previous form.", + "type": "neutral" + } + ] + } + ] + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_SHAPESHIFT_FULL_RAVEN_deactivate_future", + "//": "This is necessary because calling u_deactivate_trait from within the trait EoC does not work", + "effect": { "u_deactivate_trait": "POOKA_SHAPESHIFT_FULL_RAVEN" } + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKIE_GAIN_PINNACLE_OF_FORMS_TRAIT_BEAR", + "effect": [ { "u_add_trait": "POOKA_SHAPESHIFT_FULL_BEAR" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_SHAPESHIFT_FULL_BEAR_activated", + "condition": { "not": { "u_has_trait": "TURN_INTO_BEAR_TRAITS" } }, + "effect": [ + { + "run_eocs": [ + "EOC_POOKA_SHAPESHIFTS_REMOVE_deactivate_future", + { + "id": "EOC_POOKA_SHAPESHIFT_FULL_BEAR_activated_2", + "condition": { "math": [ "u_val('mana')", ">=", "2" ] }, + "effect": [ + { "u_assign_activity": "ACT_GENERIC_EOC", "duration": 2.5 }, + { "u_add_trait": "TURN_INTO_BEAR_TRAITS" }, + { "math": [ "u_calories()", "*=", "3" ] }, + { + "u_message": "Your body shifts and expands as fur sprouts from your skin and your mouth and teeth lengthen.", + "type": "good" + } + ], + "false_effect": [ + { "u_message": "You don't have enough mana to transform into a bear.", "type": "bad" }, + { "queue_eocs": "EOC_POOKA_SHAPESHIFT_FULL_BEAR_deactivate_future", "time_in_future": 0 } + ] + } + ] + } + ], + "false_effect": [ + { + "run_eocs": [ + { + "id": "EOC_POOKA_SHAPESHIFT_FULL_BEAR_deactivated", + "condition": { "u_has_trait": "TURN_INTO_BEAR_TRAITS" }, + "effect": [ + { "u_assign_activity": "ACT_GENERIC_EOC", "duration": 2.5 }, + { "math": [ "u_calories()", "/=", "3" ] }, + { "u_lose_trait": "TURN_INTO_BEAR_TRAITS" }, + { + "u_message": "Your body shifts and contracts and you return to your humanoid form.", + "type": "neutral" + } + ] + } + ] + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_SHAPESHIFT_FULL_BEAR_deactivate_future", + "//": "This is necessary because calling u_deactivate_trait from within the trait EoC does not work", + "effect": { "u_deactivate_trait": "POOKA_SHAPESHIFT_FULL_BEAR" } + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKIE_GAIN_PINNACLE_OF_FORMS_TRAIT_DEER", + "effect": [ { "u_add_trait": "POOKA_SHAPESHIFT_FULL_DEER" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_SHAPESHIFT_FULL_DEER_activated", + "condition": { "not": { "u_has_trait": "TURN_INTO_DEER_TRAITS" } }, + "effect": [ + { + "run_eocs": [ + "EOC_POOKA_SHAPESHIFTS_REMOVE_deactivate_future", + { + "id": "EOC_POOKA_SHAPESHIFT_FULL_DEER_activated_2", + "condition": { "math": [ "u_val('mana')", ">=", "2" ] }, + "effect": [ + { "u_assign_activity": "ACT_GENERIC_EOC", "duration": 2.5 }, + { "u_add_trait": "TURN_INTO_DEER_TRAITS" }, + { + "u_message": "Your body shifts and warps as your fingers and feet fuse into hooves and majestic antlers sprout from your head.", + "type": "good" + } + ], + "false_effect": [ + { "u_message": "You don't have enough mana to transform into a deer.", "type": "bad" }, + { "queue_eocs": "EOC_POOKA_SHAPESHIFT_FULL_DEER_deactivate_future", "time_in_future": 0 } + ] + } + ] + } + ], + "false_effect": [ + { + "run_eocs": [ + { + "id": "EOC_POOKA_SHAPESHIFT_FULL_DEER_deactivated", + "condition": { "u_has_trait": "TURN_INTO_DEER_TRAITS" }, + "effect": [ + { "u_assign_activity": "ACT_GENERIC_EOC", "duration": 2.5 }, + { "u_lose_trait": "TURN_INTO_DEER_TRAITS" }, + { + "u_message": "Your body shifts and contracts and you return to your humanoid form.", + "type": "neutral" + } + ] + } + ] + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_SHAPESHIFT_FULL_DEER_deactivate_future", + "//": "This is necessary because calling u_deactivate_trait from within the trait EoC does not work", + "effect": { "u_deactivate_trait": "POOKA_SHAPESHIFT_FULL_DEER" } + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKIE_GAIN_PINNACLE_OF_FORMS_TRAIT_WOLF", + "effect": [ { "u_add_trait": "POOKA_SHAPESHIFT_FULL_WOLF" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_SHAPESHIFT_FULL_WOLF_activated", + "condition": { "not": { "u_has_trait": "VAMPIRE_WOLF_FORM_TRAITS" } }, + "effect": [ + { + "run_eocs": [ + "EOC_POOKA_SHAPESHIFTS_REMOVE_deactivate_future", + { + "id": "EOC_POOKA_SHAPESHIFT_FULL_WOLF_activated_2", + "condition": { "math": [ "u_val('mana')", ">=", "2" ] }, + "effect": [ + { "u_assign_activity": "ACT_GENERIC_EOC", "duration": 2.5 }, + { "u_add_trait": "VAMPIRE_WOLF_FORM_TRAITS" }, + { + "u_message": "Your nose pushes out into a muzzle as you fall forward on all fours and let out a snarl.", + "type": "good" + } + ], + "false_effect": [ + { "u_message": "You don't have enough mana to transform into a wolf.", "type": "bad" }, + { "queue_eocs": "EOC_POOKA_SHAPESHIFT_FULL_WOLF_deactivate_future", "time_in_future": 0 } + ] + } + ] + } + ], + "false_effect": [ + { + "run_eocs": [ + { + "id": "EOC_POOKA_SHAPESHIFT_FULL_WOLF_deactivated", + "condition": { "u_has_trait": "VAMPIRE_WOLF_FORM_TRAITS" }, + "effect": [ + { "u_assign_activity": "ACT_GENERIC_EOC", "duration": 2.5 }, + { "u_lose_trait": "VAMPIRE_WOLF_FORM_TRAITS" }, + { "u_message": "Your fur disappears and you walk once again on two legs.", "type": "neutral" } + ] + } + ] + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_SHAPESHIFT_FULL_WOLF_deactivate_future", + "//": "This is necessary because calling u_deactivate_trait from within the trait EoC does not work", + "effect": { "u_deactivate_trait": "POOKA_SHAPESHIFT_FULL_WOLF" } + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKIE_GAIN_PINNACLE_OF_FORMS_TRAIT_COUGAR", + "effect": [ { "u_add_trait": "POOKA_SHAPESHIFT_FULL_COUGAR" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_SHAPESHIFT_FULL_COUGAR_activated", + "condition": { "not": { "u_has_trait": "TURN_INTO_COUGAR_TRAITS" } }, + "effect": [ + { + "run_eocs": [ + "EOC_POOKA_SHAPESHIFTS_REMOVE_deactivate_future", + { + "id": "EOC_POOKA_SHAPESHIFT_FULL_COUGAR_activated_2", + "condition": { "math": [ "u_val('mana')", ">=", "2" ] }, + "effect": [ + { "u_assign_activity": "ACT_GENERIC_EOC", "duration": 2.5 }, + { "u_add_trait": "TURN_INTO_COUGAR_TRAITS" }, + { "u_add_trait": "FELINE_LEAP" }, + { "u_add_trait": "WHISKERS" }, + { + "u_message": "Your nose pushes out into a muzzle and whiskers sprout from it as you fall forward on all fours and let out a growl.", + "type": "good" + } + ], + "false_effect": [ + { "u_message": "You don't have enough mana to transform into a cougar.", "type": "bad" }, + { "queue_eocs": "EOC_POOKA_SHAPESHIFT_FULL_COUGAR_deactivate_future", "time_in_future": 0 } + ] + } + ] + } + ], + "false_effect": [ + { + "run_eocs": [ + { + "id": "EOC_POOKA_SHAPESHIFT_FULL_COUGAR_deactivated", + "condition": { "u_has_trait": "TURN_INTO_COUGAR_TRAITS" }, + "effect": [ + { "u_assign_activity": "ACT_GENERIC_EOC", "duration": 2.5 }, + { "u_lose_trait": "TURN_INTO_COUGAR_TRAITS" }, + { "u_lose_trait": "FELINE_LEAP" }, + { "u_lose_trait": "WHISKERS" }, + { + "u_message": "Your fur and whiskers disappear and you walk once again on two legs.", + "type": "neutral" + } + ] + } + ] + } + ] + }, + { + "type": "effect_on_condition", + "id": "EOC_POOKA_SHAPESHIFT_FULL_COUGAR_deactivate_future", + "//": "This is necessary because calling u_deactivate_trait from within the trait EoC does not work", + "effect": { "u_deactivate_trait": "POOKA_SHAPESHIFT_FULL_COUGAR" } } ] diff --git a/data/mods/Xedra_Evolved/mutations/temporary.json b/data/mods/Xedra_Evolved/mutations/temporary.json index 93b45eec6f09f..8d4eae3af1969 100644 --- a/data/mods/Xedra_Evolved/mutations/temporary.json +++ b/data/mods/Xedra_Evolved/mutations/temporary.json @@ -127,7 +127,7 @@ "type": "mutation", "id": "TURN_INTO_BEAR_TRAITS", "name": { "str": "Bear Form" }, - "points": 99, + "points": 98, "description": "You are a bear. This provides the actual effects of bear form. Should not be player-visible", "valid": false, "starting_trait": false, @@ -176,6 +176,146 @@ "override_look": { "id": "mon_bear", "tile_category": "monster" }, "integrated_armor": [ "integrated_claws_st", "integrated_fangs", "integrated_ursine_fur" ] }, + { + "type": "mutation", + "id": "TURN_INTO_DEER_TRAITS", + "name": { "str": "Deer Form" }, + "points": 98, + "description": "You are a deer. This provides the actual effects of deer form. Should not be player-visible", + "valid": false, + "starting_trait": false, + "purifiable": false, + "player_display": false, + "enchantments": [ + { + "condition": "ALWAYS", + "values": [ + { "value": "MAX_HP", "multiply": 0.1 }, + { "value": "SPEED", "multiply": 0.2 }, + { "value": "MOVE_COST", "multiply": -0.5 }, + { "value": "DEXTERITY", "add": 3 }, + { "value": "NIGHT_VIS", "add": 6 }, + { "value": "CRAFTING_SPEED_MULTIPLIER", "multiply": -1000 } + ], + "skills": [ { "value": "dodge", "add": 2 } ], + "mutations": [ "ANTLERS", "HOOVES" ] + }, + { + "condition": { "and": [ { "u_has_flag": "QUADRUPED_CROUCH" }, { "u_has_flag": "QUADRUPED_RUN" }, { "not": "u_can_drop_weapon" } ] }, + "ench_effects": [ { "effect": "natural_stance", "intensity": 1 }, { "effect": "quadruped_full", "intensity": 1 } ] + }, + { "condition": { "u_has_move_mode": "run" }, "values": [ { "value": "MOVE_COST", "multiply": -0.25 } ] }, + { + "condition": "u_has_weapon", + "values": [ { "value": "MELEE_DAMAGE", "multiply": -1 }, { "value": "RANGE", "multiply": -1 } ] + } + ], + "attacks": { + "attack_text_u": "You kick %s with your hooves!", + "attack_text_npc": "%1$s kicks %2$s with their hooves!", + "chance": 15, + "strength_damage": { "damage_type": "bash", "amount": 3 } + }, + "flags": [ "MUTE", "NO_SPELLCASTING", "QUADRUPED_CROUCH", "QUADRUPED_RUN", "TOUGH_FEET", "TEMPORARY_SHAPESHIFT" ], + "override_look": { "id": "mon_deer", "tile_category": "monster" }, + "integrated_armor": [ "integrated_antlers", "integrated_feline_fur" ] + }, + { + "type": "mutation", + "id": "TURN_INTO_COUGAR_TRAITS", + "name": { "str": "Cougar Form" }, + "points": 98, + "description": "You are a cougar. This provides the actual effects of cougar form. Should not be player-visible.", + "starting_trait": false, + "purifiable": false, + "valid": false, + "player_display": false, + "//": "The second enchantment 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.", + "enchantments": [ + { + "condition": "ALWAYS", + "values": [ + { "value": "SPEED", "multiply": 0.2 }, + { "value": "RANGE", "multiply": -1 }, + { "value": "DEXTERITY", "add": 4 }, + { "value": "NIGHT_VIS", "add": 11 }, + { "value": "MELEE_DAMAGE", "multiply": 0.2 }, + { "value": "CLIMATE_CONTROL_HEAT", "add": 25 }, + { "value": "FOOTSTEP_NOISE", "multiply": -0.6 }, + { "value": "MOVECOST_OBSTACLE_MOD", "multiply": -0.5 }, + { "value": "CRAFTING_SPEED_MULTIPLIER", "multiply": -1000 } + ], + "mutations": [ "FANGS", "TAIL_LONG", "PAWS", "FELINE_FUR", "FELINE_EARS", "PRED3", "WHISKERS", "FELINE_LEAP" ] + }, + { + "condition": "ALWAYS", + "values": [ + { "value": "HEARING_MULT", "multiply": 0.25 }, + { "value": "COMBAT_CATCHUP", "multiply": 2 }, + { "value": "DODGE_CHANCE", "add": 5 } + ] + }, + { + "condition": { "and": [ { "u_has_flag": "QUADRUPED_CROUCH" }, { "u_has_flag": "QUADRUPED_RUN" }, { "not": "u_can_drop_weapon" } ] }, + "values": [ { "value": "MOVE_COST", "multiply": -0.15 } ], + "ench_effects": [ { "effect": "natural_stance", "intensity": 1 }, { "effect": "quadruped_full", "intensity": 1 } ] + }, + { "condition": { "u_has_move_mode": "run" }, "values": [ { "value": "MOVE_COST", "multiply": -0.25 } ] }, + { + "condition": "u_has_weapon", + "values": [ { "value": "MELEE_DAMAGE", "multiply": -1 }, { "value": "RANGE", "multiply": -1 } ] + } + ], + "flags": [ "MUTE", "PRED3", "QUADRUPED_CROUCH", "QUADRUPED_RUN", "TOUGH_FEET", "TEMPORARY_SHAPESHIFT" ], + "override_look": { "id": "mon_cougar", "tile_category": "monster" }, + "integrated_armor": [ "integrated_fangs", "integrated_feline_fur", "integrated_claws" ] + }, + { + "type": "mutation", + "id": "TURN_INTO_RAVEN_TRAITS", + "name": { "str": "Raven Form" }, + "points": 98, + "description": "You are a raven. This provides the actual effects of raven 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": [ 300, 800 ], + "enchantments": [ + { + "condition": "ALWAYS", + "values": [ + { "value": "MAX_HP", "multiply": -0.75 }, + { "value": "SPEED", "multiply": 0.1 }, + { "value": "MELEE_DAMAGE", "multiply": -0.95 }, + { "value": "DEXTERITY", "add": 8 }, + { "value": "PERCEPTION", "add": 4 }, + { "value": "NIGHT_VIS", "add": 4 }, + { "value": "CRAFTING_SPEED_MULTIPLIER", "multiply": -1000 } + ], + "ench_effects": [ { "effect": "effect_vampire_bat_form_levitation", "intensity": 1 } ], + "skills": [ { "value": "dodge", "add": 6 } ], + "mutations": [ "BIRD_EYE", "DOWN", "EAGLEEYED", "LIGHTEATER" ] + }, + { + "condition": "ALWAYS", + "values": [ + { "value": "PERCEPTION", "add": 4 }, + { "value": "BODYTEMP_SLEEP", "add": 0.5 }, + { "value": "OVERMAP_SIGHT", "add": 4 }, + { "value": "METABOLISM", "multiply": -0.333 } + ] + }, + { + "condition": "u_has_weapon", + "values": [ { "value": "MELEE_DAMAGE", "multiply": -1 }, { "value": "RANGE", "multiply": -1 } ] + }, + { "condition": { "u_is_on_terrain": "t_open_air" }, "values": [ { "value": "MOVE_COST", "multiply": -0.6 } ] } + ], + "flags": [ "LEVITATION", "MUTE", "NO_SPELLCASTING", "TEMPORARY_SHAPESHIFT", "SHAPESHIFT_SIZE_TINY" ], + "override_look": { "id": "mon_raven", "tile_category": "monster" } + }, { "type": "mutation", "id": "CHANGELING_DISGUISE_AS_NATURE_BUSH", diff --git a/data/mods/Xedra_Evolved/spells/changeling_spells.json b/data/mods/Xedra_Evolved/spells/changeling_spells.json index 4df7f3ef52ec3..03187322102bb 100644 --- a/data/mods/Xedra_Evolved/spells/changeling_spells.json +++ b/data/mods/Xedra_Evolved/spells/changeling_spells.json @@ -256,5 +256,38 @@ "max(( 100 - (u_sum_traits_of_category_char_has('FAIR_FOLK_COMMONER_BROWNIE') * 3) - (u_skill('deduction') * 5)), 25)" ] } + }, + { + "id": "changeling_pooka_charm_animals_spell", + "type": "SPELL", + "name": "Friend to Birds and Beasts", + "description": "You have learned to speak the secret tongues of birds and beasts and may use it to ask them for aid. Casting this spell on a mammal or a bird will ally them with you, causing them to defend you against your enemies.", + "valid_targets": [ "ally", "hostile" ], + "flags": [ "VERBAL", "RECHARM", "RANDOM_DAMAGE", "RANDOM_DURATION", "NO_FAIL", "NO_PROJECTILE", "SILENT" ], + "effect": "charm_monster", + "shape": "blast", + "spell_class": "CHANGELING_MAGIC", + "difficulty": 6, + "max_level": 1, + "min_damage": { "math": [ "(u_sum_traits_of_category_char_has('FAIR_FOLK_COMMONER_POOKA') * 3) + (u_skill('deduction') * 10) + 15" ] }, + "max_damage": { "math": [ "(u_sum_traits_of_category_char_has('FAIR_FOLK_COMMONER_POOKA') * 7) + (u_skill('deduction') * 25) + 60" ] }, + "min_duration": { + "math": [ "(u_sum_traits_of_category_char_has('FAIR_FOLK_COMMONER_POOKA') * 286) + (u_skill('deduction') * 3455) + 9450" ] + }, + "max_duration": { + "math": [ "(u_sum_traits_of_category_char_has('FAIR_FOLK_COMMONER_POOKA') * 850) + (u_skill('deduction') * 8641) + 33145" ] + }, + "min_range": 10, + "max_range": 10, + "energy_source": "MANA", + "base_energy_cost": { + "math": [ + "max(( 600 - (u_sum_traits_of_category_char_has('FAIR_FOLK_COMMONER_POOKA') * 8) - (u_skill('deduction') * 25)), 250)" + ] + }, + "base_casting_time": { + "math": [ "max(( 200 - (u_sum_traits_of_category_char_has('FAIR_FOLK_COMMONER_POOKA') * 4) - (u_skill('deduction') * 8)), 50)" ] + }, + "targeted_monster_species": [ "MAMMAL", "BIRD" ] } ] diff --git a/tools/spell_checker/dictionary.txt b/tools/spell_checker/dictionary.txt index 738891a7d8660..048cab7c2c705 100644 --- a/tools/spell_checker/dictionary.txt +++ b/tools/spell_checker/dictionary.txt @@ -5474,6 +5474,8 @@ shantak Shaolin shapechangers shapeshift +shapeshifting +shapeshifts shapeshifter Shardspray Shardstorm