forked from opentibiabr/canary
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4c88e9a
commit 0f5097c
Showing
2 changed files
with
237 additions
and
0 deletions.
There are no files selected for viewing
119 changes: 119 additions & 0 deletions
119
data-otservbr-global/monster/bosses/elvira_hammerthrust.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
local mType = Game.createMonsterType("Elvira Hammerthrust") | ||
local monster = {} | ||
|
||
monster.description = "Elvira Hammerthrust" | ||
monster.experience = 165 | ||
monster.outfit = { | ||
lookType = 70, | ||
lookHead = 0, | ||
lookBody = 0, | ||
lookLegs = 0, | ||
lookFeet = 0, | ||
lookAddons = 0, | ||
lookMount = 0, | ||
} | ||
|
||
monster.bosstiary = { | ||
bossRaceId = 766, | ||
bossRace = RARITY_NEMESIS, | ||
} | ||
|
||
monster.health = 245 | ||
monster.maxHealth = 245 | ||
monster.race = "blood" | ||
monster.corpse = 6013 | ||
monster.speed = 103 | ||
monster.manaCost = 0 | ||
|
||
monster.changeTarget = { | ||
interval = 4000, | ||
chance = 10, | ||
} | ||
|
||
monster.strategiesTarget = { | ||
nearest = 70, | ||
damage = 20, | ||
random = 10, | ||
} | ||
|
||
monster.flags = { | ||
summonable = false, | ||
attackable = true, | ||
hostile = true, | ||
convinceable = false, | ||
pushable = false, | ||
rewardBoss = false, | ||
illusionable = true, | ||
canPushItems = true, | ||
canPushCreatures = true, | ||
staticAttackChance = 90, | ||
targetDistance = 1, | ||
runHealth = 0, | ||
healthHidden = false, | ||
isBlockable = false, | ||
canWalkOnEnergy = false, | ||
canWalkOnFire = false, | ||
canWalkOnPoison = false, | ||
} | ||
|
||
monster.light = { | ||
level = 0, | ||
color = 0, | ||
} | ||
|
||
monster.voices = { | ||
interval = 5000, | ||
chance = 10, | ||
{ text = "Didn't think a dwarf girl could be so pretty and strong at the same time, did you?", yell = false }, | ||
{ text = "Hail no one except for me!", yell = false }, | ||
{ text = "You won't get this bag, I worked hard for this!", yell = false }, | ||
{ text = "Keep your hands off!", yell = false }, | ||
{ text = "How did you find us?!", yell = false }, | ||
} | ||
|
||
monster.loot = { | ||
{ name = "bag with stolen gold", chance = 100000 }, | ||
{ name = "platinum coin", chance = 75000, maxCount = 100 }, | ||
} | ||
|
||
monster.attacks = { | ||
{ name = "melee", interval = 2000, chance = 100, minDamage = 0, maxDamage = -140 }, | ||
} | ||
|
||
monster.defenses = { | ||
defense = 30, | ||
armor = 15, | ||
mitigation = 1.02, | ||
} | ||
|
||
monster.elements = { | ||
{ type = COMBAT_PHYSICALDAMAGE, percent = 20 }, | ||
{ type = COMBAT_ENERGYDAMAGE, percent = 0 }, | ||
{ type = COMBAT_EARTHDAMAGE, percent = 20 }, | ||
{ type = COMBAT_FIREDAMAGE, percent = -5 }, | ||
{ type = COMBAT_LIFEDRAIN, percent = 0 }, | ||
{ type = COMBAT_MANADRAIN, percent = 0 }, | ||
{ type = COMBAT_DROWNDAMAGE, percent = 0 }, | ||
{ type = COMBAT_ICEDAMAGE, percent = 0 }, | ||
{ type = COMBAT_HOLYDAMAGE, percent = 0 }, | ||
{ type = COMBAT_DEATHDAMAGE, percent = -5 }, | ||
} | ||
|
||
monster.immunities = { | ||
{ type = "paralyze", condition = false }, | ||
{ type = "outfit", condition = false }, | ||
{ type = "invisible", condition = true }, | ||
{ type = "bleed", condition = false }, | ||
} | ||
|
||
mType.onThink = function(monster, interval) end | ||
|
||
mType.onAppear = function(monster, creature) end | ||
|
||
mType.onDisappear = function(monster, creature) end | ||
|
||
mType.onMove = function(monster, creature, fromPosition, toPosition) end | ||
|
||
mType.onSay = function(monster, creature, type, message) end | ||
|
||
mType:register(monster) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
local mType = Game.createMonsterType("Mornenion") | ||
local monster = {} | ||
|
||
monster.description = "Mornenion" | ||
monster.experience = 115 | ||
monster.outfit = { | ||
lookType = 64, | ||
lookHead = 0, | ||
lookBody = 0, | ||
lookLegs = 0, | ||
lookFeet = 0, | ||
lookAddons = 0, | ||
lookMount = 0, | ||
} | ||
|
||
monster.bosstiary = { | ||
bossRaceId = 765, | ||
bossRace = RARITY_NEMESIS, | ||
} | ||
|
||
monster.health = 190 | ||
monster.maxHealth = 190 | ||
monster.race = "blood" | ||
monster.corpse = 6012 | ||
monster.speed = 110 | ||
monster.manaCost = 0 | ||
|
||
monster.changeTarget = { | ||
interval = 4000, | ||
chance = 10, | ||
} | ||
|
||
monster.strategiesTarget = { | ||
nearest = 100, | ||
} | ||
|
||
monster.flags = { | ||
summonable = false, | ||
attackable = true, | ||
hostile = true, | ||
convinceable = false, | ||
pushable = false, | ||
rewardBoss = false, | ||
illusionable = false, | ||
canPushItems = true, | ||
canPushCreatures = false, | ||
staticAttackChance = 90, | ||
targetDistance = 4, | ||
runHealth = 0, | ||
healthHidden = false, | ||
isBlockable = false, | ||
canWalkOnEnergy = true, | ||
canWalkOnFire = true, | ||
canWalkOnPoison = true, | ||
} | ||
|
||
monster.light = { | ||
level = 0, | ||
color = 0, | ||
} | ||
|
||
monster.voices = { | ||
interval = 5000, | ||
chance = 10, | ||
{ text = "Come on, you don't really need this. Just let me go.", yell = false }, | ||
{ text = "Let us leave safely and maybe we'll give you a few coins.", yell = false }, | ||
{ text = "That cowardish dwarven bank keeper ran when he saw the three of us.", yell = false }, | ||
{ text = "You humans have enough to spare. We live in poverty.", yell = false }, | ||
} | ||
|
||
monster.loot = { | ||
{ name = "bag with stolen gold", chance = 100000 }, | ||
{ name = "platinum coin", chance = 75000, maxCount = 100 }, | ||
} | ||
|
||
monster.attacks = { | ||
{ name = "melee", interval = 2000, chance = 100, minDamage = 0, maxDamage = -30 }, | ||
{ name = "combat", interval = 2000, chance = 15, type = COMBAT_PHYSICALDAMAGE, minDamage = 0, maxDamage = -80, range = 7, shootEffect = CONST_ANI_ARROW, target = false }, | ||
} | ||
|
||
monster.defenses = { | ||
defense = 10, | ||
armor = 7, | ||
mitigation = 0.46, | ||
{ name = "combat", interval = 5000, chance = 7, type = COMBAT_HEALING, minDamage = 25, maxDamage = 35, effect = CONST_ME_MAGIC_BLUE, target = false }, | ||
} | ||
|
||
monster.elements = { | ||
{ type = COMBAT_PHYSICALDAMAGE, percent = 0 }, | ||
{ type = COMBAT_ENERGYDAMAGE, percent = 0 }, | ||
{ type = COMBAT_EARTHDAMAGE, percent = 0 }, | ||
{ 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 = 0 }, | ||
{ type = COMBAT_DEATHDAMAGE, percent = 0 }, | ||
} | ||
|
||
monster.immunities = { | ||
{ type = "paralyze", condition = false }, | ||
{ type = "outfit", condition = false }, | ||
{ type = "invisible", condition = true }, | ||
{ type = "bleed", condition = false }, | ||
} | ||
|
||
mType.onThink = function(monster, interval) end | ||
|
||
mType.onAppear = function(monster, creature) end | ||
|
||
mType.onDisappear = function(monster, creature) end | ||
|
||
mType.onMove = function(monster, creature, fromPosition, toPosition) end | ||
|
||
mType.onSay = function(monster, creature, type, message) end | ||
|
||
mType:register(monster) |