mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-06-13 20:44:29 +02:00
finish quest part of inq
This commit is contained in:
parent
661759508d
commit
3f4956b3b9
Binary file not shown.
Binary file not shown.
@ -38,8 +38,8 @@ end
|
||||
|
||||
function setupTables()
|
||||
configOptions = {
|
||||
{id = "addon1", text = "Addon 1", checked = false, enabled = g_game.getClientVersion() >= 780},
|
||||
{id = "addon2", text = "Addon 2", checked = false, enabled = g_game.getClientVersion() >= 780},
|
||||
{id = "addon1", text = "Addon 1", checked = false, enabled = g_game.getFeature(GamePlayerAddons)},
|
||||
{id = "addon2", text = "Addon 2", checked = false, enabled = g_game.getFeature(GamePlayerAddons)},
|
||||
{id = "mount", text = "Mount", checked = false, enabled = g_game.getFeature(GamePlayerMounts)},
|
||||
{id = "wings", text = "Wings", checked = false, enabled = g_game.getFeature(GameWingsAndAura)},
|
||||
{id = "aura", text = "Aura", checked = false, enabled = g_game.getFeature(GameWingsAndAura)},
|
||||
|
@ -5345,3 +5345,58 @@ stack traceback:
|
||||
[C]: in function '__index'
|
||||
/modules/game_outfit/outfit.lua:355: in function 'onElementSelect'
|
||||
/layouts/retro/styles/40-outfitwindow.otui:151: [@onClick]:2: in function </layouts/retro/styles/40-outfitwindow.otui:151: [@onClick]:1>
|
||||
Exiting application..
|
||||
GPU Radeon RX 580 Series (ATI Technologies Inc.)
|
||||
OpenGL 4.6.13596 Compatibility Profile Context 20.10.35.02 27.20.1034.6
|
||||
[Atlas] Texture size is: 4096x4096 (max: 16384x16384)
|
||||
Found work dir at 'C:/Users/erika/source/repos/Sabrehaven/800OTClient/'
|
||||
== application started at Apr 18 2022 16:06:08
|
||||
OTCv8 3.1 rev 163 (dev) made by otclient.net built on Mar 31 2022 for arch x86
|
||||
Connecting to: 127.0.0.1:7171
|
||||
Login to 127.0.0.1:7172
|
||||
ERROR: protected lua call failed: /modules/game_outfit/outfit.lua:836: attempt to index field 'addon1' (a nil value)
|
||||
stack traceback:
|
||||
[C]: in function '__index'
|
||||
/modules/game_outfit/outfit.lua:836: in function </modules/game_outfit/outfit.lua:556>
|
||||
ERROR: protected lua call failed: /modules/game_outfit/outfit.lua:836: attempt to index field 'addon1' (a nil value)
|
||||
stack traceback:
|
||||
[C]: in function '__index'
|
||||
/modules/game_outfit/outfit.lua:836: in function </modules/game_outfit/outfit.lua:556>
|
||||
Exiting application..
|
||||
GPU Radeon RX 580 Series (ATI Technologies Inc.)
|
||||
OpenGL 4.6.13596 Compatibility Profile Context 20.10.35.02 27.20.1034.6
|
||||
[Atlas] Texture size is: 4096x4096 (max: 16384x16384)
|
||||
Found work dir at 'C:/Users/erika/source/repos/Sabrehaven/800OTClient/'
|
||||
== application started at Apr 18 2022 16:10:05
|
||||
OTCv8 3.1 rev 163 (dev) made by otclient.net built on Mar 31 2022 for arch x86
|
||||
Connecting to: 127.0.0.1:7171
|
||||
Login to 127.0.0.1:7172
|
||||
Login to 127.0.0.1:7172
|
||||
Login to 127.0.0.1:7172
|
||||
Login to 127.0.0.1:7172
|
||||
Login to 127.0.0.1:7172
|
||||
Login to 127.0.0.1:7172
|
||||
Login to 127.0.0.1:7172
|
||||
ERROR: lua function callback failed: /modules/game_battle/battle.lua:357: attempt to compare nil with number
|
||||
stack traceback:
|
||||
[C]: in function '__lt'
|
||||
/modules/game_battle/battle.lua:357: in function </modules/game_battle/battle.lua:355>
|
||||
[C]: in function 'sort'
|
||||
/modules/game_battle/battle.lua:355: in function 'sortCreatures'
|
||||
/modules/game_battle/battle.lua:263: in function 'checkCreatures'
|
||||
/modules/game_battle/battle.lua:224: in function </modules/game_battle/battle.lua:221>
|
||||
Login to 127.0.0.1:7172
|
||||
Login to 127.0.0.1:7172
|
||||
Exiting application..
|
||||
GPU Radeon RX 580 Series (ATI Technologies Inc.)
|
||||
OpenGL 4.6.13596 Compatibility Profile Context 20.10.35.02 27.20.1034.6
|
||||
[Atlas] Texture size is: 4096x4096 (max: 16384x16384)
|
||||
Found work dir at 'C:/Users/erika/source/repos/Sabrehaven/800OTClient/'
|
||||
== application started at Apr 18 2022 18:15:15
|
||||
OTCv8 3.1 rev 163 (dev) made by otclient.net built on Mar 31 2022 for arch x86
|
||||
Connecting to: 127.0.0.1:7171
|
||||
Login to 127.0.0.1:7172
|
||||
Login to 127.0.0.1:7172
|
||||
Login to 127.0.0.1:7172
|
||||
Login to 127.0.0.1:7172
|
||||
Login to 127.0.0.1:7172
|
||||
|
@ -1 +1 @@
|
||||
next: 17745
|
||||
next: 17751
|
@ -577,12 +577,11 @@
|
||||
<missionstate id="2" description="You killed Ungreez, report your mission to Henricus." />
|
||||
<missionstate id="3" description="You got the the first addon of Demon Hunter Outfit! Ask Henricus for mission to unlock more addons." />
|
||||
</mission>
|
||||
<mission name="Mission 7: The Shadow Nexus" storageid="12167" startvalue="1" endvalue="5">
|
||||
<mission name="Mission 7: The Shadow Nexus" storageid="12167" startvalue="1" endvalue="4">
|
||||
<missionstate id="1" description="Your mission is to go to the Demon Forge and slay seven of The Ruthless Seven Minions. The Demon Forge is located in the Edron Hero Cave, through a portal after the Vampire Shield Quest." />
|
||||
<missionstate id="2" description="You destroyed the shadow nexus! Get back to Thais and report your mission to Henricus." />
|
||||
<missionstate id="3" description="Now ask to Henricus for a outfit. He will give you the 2nd addon of the Demon Hunter Outfits." />
|
||||
<missionstate id="4" description="You got the the second addon of Demon Hunter Outfit! Go now to the reward room and choose one wisely!" />
|
||||
<missionstate id="5" description="You have completed The Inquisition Quest! You can now buy the Blessing of the Inquisition!" />
|
||||
<missionstate id="4" description="You have completed The Inquisition Quest! You can now buy the Blessing of the Inquisition!" />
|
||||
</mission>
|
||||
</quest>
|
||||
</quests>
|
||||
|
@ -1,8 +1,8 @@
|
||||
local doorPosition = Position(32260, 32791, 7)
|
||||
local shadowNexusPosition = Position(33115, 31702, 12)
|
||||
local shadowNexusPosition = Position(33117, 31708, 12)
|
||||
local effectPositions = {
|
||||
Position(33113, 31702, 12),
|
||||
Position(33116, 31702, 12)
|
||||
Position(33116, 31708, 12),
|
||||
Position(33118, 31708, 12)
|
||||
}
|
||||
|
||||
local function revertItem(position, itemId, transformId)
|
||||
@ -58,13 +58,13 @@ function onUse(player, item, fromPosition, target, toPosition, isHotkey)
|
||||
end
|
||||
|
||||
-- Shadow Nexus
|
||||
if isInArray({8753, 8755, 8757}, target.itemid) then
|
||||
if isInArray({7925, 7927, 7929}, target.itemid) then
|
||||
target:transform(target.itemid + 1)
|
||||
target:decay()
|
||||
nexusMessage(player, player:getName() .. ' damaged the shadow nexus! You can\'t damage it while it\'s burning.')
|
||||
shadowNexusPosition:sendMagicEffect(CONST_ME_HOLYAREA)
|
||||
shadowNexusPosition:sendMagicEffect(CONST_ME_ENERGYHIT)
|
||||
|
||||
elseif target.itemid == 8759 then
|
||||
elseif target.itemid == 7931 then
|
||||
if player:getStorageValue(12160) < 22 then
|
||||
-- The Inquisition Questlog- 'Mission 7: The Shadow Nexus'
|
||||
player:setStorageValue(12167, 2)
|
||||
@ -72,7 +72,7 @@ function onUse(player, item, fromPosition, target, toPosition, isHotkey)
|
||||
end
|
||||
|
||||
for i = 1, #effectPositions do
|
||||
effectPositions[i]:sendMagicEffect(CONST_ME_HOLYAREA)
|
||||
effectPositions[i]:sendMagicEffect(CONST_ME_ENERGYHIT)
|
||||
end
|
||||
|
||||
nexusMessage(player, player:getName() .. ' destroyed the shadow nexus! In 20 seconds it will return to its original state.')
|
||||
|
@ -12,4 +12,5 @@
|
||||
<event type="death" name="KillingInTheNameOf" script="killing_in_the_name_of.lua" />
|
||||
|
||||
<event type="kill" name="InquisitionUngreez" script="inquisitionQuestUngreez.lua" />
|
||||
<event type="kill" name="InquisitionBosses" script="inquisitionQuestBosses.lua" />
|
||||
</creaturescripts>
|
||||
|
39
data/creaturescripts/scripts/inquisitionQuestBosses.lua
Normal file
39
data/creaturescripts/scripts/inquisitionQuestBosses.lua
Normal file
@ -0,0 +1,39 @@
|
||||
local bosses = {
|
||||
['ushuriel'] = 200,
|
||||
['zugurosh'] = 201,
|
||||
['madareth'] = 202,
|
||||
['latrivan'] = 203,
|
||||
['golgordan'] = 203,
|
||||
['annihilon'] = 204,
|
||||
['hellgorak'] = 205
|
||||
}
|
||||
|
||||
function onKill(player, target)
|
||||
local targetMonster = target:getMonster()
|
||||
if not targetMonster then
|
||||
return true
|
||||
end
|
||||
|
||||
local targetName = targetMonster:getName():lower()
|
||||
local bossStorage = bosses[targetName]
|
||||
if not bossStorage then
|
||||
return true
|
||||
end
|
||||
|
||||
local newValue = 2
|
||||
if targetName == 'latrivan' or targetName == 'golgordan' then
|
||||
local currentValue = 0
|
||||
if Game.getStorageValue(bossStorage) then
|
||||
currentValue = Game.getStorageValue(bossStorage)
|
||||
end
|
||||
|
||||
newValue = math.max(0, currentValue) + 1
|
||||
end
|
||||
Game.setStorageValue(bossStorage, newValue)
|
||||
|
||||
if newValue >= 2 then
|
||||
player:say('You now have 3 minutes to exit this room through the teleporter. It will bring you to the next room.', TALKTYPE_MONSTER_SAY)
|
||||
addEvent(Game.setStorageValue, 3 * 60 * 1000, bossStorage, 0)
|
||||
end
|
||||
return true
|
||||
end
|
@ -322,6 +322,7 @@ function onLogin(player)
|
||||
player:registerEvent("FirstItems")
|
||||
player:registerEvent("RegenerateStamina")
|
||||
player:registerEvent("InquisitionUngreez")
|
||||
player:registerEvent("InquisitionBosses")
|
||||
|
||||
return true
|
||||
end
|
||||
|
@ -33814,12 +33814,88 @@ Name = "the ring of the count"
|
||||
Flags = {Take}
|
||||
Attributes = {Weight=75,SlotType=RING}
|
||||
|
||||
TypeID = 7925
|
||||
Name = "the shadow nexus"
|
||||
Flags = {Unpass,Unmove,Unthrow,Unlay}
|
||||
Attributes = {Brightness=3,LightColor=5}
|
||||
|
||||
TypeID = 7926
|
||||
Name = "the shadow nexus"
|
||||
Flags = {Unpass,Unmove,Unthrow,Unlay,Expire}
|
||||
Attributes = {Brightness=3,LightColor=5,ExpireTarget=7927,TotalExpireTime=30}
|
||||
|
||||
TypeID = 7927
|
||||
Name = "the shadow nexus"
|
||||
Flags = {Unpass,Unmove,Unthrow,Unlay,Expire}
|
||||
Attributes = {Brightness=3,LightColor=5,ExpireTarget=7925,TotalExpireTime=20}
|
||||
|
||||
TypeID = 7928
|
||||
Name = "the shadow nexus"
|
||||
Flags = {Unpass,Unmove,Unthrow,Unlay,Expire}
|
||||
Attributes = {Brightness=3,LightColor=5,ExpireTarget=7929,TotalExpireTime=30}
|
||||
|
||||
TypeID = 7929
|
||||
Name = "the shadow nexus"
|
||||
Flags = {Unpass,Unmove,Unthrow,Unlay,Expire}
|
||||
Attributes = {Brightness=3,LightColor=5,ExpireTarget=7925,TotalExpireTime=20}
|
||||
|
||||
TypeID = 7930
|
||||
Name = "the shadow nexus"
|
||||
Flags = {Unpass,Unmove,Unthrow,Unlay,Expire}
|
||||
Attributes = {Brightness=3,LightColor=5,ExpireTarget=7931,TotalExpireTime=30}
|
||||
|
||||
TypeID = 7931
|
||||
Name = "the shadow nexus"
|
||||
Flags = {Unpass,Unmove,Unthrow,Unlay,Expire}
|
||||
Attributes = {Brightness=3,LightColor=5,ExpireTarget=7925,TotalExpireTime=20}
|
||||
|
||||
TypeID = 8023
|
||||
Name = "a royal crossbow"
|
||||
Description = "It is a bit heavy due to the iron mounting, but very precise"
|
||||
Flags = {Take,Distance}
|
||||
Attributes = {Weight=12000,SlotType=TWOHANDED,Range=6,AmmoType=BOLT,ExtraHitChance=3,Attack=5}
|
||||
|
||||
TypeID = 8026
|
||||
Name = "a warsinger bow"
|
||||
Flags = {Take,Distance}
|
||||
Attributes = {Weight=4500,SlotType=TWOHANDED,Range=7,AmmoType=ARROW,ExtraHitChance=5,Attack=3}
|
||||
|
||||
TypeID = 8053
|
||||
Name = "a fireborn giant armor"
|
||||
Flags = {Take,Armor}
|
||||
Attributes = {Weight=12000,SlotType=BODY,ArmorValue=15,AbsorbFire=5,SwordBoost=2}
|
||||
|
||||
TypeID = 8060
|
||||
Name = "a master archer's armor"
|
||||
Flags = {Take,Armor}
|
||||
Attributes = {Weight=6900,SlotType=BODY,ArmorValue=15,DistanceBoost=3}
|
||||
|
||||
TypeID = 8062
|
||||
Name = "a robe of the underworld"
|
||||
Flags = {Take,Armor}
|
||||
Attributes = {Weight=3100,SlotType=BODY,ArmorValue=12,AbsorbPhysical=12}
|
||||
|
||||
TypeID = 8090
|
||||
Name = "a spellbook of dark mysteries"
|
||||
Description = "It shows your spells and can also shield against attacks when worn"
|
||||
Flags = {Take,Shield}
|
||||
Attributes = {Weight=2850,Defense=16,MagicBoost=3}
|
||||
|
||||
TypeID = 8096
|
||||
Name = "a hellforged axe"
|
||||
Flags = {MultiUse,Take,Weapon}
|
||||
Attributes = {Weight=8800,WeaponType=AXE,Attack=51,Defense=28}
|
||||
|
||||
TypeID = 8100
|
||||
Name = "an obsidian truncheon"
|
||||
Flags = {MultiUse,Take,Weapon}
|
||||
Attributes = {Weight=6500,WeaponType=CLUB,Attack=50,Defense=30}
|
||||
|
||||
TypeID = 8102
|
||||
Name = "an emerald sword"
|
||||
Flags = {MultiUse,Take,Weapon}
|
||||
Attributes = {Weight=4100,WeaponType=SWORD,Attack=49,Defense=33}
|
||||
|
||||
TypeID = 8109
|
||||
Name = "remains of a vampire lord"
|
||||
Flags = {Container,Unmove,Corpse,Expire}
|
||||
|
99
data/monster/800/annihilon.xml
Normal file
99
data/monster/800/annihilon.xml
Normal file
@ -0,0 +1,99 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<monster name="Annihilon" nameDescription="Annihilon" race="fire" experience="15000" speed="380" manacost="0">
|
||||
<health now="46500" max="46500" />
|
||||
<look type="12" head="19" body="104" legs="96" feet="96" corpse="8721" />
|
||||
<targetchange interval="5000" chance="8" />
|
||||
<flags>
|
||||
<flag summonable="0" />
|
||||
<flag attackable="1" />
|
||||
<flag hostile="1" />
|
||||
<flag illusionable="0" />
|
||||
<flag convinceable="0" />
|
||||
<flag pushable="0" />
|
||||
<flag canpushitems="1" />
|
||||
<flag canpushcreatures="1" />
|
||||
<flag targetdistance="1" />
|
||||
<flag staticattack="85" />
|
||||
<flag runonhealth="200" />
|
||||
</flags>
|
||||
<attacks>
|
||||
<attack name="melee" interval="2000" skill="185" attack="175" />
|
||||
<attack name="death" interval="1000" chance="11" length="8" spread="0" min="0" max="-600">
|
||||
<attribute key="areaEffect" value="mortarea" />
|
||||
</attack>
|
||||
<attack name="death" interval="2000" chance="15" target="0" radius="4" min="-200" max="-700">
|
||||
<attribute key="areaEffect" value="icearea" />
|
||||
</attack>
|
||||
<attack name="physical" interval="3000" chance="18" radius="5" target="1" min="-50" max="-255">
|
||||
<attribute key="areaEffect" value="groundshaker" />
|
||||
</attack>
|
||||
<attack name="fire" interval="2000" chance="15" radius="6" target="1" min="-50" max="-600">
|
||||
<attribute key="areaEffect" value="firearea" />
|
||||
<attribute key="shootEffect" value="fire" />
|
||||
</attack>
|
||||
</attacks>
|
||||
<defenses armor="60" defense="55">
|
||||
<defense name="healing" interval="1000" chance="14" min="400" max="900">
|
||||
<attribute key="areaEffect" value="greenshimmer" />
|
||||
</defense>
|
||||
<defense name="speed" interval="1000" chance="4" speedchange="500" duration="7000">
|
||||
<attribute key="areaEffect" value="blueshimmer" />
|
||||
</defense>
|
||||
</defenses>
|
||||
<elements>
|
||||
<element icePercent="20" />
|
||||
<element energyPercent="95" />
|
||||
<element deathPercent="95" />
|
||||
<element holyPercent="-5" />
|
||||
</elements>
|
||||
<immunities>
|
||||
<immunity invisible="1" />
|
||||
</immunities>
|
||||
<voices interval="2000" chance="7">
|
||||
<voice sentence="Flee as long as you can!" />
|
||||
<voice sentence="Annihilon's might will crush you all!" />
|
||||
<voice sentence="I am coming for you!" />
|
||||
</voices>
|
||||
<loot>
|
||||
<item id="2148" countmax="100" chance="100000" /> <!-- gold coin -->
|
||||
<item id="9810" chance="62390" /> <!-- rusty armor (rare) -->
|
||||
<item id="7632" chance="38940" /> <!-- giant shimmering pearl -->
|
||||
<item id="7633" chance="38940" /> <!-- giant shimmering pearl -->
|
||||
<item id="2452" chance="28320" /> <!-- heavy mace -->
|
||||
<item id="7368" countmax="50" chance="23010" /> <!-- assassin star -->
|
||||
<item id="2158" chance="23010" /> <!-- blue gem -->
|
||||
<item id="2127" chance="23010" /> <!-- emerald bangle -->
|
||||
<item id="2154" chance="22570" /> <!-- yellow gem -->
|
||||
<item id="6529" countmax="46" chance="21680" /> <!-- infernal bolt -->
|
||||
<item id="2427" chance="21240" /> <!-- guardian halberd -->
|
||||
<item id="2381" chance="20800" /> <!-- halberd -->
|
||||
<item id="2156" chance="20800" /> <!-- red gem -->
|
||||
<item id="7439" chance="19910" /> <!-- berserk potion -->
|
||||
<item id="7840" countmax="96" chance="19470" /> <!-- flaming arrow -->
|
||||
<item id="9971" chance="19470" /> <!-- gold ingot -->
|
||||
<item id="2152" countmax="30" chance="19030" /> <!-- platinum coin -->
|
||||
<item id="2547" countmax="99" chance="19030" /> <!-- power bolt -->
|
||||
<item id="5944" countmax="5" chance="18580" /> <!-- soul orb -->
|
||||
<item id="2153" chance="17700" /> <!-- violet gem -->
|
||||
<item id="7366" countmax="70" chance="16810" /> <!-- viper star -->
|
||||
<item id="2155" chance="15930" /> <!-- green gem -->
|
||||
<item id="7440" chance="15490" /> <!-- mastermind potion -->
|
||||
<item id="8473" chance="14160" /> <!-- ultimate health potion -->
|
||||
<item id="7591" chance="13720" /> <!-- great health potion -->
|
||||
<item id="7421" chance="13720" /> <!-- onyx flail -->
|
||||
<item id="2519" chance="13270" /> <!-- crown shield -->
|
||||
<item id="8472" chance="13270" /> <!-- great spirit potion -->
|
||||
<item id="5954" countmax="2" chance="12830" /> <!-- demon horn -->
|
||||
<item id="7590" chance="12390" /> <!-- great mana potion -->
|
||||
<item id="8891" chance="10620" /> <!-- paladin armor -->
|
||||
<item id="2528" chance="10180" /> <!-- tower shield -->
|
||||
<item id="7387" chance="7520" /> <!-- diamond sceptre -->
|
||||
<item id="2515" chance="7520" /> <!-- guardian shield -->
|
||||
<item id="2514" chance="3980" /> <!-- mastermind shield -->
|
||||
<item id="2520" chance="3540" /> <!-- demon shield -->
|
||||
<item id="7431" chance="1770" /> <!-- demonbone -->
|
||||
<item id="8877" chance="1330" /> <!-- lavos armor -->
|
||||
<item id="8928" chance="1330" /> <!-- obsidian truncheon -->
|
||||
<item id="8929" chance="440" /> <!-- the stomper -->
|
||||
</loot>
|
||||
</monster>
|
89
data/monster/800/golgordan.xml
Normal file
89
data/monster/800/golgordan.xml
Normal file
@ -0,0 +1,89 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<monster name="Golgordan" nameDescription="Golgordan" race="fire" experience="10000" speed="350" manacost="0">
|
||||
<health now="40000" max="40000" />
|
||||
<look type="12" head="108" body="100" legs="105" feet="114" corpse="8721" />
|
||||
<targetchange interval="7000" chance="10" />
|
||||
<strategy attack="90" defense="10" />
|
||||
<flags>
|
||||
<flag summonable="0" />
|
||||
<flag attackable="1" />
|
||||
<flag hostile="1" />
|
||||
<flag illusionable="0" />
|
||||
<flag convinceable="0" />
|
||||
<flag pushable="0" />
|
||||
<flag canpushitems="1" />
|
||||
<flag canpushcreatures="1" />
|
||||
<flag targetdistance="1" />
|
||||
<flag staticattack="85" />
|
||||
<flag runonhealth="0" />
|
||||
</flags>
|
||||
<attacks>
|
||||
<attack name="melee" interval="2000" min="0" max="-500" />
|
||||
<attack name="fire" interval="2000" chance="15" range="7" radius="4" min="-60" max="-200">
|
||||
<attribute key="shootEffect" value="fire" />
|
||||
<attribute key="areaEffect" value="firearea" />
|
||||
</attack>
|
||||
<attack name="poisoncondition" interval="1000" chance="11" length="5" spread="0" min="-30" max="-30">
|
||||
<attribute key="areaEffect" value="poison" />
|
||||
</attack>
|
||||
<attack name="death" interval="3000" chance="15" length="8" spread="3" min="-50" max="-600">
|
||||
<attribute key="areaEffect" value="mortarea" />
|
||||
</attack>
|
||||
<attack name="death" interval="2000" chance="10" radius="1" range="4" min="0" max="-600">
|
||||
<attribute key="shootEffect" value="death" />
|
||||
<attribute key="areaEffect" value="mortarea" />
|
||||
</attack>
|
||||
<attack name="fire" interval="2000" chance="10" length="8" spread="3" min="0" max="-600">
|
||||
<attribute key="areaEffect" value="firearea" />
|
||||
</attack>
|
||||
<attack name="physical" interval="1000" chance="8" radius="6" target="0" min="-50" max="-60">
|
||||
<attribute key="areaEffect" value="groundshaker" />
|
||||
</attack>
|
||||
</attacks>
|
||||
<defenses armor="48" defense="54" />
|
||||
<elements>
|
||||
<element icePercent="-1" />
|
||||
<element holyPercent="1" />
|
||||
<element physicalPercent="1" />
|
||||
<element firePercent="-1" />
|
||||
</elements>
|
||||
<immunities>
|
||||
<immunity death="1" />
|
||||
<immunity invisible="1" />
|
||||
</immunities>
|
||||
<voices interval="2000" chance="7">
|
||||
<voice sentence="Latrivan, you fool!" yell="1" />
|
||||
<voice sentence="We are the right hand and the left hand of the seven!" />
|
||||
</voices>
|
||||
<loot>
|
||||
<item id="2148" countmax="273" chance="100000" /> <!-- gold coin -->
|
||||
<item id="7591" chance="55000" /> <!-- great health potion -->
|
||||
<item id="2387" chance="30000" /> <!-- double axe -->
|
||||
<item id="6300" chance="25000" /> <!-- death ring -->
|
||||
<item id="2214" chance="25000" /> <!-- ring of healing -->
|
||||
<item id="2144" countmax="13" chance="20000" /> <!-- black pearl -->
|
||||
<item id="2149" countmax="10" chance="20000" /> <!-- small emerald -->
|
||||
<item id="2396" chance="15000" /> <!-- ice rapier -->
|
||||
<item id="2162" chance="15000" /> <!-- magic light wand -->
|
||||
<item id="2170" chance="15000" /> <!-- silver amulet -->
|
||||
<item id="2146" countmax="10" chance="15000" /> <!-- small sapphire -->
|
||||
<item id="2143" countmax="13" chance="15000" /> <!-- white pearl -->
|
||||
<item id="2520" chance="10000" /> <!-- demon shield -->
|
||||
<item id="6500" chance="10000" /> <!-- demonic essence -->
|
||||
<item id="2167" chance="10000" /> <!-- energy ring -->
|
||||
<item id="2393" chance="10000" /> <!-- giant sword -->
|
||||
<item id="9971" chance="10000" /> <!-- gold ingot -->
|
||||
<item id="2179" chance="10000" /> <!-- gold ring -->
|
||||
<item id="2470" chance="10000" /> <!-- golden legs -->
|
||||
<item id="2158" chance="5000" /> <!-- blue gem -->
|
||||
<item id="2462" chance="5000" /> <!-- devil helmet -->
|
||||
<item id="2432" chance="5000" /> <!-- fire axe -->
|
||||
<item id="2155" chance="5000" /> <!-- green gem -->
|
||||
<item id="2164" chance="5000" /> <!-- might ring -->
|
||||
<item id="2402" chance="5000" /> <!-- silver dagger -->
|
||||
<item id="2150" countmax="12" chance="15000" /> <!-- small amethyst -->
|
||||
<item id="2182" chance="5000" /> <!-- snakebite rod -->
|
||||
<item id="2165" chance="5000" /> <!-- stealth ring -->
|
||||
<item id="2197" chance="5000" /> <!-- stone skin amulet -->
|
||||
</loot>
|
||||
</monster>
|
109
data/monster/800/hellgorak.xml
Normal file
109
data/monster/800/hellgorak.xml
Normal file
@ -0,0 +1,109 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<monster name="Hellgorak" nameDescription="Hellgorak" race="blood" experience="10000" speed="360" manacost="0">
|
||||
<health now="25850" max="25850" />
|
||||
<look type="12" head="19" body="96" legs="21" feet="81" corpse="8721" />
|
||||
<targetchange interval="5000" chance="8" />
|
||||
<flags>
|
||||
<flag summonable="0" />
|
||||
<flag attackable="1" />
|
||||
<flag hostile="1" />
|
||||
<flag illusionable="0" />
|
||||
<flag convinceable="0" />
|
||||
<flag pushable="0" />
|
||||
<flag canpushitems="1" />
|
||||
<flag canpushcreatures="1" />
|
||||
<flag targetdistance="1" />
|
||||
<flag staticattack="85" />
|
||||
<flag runonhealth="0" />
|
||||
</flags>
|
||||
<attacks>
|
||||
<attack script="monster/smokeue.lua" interval="2000" chance="8" />
|
||||
<attack name="melee" interval="2000" min="0" max="-800" />
|
||||
<attack name="energy" interval="1000" chance="11" length="8" spread="0" min="-250" max="-850">
|
||||
<attribute key="areaEffect" value="purpleenergy" />
|
||||
</attack>
|
||||
<attack name="fire" interval="1000" chance="11" radius="5" target="1" min="-50" max="-600">
|
||||
<attribute key="areaEffect" value="firearea" />
|
||||
</attack>
|
||||
<attack name="energy" interval="2000" chance="25" target="1" range="7" min="-200" max="-400">
|
||||
<attribute key="shootEffect" value="energy" />
|
||||
</attack>
|
||||
<attack name="manadrain" interval="2000" chance="14" radius="5" target="0" min="-200" max="-400">
|
||||
<attribute key="areaEffect" value="stun" />
|
||||
</attack>
|
||||
</attacks>
|
||||
<defenses armor="70" defense="65">
|
||||
<defense name="healing" interval="1000" chance="11" min="400" max="1700">
|
||||
<attribute key="areaEffect" value="greenshimmer" />
|
||||
</defense>
|
||||
</defenses>
|
||||
<elements>
|
||||
<element physicalPercent="98" />
|
||||
<element icePercent="98" />
|
||||
<element energyPercent="98" />
|
||||
<element earthPercent="98" />
|
||||
<element holyPercent="95" />
|
||||
<element deathPercent="98" />
|
||||
<element firePercent="98" />
|
||||
<element drownPercent="-205" />
|
||||
</elements>
|
||||
<immunities>
|
||||
<immunity lifedrain="1" />
|
||||
<immunity paralyze="1" />
|
||||
<immunity invisible="1" />
|
||||
</immunities>
|
||||
<voices interval="5000" chance="5">
|
||||
<voice sentence="I'll sacrifice yours souls to seven!" />
|
||||
<voice sentence="I'm bad news for you mortals!" />
|
||||
<voice sentence="No man can defeat me!" />
|
||||
<voice sentence="Your puny skills are no match for me." />
|
||||
<voice sentence="I smell your fear." />
|
||||
<voice sentence="Delicious!" />
|
||||
</voices>
|
||||
<loot>
|
||||
<item id="2148" countmax="198" chance="100000" /> <!-- gold coin -->
|
||||
<item id="9813" chance="50000" /> <!-- rusty legs (rare) -->
|
||||
<item id="8473" countmax="2" chance="42000" /> <!-- ultimate health potion -->
|
||||
<item id="8901" chance="32000" /> <!-- spellbook of warding -->
|
||||
<item id="9810" chance="30000" /> <!-- rusty armor (rare) -->
|
||||
<item id="3962" chance="29000" /> <!-- beastslayer axe -->
|
||||
<item id="8472" chance="21000" /> <!-- great spirit potion -->
|
||||
<item id="2152" countmax="30" chance="21000" /> <!-- platinum coin -->
|
||||
<item id="7591" chance="20000" /> <!-- great health potion -->
|
||||
<item id="2487" chance="19000" /> <!-- crown armor -->
|
||||
<item id="7590" chance="15000" /> <!-- great mana potion -->
|
||||
<item id="2144" countmax="25" chance="14450" /> <!-- black pearl -->
|
||||
<item id="2125" chance="13450" /> <!-- crystal necklace -->
|
||||
<item id="2147" countmax="25" chance="13330" /> <!-- small ruby -->
|
||||
<item id="2143" countmax="25" chance="13200" /> <!-- white pearl -->
|
||||
<item id="7456" chance="12450" /> <!-- noble axe -->
|
||||
<item id="2145" countmax="25" chance="12330" /> <!-- small diamond -->
|
||||
<item id="7894" chance="11960" /> <!-- magma legs -->
|
||||
<item id="2146" countmax="25" chance="11960" /> <!-- small sapphire -->
|
||||
<item id="2133" chance="11830" /> <!-- ruby necklace -->
|
||||
<item id="9970" countmax="25" chance="11710" /> <!-- small topaz -->
|
||||
<item id="2150" countmax="25" chance="11580" /> <!-- small amethyst -->
|
||||
<item id="2149" countmax="25" chance="11330" /> <!-- small emerald -->
|
||||
<item id="8870" chance="10000" /> <!-- spirit cloak -->
|
||||
<item id="8871" chance="10000" /> <!-- focus cape -->
|
||||
<item id="2645" chance="10000" /> <!-- steel boots -->
|
||||
<item id="2488" chance="9700" /> <!-- crown legs -->
|
||||
<item id="5954" countmax="2" chance="9700" /> <!-- demon horn -->
|
||||
<item id="2130" chance="9600" /> <!-- golden amulet -->
|
||||
<item id="2477" chance="9600" /> <!-- knight legs -->
|
||||
<item id="8902" chance="9200" /> <!-- spellbook of mind control -->
|
||||
<item id="2197" chance="8300" /> <!-- stone skin amulet -->
|
||||
<item id="2656" chance="8000" /> <!-- blue robe -->
|
||||
<item id="8903" chance="8000" /> <!-- spellbook of lost souls -->
|
||||
<item id="7412" chance="3000" /> <!-- butcher's axe -->
|
||||
<item id="2466" chance="2600" /> <!-- golden armor -->
|
||||
<item id="7388" chance="1740" /> <!-- vile axe -->
|
||||
<item id="8904" chance="1370" /> <!-- spellscroll of prophecies -->
|
||||
<item id="14333" chance="620" /> <!-- demonbone amulet -->
|
||||
<item id="7453" chance="620" /> <!-- executioner -->
|
||||
<item id="8926" chance="370" /> <!-- demonwing axe -->
|
||||
<item id="2470" chance="370" /> <!-- golden legs -->
|
||||
<item id="8879" chance="370" /> <!-- voltage armor -->
|
||||
<item id="8918" chance="250" /> <!-- spellbook of dark mysteries -->
|
||||
</loot>
|
||||
</monster>
|
84
data/monster/800/latrivan.xml
Normal file
84
data/monster/800/latrivan.xml
Normal file
@ -0,0 +1,84 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<monster name="Latrivan" nameDescription="Latrivan" race="fire" experience="10000" speed="340" manacost="0">
|
||||
<health now="25000" max="25000" />
|
||||
<look type="12" head="120" body="128" legs="121" feet="111" corpse="8721" />
|
||||
<targetchange interval="5000" chance="8" />
|
||||
<strategy attack="80" defense="20" />
|
||||
<flags>
|
||||
<flag summonable="0" />
|
||||
<flag attackable="1" />
|
||||
<flag hostile="1" />
|
||||
<flag illusionable="0" />
|
||||
<flag convinceable="0" />
|
||||
<flag pushable="0" />
|
||||
<flag canpushitems="1" />
|
||||
<flag canpushcreatures="1" />
|
||||
<flag targetdistance="1" />
|
||||
<flag staticattack="85" />
|
||||
<flag runonhealth="0" />
|
||||
</flags>
|
||||
<attacks>
|
||||
<attack name="melee" interval="2000" min="0" max="-1" />
|
||||
<attack name="fire" interval="2000" chance="10" length="8" spread="3" min="0" max="-850">
|
||||
<attribute key="areaEffect" value="firearea" />
|
||||
</attack>
|
||||
<attack name="fire" interval="1000" chance="10" length="7" spread="0" min="-50" max="-250">
|
||||
<attribute key="areaEffect" value="explosion" />
|
||||
</attack>
|
||||
<attack name="death" interval="2000" chance="10" radius="1" range="4" min="0" max="-600">
|
||||
<attribute key="shootEffect" value="death" />
|
||||
<attribute key="areaEffect" value="mortarea" />
|
||||
</attack>
|
||||
<attack name="fire" interval="2000" chance="15" range="7" radius="4" target="0" min="-60" max="-200">
|
||||
<attribute key="shootEffect" value="fire" />
|
||||
<attribute key="areaEffect" value="firearea" />
|
||||
</attack>
|
||||
</attacks>
|
||||
<defenses armor="35" defense="45" />
|
||||
<elements>
|
||||
<element icePercent="-1" />
|
||||
<element energyPercent="1" />
|
||||
</elements>
|
||||
<immunities>
|
||||
<immunity fire="1" />
|
||||
<immunity death="1" />
|
||||
<immunity invisible="1" />
|
||||
</immunities>
|
||||
<voices interval="2000" chance="7">
|
||||
<voice sentence="I might reward you for killing my brother ~ with a swift death!" yell="1" />
|
||||
<voice sentence="Colateral damage is so fun!" />
|
||||
<voice sentence="Golgordan you fool!" />
|
||||
<voice sentence="We are the brothers of fear!" />
|
||||
</voices>
|
||||
<loot>
|
||||
<item id="2148" countmax="273" chance="100000" /> <!-- gold coin -->
|
||||
<item id="7591" chance="55000" /> <!-- great health potion -->
|
||||
<item id="2387" chance="30000" /> <!-- double axe -->
|
||||
<item id="6300" chance="25000" /> <!-- death ring -->
|
||||
<item id="2214" chance="25000" /> <!-- ring of healing -->
|
||||
<item id="2144" countmax="13" chance="20000" /> <!-- black pearl -->
|
||||
<item id="2149" countmax="10" chance="20000" /> <!-- small emerald -->
|
||||
<item id="2396" chance="15000" /> <!-- ice rapier -->
|
||||
<item id="2162" chance="15000" /> <!-- magic light wand -->
|
||||
<item id="2170" chance="15000" /> <!-- silver amulet -->
|
||||
<item id="2146" countmax="10" chance="15000" /> <!-- small sapphire -->
|
||||
<item id="2143" countmax="13" chance="15000" /> <!-- white pearl -->
|
||||
<item id="2520" chance="10000" /> <!-- demon shield -->
|
||||
<item id="6500" chance="10000" /> <!-- demonic essence -->
|
||||
<item id="2167" chance="10000" /> <!-- energy ring -->
|
||||
<item id="2393" chance="10000" /> <!-- giant sword -->
|
||||
<item id="9971" chance="10000" /> <!-- gold ingot -->
|
||||
<item id="2179" chance="10000" /> <!-- gold ring -->
|
||||
<item id="2470" chance="10000" /> <!-- golden legs -->
|
||||
<item id="2158" chance="5000" /> <!-- blue gem -->
|
||||
<item id="2462" chance="5000" /> <!-- devil helmet -->
|
||||
<item id="2432" chance="5000" /> <!-- fire axe -->
|
||||
<item id="2155" chance="5000" /> <!-- green gem -->
|
||||
<item id="2164" chance="5000" /> <!-- might ring -->
|
||||
<item id="2402" chance="5000" /> <!-- silver dagger -->
|
||||
<item id="2150" countmax="12" chance="15000" /> <!-- small amethyst -->
|
||||
<item id="2182" chance="5000" /> <!-- snakebite rod -->
|
||||
<item id="2165" chance="5000" /> <!-- stealth ring -->
|
||||
<item id="2197" chance="5000" /> <!-- stone skin amulet -->
|
||||
</loot>
|
||||
</monster>
|
99
data/monster/800/madareth.xml
Normal file
99
data/monster/800/madareth.xml
Normal file
@ -0,0 +1,99 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<monster name="Madareth" nameDescription="Madareth" race="fire" experience="10000" speed="380" manacost="0">
|
||||
<health now="75000" max="75000" />
|
||||
<look type="12" head="77" body="116" legs="82" feet="79" corpse="8721" />
|
||||
<targetchange interval="5000" chance="8" />
|
||||
<flags>
|
||||
<flag summonable="0" />
|
||||
<flag attackable="1" />
|
||||
<flag hostile="1" />
|
||||
<flag illusionable="0" />
|
||||
<flag convinceable="0" />
|
||||
<flag pushable="0" />
|
||||
<flag canpushitems="1" />
|
||||
<flag canpushcreatures="1" />
|
||||
<flag targetdistance="1" />
|
||||
<flag staticattack="85" />
|
||||
<flag runonhealth="1200" />
|
||||
</flags>
|
||||
<attacks>
|
||||
<attack name="melee" interval="2000" min="0" max="-2000" />
|
||||
<attack name="energy" interval="2000" chance="15" radius="4" target="1" min="-180" max="-660">
|
||||
<attribute key="areaEffect" value="purpleenergy" />
|
||||
</attack>
|
||||
<attack name="death" interval="2000" chance="10" length="5" spread="2" min="-600" max="-850">
|
||||
<attribute key="areaEffect" value="blacksmoke" />
|
||||
</attack>
|
||||
<attack name="manadrain" interval="2000" chance="20" radius="4" target="1" min="0" max="-200">
|
||||
<attribute key="areaEffect" value="redshimmer" />
|
||||
</attack>
|
||||
<attack name="manadrain" interval="2000" chance="5" radius="5" target="1" min="0" max="-250">
|
||||
<attribute key="areaEffect" value="redshimmer" />
|
||||
</attack>
|
||||
</attacks>
|
||||
<defenses armor="48" defense="46">
|
||||
<defense name="healing" interval="3000" chance="14" min="400" max="900">
|
||||
<attribute key="areaEffect" value="blueshimmer" />
|
||||
</defense>
|
||||
</defenses>
|
||||
<elements>
|
||||
<element firePercent="-5" />
|
||||
<element icePercent="5" />
|
||||
<element deathPercent="95" />
|
||||
<element energyPercent="99" />
|
||||
</elements>
|
||||
<immunities>
|
||||
<immunity invisible="1" />
|
||||
<immunity paralyze="1" />
|
||||
</immunities>
|
||||
<voices interval="2000" chance="7">
|
||||
<voice sentence="I am going to play with yourself!" yell="1" />
|
||||
<voice sentence="Feel my wrath!" />
|
||||
<voice sentence="No one matches my battle prowess!" />
|
||||
<voice sentence="You will all die!" />
|
||||
</voices>
|
||||
<loot>
|
||||
<item id="2148" countmax="150" chance="100000" /> <!-- gold coin -->
|
||||
<item id="9813" chance="59000" /> <!-- rusty legs (rare) -->
|
||||
<item id="9810" chance="40000" /> <!-- rusty armor (rare) -->
|
||||
<item id="7443" chance="33000" /> <!-- bullseye potion -->
|
||||
<item id="7591" chance="30000" /> <!-- great health potion -->
|
||||
<item id="8472" chance="30000" /> <!-- great spirit potion -->
|
||||
<item id="7440" chance="28000" /> <!-- mastermind potion -->
|
||||
<item id="7439" chance="23000" /> <!-- berserk potion -->
|
||||
<item id="7590" chance="21000" /> <!-- great mana potion -->
|
||||
<item id="6300" chance="19000" /> <!-- death ring -->
|
||||
<item id="2183" chance="19000" /> <!-- hailstorm rod -->
|
||||
<item id="2370" chance="19000" /> <!-- lute -->
|
||||
<item id="2152" countmax="26" chance="19000" /> <!-- platinum coin -->
|
||||
<item id="2377" chance="19000" /> <!-- two handed sword -->
|
||||
<item id="7404" chance="16000" /> <!-- assassin dagger -->
|
||||
<item id="2208" chance="16000" /> <!-- axe ring -->
|
||||
<item id="8473" chance="16000" /> <!-- ultimate health potion -->
|
||||
<item id="8910" chance="16000" /> <!-- underworld rod -->
|
||||
<item id="2209" chance="14000" /> <!-- club ring -->
|
||||
<item id="6500" chance="14000" /> <!-- demonic essence -->
|
||||
<item id="7407" chance="14000" /> <!-- haunted blade -->
|
||||
<item id="2071" chance="14000" /> <!-- lyre -->
|
||||
<item id="7418" chance="14000" /> <!-- nightmare blade -->
|
||||
<item id="8912" chance="14000" /> <!-- springsprout rod -->
|
||||
<item id="3953" chance="14000" /> <!-- war drum -->
|
||||
<item id="2187" chance="11000" /> <!-- wand of inferno -->
|
||||
<item id="8922" chance="11000" /> <!-- wand of voodoo -->
|
||||
<item id="7416" chance="9500" /> <!-- bloody edge -->
|
||||
<item id="7449" chance="9500" /> <!-- crystal sword -->
|
||||
<item id="2214" chance="9500" /> <!-- ring of healing -->
|
||||
<item id="5954" countmax="2" chance="7000" /> <!-- demon horn -->
|
||||
<item id="2168" chance="7000" /> <!-- life ring -->
|
||||
<item id="7383" chance="7000" /> <!-- relic sword -->
|
||||
<item id="2169" chance="7000" /> <!-- time ring -->
|
||||
<item id="8920" chance="7000" /> <!-- wand of starstorm -->
|
||||
<item id="2079" chance="7000" /> <!-- war horn -->
|
||||
<item id="2374" chance="7000" /> <!-- wooden flute -->
|
||||
<item id="3952" chance="4700" /> <!-- didgeridoo -->
|
||||
<item id="2213" chance="4700" /> <!-- dwarven ring -->
|
||||
<item id="2396" chance="4700" /> <!-- ice rapier -->
|
||||
<item id="7386" chance="4700" /> <!-- mercenary sword -->
|
||||
<item id="2207" chance="4700" /> <!-- sword ring -->
|
||||
</loot>
|
||||
</monster>
|
101
data/monster/800/ushuriel.xml
Normal file
101
data/monster/800/ushuriel.xml
Normal file
@ -0,0 +1,101 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<monster name="Ushuriel" nameDescription="Ushuriel" race="fire" experience="10500" speed="350" manacost="0">
|
||||
<health now="31500" max="31500" />
|
||||
<look type="12" head="0" body="95" legs="19" feet="112" corpse="8721" />
|
||||
<targetchange interval="5000" chance="8" />
|
||||
<flags>
|
||||
<flag summonable="0" />
|
||||
<flag attackable="1" />
|
||||
<flag hostile="1" />
|
||||
<flag illusionable="0" />
|
||||
<flag convinceable="0" />
|
||||
<flag pushable="0" />
|
||||
<flag canpushitems="1" />
|
||||
<flag canpushcreatures="1" />
|
||||
<flag targetdistance="1" />
|
||||
<flag staticattack="85" />
|
||||
<flag runonhealth="1500" />
|
||||
</flags>
|
||||
<attacks>
|
||||
<attack name="melee" interval="2000" min="0" max="-1200" />
|
||||
<attack name="physical" interval="1000" chance="10" length="10" spread="0" min="-250" max="-500">
|
||||
<attribute key="areaEffect" value="mortarea" />
|
||||
</attack>
|
||||
<attack name="ice" interval="2000" chance="10" length="8" spread="3" min="0" max="-400">
|
||||
<attribute key="areaEffect" value="icetornado" />
|
||||
</attack>
|
||||
<attack name="cursecondition" interval="2000" chance="15" radius="4" target="0" min="0" max="-800">
|
||||
<attribute key="areaEffect" value="mortarea" />
|
||||
</attack>
|
||||
<attack name="energycondition" interval="2000" chance="15" radius="4" target="0" min="-25" max="-25">
|
||||
<attribute key="areaEffect" value="energy" />
|
||||
</attack>
|
||||
<attack name="drunk" interval="3000" chance="11" radius="6" target="0" duration="25000">
|
||||
<attribute key="areaEffect" value="purplenote" />
|
||||
</attack>
|
||||
<attack name="earth" interval="2000" chance="9" length="8" spread="3" min="0" max="-600">
|
||||
<attribute key="areaEffect" value="smallplants" />
|
||||
</attack>
|
||||
</attacks>
|
||||
<defenses armor="50" defense="45">
|
||||
<defense name="healing" interval="2000" chance="25" min="400" max="600">
|
||||
<attribute key="areaEffect" value="greenshimmer" />
|
||||
</defense>
|
||||
</defenses>
|
||||
<elements>
|
||||
<element physicalPercent="50" />
|
||||
<element firePercent="30" />
|
||||
<element energyPercent="30" />
|
||||
<element icePercent="30" />
|
||||
<element earthPercent="30" />
|
||||
<element holyPercent="25" />
|
||||
</elements>
|
||||
<immunities>
|
||||
<immunity death="1" />
|
||||
<immunity paralyze="1" />
|
||||
<immunity invisible="1" />
|
||||
</immunities>
|
||||
<voices interval="2000" chance="7">
|
||||
<voice sentence="You can't run or hide forever!" />
|
||||
<voice sentence="I'm the executioner of the Seven!" />
|
||||
<voice sentence="The final punishment awaits you!" />
|
||||
<voice sentence="The judgement is guilty! The sentence is death!" />
|
||||
</voices>
|
||||
<loot>
|
||||
<item id="6500" chance="100000" /> <!-- demonic essence -->
|
||||
<item id="2789" countmax="30" chance="88000" /> <!-- brown mushroom -->
|
||||
<item id="2148" countmax="190" chance="88000" /> <!-- gold coin -->
|
||||
<item id="5880" countmax="10" chance="39000" /> <!-- iron ore -->
|
||||
<item id="5925" countmax="20" chance="32000" /> <!-- hardened bone -->
|
||||
<item id="7591" chance="24000" /> <!-- great health potion -->
|
||||
<item id="7391" chance="24000" /> <!-- thaian sword -->
|
||||
<item id="2178" chance="23000" /> <!-- mind stone -->
|
||||
<item id="2498" chance="22000" /> <!-- royal helmet -->
|
||||
<item id="8473" chance="22000" /> <!-- ultimate health potion -->
|
||||
<item id="7590" chance="21000" /> <!-- great mana potion -->
|
||||
<item id="5741" chance="21000" /> <!-- skull helmet -->
|
||||
<item id="8472" chance="20000" /> <!-- great spirit potion -->
|
||||
<item id="9810" chance="20000" /> <!-- rusty armor (rare) -->
|
||||
<item id="2475" chance="20000" /> <!-- warrior helmet -->
|
||||
<item id="2152" countmax="26" chance="20000" /> <!-- platinum coin -->
|
||||
<item id="9971" chance="19000" /> <!-- gold ingot -->
|
||||
<item id="2177" chance="17000" /> <!-- life crystal -->
|
||||
<item id="2176" chance="17000" /> <!-- orb -->
|
||||
<item id="2392" chance="15000" /> <!-- fire sword -->
|
||||
<item id="5892" chance="14285" /> <!-- huge chunk of crude iron -->
|
||||
<item id="5669" chance="12500" /> <!-- mysterious voodoo skull -->
|
||||
<item id="2419" chance="12000" /> <!-- scimitar -->
|
||||
<item id="7385" chance="11000" /> <!-- crimson sword -->
|
||||
<item id="2383" chance="9600" /> <!-- spike sword -->
|
||||
<item id="5954" countmax="2" chance="9000" /> <!-- demon horn -->
|
||||
<item id="7402" chance="8200" /> <!-- dragon slayer -->
|
||||
<item id="2479" chance="8200" /> <!-- strange helmet -->
|
||||
<item id="5891" chance="7500" /> <!-- enchanted chicken wing -->
|
||||
<item id="2393" chance="7500" /> <!-- giant sword -->
|
||||
<item id="7417" chance="6900" /> <!-- runed sword -->
|
||||
<item id="2491" chance="6200" /> <!-- crown helmet -->
|
||||
<item id="5885" chance="5550" /> <!-- flask of warrior's sweat -->
|
||||
<item id="5884" chance="4800" /> <!-- spirit container -->
|
||||
<item id="6103" chance="2000" /> <!-- unholy book -->
|
||||
</loot>
|
||||
</monster>
|
95
data/monster/800/zugurosh.xml
Normal file
95
data/monster/800/zugurosh.xml
Normal file
@ -0,0 +1,95 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<monster name="Zugurosh" nameDescription="Zugurosh" race="fire" experience="10000" speed="340" manacost="0">
|
||||
<health now="90500" max="90500" />
|
||||
<look type="12" head="2" body="35" legs="57" feet="91" corpse="8721" />
|
||||
<targetchange interval="5000" chance="15" />
|
||||
<flags>
|
||||
<flag summonable="0" />
|
||||
<flag attackable="1" />
|
||||
<flag hostile="1" />
|
||||
<flag illusionable="0" />
|
||||
<flag convinceable="0" />
|
||||
<flag pushable="0" />
|
||||
<flag canpushitems="1" />
|
||||
<flag canpushcreatures="1" />
|
||||
<flag targetdistance="1" />
|
||||
<flag staticattack="85" />
|
||||
<flag runonhealth="4500" />
|
||||
</flags>
|
||||
<attacks>
|
||||
<attack name="melee" interval="2000" min="0" max="-800" />
|
||||
<attack name="lifedrain" interval="2000" chance="10" target="1" range="4" min="0" max="-500">
|
||||
<attribute key="areaEffect" value="redshimmer" />
|
||||
</attack>
|
||||
<attack name="death" interval="2000" chance="15" length="7" spread="0" min="0" max="-500">
|
||||
<attribute key="areaEffect" value="mortarea" />
|
||||
</attack>
|
||||
<attack name="death" interval="2000" chance="15" target="0" radius="4" min="0" max="-100">
|
||||
<attribute key="areaEffect" value="smallclouds" />
|
||||
</attack>
|
||||
<attack name="firecondition" interval="3000" chance="20" target="1" radius="4" min="-10" max="-10">
|
||||
<attribute key="areaEffect" value="explosion" />
|
||||
</attack>
|
||||
<attack name="manadrain" interval="1000" chance="13" radius="5" target="0" min="-60" max="-200">
|
||||
<attribute key="areaEffect" value="watersplash" />
|
||||
</attack>
|
||||
</attacks>
|
||||
<defenses armor="45" defense="55">
|
||||
<defense name="healing" interval="2000" chance="50" min="40" max="60">
|
||||
<attribute key="areaEffect" value="greenshimmer" />
|
||||
</defense>
|
||||
<defense name="healing" interval="2000" chance="50" min="400" max="600">
|
||||
<attribute key="areaEffect" value="greenshimmer" />
|
||||
</defense>
|
||||
<defense name="invisible" interval="1000" chance="5" duration="6000">
|
||||
<attribute key="areaEffect" value="blueshimmer" />
|
||||
</defense>
|
||||
</defenses>
|
||||
<elements>
|
||||
<element physicalPercent="50" />
|
||||
<element holyPercent="30" />
|
||||
<element firePercent="30" />
|
||||
<element energyPercent="20" />
|
||||
<element icePercent="25" />
|
||||
<element earthPercent="40" />
|
||||
</elements>
|
||||
<immunities>
|
||||
<immunity death="1" />
|
||||
<immunity paralyze="1" />
|
||||
<immunity invisible="1" />
|
||||
</immunities>
|
||||
<voices interval="2000" chance="7">
|
||||
<voice sentence="You will run out of resources soon enough!" yell="1" />
|
||||
<voice sentence="One little mistake and you're all are mine!" />
|
||||
<voice sentence="I sense your strength fading!" />
|
||||
<voice sentence="I know you will show a weakness!" />
|
||||
<voice sentence="Your fear will make you prone to mistakes!" />
|
||||
</voices>
|
||||
<loot>
|
||||
<item id="6500" chance="100000" /> <!-- demonic essence -->
|
||||
<item id="2148" countmax="194" chance="100000" /> <!-- gold coin -->
|
||||
<item id="9813" chance="54000" /> <!-- rusty legs (rare) -->
|
||||
<item id="9810" chance="45000" /> <!-- rusty armor (rare) -->
|
||||
<item id="7590" chance="27000" /> <!-- great mana potion -->
|
||||
<item id="8472" chance="26000" /> <!-- great spirit potion -->
|
||||
<item id="7591" chance="23000" /> <!-- great health potion -->
|
||||
<item id="8473" chance="22000" /> <!-- ultimate health potion -->
|
||||
<item id="9971" chance="21000" /> <!-- gold ingot -->
|
||||
<item id="2152" countmax="30" chance="21000" /> <!-- platinum coin -->
|
||||
<item id="6104" chance="21000" /> <!-- jewel case -->
|
||||
<item id="5944" countmax="10" chance="21000" /> <!-- soul orb -->
|
||||
<item id="2151" countmax="30" chance="18000" /> <!-- talon -->
|
||||
<item id="5911" countmax="10" chance="17000" /> <!-- red piece of cloth -->
|
||||
<item id="2134" chance="17000" /> <!-- silver brooch -->
|
||||
<item id="5912" countmax="10" chance="15000" /> <!-- blue piece of cloth -->
|
||||
<item id="5909" countmax="10" chance="15000" /> <!-- white piece of cloth -->
|
||||
<item id="5910" countmax="10" chance="14000" /> <!-- green piece of cloth -->
|
||||
<item id="5914" countmax="10" chance="14000" /> <!-- yellow piece of cloth -->
|
||||
<item id="5913" countmax="10" chance="12000" /> <!-- brown piece of cloth -->
|
||||
<item id="5954" countmax="2" chance="9700" /> <!-- demon horn -->
|
||||
<item id="2195" chance="8700" /> <!-- boots of haste -->
|
||||
<item id="2173" chance="6000" /> <!-- amulet of loss -->
|
||||
<item id="2645" chance="4500" /> <!-- steel boots -->
|
||||
<item id="2646" chance="1500" /> <!-- golden boots -->
|
||||
</loot>
|
||||
</monster>
|
@ -248,4 +248,11 @@
|
||||
<monster name="The Count" file="800/the count.xml" />
|
||||
<monster name="The Weakened Count" file="800/the weakened count.xml" />
|
||||
<monster name="Ungreez" file="800/ungreez.xml" />
|
||||
<monster name="Ushuriel" file="800/ushuriel.xml" />
|
||||
<monster name="Zugurosh" file="800/zugurosh.xml" />
|
||||
<monster name="Madareth" file="800/madareth.xml" />
|
||||
<monster name="Golgordan" file="800/golgordan.xml" />
|
||||
<monster name="Latrivan" file="800/latrivan.xml" />
|
||||
<monster name="Annihilon" file="800/annihilon.xml" />
|
||||
<monster name="Hellgorak" file="800/hellgorak.xml" />
|
||||
</monsters>
|
@ -395,6 +395,20 @@
|
||||
<movevent event="StepIn" itemid="5764" script="misc/drowning.lua" />
|
||||
<movevent event="StepOut" itemid="5764" script="misc/drowning.lua"/>
|
||||
|
||||
<!-- Inquisition Quest -->
|
||||
<movevent event="StepIn" frommovementid="2150" tomovementid="2180" script="inquisition/teleportMain.lua" />
|
||||
<movevent event="StepIn" movementid="9014" script="inquisition/entrance.lua" />
|
||||
<movevent event="StepIn" movementid="17745" script="inquisition/entrance_back.lua" />
|
||||
<movevent event="AddItem" movementid="17745" tileitem="1" script="inquisition/entrance_back.lua" />
|
||||
<movevent event="StepIn" movementid="17746" script="inquisition/arcanum_1.lua" />
|
||||
<movevent event="AddItem" movementid="17746" tileitem="1" script="inquisition/arcanum_1.lua" />
|
||||
<movevent event="StepIn" movementid="17747" script="inquisition/arcanum_1_back.lua" />
|
||||
<movevent event="AddItem" movementid="17747" tileitem="1" script="inquisition/arcanum_1_back.lua" />
|
||||
<movevent event="StepIn" movementid="17748" script="inquisition/arcanum_2.lua" />
|
||||
<movevent event="AddItem" movementid="17748" tileitem="1" script="inquisition/arcanum_2.lua" />
|
||||
<movevent event="StepIn" movementid="17749" script="inquisition/arcanum_2_back.lua" />
|
||||
<movevent event="AddItem" movementid="17749" tileitem="1" script="inquisition/arcanum_2_back.lua" />
|
||||
|
||||
<!-- Pits of Inferno -->
|
||||
<movevent event="StepIn" frommovementid="17640" tomovementid="17641" script="pits_of_inferno/holy_tible_tile.lua" />
|
||||
<movevent event="StepIn" movementid="4002" script="pits_of_inferno/drawbridge.lua" />
|
||||
@ -641,6 +655,14 @@
|
||||
<movevent event="AddItem" itemid="6172" tileitem="1" script="misc/floorchange.lua" />
|
||||
<movevent event="StepIn" itemid="6173" script="misc/floorchange.lua" />
|
||||
<movevent event="AddItem" itemid="6173" tileitem="1" script="misc/floorchange.lua" />
|
||||
<movevent event="StepIn" itemid="6127" script="misc/floorchange.lua" />
|
||||
<movevent event="AddItem" itemid="6127" tileitem="1" script="misc/floorchange.lua" />
|
||||
<movevent event="StepIn" itemid="6128" script="misc/floorchange.lua" />
|
||||
<movevent event="AddItem" itemid="6128" tileitem="1" script="misc/floorchange.lua" />
|
||||
<movevent event="StepIn" itemid="6129" script="misc/floorchange.lua" />
|
||||
<movevent event="AddItem" itemid="6129" tileitem="1" script="misc/floorchange.lua" />
|
||||
<movevent event="StepIn" itemid="6130" script="misc/floorchange.lua" />
|
||||
<movevent event="AddItem" itemid="6130" tileitem="1" script="misc/floorchange.lua" />
|
||||
|
||||
<!-- Damage -->
|
||||
<movevent event="StepIn" itemid="2145" script="misc/damage.lua" />
|
||||
|
16
data/movements/scripts/inquisition/arcanum_1.lua
Normal file
16
data/movements/scripts/inquisition/arcanum_1.lua
Normal file
@ -0,0 +1,16 @@
|
||||
function onStepIn(creature, item, position, fromPosition)
|
||||
local player = creature:getPlayer()
|
||||
if not player then
|
||||
return true
|
||||
end
|
||||
|
||||
doRelocate(item:getPosition(),{x = 33091, y = 31781, z = 15})
|
||||
item:getPosition():sendMagicEffect(11)
|
||||
Game.sendMagicEffect({x = 33091, y = 31781, z = 15}, 11)
|
||||
end
|
||||
|
||||
function onAddItem(item, tileitem, position)
|
||||
doRelocate(item:getPosition(),{x = 33091, y = 31781, z = 15})
|
||||
item:getPosition():sendMagicEffect(11)
|
||||
Game.sendMagicEffect({x = 33091, y = 31781, z = 15}, 11)
|
||||
end
|
16
data/movements/scripts/inquisition/arcanum_1_back.lua
Normal file
16
data/movements/scripts/inquisition/arcanum_1_back.lua
Normal file
@ -0,0 +1,16 @@
|
||||
function onStepIn(creature, item, position, fromPosition)
|
||||
local player = creature:getPlayer()
|
||||
if not player then
|
||||
return true
|
||||
end
|
||||
|
||||
doRelocate(item:getPosition(),{x = 33061, y = 31752, z = 15})
|
||||
item:getPosition():sendMagicEffect(11)
|
||||
Game.sendMagicEffect({x = 33061, y = 31752, z = 15}, 11)
|
||||
end
|
||||
|
||||
function onAddItem(item, tileitem, position)
|
||||
doRelocate(item:getPosition(),{x = 33061, y = 31752, z = 15})
|
||||
item:getPosition():sendMagicEffect(11)
|
||||
Game.sendMagicEffect({x = 33061, y = 31752, z = 15}, 11)
|
||||
end
|
16
data/movements/scripts/inquisition/arcanum_2.lua
Normal file
16
data/movements/scripts/inquisition/arcanum_2.lua
Normal file
@ -0,0 +1,16 @@
|
||||
function onStepIn(creature, item, position, fromPosition)
|
||||
local player = creature:getPlayer()
|
||||
if not player then
|
||||
return true
|
||||
end
|
||||
|
||||
doRelocate(item:getPosition(),{x = 33149, y = 31782, z = 15})
|
||||
item:getPosition():sendMagicEffect(11)
|
||||
Game.sendMagicEffect({x = 33149, y = 31782, z = 15}, 11)
|
||||
end
|
||||
|
||||
function onAddItem(item, tileitem, position)
|
||||
doRelocate(item:getPosition(),{x = 33149, y = 31782, z = 15})
|
||||
item:getPosition():sendMagicEffect(11)
|
||||
Game.sendMagicEffect({x = 33149, y = 31782, z = 15}, 11)
|
||||
end
|
16
data/movements/scripts/inquisition/arcanum_2_back.lua
Normal file
16
data/movements/scripts/inquisition/arcanum_2_back.lua
Normal file
@ -0,0 +1,16 @@
|
||||
function onStepIn(creature, item, position, fromPosition)
|
||||
local player = creature:getPlayer()
|
||||
if not player then
|
||||
return true
|
||||
end
|
||||
|
||||
doRelocate(item:getPosition(),{x = 33090, y = 31759, z = 15})
|
||||
item:getPosition():sendMagicEffect(11)
|
||||
Game.sendMagicEffect({x = 33090, y = 31759, z = 15}, 11)
|
||||
end
|
||||
|
||||
function onAddItem(item, tileitem, position)
|
||||
doRelocate(item:getPosition(),{x = 33090, y = 31759, z = 15})
|
||||
item:getPosition():sendMagicEffect(11)
|
||||
Game.sendMagicEffect({x = 33090, y = 31759, z = 15}, 11)
|
||||
end
|
16
data/movements/scripts/inquisition/arcanum_3.lua
Normal file
16
data/movements/scripts/inquisition/arcanum_3.lua
Normal file
@ -0,0 +1,16 @@
|
||||
function onStepIn(creature, item, position, fromPosition)
|
||||
local player = creature:getPlayer()
|
||||
if not player then
|
||||
return true
|
||||
end
|
||||
|
||||
doRelocate(item:getPosition(),{x = 33192, y = 31686, z = 14})
|
||||
item:getPosition():sendMagicEffect(11)
|
||||
Game.sendMagicEffect({x = 33192, y = 31686, z = 14}, 11)
|
||||
end
|
||||
|
||||
function onAddItem(item, tileitem, position)
|
||||
doRelocate(item:getPosition(),{x = 33192, y = 31686, z = 14})
|
||||
item:getPosition():sendMagicEffect(11)
|
||||
Game.sendMagicEffect({x = 33192, y = 31686, z = 14}, 11)
|
||||
end
|
38
data/movements/scripts/inquisition/entrance.lua
Normal file
38
data/movements/scripts/inquisition/entrance.lua
Normal file
@ -0,0 +1,38 @@
|
||||
local throneStorages = {
|
||||
17679,
|
||||
17680,
|
||||
17681,
|
||||
17682,
|
||||
17683,
|
||||
17684,
|
||||
17685
|
||||
}
|
||||
|
||||
local function hasTouchedOneThrone(player)
|
||||
for i = 1, #throneStorages do
|
||||
if player:getStorageValue(throneStorages[i]) == 1 then
|
||||
return true
|
||||
end
|
||||
end
|
||||
return false
|
||||
end
|
||||
|
||||
function onStepIn(creature, item, position, fromPosition)
|
||||
local player = creature:getPlayer()
|
||||
if not player then
|
||||
return true
|
||||
end
|
||||
|
||||
if not hasTouchedOneThrone(player) or player:getLevel() < 100 or player:getStorageValue(12160) < 20 then
|
||||
player:teleportTo(fromPosition)
|
||||
position:sendMagicEffect(CONST_ME_TELEPORT)
|
||||
fromPosition:sendMagicEffect(CONST_ME_TELEPORT)
|
||||
return true
|
||||
end
|
||||
|
||||
local destination = Position(33168, 31683, 15)
|
||||
player:teleportTo(destination)
|
||||
position:sendMagicEffect(CONST_ME_TELEPORT)
|
||||
destination:sendMagicEffect(CONST_ME_TELEPORT)
|
||||
return true
|
||||
end
|
16
data/movements/scripts/inquisition/entrance_back.lua
Normal file
16
data/movements/scripts/inquisition/entrance_back.lua
Normal file
@ -0,0 +1,16 @@
|
||||
function onStepIn(creature, item, position, fromPosition)
|
||||
local player = creature:getPlayer()
|
||||
if not player then
|
||||
return true
|
||||
end
|
||||
|
||||
doRelocate(item:getPosition(),{x = 33192, y = 31686, z = 14})
|
||||
item:getPosition():sendMagicEffect(11)
|
||||
Game.sendMagicEffect({x = 33192, y = 31686, z = 14}, 11)
|
||||
end
|
||||
|
||||
function onAddItem(item, tileitem, position)
|
||||
doRelocate(item:getPosition(),{x = 33192, y = 31686, z = 14})
|
||||
item:getPosition():sendMagicEffect(11)
|
||||
Game.sendMagicEffect({x = 33192, y = 31686, z = 14}, 11)
|
||||
end
|
68
data/movements/scripts/inquisition/teleportMain.lua
Normal file
68
data/movements/scripts/inquisition/teleportMain.lua
Normal file
@ -0,0 +1,68 @@
|
||||
local teleports = {
|
||||
[2150] = {text = 'Entering Ushuriel\'s ward.', newPos = Position(33158, 31728, 11), storage = 0, alwaysSetStorage = true}, -- to ushuriel ward
|
||||
[2151] = {text = 'Entering the Crystal Caves.', bossStorage = 200, newPos = Position(33069, 31782, 13), storage = 1}, -- from ushuriel ward
|
||||
[2152] = {text = 'Escaping back to the Retreat.', newPos = Position(33165, 31709, 14)}, -- from crystal caves
|
||||
[2153] = {text = 'Entering the Crystal Caves.', newPos = Position(33069, 31782, 13), storage = 1}, -- to crystal caves
|
||||
[2154] = {text = 'Entering the Sunken Caves.', newPos = Position(33169, 31755, 13)}, -- to sunken caves
|
||||
[2155] = {text = 'Entering the Mirror Maze of Madness.', newPos = Position(33065, 31772, 10)}, -- from sunken caves
|
||||
[2156] = {text = 'Entering Zugurosh\'s ward.', newPos = Position(33124, 31692, 11)}, -- to zugurosh ward
|
||||
[2157] = {text = 'Entering the Blood Halls.', bossStorage = 201, newPos = Position(33372, 31613, 14), storage = 2}, -- from zugurosh ward
|
||||
[2158] = {text = 'Escaping back to the Retreat.', newPos = Position(33165, 31709, 14)}, -- from blood halls
|
||||
[2159] = {text = 'Entering the Blood Halls.', newPos = Position(33372, 31613, 14), storage = 2}, -- to blood halls
|
||||
[2160] = {text = 'Entering the Foundry.', newPos = Position(33356, 31589, 11)}, -- to foundry
|
||||
[2161] = {text = 'Entering Madareth\'s ward.', newPos = Position(33197, 31767, 11)}, -- to madareth ward
|
||||
[2162] = {text = 'Entering the Vats.', bossStorage = 202, newPos = Position(33153, 31782, 12), storage = 3}, -- from madareth ward
|
||||
[2163] = {text = 'Escaping back to the Retreat.', newPos = Position(33165, 31709, 14)}, -- from vats
|
||||
[2164] = {text = 'Entering the Vats.', newPos = Position(33153, 31782, 12), storage = 3}, -- to vats
|
||||
[2165] = {text = 'Entering the Battlefield.', newPos = Position(33250, 31632, 13)}, -- to battlefield
|
||||
[2166] = {text = 'Entering the Vats.', newPos = Position(33233, 31758, 12)}, -- from battlefield
|
||||
[2167] = {text = 'Entering the Demon Forge.', newPos = Position(33232, 31733, 11)}, -- to brothers ward
|
||||
[2168] = {text = 'Entering the Arcanum.', bossStorage = 203, newPos = Position(33038, 31753, 15), storage = 4}, -- from demon forge
|
||||
[2169] = {text = 'Escaping back to the Retreat.', newPos = Position(33165, 31709, 14)}, -- from arcanum
|
||||
[2170] = {text = 'Entering the Arcanum.', newPos = Position(33038, 31753, 15), storage = 4}, -- to arcanum
|
||||
[2171] = {text = 'Entering the Soul Wells.', newPos = Position(33093, 31575, 11)}, -- to soul wells
|
||||
[2172] = {text = 'Entering the Arcanum.', newPos = Position(33186, 31759, 15)}, -- from soul wells
|
||||
[2173] = {text = 'Entering the Annihilon\'s ward.', newPos = Position(33197, 31703, 11)}, -- to annihilon ward
|
||||
[2174] = {text = 'Entering the Hive.', bossStorage = 204, newPos = Position(33199, 31686, 12), storage = 5}, -- from annihilon ward
|
||||
[2175] = {text = 'Escaping back to the Retreat.', newPos = Position(33165, 31709, 14)}, -- from hive
|
||||
[2176] = {text = 'Entering the Hive.', newPos = Position(33199, 31686, 12), storage = 5}, -- to hive
|
||||
[2177] = {text = 'Entering the Hellgorak\'s ward.', newPos = Position(33104, 31734, 11)}, -- to hellgorak ward
|
||||
[2178] = {text = 'Entering the Shadow Nexus. Abandon all Hope.', bossStorage = 205, newPos = Position(33110, 31682, 12), storage = 6}, -- from hellgorak ward
|
||||
[2179] = {text = 'Escaping back to the Retreat.', newPos = Position(33165, 31709, 14)}, -- from shadow nexus
|
||||
[2180] = {text = 'Entering the Blood Halls.', newPos = Position(33357, 31589, 12)} -- from foundry to blood halls
|
||||
}
|
||||
|
||||
function onStepIn(creature, item, position, fromPosition)
|
||||
local player = creature:getPlayer()
|
||||
if not player then
|
||||
return true
|
||||
end
|
||||
|
||||
local teleport = teleports[item:getMovementId()]
|
||||
if teleport.alwaysSetStorage and player:getStorageValue(12176) < teleport.storage then
|
||||
player:setStorageValue(12176, teleport.storage)
|
||||
end
|
||||
|
||||
if teleport.bossStorage then
|
||||
if Game.getStorageValue(teleport.bossStorage) and Game.getStorageValue(teleport.bossStorage) >= 2 then
|
||||
if player:getStorageValue(12176) < teleport.storage then
|
||||
player:setStorageValue(12176, teleport.storage)
|
||||
end
|
||||
else
|
||||
player:teleportTo(Position(33165, 31709, 14))
|
||||
player:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
|
||||
player:say('Escaping back to the Retreat.', TALKTYPE_MONSTER_SAY)
|
||||
return true
|
||||
end
|
||||
elseif teleport.storage and player:getStorageValue(12176) < teleport.storage then
|
||||
player:teleportTo(fromPosition)
|
||||
player:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
|
||||
player:say('You don\'t have enough energy to enter this portal', TALKTYPE_MONSTER_SAY)
|
||||
return true
|
||||
end
|
||||
|
||||
player:teleportTo(teleport.newPos)
|
||||
player:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
|
||||
player:say(teleport.text, TALKTYPE_MONSTER_SAY)
|
||||
return true
|
||||
end
|
@ -77,6 +77,10 @@ local list = {
|
||||
[5691] = {x = 1, y = 0, z = 1},
|
||||
[5731] = {x = 0, y = 0, z = 1},
|
||||
[5763] = {x = 0, y = 0, z = 1},
|
||||
[6127] = {x = 0, y = -1, z = 1},
|
||||
[6128] = {x = 0, y = 1, z = 1},
|
||||
[6129] = {x = 0, y = -1, z = 1},
|
||||
[6130] = {x = 0, y = 1, z = 1},
|
||||
[6172] = {x = 0, y = 0, z = 1},
|
||||
[6173] = {x = 0, y = 0, z = 1},
|
||||
}
|
||||
|
@ -104,13 +104,10 @@ topic=4 -> "I expected better from you."
|
||||
"mission",QuestValue(12160)=21 -> "Your current mission is to destroy the shadow nexus in the Demon Forge. Are you done with that mission?", topic=5
|
||||
"mission",QuestValue(12160)=22 -> *
|
||||
"yes",QuestValue(12160)=22,topic=5 -> "Incredible! You're a true defender of faith! I grant you the title of a High Inquisitor for your noble deeds. From now on you can obtain the blessing of the inquisition which makes the pilgrimage of ashes obsolete ...",
|
||||
"The blessing of the inquisition will bestow upon you all available blessings. Also, don't forget to ask me about your outfit to receive the final addon as demon hunter.",SetQuestValue(12167,3),SetQuestValue(12160,23)
|
||||
"The blessing of the inquisition will bestow upon you all available blessings. Also, here is the final addon for your demon hunter outfit.",SetQuestValue(12167,3),SetQuestValue(12160,23),SetQuestValue(12160,24),SetQuestValue(12167,4),AddOutfitAddon(288,2),AddOutfitAddon(289,2),EffectOpp(13)
|
||||
"yes",topic=5 -> "You haven't done your mission yet."
|
||||
topic=5 -> "Come back when you have destroyed the shadow nexus."
|
||||
|
||||
"mission",QuestValue(12160)=23 -> "Here is the final addon for your demon hunter outfit. Congratulations!",SetQuestValue(12160,24),SetQuestValue(12167,4),AddOutfitAddon(288,2),AddOutfitAddon(289,2),EffectOpp(13)
|
||||
"outfit",QuestValue(12160)=23 -> *
|
||||
|
||||
"mission",QuestValue(12160)=24 -> "Currently we have no missions for you brave fellow."
|
||||
|
||||
"bless",QuestValue(12160)=24 -> Price=60000, "Do you want to receive all blessings for %P gold?", Topic=6
|
||||
|
@ -30308,6 +30308,9 @@
|
||||
<spawn centerx="33149" centery="31637" centerz="10" radius="1">
|
||||
<monster name="priestess" x="0" y="0" z="10" spawntime="800" />
|
||||
</spawn>
|
||||
<spawn centerx="33181" centery="31637" centerz="10" radius="1">
|
||||
<monster name="slime" x="0" y="0" z="10" spawntime="600" />
|
||||
</spawn>
|
||||
<spawn centerx="32595" centery="31640" centerz="10" radius="4">
|
||||
<monster name="orc warrior" x="0" y="-1" z="10" spawntime="500" />
|
||||
<monster name="orc warrior" x="0" y="0" z="10" spawntime="500" />
|
||||
@ -30481,6 +30484,11 @@
|
||||
<monster name="scorpion" x="2" y="-1" z="10" spawntime="900" />
|
||||
<monster name="scorpion" x="0" y="0" z="10" spawntime="900" />
|
||||
</spawn>
|
||||
<spawn centerx="33082" centery="31741" centerz="10" radius="4">
|
||||
<monster name="troll" x="-2" y="-3" z="10" spawntime="600" />
|
||||
<monster name="troll" x="0" y="0" z="10" spawntime="600" />
|
||||
<monster name="troll" x="-1" y="1" z="10" spawntime="600" />
|
||||
</spawn>
|
||||
<spawn centerx="32180" centery="31767" centerz="10" radius="3">
|
||||
<monster name="ghoul" x="0" y="-1" z="10" spawntime="600" />
|
||||
<monster name="ghoul" x="0" y="0" z="10" spawntime="600" />
|
||||
@ -30549,6 +30557,7 @@
|
||||
<monster name="scorpion" x="-1" y="1" z="10" spawntime="600" />
|
||||
</spawn>
|
||||
<spawn centerx="33109" centery="31836" centerz="10" radius="3">
|
||||
<monster name="bug" x="2" y="-2" z="10" spawntime="600" />
|
||||
<monster name="goblin" x="-1" y="-1" z="10" spawntime="600" />
|
||||
<monster name="bug" x="1" y="-1" z="10" spawntime="600" />
|
||||
<monster name="goblin" x="0" y="0" z="10" spawntime="600" />
|
||||
@ -30565,11 +30574,7 @@
|
||||
<monster name="rotworm" x="0" y="0" z="10" spawntime="500" />
|
||||
<monster name="rotworm" x="1" y="1" z="10" spawntime="500" />
|
||||
</spawn>
|
||||
<spawn centerx="33066" centery="31841" centerz="10" radius="4">
|
||||
<monster name="goblin" x="0" y="0" z="10" spawntime="600" />
|
||||
<monster name="goblin" x="2" y="0" z="10" spawntime="600" />
|
||||
<monster name="goblin" x="-1" y="2" z="10" spawntime="600" />
|
||||
</spawn>
|
||||
<spawn centerx="33066" centery="31841" centerz="10" radius="4" />
|
||||
<spawn centerx="33095" centery="31841" centerz="10" radius="3">
|
||||
<monster name="bug" x="0" y="-2" z="10" spawntime="600" />
|
||||
<monster name="goblin" x="-1" y="-1" z="10" spawntime="600" />
|
||||
@ -30578,7 +30583,6 @@
|
||||
<monster name="bug" x="2" y="1" z="10" spawntime="600" />
|
||||
<monster name="bug" x="1" y="2" z="10" spawntime="600" />
|
||||
</spawn>
|
||||
<spawn centerx="33097" centery="31841" centerz="10" radius="5" />
|
||||
<spawn centerx="32235" centery="31843" centerz="10" radius="3">
|
||||
<monster name="cave rat" x="0" y="-1" z="10" spawntime="600" />
|
||||
<monster name="cave rat" x="0" y="0" z="10" spawntime="600" />
|
||||
@ -30603,6 +30607,9 @@
|
||||
<monster name="slime" x="2" y="1" z="10" spawntime="600" />
|
||||
</spawn>
|
||||
<spawn centerx="33053" centery="31851" centerz="10" radius="5">
|
||||
<monster name="goblin" x="0" y="-3" z="10" spawntime="600" />
|
||||
<monster name="goblin" x="1" y="-2" z="10" spawntime="600" />
|
||||
<monster name="goblin" x="-1" y="0" z="10" spawntime="60" />
|
||||
<monster name="goblin" x="0" y="0" z="10" spawntime="600" />
|
||||
<monster name="goblin" x="1" y="2" z="10" spawntime="600" />
|
||||
</spawn>
|
||||
@ -30648,7 +30655,6 @@
|
||||
<monster name="rotworm" x="0" y="0" z="10" spawntime="500" />
|
||||
<monster name="rotworm" x="2" y="2" z="10" spawntime="500" />
|
||||
</spawn>
|
||||
<spawn centerx="33108" centery="31867" centerz="10" radius="5" />
|
||||
<spawn centerx="32233" centery="31868" centerz="10" radius="3">
|
||||
<monster name="skeleton" x="0" y="0" z="10" spawntime="600" />
|
||||
<monster name="skeleton" x="-1" y="1" z="10" spawntime="600" />
|
||||
@ -35843,6 +35849,10 @@
|
||||
<monster name="troll" x="0" y="0" z="11" spawntime="600" />
|
||||
<monster name="troll" x="0" y="1" z="11" spawntime="600" />
|
||||
</spawn>
|
||||
<spawn centerx="33163" centery="31646" centerz="11" radius="3">
|
||||
<monster name="giant spider" x="0" y="0" z="11" spawntime="600" />
|
||||
<monster name="giant spider" x="-2" y="1" z="11" spawntime="600" />
|
||||
</spawn>
|
||||
<spawn centerx="33081" centery="31647" centerz="11" radius="1">
|
||||
<monster name="dragon lord" x="0" y="0" z="11" spawntime="1000" />
|
||||
</spawn>
|
||||
@ -36127,17 +36137,13 @@
|
||||
<monster name="phantasm" x="1" y="-2" z="11" spawntime="240" />
|
||||
<monster name="phantasm" x="-2" y="2" z="11" spawntime="240" />
|
||||
</spawn>
|
||||
<spawn centerx="33197" centery="31760" centerz="11" radius="1">
|
||||
<monster name="Madareth" x="0" y="0" z="11" spawntime="120" />
|
||||
</spawn>
|
||||
<spawn centerx="33086" centery="31761" centerz="11" radius="4">
|
||||
<monster name="phantasm" x="2" y="-3" z="11" spawntime="240" />
|
||||
<monster name="phantasm" x="-2" y="2" z="11" spawntime="240" />
|
||||
</spawn>
|
||||
<spawn centerx="33197" centery="31761" centerz="11" radius="10">
|
||||
<monster name="Pillar" x="-7" y="-5" z="11" spawntime="180" />
|
||||
<monster name="Pillar" x="7" y="-5" z="11" spawntime="180" />
|
||||
<monster name="Madareth" x="0" y="-4" z="11" spawntime="240" />
|
||||
<monster name="Pillar" x="-7" y="5" z="11" spawntime="180" />
|
||||
<monster name="Pillar" x="7" y="5" z="11" spawntime="180" />
|
||||
</spawn>
|
||||
<spawn centerx="33066" centery="31763" centerz="11" radius="4">
|
||||
<monster name="nightmare" x="1" y="-1" z="11" spawntime="240" />
|
||||
</spawn>
|
||||
@ -39817,33 +39823,28 @@
|
||||
<monster name="gargoyle" x="-4" y="3" z="12" spawntime="180" />
|
||||
<monster name="stone golem" x="5" y="4" z="12" spawntime="180" />
|
||||
</spawn>
|
||||
<spawn centerx="33125" centery="31687" centerz="12" radius="3">
|
||||
<monster name="demon" x="2" y="1" z="12" spawntime="240" />
|
||||
<spawn centerx="33106" centery="31685" centerz="12" radius="1">
|
||||
<monster name="demon" x="0" y="0" z="12" spawntime="60" />
|
||||
</spawn>
|
||||
<spawn centerx="33105" centery="31688" centerz="12" radius="3">
|
||||
<monster name="demon" x="0" y="-2" z="12" spawntime="540" />
|
||||
<monster name="hellhound" x="-2" y="2" z="12" spawntime="540" />
|
||||
<monster name="demon" x="1" y="3" z="12" spawntime="540" />
|
||||
<spawn centerx="33113" centery="31685" centerz="12" radius="1" />
|
||||
<spawn centerx="33106" centery="31687" centerz="12" radius="1" />
|
||||
<spawn centerx="33124" centery="31687" centerz="12" radius="1">
|
||||
<monster name="demon" x="0" y="0" z="12" spawntime="60" />
|
||||
</spawn>
|
||||
<spawn centerx="33118" centery="31688" centerz="12" radius="3">
|
||||
<monster name="fury" x="-1" y="1" z="12" spawntime="240" />
|
||||
<monster name="juggernaut" x="0" y="2" z="12" spawntime="240" />
|
||||
<monster name="juggernaut" x="1" y="3" z="12" spawntime="840" />
|
||||
<spawn centerx="33104" centery="31688" centerz="12" radius="1">
|
||||
<monster name="demon" x="0" y="0" z="12" spawntime="60" />
|
||||
</spawn>
|
||||
<spawn centerx="33117" centery="31692" centerz="12" radius="3">
|
||||
<monster name="fury" x="-3" y="-1" z="12" spawntime="240" />
|
||||
<monster name="juggernaut" x="-2" y="3" z="12" spawntime="840" />
|
||||
<monster name="juggernaut" x="3" y="3" z="12" spawntime="240" />
|
||||
<spawn centerx="33115" centery="31688" centerz="12" radius="1" />
|
||||
<spawn centerx="33107" centery="31691" centerz="12" radius="1">
|
||||
<monster name="demon" x="0" y="0" z="12" spawntime="60" />
|
||||
</spawn>
|
||||
<spawn centerx="33116" centery="31693" centerz="12" radius="1" />
|
||||
<spawn centerx="33121" centery="31693" centerz="12" radius="1" />
|
||||
<spawn centerx="33132" centery="31693" centerz="12" radius="1" />
|
||||
<spawn centerx="33306" centery="31694" centerz="12" radius="1">
|
||||
<monster name="dragon" x="0" y="0" z="12" spawntime="700" />
|
||||
</spawn>
|
||||
<spawn centerx="33128" centery="31695" centerz="12" radius="3">
|
||||
<monster name="juggernaut" x="2" y="0" z="12" spawntime="840" />
|
||||
</spawn>
|
||||
<spawn centerx="33101" centery="31696" centerz="12" radius="3">
|
||||
<monster name="demon" x="2" y="1" z="12" spawntime="540" />
|
||||
</spawn>
|
||||
<spawn centerx="33132" centery="31696" centerz="12" radius="1" />
|
||||
<spawn centerx="33230" centery="31696" centerz="12" radius="5">
|
||||
<monster name="gargoyle" x="0" y="-3" z="12" spawntime="180" />
|
||||
<monster name="behemoth" x="-4" y="-2" z="12" spawntime="180" />
|
||||
@ -39853,9 +39854,11 @@
|
||||
<monster name="gargoyle" x="5" y="1" z="12" spawntime="180" />
|
||||
<monster name="gargoyle" x="-1" y="4" z="12" spawntime="180" />
|
||||
</spawn>
|
||||
<spawn centerx="33109" centery="31698" centerz="12" radius="3">
|
||||
<monster name="demon" x="2" y="0" z="12" spawntime="840" />
|
||||
<spawn centerx="33120" centery="31697" centerz="12" radius="1" />
|
||||
<spawn centerx="33103" centery="31698" centerz="12" radius="1">
|
||||
<monster name="demon" x="0" y="0" z="12" spawntime="60" />
|
||||
</spawn>
|
||||
<spawn centerx="33123" centery="31698" centerz="12" radius="1" />
|
||||
<spawn centerx="33289" centery="31698" centerz="12" radius="3">
|
||||
<monster name="fire elemental" x="2" y="-2" z="12" spawntime="700" />
|
||||
<monster name="fire elemental" x="0" y="0" z="12" spawntime="700" />
|
||||
@ -39864,8 +39867,13 @@
|
||||
<spawn centerx="33291" centery="31698" centerz="12" radius="3">
|
||||
<monster name="dragon" x="2" y="0" z="12" spawntime="700" />
|
||||
</spawn>
|
||||
<spawn centerx="33119" centery="31699" centerz="12" radius="1">
|
||||
<monster name="juggernaut" x="1" y="0" z="12" spawntime="840" />
|
||||
<spawn centerx="33100" centery="31699" centerz="12" radius="1" />
|
||||
<spawn centerx="33111" centery="31699" centerz="12" radius="1">
|
||||
<monster name="demon" x="0" y="0" z="12" spawntime="60" />
|
||||
</spawn>
|
||||
<spawn centerx="33113" centery="31699" centerz="12" radius="1" />
|
||||
<spawn centerx="33131" centery="31699" centerz="12" radius="1">
|
||||
<monster name="demon" x="0" y="0" z="12" spawntime="60" />
|
||||
</spawn>
|
||||
<spawn centerx="32800" centery="31701" centerz="12" radius="7">
|
||||
<monster name="poison spider" x="0" y="0" z="12" spawntime="600" />
|
||||
@ -39877,11 +39885,6 @@
|
||||
<monster name="poison spider" x="1" y="6" z="12" spawntime="600" />
|
||||
</spawn>
|
||||
<spawn centerx="32802" centery="31703" centerz="12" radius="1" />
|
||||
<spawn centerx="33126" centery="31704" centerz="12" radius="4">
|
||||
<monster name="hellhound" x="-4" y="-4" z="12" spawntime="240" />
|
||||
<monster name="demon" x="2" y="-2" z="12" spawntime="240" />
|
||||
<monster name="juggernaut" x="-2" y="1" z="12" spawntime="840" />
|
||||
</spawn>
|
||||
<spawn centerx="32397" centery="31705" centerz="12" radius="6">
|
||||
<monster name="snake" x="3" y="-3" z="12" spawntime="700" />
|
||||
<monster name="snake" x="0" y="0" z="12" spawntime="700" />
|
||||
@ -39889,23 +39892,20 @@
|
||||
<monster name="snake" x="-3" y="2" z="12" spawntime="700" />
|
||||
<monster name="snake" x="0" y="4" z="12" spawntime="700" />
|
||||
</spawn>
|
||||
<spawn centerx="33115" centery="31707" centerz="12" radius="4">
|
||||
<monster name="hellhound" x="-2" y="-1" z="12" spawntime="840" />
|
||||
<monster name="demon" x="3" y="0" z="12" spawntime="840" />
|
||||
<monster name="undead dragon" x="1" y="3" z="12" spawntime="840" />
|
||||
</spawn>
|
||||
<spawn centerx="33105" centery="31710" centerz="12" radius="3">
|
||||
<monster name="hellhound" x="-1" y="-2" z="12" spawntime="240" />
|
||||
<monster name="hellhound" x="2" y="3" z="12" spawntime="240" />
|
||||
</spawn>
|
||||
<spawn centerx="33127" centery="31713" centerz="12" radius="3">
|
||||
<monster name="demon" x="-1" y="0" z="12" spawntime="240" />
|
||||
<spawn centerx="33126" centery="31705" centerz="12" radius="1" />
|
||||
<spawn centerx="33123" centery="31706" centerz="12" radius="1" />
|
||||
<spawn centerx="33130" centery="31709" centerz="12" radius="1">
|
||||
<monster name="demon" x="0" y="0" z="12" spawntime="60" />
|
||||
</spawn>
|
||||
<spawn centerx="33115" centery="31711" centerz="12" radius="1" />
|
||||
<spawn centerx="33106" centery="31713" centerz="12" radius="1" />
|
||||
<spawn centerx="33119" centery="31715" centerz="12" radius="1" />
|
||||
<spawn centerx="33292" centery="31715" centerz="12" radius="1">
|
||||
<monster name="dragon lord" x="0" y="0" z="12" spawntime="1000" />
|
||||
</spawn>
|
||||
<spawn centerx="33111" centery="31718" centerz="12" radius="3">
|
||||
<monster name="undead dragon" x="0" y="-1" z="12" spawntime="240" />
|
||||
<spawn centerx="33112" centery="31716" centerz="12" radius="1" />
|
||||
<spawn centerx="33112" centery="31718" centerz="12" radius="1">
|
||||
<monster name="demon" x="0" y="0" z="12" spawntime="60" />
|
||||
</spawn>
|
||||
<spawn centerx="33068" centery="31719" centerz="12" radius="7">
|
||||
<monster name="fire elemental" x="3" y="-1" z="12" spawntime="300" />
|
||||
@ -39915,8 +39915,9 @@
|
||||
<monster name="fire elemental" x="0" y="1" z="12" spawntime="300" />
|
||||
<monster name="fire elemental" x="1" y="3" z="12" spawntime="300" />
|
||||
</spawn>
|
||||
<spawn centerx="33119" centery="31720" centerz="12" radius="3">
|
||||
<monster name="demon" x="0" y="-1" z="12" spawntime="240" />
|
||||
<spawn centerx="33117" centery="31720" centerz="12" radius="1" />
|
||||
<spawn centerx="33122" centery="31720" centerz="12" radius="1">
|
||||
<monster name="demon" x="0" y="0" z="12" spawntime="60" />
|
||||
</spawn>
|
||||
<spawn centerx="32520" centery="31729" centerz="12" radius="3">
|
||||
<monster name="dragon" x="0" y="0" z="12" spawntime="900" />
|
||||
@ -46898,12 +46899,10 @@
|
||||
<monster name="fire elemental" x="3" y="0" z="14" spawntime="600" />
|
||||
<monster name="fire elemental" x="0" y="2" z="14" spawntime="600" />
|
||||
</spawn>
|
||||
<spawn centerx="33234" centery="31601" centerz="14" radius="1" />
|
||||
<spawn centerx="33137" centery="31602" centerz="14" radius="3">
|
||||
<monster name="monk" x="2" y="-1" z="14" spawntime="600" />
|
||||
<monster name="monk" x="0" y="0" z="14" spawntime="600" />
|
||||
</spawn>
|
||||
<spawn centerx="33229" centery="31603" centerz="14" radius="1" />
|
||||
<spawn centerx="33224" centery="31605" centerz="14" radius="1">
|
||||
<monster name="fire elemental" x="0" y="0" z="14" spawntime="600" />
|
||||
<monster name="fire elemental" x="1" y="1" z="14" spawntime="600" />
|
||||
@ -46916,7 +46915,6 @@
|
||||
<monster name="fire elemental" x="0" y="0" z="14" spawntime="600" />
|
||||
<monster name="fire elemental" x="3" y="0" z="14" spawntime="600" />
|
||||
</spawn>
|
||||
<spawn centerx="33234" centery="31605" centerz="14" radius="1" />
|
||||
<spawn centerx="33368" centery="31610" centerz="14" radius="5">
|
||||
<monster name="betrayed wraith" x="-3" y="-4" z="14" spawntime="240" />
|
||||
<monster name="hand of cursed fate" x="-1" y="-4" z="14" spawntime="240" />
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user