|
566 | 566 | { "run_eocs": "EOC_CONCENTRATION_VS_LIMIT_CALCULATIONS" }
|
567 | 567 | ]
|
568 | 568 | },
|
| 569 | + { |
| 570 | + "type": "effect_on_condition", |
| 571 | + "id": "EOC_CONCENTRATION_LIMIT_INSTANT_UPDATER", |
| 572 | + "//": "This allows live reporting if any conditions, such as being slimed or being dazed etc., change your concentration limit", |
| 573 | + "recurrence": 1, |
| 574 | + "condition": { |
| 575 | + "and": [ |
| 576 | + { |
| 577 | + "u_has_any_trait": [ |
| 578 | + "BIOKINETIC", |
| 579 | + "CLAIRSENTIENT", |
| 580 | + "ELECTROKINETIC", |
| 581 | + "PHOTOKINETIC", |
| 582 | + "PYROKINETIC", |
| 583 | + "TELEKINETIC", |
| 584 | + "TELEPATH", |
| 585 | + "TELEPORTER", |
| 586 | + "VITAKINETIC", |
| 587 | + "PSYCHIC_KNACK" |
| 588 | + ] |
| 589 | + }, |
| 590 | + { "math": [ "u_vitamin('vitamin_maintained_powers') >= 1" ] } |
| 591 | + ] |
| 592 | + }, |
| 593 | + "deactivate_condition": { |
| 594 | + "not": { |
| 595 | + "u_has_any_trait": [ |
| 596 | + "BIOKINETIC", |
| 597 | + "CLAIRSENTIENT", |
| 598 | + "ELECTROKINETIC", |
| 599 | + "PHOTOKINETIC", |
| 600 | + "PYROKINETIC", |
| 601 | + "TELEKINETIC", |
| 602 | + "TELEPATH", |
| 603 | + "TELEPORTER", |
| 604 | + "VITAKINETIC", |
| 605 | + "PSYCHIC_KNACK" |
| 606 | + ] |
| 607 | + } |
| 608 | + }, |
| 609 | + "effect": [ |
| 610 | + { "math": [ "_debug_maintained_powers = u_vitamin('vitamin_maintained_powers')" ] }, |
| 611 | + { "math": [ "_debug_concentration_calculations = concentration_calculations()" ] }, |
| 612 | + { |
| 613 | + "u_message": "You are concentrating on <context_val:debug_maintained_powers> / <context_val:debug_concentration_calculations> powers (current/limit).", |
| 614 | + "type": "debug" |
| 615 | + }, |
| 616 | + { "run_eocs": "EOC_CONCENTRATION_VS_LIMIT_CALCULATIONS" } |
| 617 | + ] |
| 618 | + }, |
569 | 619 | {
|
570 | 620 | "type": "effect_on_condition",
|
571 | 621 | "id": "EOC_CONCENTRATION_VS_LIMIT_CALCULATIONS",
|
|
581 | 631 | {
|
582 | 632 | "if": { "u_has_effect": "effect_psi_intense_concentration" },
|
583 | 633 | "then": [
|
584 |
| - { "u_message": "As you stop concentrating, your mind clears a bit. It's easier to think now.", "type": "good" }, |
| 634 | + { "u_message": "The pressure on your mind lightens. It's easier to concentrate now.", "type": "good" }, |
585 | 635 | { "u_lose_effect": "effect_psi_intense_concentration" }
|
586 | 636 | ]
|
587 | 637 | }
|
|
592 | 642 | "id": "EOC_POWER_MAINTENANCE_CONCENTRATION_CHECK",
|
593 | 643 | "//": "x-in_y event prevents divide-by-0 but makes concentration breaking much more likely the more negative your concentration limit is",
|
594 | 644 | "//2": "This controls gaining metaphysics XP on concentration success or failure. Gaining metaphysics XP for general channeling of powers is in eoc_misc",
|
| 645 | + "//3": "There is a small chance for your concentration breaking if you are at your exact limit. This is deliberate", |
595 | 646 | "condition": {
|
596 | 647 | "and": [
|
597 | 648 | { "math": [ "u_vitamin('vitamin_maintained_powers') >= concentration_calculations()" ] },
|
|
610 | 661 | "effect": [
|
611 | 662 | { "u_message": "Your concentration breaks!", "type": "bad" },
|
612 | 663 | { "run_eocs": [ "EOC_END_PSI_POWERS_MAINTAINED", "EOC_CONCENTRATION_FAILURE_REDUCE_FOCUS" ] },
|
| 664 | + "u_cancel_activity", |
613 | 665 | {
|
614 | 666 | "math": [
|
615 | 667 | "u_vitamin('vitamin_psionic_drain')",
|
|
0 commit comments