actor drspidermastermind : spidermastermind replaces spidermastermind
{
  radius 96
  +missilemore
  +missileevenmore
  +lookallaround
  +noinfighting
  speed 16
  scale 0.9
  tag "Spider Mastermind"
  states
  {
  spawn:
    SPID A 0 a_playsound("spider/walk")
	SPID A 0 a_look
    SPID AA 4 A_wander
	SPID A 0 a_look
	SPID BB 4 a_wander
	
    SPID C 0 a_playsound("spider/walk")
	SPID C 0 a_look
    SPID CC 4 A_wander
	SPID C 0 a_look
	SPID DD 4 a_wander
	
    SPID E 0 a_playsound("spider/walk")
	SPID E 0 a_look
    SPID EE 4 A_wander
	SPID E 0 a_look
	SPID FF 4 a_wander
    Loop
  See:
    SPID A 2 A_Metal
    SPID ABB 2 A_Chase
    SPID C 2 A_Metal
    SPID CDD 2 A_Chase
    SPID E 2 A_Metal
    SPID EFF 2 A_Chase
    Loop
   missile:
    SPID A 10 Bright A_FaceTarget
	SPID G 3 bright a_custombulletattack(10, 10, 3, random(15, 25), "bulletpuff", 0, cbaf_norandom)
	SPID H 3 bright a_custombulletattack(10, 10, 3, random(15, 25), "bulletpuff", 0, cbaf_norandom)
    SPID H 0 Bright A_SpidRefire
    Goto Missile+1
  }
}