-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #75863 from Standing-Storm/werewolf
[Xedra Evolved] Add werewolf start scenario
- Loading branch information
Showing
6 changed files
with
460 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
[ | ||
{ | ||
"type": "effect_on_condition", | ||
"id": "EOC_WEREWOLF_WOLF_FORM_activated", | ||
"condition": { "not": { "u_has_trait": "WEREWOLF_HYBRID_FORM_TRAITS" } }, | ||
"effect": [ | ||
{ | ||
"run_eocs": [ | ||
{ | ||
"id": "EOC_WEREWOLF_WOLF_FORM_activated_2", | ||
"//": "Reusing VAMPIRE_WOLF_FORM_TRAITS because it works fine for being a wolf.", | ||
"condition": { "not": { "u_has_trait": "VAMPIRE_WOLF_FORM_TRAITS" } }, | ||
"effect": [ | ||
{ | ||
"run_eocs": [ | ||
{ | ||
"id": "EOC_WEREWOLF_WOLF_FORM_activated_3", | ||
"condition": { "math": [ "u_val('mana')", ">=", "50" ] }, | ||
"effect": [ | ||
{ "u_assign_activity": "ACT_GENERIC_EOC", "duration": 2.5 }, | ||
{ "math": [ "u_transformed_mana", "=", "u_val('mana') - 50" ] }, | ||
{ "u_add_trait": "VAMPIRE_WOLF_FORM_TRAITS" }, | ||
{ "u_add_trait": "CARNIVORE" }, | ||
{ | ||
"u_message": "Your body shifts and you fall on all fours 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 wolf.", "type": "bad" }, | ||
{ "queue_eocs": "EOC_WEREWOLF_WOLF_FORM_deactivated_future", "time_in_future": 0 } | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"false_effect": [ | ||
{ | ||
"run_eocs": [ | ||
{ | ||
"id": "EOC_WEREWOLF_WOLF_FORM_deactivated", | ||
"condition": { "u_has_trait": "VAMPIRE_WOLF_FORM_TRAITS" }, | ||
"effect": [ | ||
{ "u_assign_activity": "ACT_GENERIC_EOC", "duration": 2.5 }, | ||
{ | ||
"u_message": "Your body shifts and contracts and you return to your humanoid form.", | ||
"type": "neutral" | ||
}, | ||
{ "u_lose_trait": "VAMPIRE_WOLF_FORM_TRAITS" }, | ||
{ "u_lose_trait": "CARNIVORE" }, | ||
{ "math": [ "u_val('mana')", "=", "u_transformed_mana" ] } | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"false_effect": [ { "u_deactivate_trait": "WEREWOLF_HYBRID_FORM" }, { "run_eocs": "EOC_WEREWOLF_WOLF_FORM_activated_2" } ] | ||
}, | ||
{ | ||
"type": "effect_on_condition", | ||
"id": "EOC_WEREWOLF_WOLF_FORM_deactivated_future", | ||
"//": "This is necessary because calling u_deactivate_trait from within the trait EoC to deactivate that trait does not work", | ||
"effect": { "u_deactivate_trait": "WEREWOLF_ANIMAL_FORM" } | ||
}, | ||
{ | ||
"type": "effect_on_condition", | ||
"id": "EOC_WEREWOLF_HYBRID_FORM_activated", | ||
"condition": { "not": { "u_has_trait": "VAMPIRE_WOLF_FORM_TRAITS" } }, | ||
"effect": [ | ||
{ | ||
"run_eocs": [ | ||
{ | ||
"id": "EOC_WEREWOLF_HYBRID_FORM_activated_2", | ||
"condition": { "not": { "u_has_trait": "WEREWOLF_HYBRID_FORM_TRAITS" } }, | ||
"effect": [ | ||
{ | ||
"run_eocs": [ | ||
{ | ||
"id": "EOC_WEREWOLF_HYBRID_FORM_activated_3", | ||
"condition": { "math": [ "u_val('mana')", ">=", "50" ] }, | ||
"effect": [ | ||
{ "u_assign_activity": "ACT_GENERIC_EOC", "duration": 2.5 }, | ||
{ "math": [ "u_transformed_mana", "=", "u_val('mana') - 50" ] }, | ||
{ "math": [ "u_calories()", "*=", "3" ] }, | ||
{ "u_add_trait": "WEREWOLF_HYBRID_FORM_TRAITS" }, | ||
{ "u_add_trait": "CARNIVORE" }, | ||
{ | ||
"u_message": "Your body shifts and grows as enormous fangs and claws erupt from your skin and your mouth lengthens into a muzzle.", | ||
"type": "good" | ||
} | ||
], | ||
"false_effect": [ | ||
{ "u_message": "You don't have enough mana to transform into your war form.", "type": "bad" }, | ||
{ "queue_eocs": "EOC_WEREWOLF_HYBRID_FORM_deactivated_future", "time_in_future": 0 } | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"false_effect": [ | ||
{ | ||
"run_eocs": [ | ||
{ | ||
"id": "EOC_WEREWOLF_HYBRID_FORM_deactivated", | ||
"condition": { "u_has_trait": "WEREWOLF_HYBRID_FORM_TRAITS" }, | ||
"effect": [ | ||
{ "u_assign_activity": "ACT_GENERIC_EOC", "duration": 2.5 }, | ||
{ | ||
"u_message": "Your body shifts and contracts and you return to your humanoid form.", | ||
"type": "neutral" | ||
}, | ||
{ "u_lose_trait": "WEREWOLF_HYBRID_FORM_TRAITS" }, | ||
{ "u_lose_trait": "CARNIVORE" }, | ||
{ "math": [ "u_val('mana')", "=", "u_transformed_mana" ] }, | ||
{ "math": [ "u_calories()", "/=", "3" ] } | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"false_effect": [ { "u_deactivate_trait": "WEREWOLF_ANIMAL_FORM" }, { "run_eocs": "EOC_WEREWOLF_HYBRID_FORM_activated_2" } ] | ||
}, | ||
{ | ||
"type": "effect_on_condition", | ||
"id": "EOC_WEREWOLF_HYBRID_FORM_deactivated_future", | ||
"//": "This is necessary because calling u_deactivate_trait from within the trait EoC to deactivate that trait does not work", | ||
"effect": { "u_deactivate_trait": "WEREWOLF_ANIMAL_FORM" } | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
[ | ||
{ | ||
"type": "technique", | ||
"id": "CLAWS_SHAPESHIFTER", | ||
"name": "Claw Slash", | ||
"melee_allowed": true, | ||
"messages": [ "You deliver a slash to %s with your claws", "<npcname> delivers a slash to %s with their claws!" ], | ||
"unarmed_allowed": true, | ||
"weighting": 1, | ||
"reach_ok": false, | ||
"miss_recovery": true, | ||
"attack_vectors": [ "vector_punch" ], | ||
"flat_bonuses": [ | ||
{ "stat": "damage", "type": "cut", "scaling-stat": "unarmed", "scale": 1.0 }, | ||
{ "stat": "damage", "type": "bash", "scaling-stat": "str", "scale": 0.75 }, | ||
{ "stat": "damage", "type": "bash", "scaling-stat": "unarmed", "scale": 0.06 }, | ||
{ "stat": "movecost", "scaling-stat": "melee", "scale": -1.25 }, | ||
{ "stat": "movecost", "scaling-stat": "dex", "scale": -0.5 } | ||
] | ||
}, | ||
{ | ||
"type": "technique", | ||
"id": "CLAWS_SHAPESHIFTER_RENDING", | ||
"name": "Claw Rending Slash", | ||
"melee_allowed": true, | ||
"messages": [ "You slash %s, tearing open bleeding wounds.", "<npcname> slashes %s, tearing open bleeding wounds." ], | ||
"unarmed_allowed": true, | ||
"weighting": -2, | ||
"crit_ok": true, | ||
"reach_ok": false, | ||
"miss_recovery": true, | ||
"attack_vectors": [ "vector_punch" ], | ||
"tech_effects": [ { "id": "bleed", "chance": 100, "duration": 600, "on_damage": true, "message": "%s is bleeding!" } ], | ||
"flat_bonuses": [ | ||
{ "stat": "damage", "type": "cut", "scaling-stat": "unarmed", "scale": 1.0 }, | ||
{ "stat": "damage", "type": "bash", "scaling-stat": "str", "scale": 0.75 }, | ||
{ "stat": "damage", "type": "bash", "scaling-stat": "unarmed", "scale": 0.06 }, | ||
{ "stat": "movecost", "scaling-stat": "melee", "scale": -1.25 }, | ||
{ "stat": "movecost", "scaling-stat": "dex", "scale": -0.5 } | ||
] | ||
}, | ||
{ | ||
"type": "technique", | ||
"id": "CLAWS_SHAPESHIFTER_CRIT", | ||
"name": "Critical Claw Slash", | ||
"melee_allowed": true, | ||
"messages": [ "You deliver a wicked slash to %s with your claws", "<npcname> delivers a wicked slash to %s with their claws!" ], | ||
"unarmed_allowed": true, | ||
"reach_ok": false, | ||
"crit_tec": true, | ||
"miss_recovery": true, | ||
"attack_vectors": [ "vector_punch" ], | ||
"flat_bonuses": [ | ||
{ "stat": "damage", "type": "cut", "scaling-stat": "unarmed", "scale": 4.4 }, | ||
{ "stat": "damage", "type": "bash", "scaling-stat": "str", "scale": 0.75 }, | ||
{ "stat": "damage", "type": "bash", "scaling-stat": "unarmed", "scale": 0.24 }, | ||
{ "stat": "arpen", "type": "bash", "scaling-stat": "unarmed", "scale": 1 }, | ||
{ "stat": "arpen", "type": "cut", "scaling-stat": "unarmed", "scale": 1 }, | ||
{ "stat": "movecost", "scaling-stat": "melee", "scale": -1.25 }, | ||
{ "stat": "movecost", "scaling-stat": "dex", "scale": -0.5 } | ||
] | ||
}, | ||
{ | ||
"type": "technique", | ||
"id": "FANGS_BITE_SHAPESHIFTER", | ||
"//": "Separate to avoid Natural Stance requirement", | ||
"name": "Fang Bite", | ||
"melee_allowed": true, | ||
"messages": [ "You bite %s", "<npcname> bites %s!" ], | ||
"unarmed_allowed": true, | ||
"weighting": -3, | ||
"reach_ok": false, | ||
"attack_vectors": [ "vector_bite" ], | ||
"flat_bonuses": [ | ||
{ "stat": "damage", "type": "stab", "scaling-stat": "unarmed", "scale": 1.0 }, | ||
{ "stat": "damage", "type": "bash", "scaling-stat": "str", "scale": 0.75 }, | ||
{ "stat": "damage", "type": "bash", "scaling-stat": "unarmed", "scale": 0.06 }, | ||
{ "stat": "movecost", "scaling-stat": "melee", "scale": -1.25 }, | ||
{ "stat": "movecost", "scaling-stat": "dex", "scale": -0.5 } | ||
] | ||
}, | ||
{ | ||
"type": "technique", | ||
"id": "FANGS_BITE_SHAPESHIFTER_CRIT", | ||
"name": "Critical Fang Bite", | ||
"melee_allowed": true, | ||
"messages": [ "You deliver a wicked bite to %s", "<npcname> delivers a wicked bite to %s!" ], | ||
"unarmed_allowed": true, | ||
"reach_ok": false, | ||
"crit_tec": true, | ||
"attack_vectors": [ "vector_bite" ], | ||
"flat_bonuses": [ | ||
{ "stat": "damage", "type": "stab", "scaling-stat": "unarmed", "scale": 4.4 }, | ||
{ "stat": "damage", "type": "bash", "scaling-stat": "str", "scale": 0.75 }, | ||
{ "stat": "damage", "type": "bash", "scaling-stat": "unarmed", "scale": 0.24 }, | ||
{ "stat": "arpen", "type": "bash", "scaling-stat": "unarmed", "scale": 1 }, | ||
{ "stat": "arpen", "type": "stab", "scaling-stat": "unarmed", "scale": 1 }, | ||
{ "stat": "movecost", "scaling-stat": "melee", "scale": -1.25 }, | ||
{ "stat": "movecost", "scaling-stat": "dex", "scale": -0.5 } | ||
] | ||
} | ||
] |
Oops, something went wrong.