local mType = Game.createMonsterType("Drume")
local monster = {}

monster.description = "Drume"
monster.experience = 25000
monster.outfit = {
	lookType = 1317,
	lookHead = 38,
	lookBody = 76,
	lookLegs = 57,
	lookFeet = 114,
	lookAddons = 2,
	lookMount = 0,
}

monster.bosstiary = {
	bossRaceId = 1957,
	bossRace = RARITY_ARCHFOE,
}

monster.health = 80000
monster.maxHealth = 80000
monster.race = "blood"
monster.corpse = 33973
monster.speed = 130
monster.manaCost = 0

monster.faction = FACTION_LIONUSURPERS
monster.enemyFactions = { FACTION_LION, FACTION_PLAYER }

monster.summon = {
	maxSummons = 1,
	summons = {
		{ name = "preceptor lazare", chance = 10, interval = 8000, count = 1 },
		{ name = "grand commander soeren", chance = 10, interval = 8000, count = 1 },
		{ name = "grand chaplain gaunder", chance = 10, interval = 8000, count = 1 },
	},
}

monster.changeTarget = {
	interval = 4000,
	chance = 25,
}

monster.strategiesTarget = {
	nearest = 50,
	health = 20,
	damage = 20,
	random = 10,
}

monster.flags = {
	summonable = false,
	attackable = true,
	hostile = true,
	convinceable = false,
	pushable = false,
	rewardBoss = true,
	illusionable = false,
	canPushItems = true,
	canPushCreatures = true,
	staticAttackChance = 70,
	targetDistance = 1,
	runHealth = 0,
	healthHidden = false,
	isBlockable = false,
	canWalkOnEnergy = false,
	canWalkOnFire = true,
	canWalkOnPoison = true,
}

monster.light = {
	level = 0,
	color = 0,
}

monster.voices = {
	interval = 5000,
	chance = 10,
	{ text = "I've studied the Cobras - I wield the secrets of the snake!", yell = false },
	{ text = "I am a true knight of the lion, you will never defeat the true order!", yell = false },
	{ text = "The Falcons will come to my aid in need!", yell = false },
}

monster.loot = {
	{ name = "energy bar", chance = 100000 },
	{ name = "platinum coin", chance = 100000, maxCount = 5 },
	{ name = "supreme health potion", chance = 57831, maxCount = 20 },
	{ name = "ultimate mana potion", chance = 55723, maxCount = 20 },
	{ name = "yellow gem", chance = 35843, maxCount = 2 },
	{ id = 3039, chance = 35542, maxCount = 2 }, -- red gem
	{ name = "ultimate spirit potion", chance = 31627, maxCount = 6 },
	{ name = "royal star", chance = 31325, maxCount = 100 },
	{ name = "bullseye potion", chance = 22590, maxCount = 10 },
	{ name = "berserk potion", chance = 21988, maxCount = 10 },
	{ id = 49271, chance = 21988, maxCount = 10 }, -- transcendence potion
	{ name = "blue gem", chance = 21687, maxCount = 2 },
	{ name = "mastermind potion", chance = 17771, maxCount = 10 },
	{ name = "green gem", chance = 17470, maxCount = 2 },
	{ id = 281, chance = 15060 }, -- giant shimmering pearl (green)
	{ name = "gold ingot", chance = 13253 },
	{ name = "terra rod", chance = 11145 },
	{ name = "crystal coin", chance = 10241 },
	{ name = "stone skin amulet", chance = 10241 },
	{ name = "silver token", chance = 8735, maxCount = 3 },
	{ name = "terra legs", chance = 8735 },
	{ name = "terra mantle", chance = 7831 },
	{ name = "raw watermelon tourmaline", chance = 7229 },
	{ name = "wand of voodoo", chance = 6024 },
	{ name = "violet gem", chance = 5723 },
	{ name = "terra hood", chance = 4819 },
	{ name = "terra amulet", chance = 4518 },
	{ name = "giant sapphire", chance = 4217 },
	{ name = "giant ruby", chance = 3012 },
	{ name = "underworld rod", chance = 2410 },
	{ name = "lion spangenhelm", chance = 300 },
	{ name = "lion plate", chance = 300 },
	{ name = "lion shield", chance = 300 },
	{ name = "lion longsword", chance = 350 },
	{ name = "lion hammer", chance = 300 },
	{ name = "lion axe", chance = 300 },
	{ name = "lion longbow", chance = 300 },
	{ name = "lion spellbook", chance = 350 },
	{ name = "lion wand", chance = 300 },
	{ name = "lion amulet", chance = 300 },
	{ name = "lion rod", chance = 300 },
	{ name = "lion claws", chance = 300 },
}

monster.attacks = {
	{ name = "melee", interval = 2000, chance = 100, minDamage = 0, maxDamage = -1100, effect = CONST_ME_DRAWBLOOD },
	{ name = "combat", interval = 2700, chance = 25, type = COMBAT_HOLYDAMAGE, minDamage = -850, maxDamage = -1150, length = 8, spread = 0, effect = CONST_ME_HOLYAREA, target = false },
	{ name = "combat", interval = 3100, chance = 20, type = COMBAT_DEATHDAMAGE, minDamage = -800, maxDamage = -1200, range = 7, shootEffect = CONST_ANI_SUDDENDEATH, effect = CONST_ME_MORTAREA, target = false },
	{ name = "combat", interval = 3300, chance = 22, type = COMBAT_DEATHDAMAGE, minDamage = -800, maxDamage = -1000, radius = 3, effect = CONST_ME_MORTAREA, target = false },
	{ name = "combat", interval = 3700, chance = 24, type = COMBAT_ICEDAMAGE, minDamage = -700, maxDamage = -900, length = 4, spread = 0, effect = CONST_ME_ICEATTACK, target = false },
	{ name = "singlecloudchain", interval = 2100, chance = 34, minDamage = -600, maxDamage = -1100, range = 4, effect = CONST_ME_ENERGYHIT, target = true },
}

monster.defenses = {
	defense = 60,
	armor = 82,
	--	mitigation = ???,
	{ name = "combat", interval = 4000, chance = 40, type = COMBAT_HEALING, minDamage = 300, maxDamage = 800, effect = CONST_ME_MAGIC_BLUE, target = false },
}

monster.elements = {
	{ type = COMBAT_PHYSICALDAMAGE, percent = 35 },
	{ type = COMBAT_ENERGYDAMAGE, percent = -20 },
	{ type = COMBAT_EARTHDAMAGE, percent = 100 },
	{ type = COMBAT_FIREDAMAGE, percent = 0 },
	{ type = COMBAT_LIFEDRAIN, percent = 0 },
	{ type = COMBAT_MANADRAIN, percent = 0 },
	{ type = COMBAT_DROWNDAMAGE, percent = 0 },
	{ type = COMBAT_ICEDAMAGE, percent = 0 },
	{ type = COMBAT_HOLYDAMAGE, percent = -20 },
	{ type = COMBAT_DEATHDAMAGE, percent = 50 },
}

monster.immunities = {
	{ type = "paralyze", condition = true },
	{ type = "outfit", condition = false },
	{ type = "invisible", condition = true },
	{ type = "bleed", condition = false },
}

mType:register(monster)
