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
def8809
commit c647724
Showing
19 changed files
with
114 additions
and
40 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,90 @@ | ||
local mType = Game.createMonsterType("a carved stone tile") | ||
local monster = {} | ||
|
||
monster.description = "a carved stone tile" | ||
monster.experience = 0 | ||
monster.outfit = { | ||
lookTypeEx = 516, | ||
} | ||
|
||
monster.health = 100 | ||
monster.maxHealth = 100 | ||
monster.race = "undead" | ||
monster.corpse = 0 | ||
monster.speed = 0 | ||
monster.manaCost = 0 | ||
|
||
monster.changeTarget = { | ||
interval = 5000, | ||
chance = 16, | ||
} | ||
|
||
monster.strategiesTarget = { | ||
nearest = 100, | ||
} | ||
|
||
monster.flags = { | ||
summonable = false, | ||
attackable = true, | ||
hostile = true, | ||
convinceable = false, | ||
pushable = false, | ||
rewardBoss = false, | ||
illusionable = false, | ||
canPushItems = false, | ||
canPushCreatures = false, | ||
staticAttackChance = 90, | ||
targetDistance = 1, | ||
runHealth = 0, | ||
healthHidden = true, | ||
isBlockable = false, | ||
canWalkOnEnergy = false, | ||
canWalkOnFire = false, | ||
canWalkOnPoison = false, | ||
} | ||
|
||
monster.light = { | ||
level = 0, | ||
color = 0, | ||
} | ||
|
||
monster.summon = { | ||
maxSummons = 5, | ||
summons = { | ||
{ name = "Dreadbeast", chance = 25, interval = 2000, count = 5 }, | ||
}, | ||
} | ||
|
||
monster.voices = { | ||
interval = 5000, | ||
chance = 10, | ||
} | ||
|
||
monster.loot = {} | ||
|
||
monster.defenses = { | ||
defense = 5, | ||
armor = 10, | ||
} | ||
|
||
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: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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,2 +1,6 @@ | ||
<?xml version="1.0"?> | ||
<monsters /> | ||
<monsters> | ||
<monster centerx="19990" centery="20008" centerz="7" radius="1"> | ||
<monster name="A Carved Stone Tile" x="0" y="0" z="7" spawntime="60" /> | ||
</monster> | ||
</monsters> |
Binary file not shown.
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
Binary file not shown.
Binary file not shown.
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