QuaS
Cykotitan Pwned =/
First of all Hello. i didn't see any "good" script about this mission, so i wanted to show you mine one.
1. How does it works?
There are many scripts. Actions make Azerus Immortality all time before war golems spawns. Make also 15 minutes delay before let player spawn azerus one more time by clicking gllobus.
This is a litte complicated so, the best way to explain will be when i show you how to configure it.
2. Configure scripts
#ACTIONS:
Create quests/azerus.lua and put there:
What To configure::
Change these positions in CONFIG1 and CONFIG2.
Create quests/azeruschest.lua
put there:
Put to actions.xml:
Movements:
Create azerusdeath.lua
put there:
Configure Position:
Create azerusarmy.lua
put there
Put to movements.xml:
Creaturescripts
Create
put there:
Configuration:
{ x = 2881, y = 2179, z = 9 } change To:
and { x = 2881, y = 2175, z = 10 } to:
Put into Creaturescripts.xml:
Monsters:
All things do in monster/8.4/
Create Azerus.xml
Create Azerus1.xml
Create Azerus2.xml
create Azerus3.xml
Add to monsters.xml:
3. Making Actions IDs and Unique IDs on map:
All on pictures:
I hope that i don't forget about something because there is a lot of this xD
If You like it then REP ME++
@EDIT!
IMPORTANT!
I forget about very important thing!.
in items.xml Add those lines to this item!!:
Without it, the portal won't disappear!!
===
7 August 2011:
Updating this goddamned failscript. Creatureevent & action script updated.
Removed npc part.
ON FIRST QUEST DOORS SET ACTION ID = 100.
I removed npcs which was allowing player enter this doors cuz no one was using it anyway.
1. How does it works?
There are many scripts. Actions make Azerus Immortality all time before war golems spawns. Make also 15 minutes delay before let player spawn azerus one more time by clicking gllobus.
This is a litte complicated so, the best way to explain will be when i show you how to configure it.
2. Configure scripts
#ACTIONS:
Create quests/azerus.lua and put there:
PHP:
-- Yalahar 10th mission By QuaS~~
-- Config #1 --
local BlindField = {x=32781, y=31157, z=10, stackpos=1}
local topLeft = {x=32776, y=31159, z=10}
local buttomRight = {x=32790, y=31176, z=10}
local tpin = {{x=32784, y=31177, z=9}, {x=32783, y=31173, z=10}}
local tpout = {{x=32783, y=31175, z=10}, {x=32784, y=31178, z=9}}
local glo = {x=32783, y=31166, z=10}
local m_posi = {
{x= glo.x - 4,y=glo.y,z=glo.z},
{x= glo.x + 4,y=glo.y,z=glo.z},
{x=glo.x,y=glo.y + 4,z=glo.z},
{x=glo.x,y=glo.y - 4,z=glo.z},
{x=glo.x,y=glo.y + 5,z=glo.z},
{x=glo.x,y=glo.y - 5,z=glo.z}
}
ttime = {10, 30}
local isEvent = 58263;
-- end --
function getCreaturesFromArea(fromPos, toPos,checkFunction)
local rarr = {};
checkFunction = checkFunction or function(arg) return true; end;
for fx = fromPos.x, toPos.x do
for fy = fromPos.y, toPos.y do
for fz = fromPos.z, toPos.z do
local tmp = getTopCreature({x=fx,y=fy,z=fz}).uid;
if(checkFunction(tmp))then
table.insert(rarr, tmp);
end
end
end
end
local tmp = getTopCreature(BlindField).uid;
if(checkFunction(tmp))then
table.insert(rarr, tmp);
end
return rarr;
end
function getCreatureFromArea(fromPos, toPos,name)
for fx = fromPos.x, toPos.x do
for fy = fromPos.y, toPos.y do
for fz = fromPos.z, toPos.z do
local tmp = getTopCreature({x=fx,y=fy,z=fz}).uid;
if(tmp > 0)then
if(string.lower(name) == string.lower(getCreatureName(tmp)))then
return tmp;
end
end
end
end
end
local tmp = getTopCreature(BlindField).uid;
if(tmp > 0)then
if(string.lower(name) == string.lower(getCreatureName(tmp)))then
return tmp;
end
end
return 0;
end
local function FirstWave(count, spawnazerus)
if(getStorage(isEvent) < 1)then
return;
end
spawnazerus = spawnazerus or false;
if(spawnazerus)then
doCreateMonster("Azerus", m_posi[math.random(1,#m_posi)], false, true);
for _,pos in pairs(m_posi) do
doCreateMonster("Rift Worm", pos, false, true);
end
else
for i =1, count do
doCreateMonster("Rift Worm", m_posi[math.random(1,#m_posi)], false, true);
end
end
addEvent(FirstWave,math.random(ttime[1],ttime[2])*1000,math.random(1,#m_posi));
end
local function SecondWave(count, replaceazerus)
if(getStorage(isEvent) < 1)then
return;
end
replaceazerus = replaceazerus or false;
if(replaceazerus)then
local tmp = getCreatureByName("Azerus");
if(tmp > 0)then
doRemoveCreature(tmp);
end
doCreateMonster("Azerus1", m_posi[math.random(1,#m_posi)], false, true);
for _,pos in pairs(m_posi) do
doCreateMonster("Rift Brood", pos, false, true);
end
else
for i =1, count do
doCreateMonster("Rift Brood", m_posi[math.random(1,#m_posi)], false, true);
end
end
addEvent(SecondWave,math.random(ttime[1],ttime[2])*1000,math.random(1,#m_posi));
end
local function ThirdWave(count, replaceazerus)
if(getStorage(isEvent) < 1)then
return;
end
replaceazerus = replaceazerus or false;
if(replaceazerus)then
local tmp = getCreatureByName("Azerus");
if(tmp > 0)then
doRemoveCreature(tmp);
end
doCreateMonster("Azerus2", m_posi[math.random(1,#m_posi)], false, true);
for _,pos in pairs(m_posi) do
doCreateMonster("Rift Scythe", pos, false, true);
end
else
for i =1, count do
doCreateMonster("Rift Scythe", m_posi[math.random(1,#m_posi)], false, true);
end
end
addEvent(ThirdWave,math.random(ttime[1],ttime[2])*1000,math.random(1,#m_posi));
end
local function FourthWave(count, replaceazerus)
if(getStorage(isEvent) < 1)then
return;
end
if(replaceazerus)then
local tmp = getCreatureByName("Azerus");
if(tmp > 0)then
doRemoveCreature(tmp);
end
tmp = doCreateMonster("Azerus3", m_posi[math.random(1,#m_posi)], false, true);
registerCreatureEvent(tmp, "AzerusDeath");
for _,pos in pairs(m_posi) do
doCreateMonster("War Golem", pos, false, true);
end
else
for i =1, count do
doCreateMonster("War Golem", m_posi[math.random(1,#m_posi)], false, true);
end
end
addEvent(FourthWave,math.random(ttime[1],ttime[2])*1000,math.random(1,#m_posi));
end
local function fixGlobe()
doItemSetAttribute(getTileItemById(glo, 9767).uid, "aid", 58261)
end
local function checkArea()
if(getStorage(isEvent) > 0)then
local players = getCreaturesFromArea(topLeft, buttomRight, isPlayer);
if(#players < 1)then
doSetStorage(isEvent,0);
endAzerusFightA();
addEvent(fixGlobe, 60*1000);
else
addEvent(checkArea, 10*1000);
end
end
end
function endAzerusFightA()
local monsters = getCreaturesFromArea(topLeft,buttomRight,isMonster);
while(#monsters > 0)do
for _,m in pairs(monsters)do
doRemoveCreature(m);
end
monsters = getCreaturesFromArea(topLeft,buttomRight,isMonster);
end
doCreateTeleport(1387, tpin[2],tpin[1]);
doCreateTeleport(1387, tpout[2],tpout[1]);
end
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.actionid == 58261 then
doItemSetAttribute(item.uid, "aid", 58263)
else
doCreatureSay(cid, "You have to wait some time before this globe will charge.", TALKTYPE_ORANGE_1)
return;
end
local tp = getTileItemById(tpin[1],1387).uid;
if(tp > 0)then
doRemoveItem(tp)
end
tp = getTileItemById(tpout[1],1387).uid;
if(tp > 0)then
doRemoveItem(tp)
end
doSetStorage(isEvent,1);
checkArea();
FirstWave(0,true)
addEvent(SecondWave, math.random(60,70)*1000,0,true)
addEvent(ThirdWave, math.random(100,130)*1000,0,true)
addEvent(FourthWave, math.random(190,210)*1000,0,true)
return true
end
What To configure::
Change these positions in CONFIG1 and CONFIG2.
Create quests/azeruschest.lua
put there:
PHP:
-- 10th mission by QuaS~
function onUse(cid, item, frompos, item2, topos)
if item.actionid == 58267 then
queststatus = getPlayerStorageValue(cid,102504)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found an Yalahari Mask.")
doPlayerAddItem(cid,9778,1)
setPlayerStorageValue(cid,102504,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
elseif item.actionid == 58268 then
queststatus = getPlayerStorageValue(cid,102504)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found an Yalahari Armor.")
doPlayerAddItem(cid,9776,1)
setPlayerStorageValue(cid,102504,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
elseif item.actionid == 58269 then
queststatus = getPlayerStorageValue(cid,102504)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found an Yalahari Leg Piece.")
doPlayerAddItem(cid,9777,1)
setPlayerStorageValue(cid,102504,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
else
return 0
end
return 1
end
Put to actions.xml:
PHP:
<!-- Yalaharian 10th -->
<action actionid="58261" event="script" value="quests/azerus.lua"/>
<action actionid="58263" event="script" value="quests/azerus.lua"/>
<action actionid="58267" event="script" value="quests/azeruschest.lua"/>
<action actionid="58268" event="script" value="quests/azeruschest.lua"/>
<action actionid="58269" event="script" value="quests/azeruschest.lua"/>
Movements:
Create azerusdeath.lua
put there:
PHP:
function onStepIn(cid, item, position, fromPosition)
local yalahar = {x=2879, y=2169, z=14, stackpos=253}
if item.itemid == 9738 then
doTeleportThing(cid, yalahar, TRUE)
doSendMagicEffect(yalahar,12)
end
return TRUE
end
Configure Position:
Create azerusarmy.lua
put there
PHP:
function onStepIn(cid, item, position, fromPosition)
doCreatureSay(cid, "It seems by defating Azerus you have stopped this army from entering your world! Better leave this gastly place forever.", TALKTYPE_ORANGE_1)
doCreatureSetStorageValue(cid, 58266, 1) -- Finishing Quest
return TRUE
end
Put to movements.xml:
PHP:
<!-- Yalahar 10th -->
<movevent type="StepIn" itemid="9738" event="script" value="azerusdeath.lua"/>
<movevent type="StepIn" actionid="58262" event="script" value="azerusarmy.lua"/>
Creaturescripts
Create
put there:
PHP:
-- Config #1 By Quas--
local BlindField = {x=32781, y=31157, z=10, stackpos=1}
local topLeft = {x=32776, y=31159, z=10}
local buttomRight = {x=32790, y=31176, z=10}
local tpin = {{x=32784, y=31177, z=9}, {x=32783, y=31173, z=10}}
local tpout = {{x=32783, y=31175, z=10}, {x=32784, y=31178, z=9}}
local glo = {x=32783, y=31166, z=10}
ttime = {10, 30}
local isEvent = 58263;
-- end --
function getCreaturesFromArea(fromPos, toPos,checkFunction)
local rarr = {};
checkFunction = checkFunction or function(arg) return true; end;
for fx = fromPos.x, toPos.x do
for fy = fromPos.y, toPos.y do
for fz = fromPos.z, toPos.z do
local tmp = getTopCreature({x=fx,y=fy,z=fz}).uid;
if(checkFunction(tmp))then
table.insert(rarr, tmp);
end
end
end
end
local tmp = getTopCreature(BlindField).uid;
if(checkFunction(tmp))then
table.insert(rarr, tmp);
end
return rarr;
end
local function fixGlobe()
doItemSetAttribute(getTileItemById(glo, 9767).uid, "aid", 58261)
end
function endAzerusFightC()
local monsters = getCreaturesFromArea(topLeft,buttomRight,isMonster);
while(#monsters > 0)do
for _,m in pairs(monsters)do
doRemoveCreature(m);
end
monsters = getCreaturesFromArea(topLeft,buttomRight,isMonster);
end
doCreateTeleport(1387, tpin[2],tpin[1]);
doCreateTeleport(1387, tpout[2],tpout[1]);
addEvent(fixGlobe,60*12*1000);
end
function onDeath(cid, corpse, deathList)
doSetStorage(isEvent,0);
addEvent(endAzerusFightC,200*1000);
doCreatureSay(cid, "You now have 3 minutes to exit this room through the teleporter. It will bring you to the next room only during his time or the teleporter will disappear", TALKTYPE_ORANGE_1);
return true;
end
Configuration:
{ x = 2881, y = 2179, z = 9 } change To:
and { x = 2881, y = 2175, z = 10 } to:
Put into Creaturescripts.xml:
PHP:
<event type="death" name="Azerus" event="script" value="azerus.lua"/>
Monsters:
All things do in monster/8.4/
Create Azerus.xml
PHP:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Azerus" nameDescription="azerus" race="blood" experience="6000" speed="320" manacost="0">
<health now="7500" max="7500"/>
<look type="309" head="19" body="96" legs="21" feet="81" corpse="9738"/>
<targetchange interval="5000" chance="8"/>
<strategy attack="100" defense="0"/>
<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="-900"/>
<attack name="manadrain" interval="2000" chance="10" range="7" min="-0" max="-2000">
<attribute key="shootEffect" value="energy"/>
<attribute key="areaEffect" value="poff"/>
</attack>
<attack name="manadrain" interval="2000" chance="15" range="7" radius="7" target="1" min="-0" max="-800">
<attribute key="shootEffect" value="fire"/>
<attribute key="areaEffect" value="bigclouds"/>
</attack>
<attack name="death" interval="2000" chance="20" range="7" min="-0" max="-524">
<attribute key="shootEffect" value="suddendeath"/>
<attribute key="areaEffect" value="mortarea"/>
</attack>
<attack name="lifedrain" interval="1000" chance="10" length="8" spread="0" min="-100" max="-500">
<attribute key="areaEffect" value="sleep"/>
</attack>
</attacks>
<defenses armor="40" defense="65">
<defense name="healing" interval="1000" chance="11" min="400" max="900">
<attribute key="areaEffect" value="greenshimmer"/>
</defense>
</defenses>
<immunities>
<immunity name="earth"/>
<immunity name="energy"/>
<immunity name="death"/>
<immunity name="physical"/>
<immunity name="lifedrain"/>
<immunity name="outfit"/>
<immunity name="ice"/>
<immunity name="fire"/>
<immunity name="holy"/>
<immunity name="paralyze"/>
<immunity name="invisible"/>
<immunity name="drown"/>
<immunity name="drunk"/>
</immunities>
<summons maxSummons="10">
<summon name="Rift Worm" speed="3000" chance="30"/>
</summons>
<voices interval="5000" chance="12">
<voice sentence="The ultimate will finally consume this unworthy existence!" />
<voice sentence="My masters and I will tear down barriers and join the ultimate in its realm!" />
<voice sentence="The power of the Yalahari will all be mine!" />
<voice sentence="He who has returned from beyond has taught me secrets you can't even grasp!" />
<voice sentence="You can't hope to penetrate my shields!"/>
<voice sentence="Do you really think you could beat me?"/>
</voices>
</monster>
Create Azerus1.xml
PHP:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Azerus" nameDescription="azerus" race="blood" experience="6000" speed="320" manacost="0">
<health now="7500" max="7500"/>
<look type="309" head="19" body="96" legs="21" feet="81" corpse="9738"/>
<targetchange interval="5000" chance="8"/>
<strategy attack="100" defense="0"/>
<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="-900"/>
<attack name="manadrain" interval="2000" chance="10" range="7" min="-0" max="-2000">
<attribute key="shootEffect" value="energy"/>
<attribute key="areaEffect" value="poff"/>
</attack>
<attack name="manadrain" interval="2000" chance="15" range="7" radius="7" target="1" min="-0" max="-800">
<attribute key="shootEffect" value="fire"/>
<attribute key="areaEffect" value="bigclouds"/>
</attack>
<attack name="death" interval="2000" chance="20" range="7" min="-0" max="-524">
<attribute key="shootEffect" value="suddendeath"/>
<attribute key="areaEffect" value="mortarea"/>
</attack>
<attack name="lifedrain" interval="1000" chance="10" length="8" spread="0" min="-100" max="-500">
<attribute key="areaEffect" value="sleep"/>
</attack>
</attacks>
<defenses armor="40" defense="65">
<defense name="healing" interval="1000" chance="11" min="400" max="900">
<attribute key="areaEffect" value="greenshimmer"/>
</defense>
</defenses>
<immunities>
<immunity name="earth"/>
<immunity name="energy"/>
<immunity name="death"/>
<immunity name="physical"/>
<immunity name="lifedrain"/>
<immunity name="outfit"/>
<immunity name="ice"/>
<immunity name="fire"/>
<immunity name="holy"/>
<immunity name="paralyze"/>
<immunity name="invisible"/>
<immunity name="drown"/>
<immunity name="drunk"/>
</immunities>
<summons maxSummons="10">
<summon name="Rift Brood" speed="3000" chance="30"/>
<summon name="Rift Worm" speed="3000" chance="30"/>
</summons>
<voices interval="5000" chance="12">
<voice sentence="The ultimate will finally consume this unworthy existence!" />
<voice sentence="My masters and I will tear down barriers and join the ultimate in its realm!" />
<voice sentence="The power of the Yalahari will all be mine!" />
<voice sentence="He who has returned from beyond has taught me secrets you can't even grasp!" />
<voice sentence="You can't hope to penetrate my shields!"/>
<voice sentence="Do you really think you could beat me?"/>
</voices>
</monster>
Create Azerus2.xml
PHP:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Azerus" nameDescription="azerus" race="blood" experience="6000" speed="320" manacost="0">
<health now="7500" max="7500"/>
<look type="309" head="19" body="96" legs="21" feet="81" corpse="9738"/>
<targetchange interval="5000" chance="8"/>
<strategy attack="100" defense="0"/>
<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="-900"/>
<attack name="manadrain" interval="2000" chance="10" range="7" min="-0" max="-2000">
<attribute key="shootEffect" value="energy"/>
<attribute key="areaEffect" value="poff"/>
</attack>
<attack name="manadrain" interval="2000" chance="15" range="7" radius="7" target="1" min="-0" max="-800">
<attribute key="shootEffect" value="fire"/>
<attribute key="areaEffect" value="bigclouds"/>
</attack>
<attack name="death" interval="2000" chance="20" range="7" min="-0" max="-524">
<attribute key="shootEffect" value="suddendeath"/>
<attribute key="areaEffect" value="mortarea"/>
</attack>
<attack name="lifedrain" interval="1000" chance="10" length="8" spread="0" min="-100" max="-500">
<attribute key="areaEffect" value="sleep"/>
</attack>
</attacks>
<defenses armor="40" defense="65">
<defense name="healing" interval="1000" chance="11" min="400" max="900">
<attribute key="areaEffect" value="greenshimmer"/>
</defense>
</defenses>
<immunities>
<immunity name="earth"/>
<immunity name="energy"/>
<immunity name="death"/>
<immunity name="physical"/>
<immunity name="lifedrain"/>
<immunity name="outfit"/>
<immunity name="ice"/>
<immunity name="fire"/>
<immunity name="holy"/>
<immunity name="paralyze"/>
<immunity name="invisible"/>
<immunity name="drown"/>
<immunity name="drunk"/>
</immunities>
<summons maxSummons="10">
<summon name="Rift Brood" speed="3000" chance="30"/>
<summon name="Rift Worm" speed="3000" chance="30"/>
<summon name="Rift Scythe" speed="3000" chance="30"/>
</summons>
<voices interval="5000" chance="12">
<voice sentence="The ultimate will finally consume this unworthy existence!" />
<voice sentence="My masters and I will tear down barriers and join the ultimate in its realm!" />
<voice sentence="The power of the Yalahari will all be mine!" />
<voice sentence="He who has returned from beyond has taught me secrets you can't even grasp!" />
<voice sentence="You can't hope to penetrate my shields!"/>
<voice sentence="Do you really think you could beat me?"/>
</voices>
</monster>
create Azerus3.xml
PHP:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Azerus" nameDescription="azerus" race="blood" experience="6000" speed="320" manacost="0">
<health now="7500" max="7500"/>
<look type="309" head="19" body="96" legs="21" feet="81" corpse="9738"/>
<targetchange interval="5000" chance="8"/>
<strategy attack="100" defense="0"/>
<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>
<script>
<event name="Azerus"/>
</script>
<attacks>
<attack name="melee" interval="2000" min="-0" max="-900"/>
<attack name="manadrain" interval="2000" chance="10" range="7" min="-0" max="-2000">
<attribute key="shootEffect" value="energy"/>
<attribute key="areaEffect" value="poff"/>
</attack>
<attack name="manadrain" interval="2000" chance="15" range="7" radius="7" target="1" min="-0" max="-800">
<attribute key="shootEffect" value="fire"/>
<attribute key="areaEffect" value="bigclouds"/>
</attack>
<attack name="death" interval="2000" chance="20" range="7" min="-0" max="-524">
<attribute key="shootEffect" value="suddendeath"/>
<attribute key="areaEffect" value="mortarea"/>
</attack>
<attack name="lifedrain" interval="1000" chance="10" length="8" spread="0" min="-100" max="-500">
<attribute key="areaEffect" value="sleep"/>
</attack>
</attacks>
<defenses armor="40" defense="65">
<defense name="healing" interval="1000" chance="11" min="400" max="900">
<attribute key="areaEffect" value="greenshimmer"/>
</defense>
</defenses>
<elements>
<element energyPercent="40"/>
<element deathPercent="14"/>
<element physicalPercent="-10"/>
</elements>
<immunities>
<immunity paralyze="1"/>
<immunity invisible="1"/>
</immunities>
<summons maxSummons="10">
<summon name="Rift Brood" speed="3000" chance="30"/>
<summon name="Rift Worm" speed="3000" chance="30"/>
<summon name="Rift Scythe" speed="3000" chance="30"/>
</summons>
<voices interval="5000" chance="12">
<voice sentence="The ultimate will finally consume this unworthy existence!" />
<voice sentence="My masters and I will tear down barriers and join the ultimate in its realm!" />
<voice sentence="The power of the Yalahari will all be mine!" />
<voice sentence="He who has returned from beyond has taught me secrets you can't even grasp!" />
<voice sentence="You can't hope to penetrate my shields!"/>
<voice sentence="Do you really think you could beat me?"/>
</voices>
</monster>
Add to monsters.xml:
PHP:
<monster name="Azerus" file="8.4/Azerus.xml"/>
<monster name="Azerus1" file="8.4/Azerus1.xml"/>
<monster name="Azerus2" file="8.4/Azerus2.xml"/>
<monster name="Azerus3" file="8.4/Azerus3.xml"/>
3. Making Actions IDs and Unique IDs on map:
All on pictures:
I hope that i don't forget about something because there is a lot of this xD
If You like it then REP ME++
@EDIT!
IMPORTANT!
I forget about very important thing!.
in items.xml Add those lines to this item!!:
PHP:
<item id="9738" article="a" name="Magic Forcefield">
<attribute key="decayTo" value="0"/>
<attribute key="duration" value="120"/>
</item>
Without it, the portal won't disappear!!
===
7 August 2011:
Updating this goddamned failscript. Creatureevent & action script updated.
Removed npc part.
thx for the update, but i found some things missing xD, like the action for the door of the chests room and better explanation of which coordinates to change in the teleports
Lua:local tpin = {{x=32784, y=31177, z=9}, {x=32783, y=31173, z=10}} local tpout = {{x=32783, y=31175, z=10}, {x=32784, y=31178, z=9}}
1st position is teleport position, 2nd position is teleport destination
ON FIRST QUEST DOORS SET ACTION ID = 100.
I removed npcs which was allowing player enter this doors cuz no one was using it anyway.
Last edited: