Skip to content

Commit

Permalink
Migration creatures.
Browse files Browse the repository at this point in the history
  • Loading branch information
vllworldbuilding committed Dec 17, 2024
1 parent def8809 commit c647724
Show file tree
Hide file tree
Showing 19 changed files with 114 additions and 40 deletions.
2 changes: 1 addition & 1 deletion data-canary/monster/birds/headpecker.lua
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,4 @@ monster.immunities = {

mType:register(monster)

RegisterPrimalPackBeast(monster)
--RegisterPrimalPackBeast(monster)
2 changes: 1 addition & 1 deletion data-canary/monster/giants/hulking_prehemoth.lua
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,4 @@ monster.immunities = {

mType:register(monster)

RegisterPrimalPackBeast(monster)
--RegisterPrimalPackBeast(monster)
2 changes: 1 addition & 1 deletion data-canary/monster/mammals/gore_horn.lua
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,4 @@ monster.immunities = {

mType:register(monster)

RegisterPrimalPackBeast(monster)
--RegisterPrimalPackBeast(monster)
2 changes: 1 addition & 1 deletion data-canary/monster/mammals/gorerilla.lua
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,4 @@ monster.immunities = {

mType:register(monster)

RegisterPrimalPackBeast(monster)
--RegisterPrimalPackBeast(monster)
2 changes: 1 addition & 1 deletion data-canary/monster/mammals/nighthunter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,4 @@ monster.immunities = {

mType:register(monster)

RegisterPrimalPackBeast(monster)
--RegisterPrimalPackBeast(monster)
2 changes: 1 addition & 1 deletion data-canary/monster/mammals/sabretooth.lua
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,4 @@ monster.immunities = {

mType:register(monster)

RegisterPrimalPackBeast(monster)
--RegisterPrimalPackBeast(monster)
2 changes: 1 addition & 1 deletion data-canary/monster/plants/stalking_stalk.lua
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,4 @@ monster.immunities = {

mType:register(monster)

RegisterPrimalPackBeast(monster)
--RegisterPrimalPackBeast(monster)
90 changes: 90 additions & 0 deletions data-canary/monster/quests/a_carved_stone_tile.lua
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)
2 changes: 1 addition & 1 deletion data-canary/monster/reptiles/emerald_tortoise.lua
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,4 @@ monster.immunities = {

mType:register(monster)

RegisterPrimalPackBeast(monster)
--RegisterPrimalPackBeast(monster)
2 changes: 1 addition & 1 deletion data-canary/monster/reptiles/mantosaurus.lua
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,4 @@ monster.immunities = {

mType:register(monster)

RegisterPrimalPackBeast(monster)
--RegisterPrimalPackBeast(monster)
2 changes: 1 addition & 1 deletion data-canary/monster/reptiles/noxious_ripptor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,4 @@ monster.immunities = {

mType:register(monster)

RegisterPrimalPackBeast(monster)
--RegisterPrimalPackBeast(monster)
2 changes: 1 addition & 1 deletion data-canary/monster/vermins/sulphider.lua
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,4 @@ monster.immunities = {

mType:register(monster)

RegisterPrimalPackBeast(monster)
--RegisterPrimalPackBeast(monster)
27 changes: 0 additions & 27 deletions data-canary/scripts/spells/monster/fury_skill_reducer.lua

This file was deleted.

6 changes: 5 additions & 1 deletion data-canary/world/world-monster.xml
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 modified data-canary/world/world.otbm
Binary file not shown.
2 changes: 1 addition & 1 deletion data/XML/outfits.xml
Original file line number Diff line number Diff line change
Expand Up @@ -245,5 +245,5 @@
<outfit type="1" looktype="1745" name="Blade Dancer" premium="no" unlocked="no" enabled="yes" from="store" />
<outfit type="1" looktype="1774" name="Rootwalker" premium="no" unlocked="no" enabled="yes" from="quest" />
<outfit type="1" looktype="1776" name="Beekeeper" premium="no" unlocked="no" enabled="yes" from="store" />
<outfit type="0" looktype="1781" name="Cigarro" premium="no" unlocked="yes" enabled="yes" />
<outfit type="1" looktype="1781" name="Cigarro" premium="no" unlocked="yes" enabled="yes" />
</outfits>
Binary file modified data/items/appearances.dat
Binary file not shown.
Binary file modified data/items/bak_appearances.dat
Binary file not shown.
7 changes: 7 additions & 0 deletions data/items/items.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79746,5 +79746,12 @@ Granted by TibiaGoals.com"/>
<attribute key="primarytype" value="food"/>
<attribute key="weight" value="520"/>
</item>
<item id="60006" article="an" name="new rune">
<attribute key="primarytype" value="attack runes"/>
<attribute key="type" value="rune"/>
<attribute key="runespellname" value="adevo grav vis"/>
<attribute key="charges" value="3"/>
<attribute key="weight" value="70"/>
</item>
</items>

0 comments on commit c647724

Please sign in to comment.