|
342 | 342 | [ "EOC_NETHER_EFFECT_CHECK_VOMIT", 9 ],
|
343 | 343 | [ "EOC_DRAIN_EFFECT_CHECK_NOSEBLEED", 12 ],
|
344 | 344 | [ "EOC_DRAIN_EFFECT_CHECK_STAMINA_LOSS", 8 ],
|
| 345 | + [ "EOC_NETHER_EFFECT_CHECK_CLAIR_BLURRED_SIGHT", 6 ], |
345 | 346 | [ "EOC_DRAIN_EFFECT_CHECK_POWER_SURGE", 5 ],
|
346 | 347 | [ "EOC_DRAIN_EFFECT_CHECK_SLEEPINESS", 5 ],
|
347 | 348 | [ "EOC_NETHER_EFFECT_CHECK_ATTUNEMENT_RAISING_EFFECT", 9 ],
|
| 349 | + [ "EOC_NETHER_EFFECT_CHECK_WEARINESS_EXTRA_CALORIE_EFFECT", 7 ], |
348 | 350 | [ "EOC_NETHER_EFFECT_CHECK_FEEDBACK", 9 ],
|
349 | 351 | [ "EOC_NETHER_EFFECT_CHECK_OBSERVED", 6 ],
|
| 352 | + [ "EOC_NETHER_EFFECT_CHECK_PYROKINETIC_FEVER", 7 ], |
350 | 353 | [ "EOC_NETHER_EFFECT_CHECK_TELEPORTATION_INCORPOREALITY", 4 ],
|
351 | 354 | [ "EOC_DRAIN_EFFECT_CHECK_TELEPORT_LOCK", 5 ],
|
352 | 355 | [ "EOC_NETHER_EFFECT_CHECK_BIOKIN_METABOLIC_INVERSION", 5 ],
|
353 | 356 | [ "EOC_NETHER_EFFECT_CHECK_ELECTROKINETIC_POWER_DRAIN", 5 ],
|
354 | 357 | [ "EOC_DRAIN_EFFECT_CHECK_WEAKNESS", 5 ],
|
| 358 | + [ "EOC_NETHER_EFFECT_CHECK_PYROKINETIC_FOG", 4 ], |
355 | 359 | [ "EOC_NETHER_EFFECT_CHECK_EXTRA_KCAL", 6 ],
|
| 360 | + [ "EOC_NETHER_EFFECT_CHECK_MINDSHOCK_STUN", 6 ], |
356 | 361 | [ "EOC_NETHER_EFFECT_CHECK_ATTENUATION", 8 ],
|
357 | 362 | [ "EOC_NETHER_EFFECT_CHECK_BREATHING", 5 ],
|
358 | 363 | [ "EOC_NETHER_EFFECT_CHECK_FORCE_WAVE", 5 ],
|
|
551 | 556 | ],
|
552 | 557 | "false_effect": [ { "run_eocs": "EOC_PSIONICS_NETHER_ATTUNEMENT_CONSEQUENCES" } ]
|
553 | 558 | },
|
| 559 | + { |
| 560 | + "type": "effect_on_condition", |
| 561 | + "id": "EOC_NETHER_EFFECT_CHECK_CLAIR_BLURRED_SIGHT", |
| 562 | + "//": "Base is 3% chance from 55 attunement to 95 attunement, then scaling up 0.15% per attunement up to 12% chance at 155 attunement, then scaling up 0.25% chance per attunement up to 35.75% chance at max, plus 1/10th the Difficulty squared.", |
| 563 | + "condition": { |
| 564 | + "and": [ |
| 565 | + { "compare_string": [ "CLAIRSENTIENT", { "context_val": "school" } ] }, |
| 566 | + { "math": [ "u_vitamin('vitamin_psionic_drain') >= 55" ] } |
| 567 | + ] |
| 568 | + }, |
| 569 | + "effect": [ |
| 570 | + { |
| 571 | + "if": { |
| 572 | + "x_in_y_chance": { |
| 573 | + "x": { |
| 574 | + "math": [ |
| 575 | + "( clamp( ( (u_vitamin('vitamin_psionic_drain') - 95) * 1.5 ), 0, 90) + clamp( ( (u_vitamin('vitamin_psionic_drain') - 155) * 2.5 ), 0, 300) + (nether_attune_difficulty_scaler(u_latest_channeled_power_difficulty)) + 30) + nether_attune_torrential_channeling_influence()" |
| 576 | + ] |
| 577 | + }, |
| 578 | + "y": 1000 |
| 579 | + } |
| 580 | + }, |
| 581 | + "then": [ |
| 582 | + { "u_message": "As you unleash your powers, your vision blurs!", "type": "bad" }, |
| 583 | + { |
| 584 | + "u_add_effect": "effect_nether_attunement_clair_blurred_sight", |
| 585 | + "duration": { |
| 586 | + "math": [ "time(' 20 m') * rng( ( u_vitamin('vitamin_psionic_drain') / 2 ), ( u_vitamin('vitamin_psionic_drain') * 2 ) )" ] |
| 587 | + } |
| 588 | + } |
| 589 | + ] |
| 590 | + } |
| 591 | + ], |
| 592 | + "false_effect": [ { "run_eocs": "EOC_PSIONICS_NETHER_ATTUNEMENT_CONSEQUENCES" } ] |
| 593 | + }, |
554 | 594 | {
|
555 | 595 | "type": "effect_on_condition",
|
556 | 596 | "id": "EOC_DRAIN_EFFECT_CHECK_SLEEPINESS",
|
|
606 | 646 | ],
|
607 | 647 | "false_effect": [ { "run_eocs": "EOC_PSIONICS_NETHER_ATTUNEMENT_CONSEQUENCES" } ]
|
608 | 648 | },
|
| 649 | + { |
| 650 | + "type": "effect_on_condition", |
| 651 | + "id": "EOC_NETHER_EFFECT_CHECK_WEARINESS_EXTRA_CALORIE_EFFECT", |
| 652 | + "//": "Base is 3% chance from 70 attunement to 90 attunement, then scaling up 0.15% per attunement up to 15.75% chance at 175 attunement, then scaling up 0.3% chance per attunement up to 38.25% chance at max, plus 1/10th the Difficulty squared.", |
| 653 | + "condition": { |
| 654 | + "or": [ { "math": [ "u_vitamin('vitamin_psionic_drain') >= 70" ] }, { "u_has_trait": "PSI_TORRENTIAL_CHANNELING_active" } ] |
| 655 | + }, |
| 656 | + "effect": [ |
| 657 | + { |
| 658 | + "if": { |
| 659 | + "x_in_y_chance": { |
| 660 | + "x": { |
| 661 | + "math": [ |
| 662 | + "( clamp( ( (u_vitamin('vitamin_psionic_drain') - 90) * 1.5), 0, 127.5) + clamp( ( (u_vitamin('vitamin_psionic_drain') - 175) * 3 ), 0, 375) + (nether_attune_difficulty_scaler(u_latest_channeled_power_difficulty)) + 30) + nether_attune_torrential_channeling_influence()" |
| 663 | + ] |
| 664 | + }, |
| 665 | + "y": 1000 |
| 666 | + } |
| 667 | + }, |
| 668 | + "then": [ |
| 669 | + { "u_message": "You feel a wave of bone-deep weariness.", "type": "bad" }, |
| 670 | + { |
| 671 | + "math": [ "u_calories() -= rng( ( u_vitamin('vitamin_psionic_drain') * 4), ( u_vitamin('vitamin_psionic_drain') * 10) )" ] |
| 672 | + } |
| 673 | + ] |
| 674 | + } |
| 675 | + ], |
| 676 | + "false_effect": [ { "run_eocs": "EOC_PSIONICS_NETHER_ATTUNEMENT_CONSEQUENCES" } ] |
| 677 | + }, |
609 | 678 | {
|
610 | 679 | "type": "effect_on_condition",
|
611 | 680 | "id": "EOC_NETHER_EFFECT_CHECK_FEEDBACK",
|
|
702 | 771 | ],
|
703 | 772 | "false_effect": [ { "run_eocs": "EOC_PSIONICS_NETHER_ATTUNEMENT_CONSEQUENCES" } ]
|
704 | 773 | },
|
| 774 | + { |
| 775 | + "type": "effect_on_condition", |
| 776 | + "id": "EOC_NETHER_EFFECT_CHECK_PYROKINETIC_FEVER", |
| 777 | + "//": "Base is 2.5% chance from 75 attunement to 120 attunement, then scaling up 0.15% per attunement up to 11.5% chance at 180 attunement, then scaling up 0.3% chance per attunement up to 32.5% chance at max, plus 1/10th the Difficulty squared.", |
| 778 | + "condition": { |
| 779 | + "and": [ |
| 780 | + { "compare_string": [ "PYROKINETIC", { "context_val": "school" } ] }, |
| 781 | + { "math": [ "u_vitamin('vitamin_psionic_drain') >= 75" ] } |
| 782 | + ] |
| 783 | + }, |
| 784 | + "effect": [ |
| 785 | + { |
| 786 | + "if": { |
| 787 | + "x_in_y_chance": { |
| 788 | + "x": { |
| 789 | + "math": [ |
| 790 | + "( clamp( ( (u_vitamin('vitamin_psionic_drain') - 120) * 1.5), 0, 105) + clamp( ( (u_vitamin('vitamin_psionic_drain') - 180) * 3 ), 0, 375) + (nether_attune_difficulty_scaler(u_latest_channeled_power_difficulty)) + 25) + nether_attune_torrential_channeling_influence()" |
| 791 | + ] |
| 792 | + }, |
| 793 | + "y": 1000 |
| 794 | + } |
| 795 | + }, |
| 796 | + "then": [ |
| 797 | + { "u_message": "You feel feverish and weak.", "type": "bad" }, |
| 798 | + { |
| 799 | + "u_add_effect": "effect_nether_attunement_pyrokinetic_fever", |
| 800 | + "duration": { |
| 801 | + "math": [ "time(' 10 m') * rng( ( u_vitamin('vitamin_psionic_drain') / 2 ), ( u_vitamin('vitamin_psionic_drain') * 2 ) )" ] |
| 802 | + } |
| 803 | + } |
| 804 | + ] |
| 805 | + } |
| 806 | + ], |
| 807 | + "false_effect": [ { "run_eocs": "EOC_PSIONICS_NETHER_ATTUNEMENT_CONSEQUENCES" } ] |
| 808 | + }, |
705 | 809 | {
|
706 | 810 | "type": "effect_on_condition",
|
707 | 811 | "id": "EOC_NETHER_EFFECT_CHECK_TELEPORTATION_INCORPOREALITY",
|
|
903 | 1007 | {
|
904 | 1008 | "u_add_effect": "effect_nether_attunement_pyrokinetic_fog",
|
905 | 1009 | "duration": {
|
906 |
| - "math": [ "time(' 15 m') * rng( ( u_vitamin('vitamin_psionic_drain') / 2 ), ( u_vitamin('vitamin_psionic_drain') * 2 ) )" ] |
| 1010 | + "math": [ "time(' 4 m') * rng( ( u_vitamin('vitamin_psionic_drain') / 2 ), ( u_vitamin('vitamin_psionic_drain') * 2 ) )" ] |
907 | 1011 | }
|
908 | 1012 | }
|
909 | 1013 | ]
|
|
936 | 1040 | ],
|
937 | 1041 | "false_effect": [ { "run_eocs": "EOC_PSIONICS_NETHER_ATTUNEMENT_CONSEQUENCES" } ]
|
938 | 1042 | },
|
| 1043 | + { |
| 1044 | + "type": "effect_on_condition", |
| 1045 | + "id": "EOC_NETHER_EFFECT_CHECK_MINDSHOCK_STUN", |
| 1046 | + "//": "Base is 3% chance from 115 attunement to 150 attunement, then scaling up 0.2% per attunement up to 9% chance at 180 attunement, then scaling up 0.35% chance per attunement up to 33.5% chance at max, plus 1/10th the Difficulty squared.", |
| 1047 | + "condition": { |
| 1048 | + "or": [ { "math": [ "u_vitamin('vitamin_psionic_drain') >= 115" ] }, { "u_has_trait": "PSI_TORRENTIAL_CHANNELING_active" } ] |
| 1049 | + }, |
| 1050 | + "effect": [ |
| 1051 | + { |
| 1052 | + "if": { |
| 1053 | + "x_in_y_chance": { |
| 1054 | + "x": { |
| 1055 | + "math": [ |
| 1056 | + "( clamp( (( u_vitamin('vitamin_psionic_drain') - 150 ) * 2), 0, 60) + clamp( ( (u_vitamin('vitamin_psionic_drain') - 180) * 3.5 ), 0, 300) + (nether_attune_difficulty_scaler(u_latest_channeled_power_difficulty)) + 30) + nether_attune_torrential_channeling_influence()" |
| 1057 | + ] |
| 1058 | + }, |
| 1059 | + "y": 1000 |
| 1060 | + } |
| 1061 | + }, |
| 1062 | + "then": [ |
| 1063 | + { "u_message": "Power floods into your mind, washing away all other thought!", "type": "bad" }, |
| 1064 | + { |
| 1065 | + "u_add_effect": "stunned", |
| 1066 | + "duration": { "math": [ "2 + rand( (u_vitamin('vitamin_psionic_drain') / 50 ) )" ] } |
| 1067 | + }, |
| 1068 | + { |
| 1069 | + "u_add_effect": "psi_stunned", |
| 1070 | + "duration": { "math": [ "2 + rand( (u_vitamin('vitamin_psionic_drain') / 50 ) )" ] } |
| 1071 | + } |
| 1072 | + ] |
| 1073 | + } |
| 1074 | + ], |
| 1075 | + "false_effect": [ { "run_eocs": "EOC_PSIONICS_NETHER_ATTUNEMENT_CONSEQUENCES" } ] |
| 1076 | + }, |
939 | 1077 | {
|
940 | 1078 | "type": "effect_on_condition",
|
941 | 1079 | "id": "EOC_NETHER_EFFECT_CHECK_ATTENUATION",
|
|
0 commit comments