actor FleshWizardHard 7801
{
//$Category Monsters
//spawnid 171
obituary "%o was burned by FleshWizard."
health 2000//180
radius 20
height 80
meleeDamage 3
mass 2000
speed 48
painchance 88
SEESOUND "wizard/sight"
painsound "wizard/pain"
deathsound "wizard/death"
activesound "wizard/active"
missiletype WizardBall
MONSTER
+FLOORCLIP
+STEALTH
-SOLID
+NOGRAVITY
+FLOAT
+MISSILEMORE
+QUICKTORETALIATE
+noinfighting
+notarget
damagefactor "RedPaint", 0
damagefactor "OrangePaint", 0
damagefactor "YellowPaint", 0
damagefactor "GreenPaint", 0
damagefactor "BluePaint", 0
damagefactor "PurplePaint", 0
damagefactor "WhitePaint", 0
damagefactor "BlackPaint", 0
  PainChance "ShotgunWeak", 5
states
  {
    Crush:
	TNT1 A 0 A_SpawnItemEx ("Gibs", 0,0,0, 0,0,0, 0, SXF_NOCHECKPOSITION|SXF_USEBLOODCOLOR|SXF_CLIENTSIDE)
	TNT1 AAAAAAAA 0 A_SpawnItemEx ("SuperDuperClientsideBloodSpotSpawner", 0,0,0, 0,0,0, 0, SXF_NOCHECKPOSITION|SXF_USEBLOODCOLOR|SXF_CLIENTSIDE)
    TNT1 AAAAAAAA 1 A_SpawnItemEx ("Bloodsquirt3", 0,0,0, 0,0,0, random(-180,180), SXF_USEBLOODCOLOR|SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
    TNT1 A -1
    Stop
	Spawn:
	//LMWZ E 10 A_Look
	TNT1 A 5 A_Look
	loop
	See:
	LMWZ EEFFEEFF 1 A_Fastchase
	loop
	Missile:
	LMWZ E 0 A_Stop
	LMWZ E 0 A_SetShootable
	LMWZ EFG 8 A_FaceTarget
	LMWZ H 16 A_CustomMissile("WizardBall",65,0)
	LMWZ G 5
        LMWZ E 5 A_UnSetShootable
        LMWZ E 1 A_PlaySound ("wizard/tele")
	Goto See
	Pain:
	LMWZ I 3
	LMWZ I 3 A_Pain
        LMWZ I 0 A_PlaySound ("wizard/tele")
	Goto See
	Death:
	LMWZ J 6 A_Scream
	NULL A 0 A_SpawnItemEx ("BloodcloudSpawner", 0, 0, random(8,16), 0, 0, random(0,1), 0, 160)
	LMWZ K 6 A_NoBlocking
	NULL A 0 A_SpawnItemEx ("BloodcloudSpawner", 0, 0, random(8,16), 0, 0, random(0,1), 0, 160)
	LMWZ LMNO 6 A_SpawnItemEx ("BloodFXSpawner", 0,0,0, 0,0,0, 0, 160) 
	LMWZ P -1
	Stop
  }
}

actor FleshWizard 7800
{
//$Category Monsters
//spawnid 170
obituary "%o was burned by FleshWizard."
health 800//160
radius 20
height 80
meleeDamage 3
mass 100
speed 32
painchance 200
SEESOUND "wizard/sight"
painsound "wizard/pain"
deathsound "wizard/death"
activesound "wizard/active"
missiletype WizardBall
damagefactor "RedPaint", 0
damagefactor "OrangePaint", 0
damagefactor "YellowPaint", 0
damagefactor "GreenPaint", 0
damagefactor "BluePaint", 0
damagefactor "PurplePaint", 0
damagefactor "WhitePaint", 0
damagefactor "BlackPaint", 0
  PainChance "ShotgunWeak", 5
  scale 0.9
MONSTER
+FLOORCLIP
+STEALTH
-SOLID
+noinfighting
+notarget
states
  {
    Crush:
	TNT1 A 0 A_SpawnItemEx ("Gibs", 0,0,0, 0,0,0, 0, SXF_NOCHECKPOSITION|SXF_USEBLOODCOLOR|SXF_CLIENTSIDE)
	TNT1 AAAAAAAA 0 A_SpawnItemEx ("SuperDuperClientsideBloodSpotSpawner", 0,0,0, 0,0,0, 0, SXF_NOCHECKPOSITION|SXF_USEBLOODCOLOR|SXF_CLIENTSIDE)
    TNT1 AAAAAAAA 1 A_SpawnItemEx ("Bloodsquirt3", 0,0,0, 0,0,0, random(-180,180), SXF_USEBLOODCOLOR|SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
    TNT1 A -1
    Stop
	Spawn:
	LMWZ E 10 A_Look
	loop
	See:
	LMWZ EEFFEEFF 1 A_Fastchase
	loop
	Missile:
	LMWZ E 0 A_Stop
	LMWZ E 0 A_Jump (127, 10, 20, 30, 40, 50, 60, 70)
	LMWZ E 50
	LMWZ E 0 A_SetShootable
	LMWZ EFG 10 A_FaceTarget
	LMWZ H 20 A_CustomMissile("WizardBall",65,0)
	LMWZ G 5
        LMWZ E 5 A_UnSetShootable
        LMWZ E 0 A_PlaySound ("wizard/tele")
	goto See
	LMWZ E 60
	LMWZ E 0 A_SetShootable
	LMWZ EFG 10 A_FaceTarget
	LMWZ H 20 A_CustomMissile("WizardBall",63,0)
	LMWZ G 5
        LMWZ E 5 A_UnSetShootable
        LMWZ E 0 A_PlaySound ("wizard/tele")
	goto See
	LMWZ E 70
	LMWZ E 0 A_SetShootable
	LMWZ EFG 10 A_FaceTarget
	LMWZ H 20 A_CustomMissile("WizardBall",63,0)
	LMWZ G 5
        LMWZ E 5 A_UnSetShootable
        LMWZ E 0 A_PlaySound ("wizard/tele")
	goto See
	LMWZ E 80
	LMWZ E 0 A_SetShootable
	LMWZ EFG 10 A_FaceTarget
	LMWZ H 20 A_CustomMissile("WizardBall",63,0)
	LMWZ G 5
        LMWZ E 5 A_UnSetShootable
        LMWZ E 0 A_PlaySound ("wizard/tele")
	goto See
	LMWZ E 90
	LMWZ E 0 A_SetShootable
	LMWZ EFG 10 A_FaceTarget
	LMWZ H 20 A_CustomMissile("WizardBall",63,0)
	LMWZ G 5
        LMWZ E 5 A_UnSetShootable
        LMWZ E 0 A_PlaySound ("wizard/tele")
	goto See
	LMWZ E 100
	LMWZ E 0 A_SetShootable
	LMWZ EFG 10 A_FaceTarget
	LMWZ H 20 A_CustomMissile("WizardBall",63,0)
	LMWZ G 5
        LMWZ E 5 A_UnSetShootable
        LMWZ E 0 A_PlaySound ("wizard/tele")
	goto See
	LMWZ E 110
	LMWZ E 0 A_SetShootable
	LMWZ EFG 10 A_FaceTarget
	LMWZ H 20 A_CustomMissile("WizardBall",63,0)
	LMWZ G 5
        LMWZ E 5 A_UnSetShootable
        LMWZ E 0 A_PlaySound ("wizard/tele")
	goto See
	LMWZ E 120
	LMWZ E 0 A_SetShootable
	LMWZ EFG 10 A_FaceTarget
	LMWZ H 20 A_CustomMissile("WizardBall",63,0)
	LMWZ G 5
        LMWZ E 5 A_UnSetShootable
        LMWZ E 0 A_PlaySound ("wizard/tele")
	goto See
	Pain:
	LMWZ I 3
	LMWZ I 5 A_Pain
        LMWZ I 0 A_PlaySound ("wizard/tele")
	Goto See
	Death:
	LMWZ J 6 A_Scream
	NULL A 0 A_SpawnItemEx ("BloodcloudSpawner", 0, 0, random(8,16), 0, 0, random(0,1), 0, 160)
	LMWZ K 6 A_NoBlocking
	NULL A 0 A_SpawnItemEx ("BloodcloudSpawner", 0, 0, random(8,16), 0, 0, random(0,1), 0, 160)
	LMWZ LMNO 6 A_SpawnItemEx ("BloodFXSpawner", 0,0,0, 0,0,0, 0, 160) 
	LMWZ P -1
	Stop
  }
}

actor WizardBall : RevenantTracer
{
  spawnid 177
  radius 6
  height 8
  speed 14//18
  damage 1
  renderstyle Add
  seesound "baron/attack"
  deathsound "eltimp/explode"
  PROJECTILE
  +NOGRAVITY
  -RANDOMIZE
  Decal BaronScorch
	PoisonDamage 1,7,1
	PoisonDamageType "NewBullet"//"Plasma"
  states
  {
  Spawn:
	LMBW A 0
	LMBW A 0 A_Tracer
    LMBW A 0 bright A_SpawnItemEx("gibtrail", 0,0,0, velx/3,vely/3,velz/3, 0, SXF_ABSOLUTEVELOCITY|SXF_NOCHECKPOSITION|SXF_CLIENTSIDE)
    LMBW A 1 bright A_SpawnItemEx("gibtrail", 0,0,0, velx/2,vely/2,velz/2, 0, SXF_ABSOLUTEVELOCITY|SXF_NOCHECKPOSITION|SXF_CLIENTSIDE)
	LMBW A 0 A_Tracer
    LMBW A 0 bright A_SpawnItemEx("gibtrail", 0,0,0, velx/3,vely/3,velz/3, 0, SXF_ABSOLUTEVELOCITY|SXF_NOCHECKPOSITION|SXF_CLIENTSIDE)
    LMBW A 1 bright A_SpawnItemEx("gibtrail", 0,0,0, velx/2,vely/2,velz/2, 0, SXF_ABSOLUTEVELOCITY|SXF_NOCHECKPOSITION|SXF_CLIENTSIDE)
	LMBW A 0 A_Tracer
    LMBW A 0 bright A_SpawnItemEx("gibtrail", 0,0,0, velx/3,vely/3,velz/3, 0, SXF_ABSOLUTEVELOCITY|SXF_NOCHECKPOSITION|SXF_CLIENTSIDE)
    LMBW B 1 bright A_SpawnItemEx("gibtrail", 0,0,0, velx/2,vely/2,velz/2, 0, SXF_ABSOLUTEVELOCITY|SXF_NOCHECKPOSITION|SXF_CLIENTSIDE)
	LMBW A 0 A_Tracer
    LMBW A 0 bright A_SpawnItemEx("gibtrail", 0,0,0, velx/3,vely/3,velz/3, 0, SXF_ABSOLUTEVELOCITY|SXF_NOCHECKPOSITION|SXF_CLIENTSIDE)
    LMBW B 1 bright A_SpawnItemEx("gibtrail", 0,0,0, velx/2,vely/2,velz/2, 0, SXF_ABSOLUTEVELOCITY|SXF_NOCHECKPOSITION|SXF_CLIENTSIDE)
    loop
  Death:
    TNT1 A 0 bright A_SpawnItemEx("redflare", 0,0,0, 0,0,0, 0, 160)
	NULL A 0 A_SpawnItemEx ("RedParticleSphere", 0,0,0, 0,0,0, 0, 160) 
    LMBW CDE 6 bright
    stop
  }
}
