-
-
Notifications
You must be signed in to change notification settings - Fork 647
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: waves that should have been beams (#2013)
Fixes #610 I cross checked against wiki for most. But because we're talking about ~300 monsters here it's possible I changed some waves that should've stayed waves. But this is more correct than not and we can go back and fix the missing ones as we find them.
- Loading branch information
Showing
306 changed files
with
589 additions
and
448 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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("Brain Head") | ||
local monster = {} | ||
|
||
monster.description = "Brain Head" | ||
monster.experience = 0 | ||
monster.outfit = { | ||
lookTypeEx = 32418, | ||
} | ||
|
||
monster.health = 75000 | ||
monster.maxHealth = monster.health | ||
monster.race = "undead" | ||
monster.corpse = 32272 | ||
monster.speed = 0 | ||
|
||
monster.changeTarget = { | ||
interval = 4000, | ||
chance = 10, | ||
} | ||
|
||
monster.bosstiary = { | ||
bossRaceId = 1862, | ||
bossRace = RARITY_ARCHFOE, | ||
} | ||
|
||
monster.flags = { | ||
summonable = false, | ||
attackable = true, | ||
hostile = true, | ||
convinceable = false, | ||
pushable = false, | ||
rewardBoss = true, | ||
illusionable = false, | ||
canPushItems = true, | ||
canPushCreatures = true, | ||
staticAttackChance = 90, | ||
targetDistance = 1, | ||
runHealth = 0, | ||
healthHidden = false, | ||
canWalkOnEnergy = true, | ||
canWalkOnFire = true, | ||
canWalkOnPoison = true, | ||
} | ||
|
||
monster.loot = { | ||
{ name = "crystal coin", chance = 96300, maxCount = 3 }, | ||
{ name = "diamond", chance = 55560, maxCount = 2 }, | ||
{ name = "ultimate mana potion", chance = 51850, maxCount = 6 }, | ||
{ name = "white gem", chance = 51850, maxCount = 2 }, | ||
{ name = "supreme health potion", chance = 29630 }, | ||
{ name = "mastermind potion", chance = 22220 }, | ||
{ name = "cursed bone", chance = 22220 }, | ||
{ name = "berserk potion", chance = 18520 }, | ||
{ name = "death toll", chance = 18520, maxCount = 2 }, | ||
{ name = "ivory comb", chance = 18520 }, | ||
{ name = "bullseye potion", chance = 14810, maxCount = 10 }, | ||
{ name = "ultimate spirit potion", chance = 14810, maxCount = 6 }, | ||
{ name = "moonstone", chance = 14810 }, | ||
{ name = "spooky hood", chance = 8520 }, | ||
{ name = "silver hand mirror", chance = 7410 }, | ||
{ name = "amber with a dragonfly", chance = 7410 }, | ||
{ name = "phantasmal axe", chance = 3700 }, | ||
{ name = "ghost claw", chance = 3700 }, | ||
{ name = "giant amethyst", chance = 3700 }, | ||
{ id = 32621, chance = 3200 }, -- ring of souls | ||
} | ||
|
||
monster.attacks = { | ||
{ name = "combat", type = COMBAT_DEATHDAMAGE, interval = 2000, chance = 80, minDamage = -700, maxDamage = -1200, effect = CONST_ME_MORTAREA, shootEffect = CONST_ANI_SUDDENDEATH, target = true, range = 7 }, | ||
{ name = "combat", type = COMBAT_LIFEDRAIN, interval = 2000, chance = 20, length = 8, spread = 1, minDamage = -900, maxDamage = -1300, effect = CONST_ME_ELECTRICALSPARK }, | ||
} | ||
|
||
monster.defenses = { | ||
defense = 78, | ||
armor = 78, | ||
mitigation = 3.27, | ||
} | ||
|
||
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 = -30 }, | ||
{ type = COMBAT_HOLYDAMAGE, percent = 0 }, | ||
{ type = COMBAT_DEATHDAMAGE, percent = 0 }, | ||
} | ||
|
||
monster.immunities = { | ||
{ type = "paralyze", condition = true }, | ||
{ type = "invisible", condition = true }, | ||
} | ||
|
||
monster.voices = { | ||
interval = 5000, | ||
chance = 10, | ||
{ text = "Feel the power of death unleashed!", yell = false }, | ||
{ text = "I will rule again and my realm of death will span the world!", yell = false }, | ||
{ text = "My lich-knights will conquer this world for me!", yell = false }, | ||
} | ||
|
||
mType.onThink = function(monster, interval) end | ||
|
||
mType.onAppear = function(monster, creature) | ||
if monster:getType():isRewardBoss() then | ||
monster:setReward(true) | ||
end | ||
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
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
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
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
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
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
Oops, something went wrong.