
No to może ja pierwszy...
Skrypt na:
KASYNO!!!
Jest to bardzo prosty skrypt... Nie będę wam zajmował czasu na wymyślenie go... tutaj macie gotowy skrypt (sam go używam) Plusy:
* Gracz sam wybiera kwotę zakładu (od 1 do 10)
* Można grać złotem, platynami jak i kryształami
* Im więcej gracz postawi tym więcej może wygrać (szansa 1 do 5, wygrana 10 * kwota zakładu)
* Action id dźwigni i odnajdywanie pieniędzy przez pozycje dźwigni co umożliwia nam zrobienie np, 5 miejsc do gry przy użycie 1 skryptu.
Na początek będzie potrzebna na taka sala:
Oczywiście miejsc może być więcej/mniej ale najważniejsze jest to aby nikt nie mógł nas stamtąd wypchnąć i aby dźwignia była po lewo od miejsca gdzie położymy nasze pieniądze.
A więc tak:
Spoiler:
function onUse(cid, item, frompos, item2, topos)
if ((item.actionid == 4334) and (item.itemid == 1945)) then
local kasapos = {x=frompos.x-1, y=frompos.y, z=frompos.z, stackpos=255}
local kasa = getThingfromPos(kasapos)
local wygrana = (kasa.type * 10)
local rand = math.random(1, 5)
if kasa.itemid == 2152 or kasa.itemid == 2148 or kasa.itemid == 2160 then
if kasa.type <= 10 then
if rand == 1 then
doRemoveItem(kasa.uid,kasa.type)
doCreateItem(kasa.itemid,wygrana,kasapos)
doSendMagicEffect(kasapos,31)
doPlayerSendTextMessage(cid,22,"Wygrales!!!")
doTransformItem(item.uid,item.itemid+1)
else
doPlayerSendCancel(cid,"Straciłes tylko kase...")
doRemoveItem(kasa.uid,kasa.type)
doSendMagicEffect(kasapos,2)
doTransformItem(item.uid,item.itemid+1)
end
else
doPlayerSendCancel(cid,"Maksymalna kwota zakladu to 10!")
end
else
doPlayerSendCancel(cid,"Poloz obok pieniadze!")
end
elseif ((item.actionid == 4334) and (item.itemid == 1946)) then
local kasapos = {x=frompos.x-1, y=frompos.y, z=frompos.z, stackpos=255}
local kasa = getThingfromPos(kasapos)
local wygrana = (kasa.type * 10)
local rand = math.random(1, 5)
if kasa.itemid == 2152 or kasa.itemid == 2148 or kasa.itemid == 2160 then
if kasa.type <= 10 then
if rand == 1 then
doRemoveItem(kasa.uid,kasa.type)
doCreateItem(kasa.itemid,wygrana,kasapos)
doSendMagicEffect(kasapos,31)
doPlayerSendTextMessage(cid,22,"Wygraleś!!!")
doTransformItem(item.uid,item.itemid-1)
else
doPlayerSendCancel(cid,"Straciles tylko kase...")
doRemoveItem(kasa.uid,kasa.type)
doSendMagicEffect(kasapos,2)
doTransformItem(item.uid,item.itemid-1)
end
else
doPlayerSendCancel(cid,"Maksymalna kwota zakladu to 10!")
end
else
doPlayerSendCancel(cid,"Poloz obok pieniadze!")
end
else
return 0
end
return 1
end
Dodajemy to w Actions jako:
Spoiler:
kasyno.lua
Natomiast w pliku actions dodajemy linijkę:
Spoiler:
<action actionid="4334" script="kasyno.lua" />
Offline
Gracz na Maboro OTS
A może zrobić potworka "OTS King" ^^?
Na razie skrypt podlega analizie
Jest to Skrypt z innego ots który sam hostowałem,działał idealnie mało kto go zabił
Ostatnio edytowany przez Arcann (2008-02-29 18:58:40)
Offline

No, no, no... Fajne Skrypty jak na razie, byc moze stworze tego potworka, a z kasynem to nie wiem!
@EDIT
Dodałem tego potworka OTS King !
@EDIT2
Poprawiłem tego potworka!
Ostatnio edytowany przez Owner Batorun (2008-02-25 20:56:03)






