forked from CleverRaven/Cataclysm-DDA
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Bombastic Perks] Add some new perks (CleverRaven#70481)
* Initial commit * Remove Active from easy sleeper
- Loading branch information
1 parent
4f28d96
commit ab02717
Showing
4 changed files
with
119 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,16 @@ | ||
[ | ||
{ | ||
"type": "effect_on_condition", | ||
"id": "EOC_PERK_QUICK_RECOVERY_INIT", | ||
"eoc_type": "EVENT", | ||
"required_event": "character_gains_effect", | ||
"condition": { | ||
"and": [ | ||
{ "u_has_trait": "perk_quick_recovery" }, | ||
{ "x_in_y_chance": { "x": 3, "y": 4 } }, | ||
{ "or": [ { "compare_string": [ "downed", { "context_val": "effect" } ] } ] } | ||
] | ||
}, | ||
"effect": [ { "u_lose_effect": "downed" } ] | ||
} | ||
] |
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,26 @@ | ||
[ | ||
{ | ||
"type": "effect_type", | ||
"id": "effect_perk_vengeful", | ||
"rating": "good", | ||
"int_dur_factor": "1 s", | ||
"max_duration": "2 s", | ||
"show_in_info": false | ||
}, | ||
{ | ||
"type": "enchantment", | ||
"id": "perk_ench_vengeful", | ||
"name": { "str": "Vengeful" }, | ||
"description": "Oh, you aren't getting away with that.", | ||
"condition": { "u_has_effect": "effect_perk_vengeful" }, | ||
"values": [ { "value": "MELEE_DAMAGE", "multiply": 0.15 }, { "value": "RANGED_DAMAGE", "multiply": 0.15 } ] | ||
}, | ||
{ | ||
"type": "effect_on_condition", | ||
"id": "EOC_PERK_VENGEFUL_TAKE_DAMAGE", | ||
"eoc_type": "EVENT", | ||
"required_event": "character_takes_damage", | ||
"condition": { "u_has_trait": "perk_vengeful" }, | ||
"effect": [ { "u_add_effect": "effect_perk_vengeful", "duration": "2 seconds" } ] | ||
} | ||
] |
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