Actor DemonicGirl 20047
{
    //$Category Shadow Warrior Monsters
	Health 300
	Radius 20
	Height 56
	Mass 500
	Speed 5
	PainChance 70
	Monster
	Scale 0.7
	SeeSound "GIRLALRT"
	ActiveSound "GIRLAMB"
	PainSound "GIRLPAIN"
	DeathSound "GIRLSCRM"
	PainChance "GrenadeMonster", 255
	PainChance "GLauncherGrenade", 255
	PainChance "RLauncherRocket", 255
	PainChance "RailGunPlasmaDamage", 255
	PainChance "FlashBombDamage", 255
	BloodType "SpadowWarriorBlood"	
	+FLOORCLIP
	+NOTARGET
	+THRUSPECIES
	Species "DropBloodSpecies"
	States
	{
	Spawn:
		GIRL A 15 A_Look
		Loop
	See:
	    TNT1 A 0 A_JumpIfInventory("WanderTimer", 1, "Wander")
		GIRL AAAAA 1 A_Wander
		GIRL BBBBB 1 A_Chase
		GIRL CCCCC 1 A_Wander
		GIRL DDDDD 1 A_Chase
		Loop
	Wander:
	    GIRL AAAAABBBBBCCCCCDDDDD 1 A_Wander
	    TNT1 A 0 A_TakeInventory("WanderTimer", 1)
	    Goto See  
	Missile:
	    GIRL A 1 A_JumpIfInTargetInventory("SmokeBombCheck", 1, "See")
	    GIRL A 1 A_Jump(255, "MissileDart","MissileDart","MissileDart","MissileDart","MissileDart","MissileSticky","MissileDart")
	    Goto See
	MissileDart:
	    GIRL E 9 A_FaceTarget
		TNT1 A 0 A_CustomMissile("DemonicGirlDart")
		GIRL F 3  
	    Goto See
	MissileSticky:
	    TNT1 A 0 A_FaceTarget
	    GIRL G 28 
		TNT1 A 0 A_CustomMissile("DemonicGirlSticky")
		GIRL H 16 
		GIRL I 2   
		Goto See
	Pain:
	    GIRL A 1 A_Jump(256, "Pain1", "Pain2")
		Pain1:
		GIRL J 7 A_Pain
		Goto See
		Pain2:
		GIRL I 7 A_Pain
		Goto See
	Pain.FlashBombDamage:
	    GIRL A 1 A_Jump(256, "PainFlash1", "PainFlash2")
	PainFlash1:
		TNT1 A 0 A_GiveInventory("WanderTimer", 30)
		GIRL J 7 A_Pain
		Goto Wander		
	PainFlash2:
		TNT1 A 0 A_GiveInventory("WanderTimer", 30)
		GIRL I 7 A_Pain
		Goto Wander
	Death.FistsDamage:
	    TNT1 A 0 A_GiveToTarget("LoWangFists", 1)	
	Death:
		GIRL L 3 A_Scream
		GIRL MNOPQRST 3 
		TNT1 A 0 A_NoBlocking
		TNT1 A 0 A_SpawnItemEx("DemonicGirlDeath", 0, 0, 0, 0, 0, 0, 0, SXF_NOCHECKPOSITION)
		Stop
//-------------------------DamageTypes----------------------------------------//		
	Death.GrenadeMonster:
	Death.GLauncherGrenade:
	Death.RLauncherRocket:
	Death.RailGunPlasmaDamage:
	   TNT1 A 0 A_GiveToTarget("LoWangGibsTaunt", 1)
	Death.MonsterExplode:
	XDeath:
	    TNT1 A 0 A_NoBlocking
		TNT1 AAAAAAAAA 0 A_CustomMissile ("BloodGib", 30, 0, Random(0,360), 2, 30)
		TNT1 A 0 A_SpawnDebris("HeartGib", False, 6.0, 1.0)
		TNT1 A 0 A_SpawnDebris("LiverGib", False, 6.0, 1.0)
		TNT1 A 0 A_SpawnDebris("SkullGib", False, 6.0, 1.0)
		TNT1 A 0 A_SpawnDebris("Skull2Gib", False, 6.0, 1.0)
		TNT1 A 0 A_SpawnDebris("HandGib", False, 6.0, 1.0)
		TNT1 A 0 A_SpawnDebris("HandGib", False, 6.0, 1.0)		
		//TNT1 A 0 A_SpawnItemEx("HeartGib",random(-30,30), random(-30, 30), 60)
		//TNT1 A 0 A_SpawnItemEx("LiverGib",random(-30,30), random(-30, 30), 60)
		//TNT1 A 0 A_SpawnItemEx("SkullGib",random(-30,30), random(-30, 30), 60)
		//TNT1 A 0 A_SpawnItemEx("Skull2Gib",random(-30,30), random(-30, 30), 60)
		//TNT1 A 0 A_SpawnItemEx("HandGib",random(-30,0), random(-30, 30), 60)
		//TNT1 A 0 A_SpawnItemEx("HandGib",random(0,30), random(-30, 30), 60)
		//TNT1 AAAAAA 0 A_CustomMissile ("BloodGib", 30, 0, Random(0,360), 2, 30)
		Stop
//----------------------------------------------------------------------------//		
	}
}



