
ACTOR RLImpBase : RLMonster
{
  Health 60
  GibHealth -40
  Radius 20
  Height 56
  Speed 8
  Mass 100
  
  PainChance 200
  
  DamageFactor "Extinguishing", 3.0 // LegenDoom Damagetype
  
  SeeSound "imp/sight"
  PainSound "imp/pain"
  DeathSound "imp/death"
  ActiveSound "imp/active"
  
  +BLOODSPLATTER
  
  Obituary "%o was burnt by an Imp."
  HitObituary "%o was slashed by an Imp."
  Species "RLImp"
  Tag "Imp"
  
	//Guncaster extras
   
	//Resists & Weaknesses
	DamageFactor Fire, 0.8
	DamageFactor Meteorfist, 0.9
 
	//Chance Effects
	PainChance Lightning, 192
	PainChance LightningBlue, 24
	PainChance Manuel, 200
	PainChance Fire, 100
  States
  {
//==============================================================================
//					--	GunCaster Compatibility Stuff  --
//==============================================================================	

			//Corpseblast
	CorpseBlastA:
		"####" "#" 0 A_SpawnItemEx("PimpBlast",0,0,0,0,0,0,0,SXF_TRANSFERPOINTERS)
		Stop
	CorpseBlastB:
		"####" "#" 0 A_SpawnItemEx("PimpBlast",0,0,0,0,0,0,0,SXF_TRANSFERPOINTERS)
		"####" "#" 0 A_TakeInventory("CorpseTrigger2",1)
		"####" "#" 0 A_JumpIf(1,"DeathEnd")
		Goto DeathEnd
	CorpseBlastC:
		"####" "#" 0 A_SpawnItemEx("PimpBlast",0,0,0,0,0,0,0,SXF_TRANSFERPOINTERS)
		"####" "#" 0 A_TakeInventory("CorpseTrigger2",1)
		"####" "#" 0 A_JumpIf(1,"XDeathEnd")
		Goto XDeathEnd
  }
}
