|
646 | 646 | "type": "SPELL", |
647 | 647 | "name": "Sorcerer's Hand", |
648 | 648 | "description": "Pull a target or set of items to you.", |
649 | | - "valid_targets": [ "ally", "hostile", "item", "ground" ], |
| 649 | + "valid_targets": [ "self" ], |
650 | 650 | "spell_class": "MAGUS", |
651 | 651 | "flags": [ "EVOCATION_SPELL", "CONCENTRATE", "VERBAL", "SOMATIC", "NO_HANDS" ], |
652 | 652 | "extra_effects": [ { "id": "eoc_evocation_setup", "hit_self": true } ], |
653 | 653 | "difficulty": 2, |
654 | 654 | "max_level": 10, |
655 | | - "effect": "directed_push", |
| 655 | + "effect": "effect_on_condition", |
| 656 | + "effect_str": "EOC_MAGUS_FAR_HAND_PULL", |
656 | 657 | "shape": "blast", |
657 | | - "min_damage": -1, |
658 | | - "max_damage": -10, |
659 | | - "damage_increment": -1, |
660 | | - "min_range": 1, |
661 | | - "max_range": 10, |
662 | | - "range_increment": 1, |
663 | 658 | "magic_type": "magiclysm_generic_magic", |
664 | 659 | "base_energy_cost": 200, |
665 | 660 | "final_energy_cost": 50, |
|
668 | 663 | "final_casting_time": 50, |
669 | 664 | "casting_time_increment": -10 |
670 | 665 | }, |
| 666 | + { |
| 667 | + "type": "effect_on_condition", |
| 668 | + "id": "EOC_MAGUS_FAR_HAND_PULL", |
| 669 | + "effect": [ |
| 670 | + { |
| 671 | + "run_eoc_selector": [ "EOC_MAGUS_FAR_HAND_PULL_ITEM", "EOC_MAGUS_FAR_HAND_PULL_CREATURE" ], |
| 672 | + "names": [ "Grab Item", "Pull Creature" ], |
| 673 | + "keys": [ "a", "b" ], |
| 674 | + "allow_cancel": true, |
| 675 | + "descriptions": [ "Pick up an item and pull it to you", "Target a creature and pull it toward you" ] |
| 676 | + } |
| 677 | + ] |
| 678 | + }, |
| 679 | + { |
| 680 | + "type": "effect_on_condition", |
| 681 | + "id": "EOC_MAGUS_FAR_HAND_PULL_ITEM", |
| 682 | + "effect": [ { "u_cast_spell": { "id": "magus_far_hand_pull_items" }, "targeted": true } ] |
| 683 | + }, |
| 684 | + { |
| 685 | + "type": "effect_on_condition", |
| 686 | + "id": "EOC_MAGUS_FAR_HAND_PULL_CREATURE", |
| 687 | + "effect": [ { "u_cast_spell": { "id": "magus_far_hand_pull_creatures" }, "targeted": true } ] |
| 688 | + }, |
| 689 | + { |
| 690 | + "id": "magus_far_hand_pull_creatures", |
| 691 | + "type": "SPELL", |
| 692 | + "name": { "str": "Sorcerer's Hand Creature", "//~": "NO_I18N" }, |
| 693 | + "description": { "str": "Pull a target to you.", "//~": "NO_I18N" }, |
| 694 | + "valid_targets": [ "ally", "hostile" ], |
| 695 | + "spell_class": "MAGUS", |
| 696 | + "flags": [ "CONCENTRATE", "VERBAL", "SOMATIC", "NO_HANDS" ], |
| 697 | + "difficulty": 2, |
| 698 | + "max_level": 10, |
| 699 | + "effect": "directed_push", |
| 700 | + "shape": "blast", |
| 701 | + "min_damage": { "math": [ "u_spell_level('magus_far_hand_pull') * -1" ] }, |
| 702 | + "max_damage": { "math": [ "u_spell_level('magus_far_hand_pull') * -1" ] }, |
| 703 | + "min_range": { "math": [ "(u_spell_level('magus_far_hand_pull') * 1) + 3" ] }, |
| 704 | + "max_range": { "math": [ "(u_spell_level('magus_far_hand_pull') * 1) + 3" ] }, |
| 705 | + "magic_type": "magiclysm_generic_magic" |
| 706 | + }, |
| 707 | + { |
| 708 | + "id": "magus_far_hand_pull_items", |
| 709 | + "type": "SPELL", |
| 710 | + "name": { "str": "Sorcerer's Hand Items", "//~": "NO_I18N" }, |
| 711 | + "description": { "str": "Pull an items to you.", "//~": "NO_I18N" }, |
| 712 | + "valid_targets": [ "ally", "hostile", "item", "ground" ], |
| 713 | + "spell_class": "MAGUS", |
| 714 | + "flags": [ "CONCENTRATE", "VERBAL", "SOMATIC", "NO_HANDS" ], |
| 715 | + "difficulty": 2, |
| 716 | + "max_level": 10, |
| 717 | + "effect": "pickup", |
| 718 | + "shape": "blast", |
| 719 | + "min_damage": { "math": [ "250 - (u_spell_level('magus_far_hand_pull') * 10)" ] }, |
| 720 | + "max_damage": { "math": [ "250 - (u_spell_level('magus_far_hand_pull') * 10)" ] }, |
| 721 | + "min_range": { "math": [ "(u_spell_level('magus_far_hand_pull') * 1) + 3" ] }, |
| 722 | + "max_range": { "math": [ "(u_spell_level('magus_far_hand_pull') * 1) + 3" ] }, |
| 723 | + "magic_type": "magiclysm_generic_magic" |
| 724 | + }, |
671 | 725 | { |
672 | 726 | "id": "magus_ranged_increase", |
673 | 727 | "type": "SPELL", |
|
0 commit comments