hastee den quest in der hongkong list da?
quest shoptisch begin
state start begin
when 30147.use begin
say_title("Verandeln leicht gemacht")
say("Du möchtest dich in einen Boss verwandeln?")
say("Hiermit kannst du dich verwandeln.")
say("Wähle einen der Bosse weiter unten")
local s = select("Neunschwanz","Gelber Tigergeist","Tausendkämpfer","Flammenkönig","Blauer Tod","Zurückverwandeln","Abbrechen")
if s == 7 then
return
end
if s == 1 then
pc.polymorph(1901,9999999)
chat("Du hast dich in einen Neunschwanz verwandelt")
end
if s == 2 then
pc.polymorph(1304,9999999)
chat("Du hast dich in einen Gelben Tigergeist verwandelt")
end
if s == 3 then
pc.polymoph(1403,9999999)
chat ("Du hast dich in einen Tausendkämpfer verwandelt")
end
if s == 4 then
pc.polymorph(2207,9999999)
chat ("Du hast dich in einen Flammenkönig verwandelt")
end
if s == 5 then
pc.polymorph(1095,9999999)
chat ("Du hast dich in den Blauen Tod verwandelt")
end
if s == 6 then
pc.remove_polymorph()
end
end
end
end
end
quest spielautomat begin
state start begin
when 20100.chat."Spielautomat" begin
say ( "Hallo" )
say ( "Möchtest du dein Glück auf die Probe stellen?" )
say ( "Die Regeln sind einfach." )
say ( "Du wählst einen Fisch aus und wenn du mindestens zwei mal")
say ( "den gleichen Fisch bekommst, gewinnst du!" )
say ( "Desto seltener der Fisch ist umso besser ist der Gewinn!" )
say_reward ( "Eine Runde kostet 5.000.000 Yang." )
say("")
say ( "Möchtest du spielen?" )
local s = select ("Ja" , "Nein")
if s == 2 then
say ( "Ich verstehe .. Glücksspiel ist nichts für sie." )
say ( "Wenn sie es sich anders überlegt haben schauen sie" )
say ( "doch nochmal vorbei." )
return
end
if pc.gold < 5000000 then
say ("Sie haben nicht genug Yang!")
say ("")
say ("Kommen sie wieder wenn sie 5.000.000 Yang besitzen.")
return
end
pc . changegold ( - 2500000 )
say_item ( "." , 1 , "" )
say_item ( "." , 1 , "" )
say_item ( "." , 1 , "" )
say_reward("Starten?!")
local option = select ( "Ja" , "Nein" )
if option == 2 then
return
end
pc . changegold ( - 2500000 )
local s = number(27802, 27823)
local m = number(27802, 27823)
local l = number(27802, 27823)
say_title("Wähle einen Fisch aus")
say_item ( "." , s , "" )
say_item ( "." , m , "" )
say_item ( "." , l , "" )
local cambia = select ( "Fisch 1" , "Fisch 2" , "Fisch 3" , "Abbrechen")
if cambia == 1 then
local m = number(27802, 27823)
local l = number(27802, 27823)
say_item ( "." , s , "" )
say_item ( "." , m , "" )
say_item ( "." , l , "" )
if s == m == l then
say ( "Herzlichen Glückwunsch! Sie haben drei Millionen Yang gewonnen." )
pc . change_gold ( 3000000 )
end
if s == m then
say ( "Herzlichen Glückwunsch! Sie haben eine Millionen Yang gewonnen." )
pc . change_gold ( 1000000 )
end
if s == l then
say ( "Herzlichen Glückwunsch! Du hast 3 Zander gewonnen." )
pc . give_item2 ( 27803 , 1 )
pc . give_item2 ( 27803 , 1 )
pc . give_item2 ( 27803 , 1 )
end
if m == l then
say ( "Herzlichen Glückwunsch! Du hast 3 Zander gewonnen." )
pc . give_item2 ( 27803 , 1 )
pc . give_item2 ( 27803 , 1 )
pc . give_item2 ( 27803 , 1 )
end
if s == 27822 and
m == 27822 and
l == 27822 then
say ( "Herzlichen Glückwunsch! Du hast das Item für den siebten und sechsten Bonus gewonnen!" )
pc . give_item2 ( "71051" , 1 )
pc . give_item2 ( "71052" , 1 )
end
if s == 27816 and
m == 27816 and
l == 27816 then
say ( "Herzlichen Glückwunsch! Sie haben einen Unsichtbarkeitsspiegel gewonnen!" )
pc . give_item2 ( "70026" , 1 )
end
if s == 30047 and
m == 30047 and
l == 30047 then
say ( "Herzlichen Glückwunsch! Sie haben einen Seelenstein gewonnen!" )
pc . give_item2 ( "50513" , 1 )
end
if s == 30050 and
m == 30050 and
l == 30050 then
say ( "Herzlichen Glückwunsch! Sie haben einen Tigerknochenohrring gewonnen." )
pc . give_item2 ( "72703" , 1 )
end
if s == 30021 and
m == 30021 and
l == 30021 then
say ( "Herzlichen Glückwunsch! Sie haben eine Gegenangriffsstrategie gewonnen." )
pc . give_item2 ( "70031" , 1 )
end
if s == 30010 and
m == 30010 and
l == 30010 then
say ( "Herzlichen Glückwunsch! Sie haben eine Tier-Rüstung gewonnen!" )
pc . give_item2 ( "11020" , 1 )
end
if s == 30005 and
m == 30005 and
l == 30005 then
say ( "Herzlichen Glückwunsch! Sie haben ein magisches Metall gewonnen!" )
pc . give_item2 ( "25041" , 1 )
end
if s == 30002 and
m == 30002 and
l == 30002 then
say ( "Herzlichen Glückwunsch! Sie haben eine Muschel gewonnen." )
pc . give_item2 ( "27987" , 1 )
end
if s == 30008 and
m == 30008 and
l == 30008 then
say ( "Herzlichen Glückwunsch! Sie haben drei Segenschriftrollen gewonnen!" )
pc . give_item2 ( "25040" , 1 )
pc . give_item2 ( "25040" , 1 )
pc . give_item2 ( "25040" , 1 )
end
say ( "Glück im Spiel." )
end
if cambia == 2 then
local m = number(27802, 27823)
local l = number(27802, 27823)
say_item ( "." , s , "" )
say_item ( "." , m , "" )
say_item ( "." , l , "" )
if s == m == l then
say ( "Herzlichen Glückwunsch! Sie haben drei Millionen Yang gewonnen." )
pc . change_gold ( 3000000 )
end
if s == m then
say ( "Herzlichen Glückwunsch! Sie haben eine Millionen Yang gewonnen." )
pc . change_gold ( 1000000 )
end
if s == l then
say ( "Herzlichen Glückwunsch! Du hast drei Zander gewonnen." )
pc . give_item2 ( 27803 , 1 )
pc . give_item2 ( 27803 , 1 )
pc . give_item2 ( 27803 , 1 )
end
if m == l then
say ( "Herzlichen Glückwunsch! Du hast drei Zander gewonnen." )
pc . give_item2 ( 27803 , 1 )
pc . give_item2 ( 27803 , 1 )
pc . give_item2 ( 27803 , 1 )
end
if s == 27822 and
m == 27822 and
l == 27822 then
say ( "Herzlichen Glückwunsch! Du hast das Item für den siebten und sechsten Bonus gewonnen!" )
pc . give_item2 ( "71051" , 1 )
pc . give_item2 ( "71052" , 1 )
end
if s == 27816 and
m == 27816 and
l == 27816 then
say ( "Herzlichen Glückwunsch! Sie haben einen Unsichtbarkeitsspiegel gewonnen!" )
pc . give_item2 ( "70026" , 1 )
end
if s == 30047 and
m == 30047 and
l == 30047 then
say ( "Herzlichen Glückwunsch! Sie haben einen Seelenstein gewonnen!" )
pc . give_item2 ( "50513" , 1 )
end
if s == 30050 and
m == 30050 and
l == 30050 then
say ( "Herzlichen Glückwunsch! Sie haben einen Tigerknochenohrring gewonnen." )
pc . give_item2 ( "72703" , 1 )
end
if s == 30021 and
m == 30021 and
l == 30021 then
say ( "Herzlichen Glückwunsch! Sie haben eine Gegenangriffsstrategie gewonnen." )
pc . give_item2 ( "70031" , 1 )
end
if s == 30010 and
m == 30010 and
l == 30010 then
say ( "Herzlichen Glückwunsch! Sie haben eine Tier-Rüstung gewonnen!" )
pc . give_item2 ( "11030" , 1 )
end
if s == 30005 and
m == 30005 and
l == 30005 then
say ( "Herzlichen Glückwunsch! Sie haben ein magisches Metall gewonnen!" )
pc . give_item2 ( "25041" , 1 )
end
if s == 30002 and
m == 30002 and
l == 30002 then
say ( "Herzlichen Glückwunsch! Sie haben eine Muschel gewonnen." )
pc . give_item2 ( "27987" , 1 )
end
if s == 30008 and
m == 30008 and
l == 30008 then
say ( "Herzlichen Glückwunsch! Sie haben drei Segenschriftrollen gewonnen!" )
pc . give_item2 ( "25040" , 1 )
pc . give_item2 ( "25040" , 1 )
pc . give_item2 ( "25040" , 1 )
end
say ( "Glück im Spiel." )
end
if cambia == 3 then
local m = number(27802, 27823)
local l = number(27802, 27823)
say_item ( "." , s , "" )
say_item ( "." , m , "" )
say_item ( "." , l , "" )
if s == m == l then
say ( "Herzlichen Glückwunsch! Sie haben drei Millionen Yang gewonnen." )
pc . change_gold ( 3000000 )
end
if s == m then
say ( "Herzlichen Glückwunsch! Sie haben eine Millionen Yang gewonnen." )
pc . change_gold ( 1000000 )
end
if s == l then
say ( "Herzlichen Glückwunsch! Du hast drei Zander gewonnen." )
pc . give_item2 ( 27803 , 1 )
pc . give_item2 ( 27803 , 1 )
pc . give_item2 ( 27803 , 1 )
end
if m == l then
say ( "Herzlichen Glückwunsch! Du hast drei Zander gewonnen." )
pc . give_item2 ( 27803 , 1 )
pc . give_item2 ( 27803 , 1 )
pc . give_item2 ( 27803 , 1 )
end
if s == 27822 and
m == 27822 and
l == 27822 then
say ( "Herzlichen Glückwunsch! Du hast das Item für den siebten und sechsten Bonus gewonnen!" )
pc . give_item2 ( "71051" , 1 )
pc . give_item2 ( "71052" , 1 )
end
if s == 27816 and
m == 27816 and
l == 27816 then
say ( "Herzlichen Glückwunsch! Sie haben einen Unsichtbarkeitsspiegel gewonnen!" )
pc . give_item2 ( "70026" , 1 )
end
if s == 30047 and
m == 30047 and
l == 30047 then
say ( "Herzlichen Glückwunsch! Sie haben einen Seelenstein gewonnen!" )
pc . give_item2 ( "50513" , 1 )
end
if s == 30050 and
m == 30050 and
l == 30050 then
say ( "Herzlichen Glückwunsch! Sie haben einen Tigerknochenohrring gewonnen." )
pc . give_item2 ( "72703" , 1 )
end
if s == 30021 and
m == 30021 and
l == 30021 then
say ( "Herzlichen Glückwunsch! Sie haben ein Gegenangriff gewonnen." )
pc . give_item2 ( "70031" , 1 )
end
if s == 30010 and
m == 30010 and
l == 30010 then
say ( "Herzlichen Glückwunsch! Sie haben eine Tier-Rüstung gewonnen.!" )
pc . give_item2 ( "11010" , 1 )
end
if s == 30005 and
m == 30005 and
l == 30005 then
say ( "Herzlichen Glückwunsch! Sie haben ein magisches Metall gewonnen.!" )
pc . give_item2 ( "25041" , 1 )
end
if s == 30002 and
m == 30002 and
l == 30002 then
say ( "Herzlichen Glückwunsch! Sie haben eine Muschel gewonnen." )
pc . give_item2 ( "27987" , 1 )
end
if s == 30008 and
m == 30008 and
l == 30008 then
say ( "Herzlichen Glückwunsch! Sie haben drei Segenschriftrollen gewonnen.!" )
pc . give_item2 ( "25040" , 1 )
pc . give_item2 ( "25040" , 1 )
pc . give_item2 ( "25040" , 1 )
end
say ( "Glück im Spiel." )
end
if cambia == 4 then
if s == m == l then
say ( "Herzlichen Glückwunsch! Sie haben drei Millionen Yang gewonnen." )
pc . changegold ( 3000000 )
end
if s == m then
say ( "Herzlichen Glückwunsch! Sie haben eine Millionen Yang gewonnen." )
pc . changegold ( 1000000 )
end
if s == l then
say ( "Herzlichen Glückwunsch! Du hast drei Zander gewonnen." )
pc . give_item2 ( 27803 , 1 )
pc . give_item2 ( 27803 , 1 )
pc . give_item2 ( 27803 , 1 )
end
if m == l then
say ( "Herzlichen Glückwunsch! Du hast drei Zander gewonnen." )
pc . give_item2 ( 27803 , 1 )
pc . give_item2 ( 27803 , 1 )
pc . give_item2 ( 27803 , 1 )
end
if s == 27822 and
m == 27822 and
l == 27822 then
say ( "Herzlichen Glückwunsch! Du hast das Item für den siebten und sechsten Bonus gewonnen!" )
pc . give_item2 ( "71051" , 1 )
pc . give_item2 ( "71052" , 1 )
end
if s == 27816 and
m == 27816 and
l == 27816 then
say ( "Herzlichen Glückwunsch! Sie haben einen Unsichtbarkeitsspiegel gewonnen!" )
pc . give_item2 ( "70026" , 1 )
end
if s == 30047 and
m == 30047 and
l == 30047 then
say ( "Herzlichen Glückwunsch! Sie haben einen Seelenstein gewonnen!" )
pc . give_item2 ( "50513" , 1 )
end
if s == 30050 and
m == 30050 and
l == 30050 then
say ( "Herzlichen Glückwunsch! Sie haben ein Tigerknochenohrring gewonnen." )
pc . give_item2 ( "72703" , 1 )
end
if s == 30021 and
m == 30021 and
l == 30021 then
say ( "Herzlichen Glückwunsch! Sie haben ein Gegenangriff gewonnen." )
pc . give_item2 ( "70031" , 1 )
end
if s == 30010 and
m == 30010 and
l == 30010 then
say ( "Herzlichen Glückwunsch! Sie haben eine Tier-Rüstung gewonnen!" )
pc . give_item2 ( "11000" , 1 )
end
if s == 30005 and
m == 30005 and
l == 30005 then
say ( "Herzlichen Glückwunsch! Sie haben ein magisches Metall gewonnen!" )
pc . give_item2 ( "25041" , 1 )
end
if s == 30002 and
m == 30002 and
l == 30002 then
say ( "Herzlichen Glückwunsch! Sie haben eine Muschel gewonnen." )
pc . give_item2 ( "27987" , 1 )
end
if s == 30008 and
m == 30008 and
l == 30008 then
say ( "Herzlichen Glückwunsch! Sie haben drei Segenschriftrollen gewonnen!" )
pc . give_item2 ( "25040" , 1 )
pc . give_item2 ( "25040" , 1 )
pc . give_item2 ( "25040" , 1 )
end
say ( "Glück im Spiel." )
end
end
end
end
quest neuedropps begin
state start begin
when 8027.kill begin
game.drop_item(50513)
local index = pc.get_map_index()
local s = number(2, 50)
if s == 1 then
game.drop_item(27992)
else
end
local w = number(2, 50)
if w == 1 then
game.drop_item(27993)
else
end
local e = number(2, 50)
if e == 1 then
game.drop_item(27994)
else
end
local m = number(2, 15)
if m == 1 then
game.drop_item(27987)
else
end
if index == 220 then
local o = number(1, 2)
if o == 1 then
chat("Da war eine Karte!")
chat("Bringe ihn dem Surageist!")
game.drop_item(30126, 1)
else
chat("Du hast leider keine Karte erhalten...")
end
else
end
end
when 101.kill or 102.kill or 103.kill or 104.kill or 105.kill or 106.kill or 107.kill or 108.kill or 109.kill or 110.kill or 111.kill or
112.kill or 113.kill or 114.kill or 115.kill or 171.kill or 172.kill or 173.kill or 174.kill or 175.kill or 176.kill or 178.kill or
179.kill or 180.kill or 181.kill or 182.kill or 183.kill or 184.kill or 185.kill or 301.kill or 302.kill or 303.kill or 304.kill or
331.kill or 332.kill or 333.kill or 334.kill or 351.kill or 352.kill or 353.kill or 354.kill or 401.kill or 402.kill or 403.kill or
404.kill or 405.kill or 406.kill or 431.kill or 432.kill or 433.kill or 434.kill or 435.kill or 436.kill or 451.kill or 452.kill or
453.kill or 454.kill or 455.kill or 456.kill or 501.kill or 502.kill or 503.kill or 504.kill or 551.kill or 552.kill or 553.kill or
554.kill or 601.kill or 602.kill or 603.kill or 604.kill or 631.kill or 632.kill or 633.kill or 634.kill or 635.kill or 636.kill or
637.kill or 651.kill or 652.kill or 653.kill or 654.kill or 655.kill or 656.kill or 657.kill or 701.kill or 702.kill or 703.kill or
704.kill or 705.kill or 706.kill or 707.kill or 731.kill or 732.kill or 733.kill or 734.kill or 735.kill or 736.kill or 737.kill or
751.kill or 752.kill or 753.kill or 754.kill or 755.kill or 756.kill or 757.kill or 771.kill or 772.kill or 773.kill or 774.kill or
775.kill or 776.kill or 777.kill or 795.kill or 901.kill or 902.kill or 903.kill or 904.kill or 905.kill or 906.kill or 907.kill or
931.kill or 932.kill or 933.kill or 934.kill or 935.kill or 936.kill or 937.kill or
1061.kill or 1062.kill or 1063.kill or 1064.kill or 1065.kill or 1066.kill or 1067.kill or 1068.kill or 1069.kill or 1070.kill or
1071.kill or 1101.kill or 1102.kill or 1103.kill or 1104.kill or 1105.kill or 1106.kill or 1107.kill or 1131.kill or 1132.kill or
1134.kill or 1135.kill or 1136.kill or 1137.kill or 1171.kill or 1172.kill or 1173.kill or 1174.kill or 1175.kill or 1176.kill or
1177.kill or 1301.kill or 1302.kill or 1303.kill or 1305.kill or 1331.kill or 1332.kill or 1333.kill or 1334.kill or 1335.kill or
2001.kill or 2002.kill or 2003.kill or 2004.kill or 2005.kill or 2031.kill or 2032.kill or 2033.kill or 2034.kill or 2035.kill or
2036.kill or 2061.kill or 2062.kill or 2063.kill or 2064.kill or 2065.kill or 2051.kill or 2052.kill or 2053.kill or 2054.kill or
2055.kill or 2071.kill or 2072.kill or 2073.kill or 2074.kill or 2075.kill or 2076.kill or 2101.kill or 2102.kill or 2103.kill or
2104.kill or 2105.kill or 2106.kill or 2107.kill or 2108.kill or 2131.kill or 2132.kill or 2133.kill or 2134.kill or 2135.kill or
2151.kill or 2152.kill or 2152.kill or 2153.kill or 2154.kill or 2155.kill or 2156.kill or 2157.kill or 2158.kill or 2201.kill or
2202.kill or 2203.kill or 2204.kill or 2205.kill or 2231.kill or 2232.kill or 2233.kill or 2234.kill or 2235.kill or 2291.kill or
1401.kill or 1402.kill or 1403.kill or 1501.kill or 1502.kill or 1503.kill or 1601.kill or 1602.kill or 1603.kill or 2301.kill or
2302.kill or 2303.kill or 2304.kill or 2305.kill or 2311.kill or 2312.kill or 2313.kill or 2314.kill or 2315.kill or 2306.kill or
2307.kill or 7013.kill or 7014.kill or 7015.kill or 7016.kill or 7017.kill or 7018.kill or 1151.kill or 1152.kill or 1153.kill or
1154.kill or 1155.kill or 1156.kill or 1157.kill begin
local q = number(2, 5000)
if q == 2 then
game.drop_item(27992)
else
end
local t = number(2, 5000)
if t == 2 then
game.drop_item(27993)
else
end
local u = number(2, 5000)
if u == 2 then
game.drop_item(27994)
else
end
local v = number(2, 2500)
if v == 2 then
game.drop_item(27987)
else
end
local s = number(1, 7500)
local a = number(1, 7500)
local b = number(1, 7500)
local c = number(1, 7500)
local d = number(1, 6500)
local e = number(1, 6500)
local f = number(1, 6500)
local g = number(1, 6500)
local h = number(1, 6500)
local i = number(1, 6500)
local j = number(1, 6500)
local k = number(1, 6500)
local l = number(1, 30)
if s <= 2 then
game.drop_item(90045)
elseif a <= 2 then
game.drop_item(90046)
elseif b <= 2 then
game.drop_item(90047)
elseif c <= 2 then
game.drop_item(90048)
elseif d <= 3 then
game.drop_item(28333)
elseif e <= 3 then
game.drop_item(28334)
elseif f <= 3 then
game.drop_item(28335)
elseif g <= 3 then
game.drop_item(28336)
elseif h <= 3 then
game.drop_item(28336)
elseif i <= 3 then
game.drop_item(70040)
elseif j <= 3 then
game.drop_item(80009)
elseif k <= 3 then
game.drop_item(70025)
elseif l == 1 then
game.drop_item(70024)
end
local qwert = number(1, 50)
if qwert == 5 then
game.drop_item(50095)
end
local dropp = number(1, 5000)
if dropp == 5 then
game.drop_item(90015)
elseif dropp == 15 then
game.drop_item(90016)
elseif dropp == 25 then
game.drop_item(90017)
else
end
end
when 993.kill begin
game.drop_item(50075)
end
when 1093.kill begin
game.drop_item(50082)
end
when 1095.kill begin
game.drop_item(50067)
end
when 2291.kill begin
game.drop_item(50080)
end
when 2092.kill begin
game.drop_item(50074)
end
when 5002.kill begin
local t = number(1, 100)
if t <= 50 then
game.drop_item(70045)
else
game.drop_item(70044)
end
end
when 2493.kill begin
game.drop_item(50069)
end
when 2525.kill begin
local p = number(1, 100)
if s <= 25 then
game.drop_item(90045)
elseif p <= 50 then
game.drop_item(90046)
elseif p <= 75 then
game.drop_item(90047)
elseif p <= 100 then
game.drop_item(90048)
end
end
when 2401.kill or 2402.kill or 2403.kill begin
local ssp = number(1, 15000)
local mpp = number(1, 15000)
local swa = number(1, 15000)
local sk = number(1, 15000)
local stichi = number(1, 15000)
local daemi = number(1, 15000)
local sias = number(1, 15000)
local ekstase = number(1, 15000)
local blau = number(1, 15000)
local hmk = number(1, 15000)
local gifti = number(1, 25000)
local grolli = number(1, 25000)
local tfc = number(1, 15000)
local orchi = number(1, 15000)
local kraehen = number(1, 15000)
local loewi = number(1, 15000)
if ssp == 5 then
game.drop_item(11290)
elseif mpp == 5 then
game.drop_item(11690)
elseif swa == 5 then
game.drop_item(11490)
elseif sk == 5 then
game.drop_item(11890)
elseif stichi == 5 then
game.drop_item(170)
elseif daemi == 5 then
game.drop_item(250)
elseif sias == 5 then
game.drop_item(1130)
elseif eksase == 5 then
game.drop_item(7150)
elseif blau == 5 then
game.drop_item(2180)
elseif hmk == 5 then
game.drop_item(3150)
elseif gifti == 5 then
game.drop_item(180)
elseif grolli == 5 then
game.drop_item(3160)
elseif tfc == 5 then
game.drop_item(1130)
elseif orchi == 5 then
game.drop_item(5120)
elseif kraehen == 5 then
game.drop_item(2170)
elseif loewi == 5 then
game.drop_item(190)
else
local q = number(2, 2000)
if q == 2 then
game.drop_item(27992)
else
end
local t = number(2, 2000)
if t == 2 then
game.drop_item(27993)
else
end
local u = number(2, 2000)
if u == 2 then
game.drop_item(27994)
else
end
local v = number(2, 750)
if v == 2 then
game.drop_item(27987)
else
end
local s = number(1, 10000)
local a = number(1, 10000)
local b = number(1, 10000)
local c = number(1, 10000)
local d = number(1, 8500)
local e = number(1, 8500)
local f = number(1, 8500)
local g = number(1, 8500)
local h = number(1, 8500)
local i = number(1, 8500)
local j = number(1, 8500)
local k = number(1, 8500)
local l = number(1, 30)
if s <= 2 then
game.drop_item(90045)
elseif a <= 2 then
game.drop_item(90046)
elseif b <= 2 then
game.drop_item(90047)
elseif c <= 2 then
game.drop_item(90048)
elseif d <= 3 then
game.drop_item(28333)
elseif e <= 3 then
game.drop_item(28334)
elseif f <= 3 then
game.drop_item(28335)
elseif g <= 3 then
game.drop_item(28336)
elseif h <= 3 then
game.drop_item(28336)
elseif i <= 3 then
game.drop_item(70040)
elseif j <= 3 then
game.drop_item(80009)
elseif k <= 3 then
game.drop_item(70025)
elseif l == 1 then
game.drop_item(70024)
else
end
end
end
when 8001.kill or 8002.kill or 8003.kill or 8004.kill or 8005.kill or 8006.kill or 8007.kill or 8008.kill or 8009.kill or 8010.kill or 8011.kill or 8012.kill or 8013.kill or 8014.kill or 8015.kill or 8016.kill or 8017.kill or 8018.kill or 8019.kill or 8023.kill or 8024.kill or 8026.kill or 8101.kill or 8102.kill or 8103.kill or 8104.kill or 8105.kill or 8106.kill or 8107.kill or 8108.kill or 8109.kill or 8110.kill or 8111.kill or 8112.kill begin
game.drop_item(50513)
end
when 131.kill or 132.kill or 133.kill or 134.kill or 135.kill or 136.kill or 137.kill or 138.kill or 139.kill or 140.kill or 141.kill or 142.kill or 143.kill or 144.kill begin
local dropp = number(1, 500)
if dropp < 50 then
game.drop_item(70102)
elseif dropp == 15 then
game.drop_item(140)
elseif dropp == 16 then
game.drop_item(150)
elseif dropp == 17 then
game.drop_item(160)
elseif dropp == 18 then
game.drop_item(1100)
elseif dropp == 19 then
game.drop_item(1110)
elseif dropp == 20 then
game.drop_item(2130)
elseif dropp == 21 then
game.drop_item(2140)
elseif dropp == 22 then
game.drop_item(3130)
elseif dropp == 23 then
game.drop_item(3140)
elseif dropp == 24 then
game.drop_item(5100)
elseif dropp == 25 then
game.drop_item(5090)
elseif dropp == 26 then
game.drop_item(7130)
elseif dropp == 27 then
game.drop_item(7140)
else
end
when 11100.kill begin
local a = number(1, 50)
if a <= 10 then
game.drop_item(50401)
elseif a <= 20 then
game.drop_item(50402)
elseif a <= 30 then
game.drop_item(50403)
elseif a <= 40 then
game.drop_item(50404)
elseif a <= 50 then
game.drop_item(50405)
else
end
end
when 11101.kill begin
local a = number(1, 50)
if a <= 10 then
game.drop_item(50416)
elseif a <= 20 then
game.drop_item(50417)
elseif a <= 30 then
game.drop_item(50418)
elseif a <= 40 then
game.drop_item(50419)
elseif a <= 50 then
game.drop_item(50420)
else
end
end
when 11102.kill begin
local a = number(1, 50)
if a <= 10 then
game.drop_item(50431)
elseif a <= 20 then
game.drop_item(50432)
elseif a <= 30 then
game.drop_item(50433)
elseif a <= 40 then
game.drop_item(50434)
elseif a <= 50 then
game.drop_item(50435)
else
end
end
when 11103.kill begin
local a = number(1, 50)
if a <= 10 then
game.drop_item(50446)
elseif a <= 20 then
game.drop_item(50447)
elseif a <= 30 then
game.drop_item(50448)
elseif a <= 40 then
game.drop_item(50449)
elseif a <= 50 then
game.drop_item(50450)
else
end
end
when 11104.kill begin
local a = number(1, 60)
if a <= 10 then
game.drop_item(50461)
elseif a <= 20 then
game.drop_item(50462)
elseif a <= 30 then
game.drop_item(50463)
elseif a <= 40 then
game.drop_item(50464)
elseif a <= 50 then
game.drop_item(50465)
elseif a <= 60 then
game.drop_item(50466)
else
end
end
when 11105.kill begin
local a = number(1, 60)
if a <= 10 then
game.drop_item(50476)
elseif a <= 20 then
game.drop_item(50477)
elseif a <= 30 then
game.drop_item(50478)
elseif a <= 40 then
game.drop_item(50479)
elseif a <= 50 then
game.drop_item(50480)
elseif a <= 60 then
game.drop_item(50481)
else
end
end
when 11106.kill begin
local a = number(1, 60)
if a <= 10 then
game.drop_item(50491)
elseif a <= 20 then
game.drop_item(50492)
elseif a <= 30 then
game.drop_item(50493)
elseif a <= 40 then
game.drop_item(50494)
elseif a <= 50 then
game.drop_item(50495)
elseif a <= 60 then
game.drop_item(50496)
else
end
end
when 11107.kill begin
local a = number(1, 60)
if a <= 10 then
game.drop_item(50506)
elseif a <= 20 then
game.drop_item(50507)
elseif a <= 30 then
game.drop_item(50508)
elseif a <= 40 then
game.drop_item(50509)
elseif a <= 50 then
game.drop_item(50510)
elseif a <= 60 then
game.drop_item(50511)
else
end
end
end
end
Quote:
quest deviltower_zone begin
state start begin
when login begin
if pc.get_map_index() == 66 then
-- ¨Ã«D¦b1¼Ó®É, °eªð¥~*±.
-- ¼h¼Æ ½d³ò
-- 1¼Ó 88 577 236 737
-- 2¼Ó 91 343 238 504
-- 3¼Ó 104 107 248 269
if pc.get_x() < 2048+88 or pc.get_y() < 6656+577 or pc.get_x() > 2048+236 or pc.get_y() > 6656+737 then
pc.warp((5376+532)*100, (512+596+4)*100, 65)
end
pc.set_warp_location(65, 5376+532, 512+596+4)
elseif pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 then
pc.set_warp_location(65, 5376+532, 512+596+4)
end
end
when deviltower_man.chat.locale.deviltower_man_chat begin
if pc . get_level ( ) < 40 then
say ( "Du hast noch nicht genuegend Erfahrung gesammelt. Komme wieder, wenn du Level 40 bist!" )
else
say ( "Moechtest du den Daemonenturm betreten?" )
local s = select ( "Betreten" , "In das Shinsoo Reich teleportieren" , "In das Chunjo Reich teleportieren" , "In das Jinno Reich teleportieren" , "Abbrechen" )
if s == 1 then
pc . warp ( 216500 , 727000 )
end
if s == 5 then
end
if s == 2 then
say ( "Du wirst nun in das Shinsoo Reich teleportiert!" )
local s = select ( "OK" )
pc . warp ( 469300 , 964200 )
end
if s == 3 then
say ( "Du wirst nun in das Chunjo Reich teleportiert!" )
local s = select ( "OK" )
pc . warp ( 55700 , 157900 )
end
if s == 4 then
say ( "Du wirst nun in das Jinno Reich teleportiert!" )
local s = select ( "OK" )
pc . warp ( 969600 , 278400 )
end
end
end
when devil_stone1.kill begin
timer("devil_stone1_1", 6)
end
when devil_stone1_1.timer begin
local mapto7= pc.count_item(30302) -- ®ø·À¤£ª¾¬O§_¦s¦bªº¯u¤`ÆF¶ð
pc.remove_item(30302,mapto7)
local boxto7= pc.count_item(30300) -- ®ø·À¤£ª¾¬O§_¦s¦bªº¤£ª¾¦Wªº½c¤l
pc.remove_item(30300,boxto7)
d.new_jump_all(66, special.devil_tower[1][1], special.devil_tower[1][2])
d.regen_file("data/dungeon/deviltower2_regen.txt")
d.set_warp_at_eliminate(4, d.get_map_index(), special.devil_tower[2][1], special.devil_tower[2][2], "data/dungeon/deviltower3_regen.txt")
end
--when devil_stone2.kill begin
--d.jump_all_local(special.devil_tower[2][1], special.devil_tower[2][2])
--end
when devil_stone3.kill begin
--d.jump_all_local(special.devil_tower[3][1], special.devil_tower[3][2])
--d.set_exit_all_at_eliminate(6)
--d.set_warp_at_eliminate(6, d.get_map_index(), 100, 100)
--d.set_warp_at_eliminate(4, 65, 5376+532, 512+596+4)
d.set_warp_at_eliminate(4, d.get_map_index(), special.devil_tower[3][1], special.devil_tower[3][2], "data/dungeon/deviltower4_regen.txt")
d.check_eliminated()
--d.exit_all()
end
function get_4floor_stone_pos()
local positions = {
{368, 629},
{419, 630},
{428, 653},
{422, 679},
{395, 689},
{369, 679},
{361, 658},
}
for i = 1, 6 do
local j = number(i, 7)
if i != j then
local t = positions[i];
positions[i] = positions[j];
positions[j] = t;
end
end
--for i = 1, 7 do
-- positions[i][1] = positions[i][1] * 100
-- positions[i][2] = positions[i][2] * 100
-- end
return positions
end
when 8016.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
d.setf("level", 4)
-- ¦A²{¤j¶q©Çª«¤Î»s³y¯u¥ÛÀY©M°²¥ÛÀY
--d.regen_file("data/dungeon/deviltower4_regen.txt")
local positions = deviltower_zone.get_4floor_stone_pos()
for i = 1, 6 do
chat(positions[i][1], positions[i][2])
d.set_unique("fake" .. i , d.spawn_mob(8017, positions[i][1], positions[i][2]))
end
chat(positions[7][1], positions[7][2])
local vid = d.spawn_mob(8017, positions[7][1], positions[7][2])
chat(vid)
d.set_unique("real", vid)
server_loop_timer('devil_stone4_update', 10, pc.get_map_index())
server_timer('devil_stone4_fail1', 5*60, pc.get_map_index())
d.notice("Findet den richtigen Metinstein");
d.notice("und zerstört ihn. Die falschen");
d.notice("Metinsteine werden verschwinden!");
d.notice("Ihr habt 15 Minuten zeit!");
end
when devil_stone4_fail1.server_timer begin
if d.select(get_server_timer_arg()) then
d.notice("Verbleibende Zeit: 10 Minuten")
server_timer('devil_stone4_fail2', 5*60, get_server_timer_arg())
end
end
when devil_stone4_fail2.server_timer begin
if d.select(get_server_timer_arg()) then
d.notice("Verbleibende Zeit: 5 Minuten")
server_timer('devil_stone4_fail', 5*60, get_server_timer_arg())
end
end
when devil_stone4_fail.server_timer begin
if d.select(get_server_timer_arg()) then
d.notice("Die Zeit ist abgelaufen")
d.notice("Ihr werdet nun nach draußen teleportiert")
d.exit_all()
clear_server_timer('devil_stone4_update', get_server_timer_arg())
end
end
when devil_stone4_update.server_timer begin
if d.select(get_server_timer_arg()) then
if not d.is_unique_dead("real") then
for i = 1, 6 do
if d.getf("fakedead" .. i) == 0 then
if d.unique_get_hp_perc("fake" .. i) < 50 then
d.purge_unique("fake" .. i)
d.setf("fakedead" .. i, 1)
d.notice("Die falschen Metinsteine verschwinden..");
end
end
end
else
--d.clear_regen()
--d.regen_file("data/dungeon/deviltower5_regen.txt")
server_timer("devil_stone4_end", 5, get_server_timer_arg())
d.notice("Ihr habt den richtigen Metinstein")
d.notice("zerstört. Ihr werdet nun in die nächste")
d.notice("Etage teleportiert")
clear_server_timer('devil_stone4_fail1', get_server_timer_arg())
clear_server_timer('devil_stone4_fail2', get_server_timer_arg())
clear_server_timer('devil_stone4_fail', get_server_timer_arg())
end
else
server_timer('devil_stone4_stop_timer', 1, get_server_timer_arg())
end
end
when devil_stone4_stop_timer.server_timer begin
clear_server_timer('devil_stone4_update', get_server_timer_arg())
end
when devil_stone4_end.server_timer begin
if d.select(get_server_timer_arg()) then
d.setf("level", 5)
d.setf("stone_count", 5)
d.notice("Du bist nun in der 5. Ebene ")
d.notice("Öffne alle Alten Siegel um in die nächste Ebene zu gelangen.")
d.notice("Du hast 20 Minuten Zeit um alle Siegel zu öffnen.")
d.jump_all(special.devil_tower[4][1], special.devil_tower[4][2])
server_timer('devil_stone5_fail1', 5*60, get_server_timer_arg())
clear_server_timer('devil_stone4_update', get_server_timer_arg())
-- 5¼ÓÄ~Äò¦A²{
d.set_regen_file("data/dungeon/deviltower5_regen.txt")
-- 5¼Ó«Ê¦L¥Û¦A²{
d.spawn_mob(20073, 421, 452)
d.spawn_mob(20073, 380, 460)
d.spawn_mob(20073, 428, 414)
d.spawn_mob(20073, 398, 392)
d.spawn_mob(20073, 359, 426)
end
end
when devil_stone5_fail1.server_timer begin
if d.select(get_server_timer_arg()) then
d.notice("Verbleibende Zeit: 15 Minuten")
server_timer('devil_stone5_fail2', 5*60, get_server_timer_arg())
end
end
when devil_stone5_fail2.server_timer begin
if d.select(get_server_timer_arg()) then
d.notice("Verbleibende Zeit: 10 Minuten")
server_timer('devil_stone5_fail3', 5*60, get_server_timer_arg())
end
end
when devil_stone5_fail3.server_timer begin
if d.select(get_server_timer_arg()) then
d.notice("Verbleibende Zeit: 5 Minuten")
server_timer('devil_stone5_fail', 5*60, get_server_timer_arg())
end
end
when devil_stone5_fail.server_timer begin
if d.select(get_server_timer_arg()) then
d.notice("Die Zeit ist abgelaufen")
d.notice("Ihr werdet nun nach draußen teleportiert")
d.exit_all()
end
end
--when devil_stone4.kill begin
--d.setf("level", 5)
--d.setf("stone_count", 4)
--d.clear_regen()
--d.regen_file("data/dungeon/deviltower5_regen.txt")
--d.jump_all_local(special.devil_tower[4][1], special.devil_tower[4][2])
--end
when 1062.kill with pc.in_dungeon() and d.getf("level") == 5 begin
local KILL_COUNT_FOR_DROP_KEY = 50
--if is_test_server() then
--KILL_COUNT_FOR_DROP_KEY = 1
--end
local n =d.getf("count") + 1
d.setf("count", n)
if n == KILL_COUNT_FOR_DROP_KEY then
-- ±¼¤UÂê°Í
game.drop_item(50084, 1)
d.setf("count", 0)
end
end
when devil_stone5.take with item.vnum == 50084 begin
npc.purge()
item.remove()
d.setf("stone_count", d.getf("stone_count") - 1)
if d.getf("stone_count") <= 0 then
d.setf("level", 6)
d.clear_regen()
d.regen_file("data/dungeon/deviltower6_regen.txt")
d.notice("Ihr habt alle alten Siegel geöffnet. Ihr werdet nun")
d.notice("in die 6. Ebene teleportiert.")
d.jump_all(special.devil_tower[5][1], special.devil_tower[5][2])
clear_server_timer('devil_stone5_fail1', get_server_timer_arg())
clear_server_timer('devil_stone5_fail2', get_server_timer_arg())
clear_server_timer('devil_stone5_fail3', get_server_timer_arg())
clear_server_timer('devil_stone5_fail', get_server_timer_arg())
else
d.notice("Es verbleibt eine Anzahl von "..d.getf("stone_count").." Siegeln")
end
end
when devil_stone6.kill begin
-- ¶Ç°e¨ì·Ò¸t©Ò¦bªº¦a¹Ï
-- §_«h¡A¶}³]¤@*Ó·s·Ò¸t
--d.jump_all(special.devil_tower[6][1], special.devil_tower[6][2])
d.kill_all()
-- d.set_warp_at_eliminate(3*60, 65, 5376+532, 512+596+4)
d.check_eliminated()
local reward_alchemist = {20074, 20075, 20076}
d.spawn_mob(reward_alchemist[number(1,3)], 425, 216);
d.setqf("can_refine", 1)
end
--------------------------------------
-- ¥Ñ¶i¤J7¼Ó¦Ü¨ì¹F8¼Ó¤§«e
--------------------------------------
when 20074.chat."Die höheren Etagen.." with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
say_title(""..mob_name(20074).."")
say("Ihr möchtet in die 7.Etage?")
say("Ihr haben Glück! Heute erlaube ich es ihnen vielleicht!")
say("")
say("Aber voher muss ich euch noch prüfen..")
say("Mal sehen..")
wait()
if pc.level >=75 then
say("Ich erlaube euch weiterzugehen!")
say("Viel Glück und passt auf euch auf da oben!")
timer("devil_jump_7", 6)
return
end
say_reward("Betreten der 7.Etage nicht erlaubt!")
say("")
say("Ihr seid nicht qualifiziert genug!")
say("Erreicht LvL 75 oder höher,")
say("damit ihr eure Fertigkeiten steigern könnt")
say("und kommt dann wieder!")
say("")
wait()
pc.warp(590500, 110500)
return
end
when 20075.chat."Die höheren Etagen.." with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
say_title(""..mob_name(20075).."")
say("Ihr möchtet in die 7.Etage?")
say("Ihr haben Glück! Heute erlaube ich es ihnen vielleicht!")
say("")
say("Aber voher muss ich euch noch prüfen..")
say("Mal sehen..")
wait()
if pc.level >=75 then
say("Ich erlaube euch weiterzugehen!")
say("Viel Glück und passt auf euch auf da oben!")
timer("devil_jump_7", 6)
return
end
say_reward("Betreten der 7.Etage nicht erlaubt!")
say("")
say("Ihr seid nicht qualifiziert genug!")
say("Erreicht LvL 75 oder höher,")
say("damit ihr eure Fertigkeiten steigern könnt")
say("und kommt dann wieder!")
say("")
wait()
pc.warp(590500, 110500)
return
end
when 20076.chat."Die höheren Etagen.." with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
say_title(""..mob_name(20076).."")
say("Ihr möchtet in die 7.Etage?")
say("Ihr haben Glück! Heute erlaube ich es ihnen vielleicht!")
say("")
say("Aber voher muss ich euch noch prüfen..")
say("Mal sehen..")
wait()
if pc.level >=75 then
say("Ich erlaube euch weiterzugehen!")
say("Viel Glück und passt auf euch auf da oben!")
timer("devil_jump_7", 6)
return
end
say_reward("Betreten der 7.Etage nicht erlaubt!")
say("")
say("Ihr seid nicht qualifiziert genug!")
say("Erreicht LvL 75 oder höher,")
say("damit ihr eure Fertigkeiten steigern könnt")
say("und kommt dann wieder!")
say("")
wait()
pc.warp(590500, 110500)
return
end
when devil_jump_7.timer begin
d.clear_regen()
d.spawn_mob(8018, 639, 658)
d.spawn_mob(8018, 611, 637)
d.spawn_mob(8018, 596, 674)
d.spawn_mob(8018, 629, 670)
d.setf("level", 7)
d.jump_all(2048+590, 6656+638)
end
when 8018.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
local cont = d.getf("7_stone_kill") + 1
d.setf("7_stone_kill", cont)
if cont >= 4 then
d.setf("7_stone_kill", 0)
d.set_regen_file("data/dungeon/deviltower7_regen.txt")
end
end
when 8019.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
game.drop_item(30300, 1)
end
when 30300.use with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
pc.remove_item("30300", 1)
local pct = number(1,10)
if pct == 1 then
-- ±¼¤U¯u¦a¹Ï
game.drop_item(30302, 1)
d.clear_regen()
else
-- ±¼¤U°²¦a¹Ï
game.drop_item(30301, 1)
end
end
when 30302.use with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
-- ¶Ç°e¨ì8¼Ó
say("Die Karte wird euch alle in die nächste Ebene")
say("des Dämonenturms bringen.")
pc.remove_item("30302", 1)
timer("devil_jump_8", 6)
d.clear_regen()
end
--------------------------------------------
-- ¥Ñ¶i¤J8¼Ó¦Ü¨ì¹F9¼Ó¤§«e
--------------------------------------------
when devil_jump_8.timer begin
d.setf("level", 8)
d.jump_all(2048+590, 6656+403)
d.set_regen_file("data/dungeon/deviltower8_regen.txt")
d.spawn_mob(20366, 640, 460)
local _count= pc.count_item(30302)-- ®ø·À¯u¤`ÆF¶ð
pc.remove_item(30302,_count)
end
when 1040.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
local pct1 = number(1, 5)
if pct1 == 1 then
local pct2 = number(1, 10)
if pct2 == 1 then
-- ±¼¤U¯uÂê°Í
game.drop_item(30304, 1)
else
-- ±¼¤U°²Âê°Í
game.drop_item(30303, 1)
end
else
return
end
end
when 20366.take with item.vnum == 30304 begin
-- 9¼Ó«Ê¦L¸Ñ°£
npc.purge()
item.remove()
timer("devil_jump_9", 6)
end
---------------------------------------------
-- ¥Ñ¶i¤J9¼Ó¦Üµ²§ô
---------------------------------------------
when devil_jump_9.timer begin
d.setf("level", 9)
d.jump_all(2048+590, 6656+155)
d.regen_file("data/dungeon/deviltower9_regen.txt")
end
when 1093.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
d.kill_all()
d.notice("Ihr habt den Sensenmann gekillt");
d.notice("jetzt jedoch erwacht eine viel stärkere Macht");
timer("devil_jump_10", 6)
end
when devil_jump_10.timer begin
d.setf("level", 10)
d.spawn_mob(1095, 607, 218)
end
when 1095.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin
d.kill_all()
timer("devil_end_jump", 60)
end
when devil_end_jump.timer begin
d.exit_all()
end
end
end
ein tipp:Quote:
Und wie siehts hiermit aus? Wenn ich make.sh ausführe usw. läuft ja alles schön und gut. Aber wenn ich mir nen neuen Char erstelle, den bis Level 2 mache, dann passiert nichts. Könnt ihr mir helfen? In die hongkong_list hab ich das auch schon eingefügt..
out of swap space = Arbeitspeicher voll... bzw. Festplatte voll..Quote:
Ich versteh nicht wieso die Quest nicht klappt.
Ich denke es liegt irgendwo an der Belohnung....
Es kommt immer ein out of swap space oder so