|
849 | 849 | { "u_assign_activity": "ACT_GENERIC_EOC", "duration": 0.25 },
|
850 | 850 | { "math": [ "u_vitamin('human_blood_vitamin') -= 150" ] },
|
851 | 851 | { "u_add_effect": "effect_vampiric_resilience", "duration": "PERMANENT" },
|
| 852 | + { |
| 853 | + "if": { "u_has_trait": "VAMPIRIC_RESILIENCE_REFINEMENT_INVINCIBILITY" }, |
| 854 | + "then": { "u_add_effect": "effect_vampire_resilience_flesh_of_marble", "duration": "PERMANENT" } |
| 855 | + }, |
852 | 856 | { "u_message": "You feel a surge of power as blood fortifies your flesh.", "type": "good" },
|
853 | 857 | {
|
854 | 858 | "run_eocs": [ "EOC_VAMPIRIC_RESILIENCE_maintenance" ],
|
|
874 | 878 | "id": "EOC_VAMPIRIC_RESILIENCE_deactivated",
|
875 | 879 | "condition": { "u_has_effect": "effect_vampiric_resilience" },
|
876 | 880 | "effect": [
|
877 |
| - { "u_message": "Your muscles weaken as the stolen blood leaves them.", "type": "neutral" }, |
878 |
| - { "u_lose_effect": "effect_vampiric_resilience" } |
| 881 | + { "u_message": "Your flesh loses its resilience as the stolen blood leaves it.", "type": "neutral" }, |
| 882 | + { "u_lose_effect": "effect_vampiric_resilience" }, |
| 883 | + { "u_lose_effect": "effect_vampire_resilience_flesh_of_marble" } |
879 | 884 | ]
|
880 | 885 | }
|
881 | 886 | ]
|
|
923 | 928 | }
|
924 | 929 | ]
|
925 | 930 | },
|
| 931 | + { |
| 932 | + "type": "effect_on_condition", |
| 933 | + "id": "EOC_VAMPIRIC_RESILIENCE_FLESH_OF_MARBLE", |
| 934 | + "eoc_type": "EVENT", |
| 935 | + "required_event": "character_takes_damage", |
| 936 | + "condition": { "u_has_effect": "effect_vampire_resilience_flesh_of_marble" }, |
| 937 | + "effect": [ { "u_lose_effect": "effect_vampire_resilience_flesh_of_marble" } ] |
| 938 | + }, |
926 | 939 | {
|
927 | 940 | "type": "effect_on_condition",
|
928 | 941 | "id": "EOC_VAMPIRE_SCENT_BLOOD_activated",
|
|
1463 | 1476 | { "u_assign_activity": "ACT_GENERIC_EOC", "duration": 2 },
|
1464 | 1477 | { "math": [ "u_vitamin('human_blood_vitamin') -= 750" ] },
|
1465 | 1478 | { "u_add_effect": "haste_vampire", "duration": "PERMANENT" },
|
| 1479 | + { |
| 1480 | + "if": { |
| 1481 | + "and": [ |
| 1482 | + { "u_has_trait": "BLOODHASTE_REFINEMENT_WATER_RUN" }, |
| 1483 | + { "not": { "u_has_trait": "VAMPIRE_WEAKNESS_VAST_WATER_BURN" } } |
| 1484 | + ] |
| 1485 | + }, |
| 1486 | + "then": { "u_add_effect": "haste_vampire_water_running", "duration": "PERMANENT" } |
| 1487 | + }, |
1466 | 1488 | {
|
1467 | 1489 | "run_eocs": [ "EOC_BLOODHASTE_maintenance" ],
|
1468 | 1490 | "time_in_future": {
|
|
1486 | 1508 | {
|
1487 | 1509 | "id": "EOC_BLOODHASTE_deactivated",
|
1488 | 1510 | "condition": { "u_has_effect": "haste_vampire" },
|
1489 |
| - "effect": [ { "u_lose_effect": "haste" }, { "u_lose_effect": "haste_vampire" } ] |
| 1511 | + "effect": [ { "u_lose_effect": "haste_vampire_water_running" }, { "u_lose_effect": "haste_vampire" } ] |
1490 | 1512 | }
|
1491 | 1513 | ]
|
1492 | 1514 | }
|
|
1523 | 1545 | "false_effect": [
|
1524 | 1546 | { "u_message": "You don't have enough blood to maintain your blood-driven speed.", "type": "bad" },
|
1525 | 1547 | { "u_lose_effect": "haste_vampire" },
|
1526 |
| - { "u_lose_effect": "haste" }, |
| 1548 | + { "u_lose_effect": "haste_vampire_water_running" }, |
1527 | 1549 | { "u_deactivate_trait": "BLOODHASTE" }
|
1528 | 1550 | ]
|
1529 | 1551 | }
|
|
2769 | 2791 | "type": "popup"
|
2770 | 2792 | }
|
2771 | 2793 | ]
|
| 2794 | + }, |
| 2795 | + { |
| 2796 | + "type": "effect_on_condition", |
| 2797 | + "id": "EOC_VAMPIRE_UNHOLY_DEVASTATION_BONUSES", |
| 2798 | + "eoc_type": "EVENT", |
| 2799 | + "required_event": "character_smashes_tile", |
| 2800 | + "condition": { "u_has_trait": "VAMPIRIC_STRENGTH_REFINEMENT_SMASHING_TILES" }, |
| 2801 | + "effect": [ { "u_add_effect": "effect_vampire_unholy_devastation", "duration": 2 } ] |
| 2802 | + }, |
| 2803 | + { |
| 2804 | + "type": "effect_on_condition", |
| 2805 | + "id": "EOC_VAMPIRE_UNHOLY_DEVASTATION_BONUSES_REMOVE", |
| 2806 | + "eoc_type": "EVENT", |
| 2807 | + "required_event": "avatar_moves", |
| 2808 | + "condition": { "u_has_effect": "effect_vampire_unholy_devastation" }, |
| 2809 | + "effect": [ { "u_lose_effect": "effect_vampire_unholy_devastation" } ] |
| 2810 | + }, |
| 2811 | + { |
| 2812 | + "type": "effect_on_condition", |
| 2813 | + "id": "EOC_VAMPIRE_ZEPHYR_WATER_RUN", |
| 2814 | + "eoc_type": "EVENT", |
| 2815 | + "required_event": "avatar_moves", |
| 2816 | + "condition": { "and": [ { "u_has_effect": "haste_vampire" }, { "not": { "u_has_trait": "VAMPIRE_WEAKNESS_VAST_WATER_BURN" } } ] }, |
| 2817 | + "effect": [ |
| 2818 | + { |
| 2819 | + "if": { "u_has_effect": "haste_vampire_water_running" }, |
| 2820 | + "then": { |
| 2821 | + "run_eocs": [ |
| 2822 | + { |
| 2823 | + "id": "EOC_VAMPIRE_ZEPHYR_WATER_RUN_FOLLOWUP", |
| 2824 | + "condition": { |
| 2825 | + "and": [ |
| 2826 | + { "u_is_on_terrain_with_flag": "SWIMMABLE" }, |
| 2827 | + { |
| 2828 | + "or": [ |
| 2829 | + { "compare_string": [ "walk", { "context_val": "movement_mode" } ] }, |
| 2830 | + { "compare_string": [ "crouch", { "context_val": "movement_mode" } ] }, |
| 2831 | + { "compare_string": [ "prone", { "context_val": "movement_mode" } ] } |
| 2832 | + ] |
| 2833 | + } |
| 2834 | + ] |
| 2835 | + }, |
| 2836 | + "effect": [ |
| 2837 | + { "u_message": "You are moving too slowly and fall into the water.", "type": "bad" }, |
| 2838 | + { "u_lose_effect": "haste_vampire_water_running" } |
| 2839 | + ] |
| 2840 | + } |
| 2841 | + ] |
| 2842 | + }, |
| 2843 | + "else": { |
| 2844 | + "if": { "not": { "u_is_on_terrain_with_flag": "SWIMMABLE" } }, |
| 2845 | + "then": { "u_add_effect": "haste_vampire_water_running", "duration": "PERMANENT" } |
| 2846 | + } |
| 2847 | + } |
| 2848 | + ] |
2772 | 2849 | }
|
2773 | 2850 | ]
|
0 commit comments