ACTOR DemonicGirlDeath : StandartDeath
{
    Scale 0.7
    States
	{
	Spawn:
		GIRL T -1
		Stop
    }
}



//------------------------Dart------------------------------------------------//
ACTOR DemonicGirlDart
{
	Radius 9
	Height 5
	Speed 35
	Damage 2
	Projectile
	scale 0.15
	SeeSound "PUNCH"
	+RANDOMIZE
	States
	{
	Spawn:
		DART A 1
		Loop
	Death:
		 DART A 1
		 Stop
	}
}
//----------------------------------------------------------------------------//


//-------------------------Sticky Bomb spawn on map---------------------------//
///////////////////////////////////////////////////////////////////////////






//----------------Here Demonic-Girl's Sticky Bomb-----------------------------//
ACTOR DemonicGirlSticky
{
	Radius 2
	height 2
	Speed 14
	scale 0.4
	Projectile
	-NOGRAVITY
	+SEEKERMISSILE
	Gravity 0.3
	DamageType "GrenadeMonster"
    States
	{
	Spawn:
		STYC EF 3 
		Loop
	Death:
        STYC E 1 A_SpawnItemEx("DemonicGirlStyckyBombDrop", 0, 0, 5, 0, 0, 0, 0, SXF_NOCHECKPOSITION)
		Stop
	XDeath:
	    STYC EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE 1 A_Fire(30)
        STYC EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE 1 A_Fire(30)
		STYC E 0 A_Playsound("EXPL1")
        STYC E 1 A_Explode(150,150)
	    STYC E 0 Radius_Quake(5,12,0,25,0)
        STYC E 1 A_SpawnItemEx("StickyBombExplode")
		Stop
	}
}
//----------------------------------------------------------------------------//

//----------------------It's monster, it's detonate)--------------------------//
actor DemonicGirlStyckyBombDrop
{
  health 1
  radius 4
  height 6
  Damage 1
  Scale 0.3
  speed 0
  mass 200
  DamageType "MonsterExplode"
  DamageFactor "GasBombDamage", 0.0
  +NOGRAVITY
  +MISSILE
  +SHOOTABLE
  +NOBLOOD
  States
  {
  Spawn:
    STYC EEEEEEEEEEEEEEEEEEEEE 5 A_JumpIfCloser(10, "Death")
    STYC E 0 A_PlaySound ("STSCAN2")
    Loop
  Death:
    TNT1 A 0 A_Explode(150,150)
	TNT1 A 0 A_PlaySound ("STSCAN2")
    //TNT1 A 0 A_Playsound("EXPL1")
	TNT1 A 0 A_SpawnItemEx("StickyBombExplode")
	TNT1 AAA 4 Radius_Quake(5,12,0,25,0)
    Stop
  XDeath:
     TNT1 A 0 A_Explode(150,150)
	 TNT1 A 0 A_PlaySound ("STSCAN2")
    //TNT1 A 0 A_Playsound("EXPL1")
	TNT1 A 0 A_SpawnItemEx("StickyBombExplode")
	TNT1 AAA 4 Radius_Quake(5,12,0,25, 0)
	Stop
  }
}
//----------------------------------------------------------------------------//