Offline
Gracz na Maboro OTS
@ Nie "Edit" Bo! ... Nabijam Posty xD ...
NPC który zamienia rożne itemy na itemy do addonów załóżmy : 4 warrior helmet na warrior's sweat
<?xml version="1.0"?>
<npc name="Mahadris" script="data/npc/scripts/itemy.lua" lookdir="3" autowalk="25">
<health now="500" max="500"/>
<look type="104" head="20" body="100" legs="50" feet="99"/>
</npc>To dodajemy do data/npc jako mahadris.xml
--------NPC by Azeroth#24 (Ersiu) and Napster-------
local focus = 0
local talk_start = 0
local target = 0
local following = false
local attacking = false
local havent_item = 'You don\'t have so many this item.'
addon_need_premium = 'Sorry, you need a premium account to get items.'
addon_have_already = 'Sorry, you already have this items.'
addon_have_not_items = 'Sorry, you don\'t have these items.'
addon_give = 'Here you are.'
player_gold = getPlayerItemCount(cid,2148)
player_plat = getPlayerItemCount(cid,2152)*100
player_crys = getPlayerItemCount(cid,2160)*10000
player_money = player_gold + player_plat + player_crys
function onThingMove(creature, thing, oldpos, oldstackpos)
end
function onCreatureAppear(creature)
end
function onCreatureDisappear(cid, pos)
if focus == cid then
selfSay('Good bye then.')
focus = 0
talk_start = 0
end
end
function onCreatureTurn(creature)
end
function msgcontains(txt, str)
return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)'))
end
function onCreatureSay(cid, type, msg)
msg = string.lower(msg)
if (msgcontains(msg, 'hi') and (focus == 0)) and getDistanceToCreature(cid) < 4 then
selfSay('Hello, ' .. getCreatureName(cid) .. '! If you don\'t know how do I\'m please say "help".')
focus = cid
talk_start = os.clock()
elseif msgcontains(msg, 'hi') and (focus ~= cid) and getDistanceToCreature(cid) < 4 then
selfSay('Sorry, ' .. getCreatureName(cid) .. '! I talk to you in a minute.')
elseif focus == cid then
talk_start = os.clock()
if msgcontains(msg, 'help') then
selfSay('You can here change some items for "spider silk yarn", "chunk of crude iron", "draconian steel", "warrior sweat", "magic sulpher", "enchanted chicken wing", "royal steel", "hell steel", "engraved crossbow", "fighting spirit", "infernal bolt", "blue piece of cloth", "green piece of cloth", "red piece of cloth".')
elseif msgcontains(msg, 'spider silk yarn') then
if getPlayerItemCount(cid,5879) >= 10 then
selfSay('Did you bring me the 10 Giant Silks ?')
talk_state = 1
else
selfSay('I need a 10 Giant Spider Silks, to give you the spider silk yarn. Come back when you have them.')
talk_state = 0
end
elseif msgcontains(msg, 'yes') and talk_state == 1 then
talk_state = 0
if getPlayerItemCount(cid,5879) >= 10 then
if doPlayerRemoveItem(cid,5879, 10) == TRUE then
doPlayerAddItem(cid, 5886, 1)
selfSay('Here u are.')
end
else
selfSay(havent_item)
end
elseif msgcontains(msg, 'chunk of crude iron') then
if getPlayerItemCount(cid,2393) >= 1 and getPlayerItemCount(cid,3983) >= 1 and getPlayerItemCount(cid,3983) >= 1 and getPlayerItemCount(cid,3983) >= 1 then
selfSay('Did you bring me the 3 Bast Skirts and Giant Sword ?')
talk_state = 2
else
selfSay('I need a 3 Bast Skirts and Giant Sword, to give you the chunk of crude iron. Come back when you have them.')
talk_state = 0
end
elseif msgcontains(msg, 'yes') and talk_state == 2 then
talk_state = 0
if getPlayerItemCount(cid,2393) >= 1 and getPlayerItemCount(cid,3983) >= 1 and getPlayerItemCount(cid,3983) >= 1 and getPlayerItemCount(cid,3983) >= 1 then
if doPlayerRemoveItem(cid,2393,1) == 1 and doPlayerRemoveItem(cid,3983,1) == 1 and doPlayerRemoveItem(cid,3983,1) == 1 and doPlayerRemoveItem(cid,3983,1) == 1 then
selfSay(addon_give)
doPlayerAddItem(cid,5892,1)
end
else
selfSay(havent_item)
end
elseif msgcontains(msg, 'draconian steel') then
if getPlayerItemCount(cid,2516) >= 1 and getPlayerItemCount(cid,3983) >= 1 and getPlayerItemCount(cid,3983) >= 1 and getPlayerItemCount(cid,3983) >= 1 then
selfSay('Did you bring me 3 Bast Skirts and Dragon Shield ?')
talk_state = 3
else
selfSay('I need 3 Bast Skirts and Dragon Shield, to give you the draconian steel. Come back when you have them.')
talk_state = 0
end
elseif msgcontains(msg, 'yes') and talk_state == 3 then
talk_state = 0
if getPlayerItemCount(cid,2516) >= 1 and getPlayerItemCount(cid,3983) >= 1 and getPlayerItemCount(cid,3983) >= 1 and getPlayerItemCount(cid,3983) >= 1 then
if doPlayerRemoveItem(cid,2516,1) == 1 and doPlayerRemoveItem(cid,3983,1) == 1 and doPlayerRemoveItem(cid,3983,1) == 1 and doPlayerRemoveItem(cid,3983,1) == 1 then
doPlayerAddItem(cid,5889,1)
selfSay('Here u are.')
end
else
selfSay(havent_item)
end
elseif msgcontains(msg, 'warrior sweat') then
if getPlayerItemCount(cid,2475) >= 1 and getPlayerItemCount(cid,2475) >= 1 and getPlayerItemCount(cid,2475) >= 1 and getPlayerItemCount(cid,2475) >= 1 then
selfSay('Did you bring me 4 warrior helmets?')
talk_state = 4
else
selfSay('I need 4 warrior helmets, to give you the warrior sweat. Come back when you have them.')
talk_state = 0
end
elseif msgcontains(msg, 'yes') and talk_state == 4 then
talk_state = 0
if getPlayerItemCount(cid,2475) >= 1 and getPlayerItemCount(cid,2475) >= 1 and getPlayerItemCount(cid,2475) >= 1 and getPlayerItemCount(cid,2475) >= 1 then
if doPlayerRemoveItem(cid,2475,1) == 1 and doPlayerRemoveItem(cid,2475,1) == 1 and doPlayerRemoveItem(cid,2475,1) == 1 and doPlayerRemoveItem(cid,2475,1) == 1 then
doPlayerAddItem(cid,5885,1)
selfSay(addon_give)
end
else
selfSay(havent_item)
end
elseif msgcontains(msg, 'magic sulpher') then
if getPlayerItemCount(cid,2392) >= 1 and getPlayerItemCount(cid,2392) >= 1 and getPlayerItemCount(cid,2392) >= 1 then
selfSay('Did you bring me 3 fire swords?')
talk_state = 5
else
selfSay('I need 3 fire swords, to give you the magic sulpher. Come back when you have them.')
talk_state = 0
end
elseif msgcontains(msg, 'yes') and talk_state == 5 then
talk_state = 0
if getPlayerItemCount(cid,2392) >= 1 and getPlayerItemCount(cid,2392) >= 1 and getPlayerItemCount(cid,2392) >= 1 then
if doPlayerRemoveItem(cid,2392,1) == 1 and doPlayerRemoveItem(cid,2392,1) == 1 and doPlayerRemoveItem(cid,2392,1) == 1 then
doPlayerAddItem(cid,5904,1)
selfSay(addon_give)
end
else
selfSay(havent_item)
end
elseif msgcontains(msg, 'enchanted chicken wing') then
if getPlayerItemCount(cid,2195) >= 1 then
selfSay('Did you bring me boots of haste?')
talk_state = 6
else
selfSay('I need boots of haste, to give you the enchanted chicken wing. Come back when you have them.')
talk_state = 0
end
elseif msgcontains(msg, 'yes') and talk_state == 6 then
talk_state = 0
if getPlayerItemCount(cid,2195) >= 1 then
if doPlayerRemoveItem(cid,2195,1) == 1 then
doPlayerAddItem(cid,5891,1)
selfSay(addon_give)
end
else
selfSay(havent_item)
end
elseif msgcontains(msg, 'royal steel') then
if getPlayerItemCount(cid,2487) >= 1 and getPlayerItemCount(cid,3983) >= 1 and getPlayerItemCount(cid,3983) >= 1 and getPlayerItemCount(cid,3983) >= 1 then
selfSay('Did you bring me the 3 Bast Skirts and Crown Armor ?')
talk_state = 7
else
selfSay('I need 3 Bast Skirts and Crown Armor, to give you the royal steel. Come back when you have them.')
talk_state = 0
end
elseif msgcontains(msg, 'yes') and talk_state == 7 then
talk_state = 0
if getPlayerItemCount(cid,2487) >= 1 and getPlayerItemCount(cid,3983) >= 1 and getPlayerItemCount(cid,3983) >= 1 and getPlayerItemCount(cid,3983) >= 1 then
if doPlayerRemoveItem(cid,2487,1) == 1 and doPlayerRemoveItem(cid,3983,1) == 1 and doPlayerRemoveItem(cid,3983,1) == 1 and doPlayerRemoveItem(cid,3983,1) == 1 then
selfSay(addon_give)
doPlayerAddItem(cid,5887,1)
end
else
selfSay(havent_item)
end
elseif msgcontains(msg, 'hell steel') then
if getPlayerItemCount(cid,2462) >= 1 and getPlayerItemCount(cid,3983) >= 1 and getPlayerItemCount(cid,3983) >= 1 and getPlayerItemCount(cid,3983) >= 1 then
selfSay('Did you bring me the 3 Bast Skirts and Devil Helmet ?')
talk_state = 8
else
selfSay('I need a 3 Bast Skirts and Devil Helmet, to give you the hell steel. Come back when you have them.')
talk_state = 0
end
elseif msgcontains(msg, 'yes') and talk_state == 8 then
talk_state = 0
if getPlayerItemCount(cid,2462) >= 1 and getPlayerItemCount(cid,3983) >= 1 and getPlayerItemCount(cid,3983) >= 1 and getPlayerItemCount(cid,3983) >= 1 then
if doPlayerRemoveItem(cid,2462,1) == 1 and doPlayerRemoveItem(cid,3983,1) == 1 and doPlayerRemoveItem(cid,3983,1) == 1 and doPlayerRemoveItem(cid,3983,1) == 1 then
selfSay(addon_give)
doPlayerAddItem(cid,5888,1)
end
else
selfSay(havent_item)
end
elseif msgcontains(msg, 'engraved crossbow') then
if getPlayerItemCount(cid,5954) >= 15 then
selfSay('Did you bring me the 15 demon horns?')
talk_state = 9
else
selfSay('I need a 15 demon horns, to give you the engraved crossbow. Come back when you have them.')
talk_state = 0
end
elseif msgcontains(msg, 'yes') and talk_state == 9 then
talk_state = 0
if getPlayerItemCount(cid,5954) >= 15 then
if doPlayerRemoveItem(cid,5954,15) == 1 then
selfSay(addon_give)
doPlayerAddItem(cid,5947,1)
end
else
selfSay(havent_item)
end
elseif msgcontains(msg, 'fighting spirit') then
if getPlayerItemCount(cid,2498) >= 1 and getPlayerItemCount(cid,2498) >= 1 then
selfSay('Did you bring me the 2 Royal Helmets?')
talk_state = 10
else
selfSay('I need a 2 Royal Helmets, to give you the Fighting Spirit. Come back when you have them.')
talk_state = 0
end
elseif msgcontains(msg, 'yes') and talk_state == 10 then
talk_state = 0
if getPlayerItemCount(cid,2498) >= 1 and getPlayerItemCount(cid,2498) >= 1 then
if doPlayerRemoveItem(cid,2498,1) == 1 and doPlayerRemoveItem(cid,2498,1) == 1 then
selfSay(addon_give)
doPlayerAddItem(cid,5884,1)
end
else
selfSay(havent_item)
end
elseif msgcontains(msg, 'infernal bolt') then
if getPlayerItemCount(cid,5944) >= 1 then
selfSay('Did you bring me the Soul Orb?')
talk_state = 11
else
selfSay('I need a Soul Orb, to give you the 2 Infernal Bolts. Come back when you have them.')
talk_state = 0
end
elseif msgcontains(msg, 'yes') and talk_state == 11 then
talk_state = 0
if getPlayerItemCount(cid,5944) >= 1 then
if doPlayerRemoveItem(cid,5944,1) == 1 then
selfSay(addon_give)
doPlayerAddItem(cid,6529,2)
end
else
selfSay(havent_item)
end
elseif msgcontains(msg, 'blue piece of cloth') then
if getPlayerItemCount(cid,2663) >= 1 then
selfSay('Did you bring me the Mystic Turban ?')
talk_state = 12
else
selfSay('I need a Mystic Turban, to give you the Blue Piece of Cloth. Come back when you have them.')
talk_state = 0
end
elseif msgcontains(msg, 'yes') and talk_state == 12 then
talk_state = 0
if getPlayerItemCount(cid,2663) >= 1 then
if doPlayerRemoveItem(cid,2663,1) == 1 then
selfSay(addon_give)
doPlayerAddItem(cid,5912,1)
end
else
selfSay(havent_item)
end
elseif msgcontains(msg, 'green piece of cloth') then
if getPlayerItemCount(cid,2652) >= 1 then
selfSay('Did you bring me the Green Tunic ?')
talk_state = 13
else
selfSay('I need a Green Tunic, to give you the Green Piece of Cloth. Come back when you have them.')
talk_state = 0
end
elseif msgcontains(msg, 'yes') and talk_state == 13 then
talk_state = 0
if getPlayerItemCount(cid,2652) >= 1 then
if doPlayerRemoveItem(cid,2652,1) == 1 then
selfSay(addon_give)
doPlayerAddItem(cid,5910,1)
end
else
selfSay(havent_item)
end
elseif msgcontains(msg, 'red piece of cloth') then
if getPlayerItemCount(cid,2655) >= 1 then
selfSay('Did you bring me the Red Robe ?')
talk_state = 14
else
selfSay('I need a Red Robe, to give you the Red Piece of Cloth. Come back when you have them.')
talk_state = 0
end
elseif msgcontains(msg, 'yes') and talk_state == 14 then
talk_state = 0
if getPlayerItemCount(cid,2655) >= 1 then
if doPlayerRemoveItem(cid,2655,1) == 1 then
selfSay(addon_give)
doPlayerAddItem(cid,5911,1)
end
else
selfSay(havent_item)
end
elseif msgcontains(msg, 'bye') and getDistanceToCreature(cid) < 4 then
selfSay('Good bye, ' .. getCreatureName(cid) .. '!')
focus = 0
talk_start = 0
end
end
end
function onCreatureChangeOutfit(creature)
end
function onThink()
if focus > 0 then
x, y, z = creatureGetPosition(focus)
myx, myy, myz = selfGetPosition()
if ((myy-y==0) and (myx-x<=0 and myx-x>=-4)) then
selfTurn(1)
end
if ((myy-y==0) and (myx-x>=0 and myx-x<=4)) then
selfTurn(3)
end
if ((myx-x==0) and (myy-y<=0 and myy-y>=-4)) then
selfTurn(2)
end
if ((myx-x==0) and (myy-y>=0 and myy-y<=4)) then
selfTurn(0)
end
if ((myy-y==-2) and (myx-x>=-1 and myx-x<=1)) then
selfTurn(2)
end
if ((myy-y==2) and (myx-x>=-1 and myx-x<=1)) then
selfTurn(0)
end
if ((myx-x==2) and (myy-y>=-1 and myy-y<=1)) then
selfTurn(3)
end
if ((myx-x==-2) and (myy-y>=-1 and myy-y<=1)) then
selfTurn(1)
end
if ((myy-y==-3) and (myx-x>=-2 and myx-x<=2)) then
selfTurn(2)
end
if ((myy-y==3) and (myx-x>=-2 and myx-x<=2)) then
selfTurn(0)
end
if ((myx-x==3) and (myy-y>=-2 and myy-y<=2)) then
selfTurn(3)
end
if ((myx-x==-3) and (myy-y>=-2 and myy-y<=2)) then
selfTurn(1)
end
if ((myy-y==-4) and (myx-x>=-3 and myx-x<=3)) then
selfTurn(2)
end
if ((myy-y==4) and (myx-x>=-3 and myx-x<=3)) then
selfTurn(0)
end
if ((myx-x==4) and (myy-y>=-3 and myy-y<=3)) then
selfTurn(3)
end
if ((myx-x==-4) and (myy-y>=-3 and myy-y<=3)) then
selfTurn(1)
end
end
if (os.clock() - talk_start) > 30 then
if focus > 0 then
selfSay('Next Please...')
end
focus = 0
end
if focus ~= 0 then
if getDistanceToCreature(focus) > 5 then
selfSay('Good bye then.')
focus = 0
end
end
endTo dodajemy w data/npc/scripts jako itemy.lua i cieszymy ze nie będę prosił o itemy do addonów xD
TEN SKRYPT JEST NIE MÓJ!
Pozniej dodam jeszcze pare innych skryptow!
@Edit1
Monsters :
a)Golden Warrior
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Golden Warrior" species="human" nameDescription="a golden warrior" race="blood" experience="160000" speed="600" manacost="0">
<health now="180000" max="180000"/>
<look type="143" head="79" body="79" legs="79" feet="79" addon="3" corpse="3128"/>
<targetchange interval="60000" chance="0"/>
<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 staticattack="50"/>
<flag lightlevel="0"/>
<flag lightcolor="0"/>
<flag targetdistance="1"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="2000" min="-600" max="-1200"/>
<attack name="spear" interval="1000" chance="100" min="-100" max="-500"/>
<attack name="berserk" interval="5000" chance="70"/>
<attack name="sudden death" interval="5000" chance="30"/>
</attacks>
<defenses armor="43" defense="45"/>
<immunities>
<immunity physical="0"/>
<immunity energy="0"/>
<immunity fire="1"/>
<immunity poison="1"/>
<immunity lifedrain="1"/>
<immunity paralyze="1"/>
<immunity outfit="1"/>
<immunity drunk="1"/>
<immunity invisible="1"/>
</immunities>
<voices interval="2000" chance="5">
<voice sentence="THIS IS MY WORLD!"/>
<voice sentence="YOU ARE NOOB!"/>
<voice sentence="I KILL YOU!"/>
<voice sentence="FIGHT!"/>
<voice sentence="DEAD!"/>
</voices>
<loot>
<item id="2148" countmax="10" chance1="100000" chancemax="0"/>
<item id="2148" countmax="100" chance1="100000" chancemax="0"/>
<item id="2476" chance="1000"/>
<item id="2489" chance="1428"/>
<item id="2490" chance="6666"/>
<item id="2381" chance="5000"/>
<item id="2389" countmax="1" chance1="20000" chancemax="0"/>
<item id="1987" chance="100000">
<inside>
<item id="2463" chance="2500"/>
<item id="2148" countmax="15" chance1="100000" chancemax="0"/>
<item id="2120" chance="20000"/>
<item id="2387" chance="6666"/>
<item id="2377" chance="2857"/>
<item id="2430" chance="1333"/>
<item id="2414" chance="909"/>
<item id="2195" chance="555"/>
</inside>
</item>
</loot>
</monster>b) Diablo ;>
<?xml version="1.0" encoding="UTF-8" ?>
<monster name="Diablo" nameDescription="Diablo" race="fire" experience="100000" speed="500" manacost="0">
<health now="100000" max="100000" />
<look type="35" head="0" body="0" legs="0" feet="0" corpse="2916" />
<targetchange interval="2000" chance="10" />
<strategy attack="70" 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 runonhealth="0" />
</flags>
<attacks>
<attack name="fire" interval="3000" chance="34" range="7" radius="7" target="1" min="-180" max="-380">
<attribute key="shootEffect" value="fire"/>
<attribute key="areaEffect" value="firearea"/>
</attack>
<attack name="fire" interval="2000" chance="34" range="7" radius="3" target="1" min="-120" max="-230">
<attribute key="shootEffect" value="fire"/>
<attribute key="areaEffect" value="firearea"/>
</attack>
<attack name="demon gfb" interval="5200" chance="70" min="-350" max="-600" />
<attack name="great energy beam" interval="5000" chance="70" min="-250" max="-750"/>
<attack name="melee" interval="1500" chance="500" min="-1000" max="-1750" />
<attack name="mana drain" interval="40000" chance="70" />
<attack name="Fire Field" interval="5600" chance="85" />
<attack name="life drain" interval="40000" chance="70" min="-666" max="-666" />
</attacks>
<defenses armor="40" defense="65">
<defense name="light healing" interval="8000" chance="50" min="100" max="300" />
</defenses>
<immunities>
<immunity physical="0" />
<immunity energy="1" />
<immunity fire="1" />
<immunity poison="1" />
<immunity lifedrain="1" />
<immunity paralyze="1" />
<immunity outfit="1" />
<immunity drunk="1" />
<immunity invisible="1" />
</immunities>
<summons max="2">
<summon name="fire elemental" interval="6200" chance="40" max="2" />
</summons>
<voices interval="5000" chance="10">
<voice sentence="Jestem Zuy!!!" yell="1" />
<voice sentence="Zuo zawsze wygrywa!!!" yell="1" />
<voice sentence="666 \.../ 666" yell="1" />
</voices>
<loot>
<item id="5906" chance="6666" /> demon dust
<item id="2148" countmax="50" chance1="100000" chancemax="4000" /> gold
<item id="2148" countmax="65" chance1="70000" chancemax="4000" /> gold
<item id="2148" countmax="100" chance1="42000" chancemax="4000" /> gold
<item id="2151" countmax="7" chance1="5150" chancemax="3000" /> talon
<item id="2470" chance="1200" /> g legs
<item id="2795" countmax="8" chance1="12000" chancemax="800" /> fire mush
<item id="2472" chance="800" /> e palte
<item id="2171" chance="7200" /> platinum a
<item id="2462" chance="3800" /> devil h
<item id="2179" chance="4200" /> gold ring
<item id="1987" chance="100000">
<inside>
<item id="2148" countmax="35" chance1="8888" chancemax="0" /> gold
<item id="2514" chance="1500" /> msm
<item id="2164" chance="7777" /> might r
<item id="2432" chance="6666" /> fire a
<item id="2393" chance="2300" /> gs
<item id="2520" chance="2100" /> demon s
<item id="2387" chance="42000" /> double a
<item id="2176" chance="9999" /> orb
<item id="2418" chance="8888" /> golden s
<item id="1982" chance="4200" /> purpel tome
<item id="2214" chance="8888" /> roh
<item id="2165" chance="6200" /> stealth ring
<item id="5954" countmax="1" chance1="2600" chancemax="0" /> demon horn
<item id="2149" countmax="3" chance1="12000" chancemax="0" /> small emerald
</inside>
</item>
</loot>
</monster>Jakby coś nie działało msg me
@edit2
Zrobiony zeby Hoster sie cieszyl ze go zabiją xD
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Boss Batorun" species="human" nameDescription="a boss batorun" race="blood" experience="100000" speed="600" manacost="0">
<health now="66000" max="66000"/>
<look type="152" head="114" body="114" legs="114" feet="114" addons="3" corpse="3128"/>
<targetchange interval="60000" chance="0"/>
<strategy attack="250" defense="150"/>
<flags>
<flag summonable="0"/>
<flag attackable="1"/>
<flag hostile="1"/>
<flag illusionable="0"/>
<flag convinceable="0"/>
<flag pushable="0"/>
<flag canpushitems="1"/>
<flag staticattack="50"/>
<flag lightlevel="0"/>
<flag lightcolor="0"/>
<flag targetdistance="1"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="1000" min="-1500" max="-2500"/>
<attack name="Energy Wave" interval="2300" chance="100" min="-600" max="-1000"/>
<attack name="ultimate explosion" interval="5000" min="-1700" max="-1900"/>
<attack name="sudden death" interval="2000" min="-800" max="-1500"/>
</attacks>
<defenses armor="43" defense="45"/>
<immunities>
<immunity physical="0"/>
<immunity energy="0"/>
<immunity fire="1"/>
<immunity poison="1"/>
<immunity lifedrain="1"/>
<immunity paralyze="1"/>
<immunity outfit="1"/>
<immunity drunk="1"/>
<immunity invisible="1"/>
</immunities>
<voices interval="2000" chance="5">
<voice sentence="Ja jestem Mistrzem!"/>
<voice sentence="Zabij mnie , to cie zbanuje!!!"/>
<voice sentence="Uwazaj!"/>
</voices>
<loot>
<item id="2160" countmax="50" chance1="100000" chancemax="100"/>
<item id="6528" chance="2000"/>
<item id="5803" chance="2000"/>
<item id="2352" chance="2000"/>
<item id="2453" chance="2000"/>
<item id="2365" chance="100000">
<inside>
<item id="2523" chance="2000"/>
<item id="7367" countmax="11" chance1="100000" chancemax="100"/>
<item id="2192" chance="100"/>
</inside>
</item>
</loot>
</monster>Myśle ze bedzię zadowolony xD
Ostatnio edytowany przez Arcann (2008-02-29 17:39:01)
Offline