|
573 | 573 | "damage_max_instance": [ { "damage_type": "stab", "amount": 25, "armor_penetration": 15 } ],
|
574 | 574 | "infection_chance": 15,
|
575 | 575 | "//": "Bite for targets whose blood the star vampire does not want or cannot drink. Should never target the player unless they can't bleed or have unappetizing blood.",
|
576 |
| - "condition": { |
577 |
| - "or": [ |
578 |
| - { "npc_has_flag": "BLEED_IMMUNE" }, |
579 |
| - { "npc_has_trait": "ACIDBLOOD" }, |
580 |
| - { "npc_has_trait": "THRESH_CRUSTACEAN" }, |
581 |
| - { "npc_has_trait": "THRESH_INSECT" }, |
582 |
| - { "npc_has_trait": "THRESH_CEPHALOPOD" }, |
583 |
| - { "npc_has_trait": "THRESH_GASTROPOD" }, |
584 |
| - { "npc_has_species": "ZOMBIE" }, |
585 |
| - { "npc_has_species": "MAMMAL" }, |
586 |
| - { "npc_has_species": "AMPHIBIAN" }, |
587 |
| - { "npc_has_species": "BIRD" }, |
588 |
| - { "npc_has_species": "CYBORG" }, |
589 |
| - { "npc_has_species": "REPTILE" }, |
590 |
| - { "npc_has_species": "FISH" }, |
591 |
| - { "npc_has_species": "KRAKEN" }, |
592 |
| - { "npc_has_species": "MUTANT" }, |
593 |
| - { "npc_has_species": "NETHER" }, |
594 |
| - { "npc_has_species": "MIGO" }, |
595 |
| - { "npc_has_species": "FUNGUS" }, |
596 |
| - { "npc_has_species": "SLIME" }, |
597 |
| - { "npc_has_species": "LEECH_PLANT" }, |
598 |
| - { "npc_has_species": "INSECT" }, |
599 |
| - { "npc_has_species": "CENTIPEDE" }, |
600 |
| - { "npc_has_species": "INSECT_FLYING" }, |
601 |
| - { "npc_has_species": "SPIDER" }, |
602 |
| - { "npc_has_species": "PLANT" }, |
603 |
| - { "npc_has_species": "MOLLUSK" }, |
604 |
| - { "npc_has_species": "WORM" }, |
605 |
| - { "npc_has_species": "ROBOT" }, |
606 |
| - { "npc_has_species": "HORROR" }, |
607 |
| - { "npc_has_species": "PLANT" }, |
608 |
| - { "npc_has_species": "ABERRATION" } |
609 |
| - ] |
610 |
| - }, |
| 576 | + "condition": { "not": { "test_eoc": "target_valid_drink" } }, |
611 | 577 | "hit_dmg_u": "%1$s bites your %2$s with its fang-filled maw!",
|
612 | 578 | "hit_dmg_npc": "%1$s bites <npcname>'s %2$s with its fang-filled maw!",
|
613 | 579 | "miss_msg_u": "%1$s tries to bite you, but you dodge!",
|
|
620 | 586 | "attack_type": "melee",
|
621 | 587 | "id": "star_vampire_blood_drinking",
|
622 | 588 | "damage_max_instance": [ { "damage_type": "stab", "amount": 5, "armor_penetration": 5, "armor_multiplier": 0.5 } ],
|
623 |
| - "condition": { |
624 |
| - "and": [ |
625 |
| - { "u_has_flag": "GRAB_FILTER" }, |
626 |
| - { "npc_has_flag": "GRAB" }, |
627 |
| - { |
628 |
| - "and": [ |
629 |
| - { "not": { "npc_has_trait": "ACIDBLOOD" } }, |
630 |
| - { "not": { "npc_has_trait": "THRESH_CRUSTACEAN" } }, |
631 |
| - { "not": { "npc_has_trait": "THRESH_INSECT" } }, |
632 |
| - { "not": { "npc_has_trait": "THRESH_CEPHALOPOD" } }, |
633 |
| - { "not": { "npc_has_trait": "THRESH_GASTROPOD" } }, |
634 |
| - { "not": { "npc_has_flag": "BLEED_IMMUNE" } }, |
635 |
| - { "not": { "npc_has_species": "ZOMBIE" } }, |
636 |
| - { "not": { "npc_has_species": "MAMMAL" } }, |
637 |
| - { "not": { "npc_has_species": "AMPHIBIAN" } }, |
638 |
| - { "not": { "npc_has_species": "BIRD" } }, |
639 |
| - { "not": { "npc_has_species": "CYBORG" } }, |
640 |
| - { "not": { "npc_has_species": "REPTILE" } }, |
641 |
| - { "not": { "npc_has_species": "FISH" } }, |
642 |
| - { "not": { "npc_has_species": "KRAKEN" } }, |
643 |
| - { "not": { "npc_has_species": "MUTANT" } }, |
644 |
| - { "not": { "npc_has_species": "NETHER" } }, |
645 |
| - { "not": { "npc_has_species": "MIGO" } }, |
646 |
| - { "not": { "npc_has_species": "FUNGUS" } }, |
647 |
| - { "not": { "npc_has_species": "SLIME" } }, |
648 |
| - { "not": { "npc_has_species": "LEECH_PLANT" } }, |
649 |
| - { "not": { "npc_has_species": "INSECT" } }, |
650 |
| - { "not": { "npc_has_species": "CENTIPEDE" } }, |
651 |
| - { "not": { "npc_has_species": "INSECT_FLYING" } }, |
652 |
| - { "not": { "npc_has_species": "SPIDER" } }, |
653 |
| - { "not": { "npc_has_species": "PLANT" } }, |
654 |
| - { "not": { "npc_has_species": "MOLLUSK" } }, |
655 |
| - { "not": { "npc_has_species": "WORM" } }, |
656 |
| - { "not": { "npc_has_species": "ROBOT" } }, |
657 |
| - { "not": { "npc_has_species": "HORROR" } }, |
658 |
| - { "not": { "npc_has_species": "PLANT" } }, |
659 |
| - { "not": { "npc_has_species": "ABERRATION" } }, |
660 |
| - { "not": { "npc_has_species": "FERAL" } } |
661 |
| - ] |
662 |
| - } |
663 |
| - ] |
664 |
| - }, |
| 589 | + "condition": { "and": [ { "u_has_flag": "GRAB_FILTER" }, { "npc_has_flag": "GRAB" }, { "test_eoc": "target_valid_drink" } ] }, |
665 | 590 | "eoc": [ "EOC_STAR_VAMPIRE_FANGED_DRINK_BLOOD" ],
|
666 | 591 | "self_effects_ondmg": [ { "id": "star_vampire_blood_drank", "duration": 10 } ],
|
667 | 592 | "cooldown": 1,
|
|
761 | 686 | "damage_max_instance": [ { "damage_type": "stab", "amount": 13, "armor_penetration": 7 } ],
|
762 | 687 | "infection_chance": 15,
|
763 | 688 | "//": "Bite for targets whose blood the star vampire does not want or cannot drink. Should never target the player unless they can't bleed or have unappetizing blood.",
|
764 |
| - "condition": { |
765 |
| - "or": [ |
766 |
| - { "npc_has_flag": "BLEED_IMMUNE" }, |
767 |
| - { "npc_has_trait": "ACIDBLOOD" }, |
768 |
| - { "npc_has_trait": "THRESH_CRUSTACEAN" }, |
769 |
| - { "npc_has_trait": "THRESH_INSECT" }, |
770 |
| - { "npc_has_trait": "THRESH_CEPHALOPOD" }, |
771 |
| - { "npc_has_trait": "THRESH_GASTROPOD" }, |
772 |
| - { "npc_has_species": "ZOMBIE" }, |
773 |
| - { "npc_has_species": "MAMMAL" }, |
774 |
| - { "npc_has_species": "AMPHIBIAN" }, |
775 |
| - { "npc_has_species": "BIRD" }, |
776 |
| - { "npc_has_species": "CYBORG" }, |
777 |
| - { "npc_has_species": "REPTILE" }, |
778 |
| - { "npc_has_species": "FISH" }, |
779 |
| - { "npc_has_species": "KRAKEN" }, |
780 |
| - { "npc_has_species": "MUTANT" }, |
781 |
| - { "npc_has_species": "NETHER" }, |
782 |
| - { "npc_has_species": "MIGO" }, |
783 |
| - { "npc_has_species": "FUNGUS" }, |
784 |
| - { "npc_has_species": "SLIME" }, |
785 |
| - { "npc_has_species": "LEECH_PLANT" }, |
786 |
| - { "npc_has_species": "INSECT" }, |
787 |
| - { "npc_has_species": "CENTIPEDE" }, |
788 |
| - { "npc_has_species": "INSECT_FLYING" }, |
789 |
| - { "npc_has_species": "SPIDER" }, |
790 |
| - { "npc_has_species": "PLANT" }, |
791 |
| - { "npc_has_species": "MOLLUSK" }, |
792 |
| - { "npc_has_species": "WORM" }, |
793 |
| - { "npc_has_species": "ROBOT" }, |
794 |
| - { "npc_has_species": "HORROR" }, |
795 |
| - { "npc_has_species": "PLANT" }, |
796 |
| - { "npc_has_species": "ABERRATION" } |
797 |
| - ] |
798 |
| - }, |
| 689 | + "condition": { "not": { "test_eoc": "target_valid_drink" } }, |
799 | 690 | "hit_dmg_u": "%1$s bites your %2$s with its maw!",
|
800 | 691 | "hit_dmg_npc": "%1$s bites <npcname>'s %2$s with its maw!",
|
801 | 692 | "miss_msg_u": "%1$s tries to bite you, but you dodge!",
|
|
808 | 699 | "attack_type": "melee",
|
809 | 700 | "id": "star_vampire_blood_drinking",
|
810 | 701 | "damage_max_instance": [ { "damage_type": "stab", "amount": 3, "armor_penetration": 3, "armor_multiplier": 0.75 } ],
|
811 |
| - "condition": { |
812 |
| - "and": [ |
813 |
| - { "u_has_flag": "GRAB_FILTER" }, |
814 |
| - { "npc_has_flag": "GRAB" }, |
815 |
| - { |
816 |
| - "and": [ |
817 |
| - { "not": { "npc_has_trait": "ACIDBLOOD" } }, |
818 |
| - { "not": { "npc_has_trait": "THRESH_CRUSTACEAN" } }, |
819 |
| - { "not": { "npc_has_trait": "THRESH_INSECT" } }, |
820 |
| - { "not": { "npc_has_trait": "THRESH_CEPHALOPOD" } }, |
821 |
| - { "not": { "npc_has_trait": "THRESH_GASTROPOD" } }, |
822 |
| - { "not": { "npc_has_flag": "BLEED_IMMUNE" } }, |
823 |
| - { "not": { "npc_has_species": "ZOMBIE" } }, |
824 |
| - { "not": { "npc_has_species": "MAMMAL" } }, |
825 |
| - { "not": { "npc_has_species": "AMPHIBIAN" } }, |
826 |
| - { "not": { "npc_has_species": "BIRD" } }, |
827 |
| - { "not": { "npc_has_species": "CYBORG" } }, |
828 |
| - { "not": { "npc_has_species": "REPTILE" } }, |
829 |
| - { "not": { "npc_has_species": "FISH" } }, |
830 |
| - { "not": { "npc_has_species": "KRAKEN" } }, |
831 |
| - { "not": { "npc_has_species": "MUTANT" } }, |
832 |
| - { "not": { "npc_has_species": "NETHER" } }, |
833 |
| - { "not": { "npc_has_species": "MIGO" } }, |
834 |
| - { "not": { "npc_has_species": "FUNGUS" } }, |
835 |
| - { "not": { "npc_has_species": "SLIME" } }, |
836 |
| - { "not": { "npc_has_species": "LEECH_PLANT" } }, |
837 |
| - { "not": { "npc_has_species": "INSECT" } }, |
838 |
| - { "not": { "npc_has_species": "CENTIPEDE" } }, |
839 |
| - { "not": { "npc_has_species": "INSECT_FLYING" } }, |
840 |
| - { "not": { "npc_has_species": "SPIDER" } }, |
841 |
| - { "not": { "npc_has_species": "PLANT" } }, |
842 |
| - { "not": { "npc_has_species": "MOLLUSK" } }, |
843 |
| - { "not": { "npc_has_species": "WORM" } }, |
844 |
| - { "not": { "npc_has_species": "ROBOT" } }, |
845 |
| - { "not": { "npc_has_species": "HORROR" } }, |
846 |
| - { "not": { "npc_has_species": "PLANT" } }, |
847 |
| - { "not": { "npc_has_species": "ABERRATION" } }, |
848 |
| - { "not": { "npc_has_species": "FERAL" } } |
849 |
| - ] |
850 |
| - } |
851 |
| - ] |
852 |
| - }, |
| 702 | + "condition": { "and": [ { "u_has_flag": "GRAB_FILTER" }, { "npc_has_flag": "GRAB" }, { "test_eoc": "target_valid_drink" } ] }, |
853 | 703 | "eoc": [ "EOC_STAR_VAMPIRE_COILING_DRINK_BLOOD" ],
|
854 | 704 | "self_effects_ondmg": [ { "id": "star_vampire_blood_drank", "duration": 5 } ],
|
855 | 705 | "cooldown": 1,
|
|
0 commit comments