From 6a24081bce8782eff7ecfb3ea7ed22a9816346cf Mon Sep 17 00:00:00 2001 From: WingArmor <35405136+WingArmor@users.noreply.github.com> Date: Sat, 10 Mar 2018 11:18:38 +0100 Subject: [PATCH] Create tornado.yml --- Magic/spells/tornado.yml | 75 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 Magic/spells/tornado.yml diff --git a/Magic/spells/tornado.yml b/Magic/spells/tornado.yml new file mode 100644 index 0000000000..f4d09e9b9a --- /dev/null +++ b/Magic/spells/tornado.yml @@ -0,0 +1,75 @@ +tornado: + icon: diamond_axe:192 + icon_disabled: diamond_hoe:192 + upgrade_required_path: master + upgrade_required_casts: 50 + icon_url: http://textures.minecraft.net/texture/2362826553aaf78fd8b511fdedba941738ddd21c0f889e6bf2697d5a4f74f27 + category: elemental + pvp_restricted: true + worth: 900 + earns_sp: 11 + actions: + cast: + - class: CustomProjectile + tick: + - class: ChangeContext + actions: + - class: Sphere + ignore_result: true + actions: + - class: Volume + actions: + - class: ModifyBlock + direction: 0,1,0 + speed: 0.2 + - class: AreaOfEffect + actions: + - class: Velocity + ignore_result: true + - class: Damage + effects: + projectile: + - class: EffectSingle + sound: block_fire_extinguish + sound_volume: 0.2 + sound_pitch: 0.3 + effectlib: + class: TornadoEffect + duration: $lifetime + tornadoHeight: 8 + distance: 0.8 + cloudSize: 1 + tornadoParticle: spell + offset: 0,-2,0 + cast: + - class: EffectSingle + sound: block_fire_extinguish + sound_volume: 1 + sound_pitch: 0.2 + location: origin + parameters: + target: none + ignore_targeting: true + transparent: air,destructible + target_type: Entity + radius: 2 + target_count: 16 + item_speed: 0.1 + living_entity_speed: 0.2 + push: -3 + y_offset: 1 + velocity: 3 + cooldown: 2000 + lifetime: 30000 + interval: 4 + damage: 1 + brush: erase + falling: true + falling_probability: 0.8 + undo: 15000 + x_size: 0 + z_size: 0 + y_size: 0 + destructible_override: true + costs: + mana: 50