scoreboard players set @e[name=Mordum,score_SPC_Wait=0] SPC_Wait 1
scoreboard players add @e[name=Mordum,score_SPC_Time=260] SPC_Time 1

entitydata @e[name=Mordum] {NoAI:1}
execute @e[name=Mordum,score_SPC_Time_min=1,score_SPC_Time=1] ~ ~ ~ /particle cloud ~ ~ ~ 3 2 3 0.1 500 showPartial @a[tag=TutorialEncounter]
teleport @e[name=Mordum,score_SPC_Time_min=1,score_SPC_Time=1] 278 70.0 -253.0 90 0
execute @e[name=Mordum,score_SPC_Time_min=1,score_SPC_Time=1] ~ ~ ~ /time set 14000
effect @e[name=Mordum,tag=!VoidShift] resistance 72000 10 false
scoreboard players tag @e[name=Mordum,tag=!VoidShift] add VoidShift {ActiveEffects:[{Id:11b,Amplifier:10b}]}

execute @e[name=Mordum,score_SPC_Time_min=1,score_SPC_Time=1] ~ ~ ~ /playsound b_unknown_say_precast_voidshift voice @a[tag=TutorialEncounter] ~ ~ ~ 1 1 0.5

function spire_of_souls:source/creature/tutorial/spellcast_particle/particle_voidshift if @e[name=Mordum,score_SPC_Time_min=140,score_SPC_Time=260]
function spire_of_souls:source/creature/tutorial/spellcast_sound/playsound_voidshift if @e[name=Mordum,score_SPC_Time_min=1]
function spire_of_souls:source/creature/tutorial/spellcast_effect/effect_voidshift if @e[name=Mordum,score_SPC_Time_min=260]