|
195 | 195 | "condition": { "math": [ "u_vitamin('human_blood_vitamin')", ">=", "1800" ] },
|
196 | 196 | "ench_effects": [ { "effect": "effect_dhampir_slow_blood_loss", "intensity": 1 } ]
|
197 | 197 | },
|
| 198 | + { |
| 199 | + "condition": { "math": [ "u_vitamin('human_blood_vitamin')", "<", "0" ] }, |
| 200 | + "ench_effects": [ { "effect": "effect_dhampir_enervated_blood", "intensity": 1 } ] |
| 201 | + }, |
198 | 202 | {
|
199 | 203 | "condition": { "math": [ "u_vitamin('human_blood_vitamin')", ">", "0" ] },
|
200 | 204 | "ench_effects": [ { "effect": "effect_dhampir_empowered_blood_indicator", "intensity": 1 } ]
|
|
603 | 607 | "deactivated_eocs": [ "EOC_VAMPIRIC_STRENGTH_deactivated" ],
|
604 | 608 | "enchantments": [
|
605 | 609 | {
|
| 610 | + "condition": { |
| 611 | + "or": [ |
| 612 | + { "u_has_trait": "VAMPIRE" }, |
| 613 | + { |
| 614 | + "and": [ { "u_has_trait": "DHAMPIR_TRAIT" }, { "not": { "u_has_effect": "effect_dhampir_enervated_blood" } } ] |
| 615 | + } |
| 616 | + ] |
| 617 | + }, |
606 | 618 | "values": [ { "value": "STRENGTH", "add": { "math": [ "1 + u_has_trait('VAMPIRE4') + (u_has_trait('BLOOD_DRINKER') * 2)" ] } } ]
|
607 | 619 | }
|
608 | 620 | ]
|
|
622 | 634 | "deactivated_eocs": [ "EOC_VAMPIRIC_RESILIENCE_deactivated" ],
|
623 | 635 | "enchantments": [
|
624 | 636 | {
|
| 637 | + "condition": { |
| 638 | + "or": [ |
| 639 | + { "u_has_trait": "VAMPIRE" }, |
| 640 | + { |
| 641 | + "and": [ { "u_has_trait": "DHAMPIR_TRAIT" }, { "not": { "u_has_effect": "effect_dhampir_enervated_blood" } } ] |
| 642 | + } |
| 643 | + ] |
| 644 | + }, |
625 | 645 | "incoming_damage_mod": [
|
626 | 646 | { "type": "bash", "multiply": -0.05 },
|
627 | 647 | { "type": "stab", "multiply": -0.02 },
|
|
661 | 681 | "valid": false,
|
662 | 682 | "name": { "str": "Silent as Death" },
|
663 | 683 | "description": "Your movements don't make nearby as much noise as they used to.",
|
664 |
| - "enchantments": [ { "values": [ { "value": "FOOTSTEP_NOISE", "multiply": -1 } ] } ] |
| 684 | + "enchantments": [ |
| 685 | + { |
| 686 | + "condition": { |
| 687 | + "or": [ |
| 688 | + { "u_has_trait": "VAMPIRE" }, |
| 689 | + { |
| 690 | + "and": [ { "u_has_trait": "DHAMPIR_TRAIT" }, { "not": { "u_has_effect": "effect_dhampir_enervated_blood" } } ] |
| 691 | + } |
| 692 | + ] |
| 693 | + }, |
| 694 | + "values": [ { "value": "FOOTSTEP_NOISE", "multiply": -1 } ] |
| 695 | + } |
| 696 | + ] |
665 | 697 | },
|
666 | 698 | {
|
667 | 699 | "type": "mutation",
|
|
760 | 792 | "deactivated_eocs": [ "EOC_VAMPIRIC_DODGE_deactivate" ],
|
761 | 793 | "enchantments": [
|
762 | 794 | {
|
| 795 | + "condition": { |
| 796 | + "or": [ |
| 797 | + { "u_has_trait": "VAMPIRE" }, |
| 798 | + { |
| 799 | + "and": [ { "u_has_trait": "DHAMPIR_TRAIT" }, { "not": { "u_has_effect": "effect_dhampir_enervated_blood" } } ] |
| 800 | + } |
| 801 | + ] |
| 802 | + }, |
763 | 803 | "values": [ { "value": "DEXTERITY", "add": { "math": [ "1 + u_has_trait('VAMPIRE4') + (u_has_trait('BLOOD_DRINKER') * 2)" ] } } ]
|
764 | 804 | }
|
765 | 805 | ]
|
|
0 commit comments