spells-[iamDvz-system]-empower_v1
YAML
variables:
player_empower: {type: player, default: 1, min: 1, max: 10, permanent: true}
player_empower_passive:
spell-class: ".PassiveSpell"
always-granted: false
triggers:
- ticks 20
cancel-default-action: false
spells:
- player_empower_passive_empower
player_empower_passive_empower:
spell-class: ".buff.EmpowerSpell"
helper-spell: true
power-multiplier: "%var:player_empower%"
max-power-multiplier: "%var:player_empower%"
duration: 1.05
toggle: false
spells-[iamDvz]-base_v11
YAML
variables:
iamdvz_temp_var_1: {type: player, default: 0, min: -1024, max: 1024, permanent: false}
iamdvz_temp_var_2: {type: player, default: 0, min: -1024, max: 1024, permanent: false}
iamdvz_temp_var_3: {type: player, default: 0, min: -1024, max: 1024, permanent: false}
iamdvz_temp_var_4: {type: player, default: 0, min: -1024, max: 1024, permanent: false}
iamdvz_temp_var_5: {type: player, default: 0, min: -1024, max: 1024, permanent: false}
debug_message:
spell-class: ".instant.DummySpell"
helper-spell: true
str-cast-self: "&e[DEBUG] &7%arg:1:ERROR%"
dummy:
spell-class: ".instant.DummySpell"
helper-spell: true
dummystr:
spell-class: ".instant.DummySpell"
helper-spell: true
str-cast-self: "%arg:1:EMPTY%"
tdummy:
spell-class: ".targeted.DummySpell"
helper-spell: true
blink:
spell-class: ".targeted.BlinkSpell"
helper-spell: true
leap:
spell-class: ".instant.LeapSpell"
helper-spell: true
forward-velocity: "%arg:1:0%"
upward-velocity: "%arg:2:0%"
rotation: "%arg:3:0%"
add-velocity-instead: "%arg:4:false%"
power-affects-velocity: "%arg:5:false%"
velocity:
spell-class: ".instant.VelocitySpell"
helper-spell: true
speed: "%arg:1:40%"
power-affects-speed: "%arg:2:false%"
fov_fast_zoom:
spell-class: ".MultiSpell"
helper-spell: true
spells:
- fov_fast_zoom_potion_1
- DELAY 2
- fov_fast_zoom_potion_2
fov_fast_zoom_potion_1:
spell-class: ".targeted.PotionEffectSpell"
helper-spell: true
targeted: false
spell-power-affects-duration: false
spell-power-affects-strength: false
potion-effects:
- slowness 2 4 false true false
fov_fast_zoom_potion_2:
spell-class: ".targeted.PotionEffectSpell"
helper-spell: true
targeted: false
spell-power-affects-duration: false
spell-power-affects-strength: false
potion-effects:
- speed 3 1 false true false
spells-[iamDvz]-quaternion_converter
YAML
variables:
sky_x: {type: player, default: 0, min: -1024, max: 1024, permanent: false}
sky_y: {type: player, default: 0, min: -1024, max: 1024, permanent: false}
sky_z: {type: player, default: 0, min: -1024, max: 1024, permanent: false}
sky_x_trans: {type: player, default: 0, min: -1024, max: 1024, permanent: false}
sky_y_trans: {type: player, default: 0, min: -1024, max: 1024, permanent: false}
sky_z_trans: {type: player, default: 0, min: -1024, max: 1024, permanent: false}
sky_w_trans: {type: player, default: 0, min: -1024, max: 1024, permanent: false}
quaternion_converter:
spell-class: ".instant.DummySpell"
variable-mods-cast:
- sky_x =(%arg:1:0%*pi)/180
- sky_y =(%arg:2:0%*pi)/180
- sky_z =(%arg:3:0%*pi)/180
- sky_x_trans =sin(%var:sky_x:1%/2)*cos(%var:sky_y:1%/2)*cos(%var:sky_z:1%/2)-cos(%var:sky_x:1%/2)*sin(%var:sky_y:1%/2)*sin(%var:sky_z:1%/2)
- sky_y_trans =cos(%var:sky_x:1%/2)*sin(%var:sky_y:1%/2)*cos(%var:sky_z:1%/2)+sin(%var:sky_x:1%/2)*cos(%var:sky_y:1%/2)*sin(%var:sky_z:1%/2)
- sky_z_trans =cos(%var:sky_x:1%/2)*cos(%var:sky_y:1%/2)*sin(%var:sky_z:1%/2)-sin(%var:sky_x:1%/2)*sin(%var:sky_y:1%/2)*cos(%var:sky_z:1%/2)
- sky_w_trans =cos(%var:sky_x:1%/2)*cos(%var:sky_y:1%/2)*cos(%var:sky_z:1%/2)+sin(%var:sky_x:1%/2)*sin(%var:sky_y:1%/2)*sin(%var:sky_z:1%/2)
str-cast-self: "[%var:sky_x_trans:3% | %var:sky_y_trans:3% | %var:sky_z_trans:3% | %var:sky_w_trans:3%]"