From 826e6e4f7a76da2fa3db6773ce155d8e080db068 Mon Sep 17 00:00:00 2001 From: Freeyorp Date: Sun, 1 Nov 2009 01:31:56 +1300 Subject: Halloween 2009 --- db/item_db.txt | 9 +- db/mob_db.txt | 30 ++-- npc/halloween/2009/Candyman.txt | 306 ++++++++++++++++++++++++++++++++++++++++ npc/scripts.conf | 3 + 4 files changed, 331 insertions(+), 17 deletions(-) create mode 100644 npc/halloween/2009/Candyman.txt diff --git a/db/item_db.txt b/db/item_db.txt index e0dff928..8fc7ed4b 100644 --- a/db/item_db.txt +++ b/db/item_db.txt @@ -307,7 +307,7 @@ 1218, PaperBag, Paper Bag, 5, 1000, 5, 1, , 1, , -1, 0, 2, 256, , 0, 0, {}, { bonus bAgi, -1; } 1219, MoubootaurHead, Moubootaur Head, 5, 10, 1, 20, , 1, , 0, 0, 2, 256, , 0, 0, {}, {} 1220, BunchOfParsley, Bunch of Parsley, 5, 3, 1, 1, , 1, , 0, 0, 2, 256, , 0, 0, {}, { bonus bDeaf, 1; } -//1221, SkullMask, Skull Mask, , , , , , , , , , , , , , , {}, {} +1221, SkullMask, Skull Mask, 5, 10000, 5000, 15, , 3, , 5, 0, 2, 256, , 0, 0, {}, {} //1222, SmallPieceOfClay, Small Piece of Clay, , , , , , , , , , , , , , , {}, {} //1223, BigPieceOfWhiteClay, Big Piece of White Clay, , , , , , , , , , , , , , , {}, {} //1224, ScrollOfPaper, Scroll of Paper, , , , , , , , , , , , , , , {}, {} @@ -315,7 +315,12 @@ //1226, SilverBell, Silver Bell, , , , , , , , , , , , , , , {}, {} //1227, EnchantersAmulet, Enchanter's Amulet, , , , , , , , , , , , , , , {}, {} //1228, SilverFourLeafAmulet, Silver Four-Leaf Amulet, , , , , , , , , , , , , , , {}, {} - +1229, CaramelApple, Caramel Apple, 0, 500, 75, 5, , , , , , 2, , , 0, , { itemheal 1000, 0; }, {} +1230, LollipopColor1, Booberry Blue Lollipop, 0, 20, 50, 1, , , , , , 2, , , 0, , { itemheal 800, 0; }, {} +1231, LollipopColor2, Ghastly Green Lollipop, 0, 20, 50, 1, , , , , , 2, , , 0, , { itemheal 800, 0; }, {} +1232, LollipopColor3, Blood Red Lollipop, 0, 20, 50, 1, , , , , , 2, , , 0, , { itemheal 800, 0; }, {} +1233, FakeFangs, Cheap Plastic Fangs, 3, 20, 10000, 1, , , , , , 2, , , 0, , {}, {} + 2050, RedCottonShirt, Red Cotton Shirt, 5, 10, 5, 100, , 2, , -4, 0, 2, 512, , 0, 0, {}, {} 2051, GreenCottonShirt, Green Cotton Shirt, 5, 10, 5, 100, , 2, , -4, 0, 2, 512, , 0, 0, {}, {} 2052, DarkBlueCottonShirt, Dark Blue Cotton Shirt, 5, 10, 5, 100, , 2, , -4, 0, 2, 512, , 0, 0, {}, {} diff --git a/db/mob_db.txt b/db/mob_db.txt index 486c8c22..e6b0881a 100644 --- a/db/mob_db.txt +++ b/db/mob_db.txt @@ -1,15 +1,15 @@ -# ID, Name, Jname, LV, HP, SP, EXP, JEXP, Range1, ATK1, ATK2, DEF, MDEF, STR, AGI, VIT, INT, DEX, LUK, Range2, Range3, Scale, Race, Element,Mode, Speed, Adelay, Amotion,Dmotion,Drop1id,Drop1per, Drop2id,Drop2per, Drop3id,Drop3per, Drop4id,Drop4per, Drop5id,Drop5per, Drop6id,Drop6per, Drop7id,Drop7per, Drop8id,Drop8per, Item1, Item2, MEXP, ExpPer, MVP1id, MVP1per,MVP2id, MVP2per,MVP3id, MVP3per,mutation count,mutation strength +# ID, Name, Jname, LV, HP, SP, EXP, JEXP, Range1, ATK1, ATK2, DEF, MDEF, STR, AGI, VIT, INT, DEX, LUK, Range2, Range3, Scale, Race, Element,Mode, Speed, Adelay, Amotion,Dmotion,Drop1id,Drop1per, Drop2id,Drop2per, Drop3id,Drop3per, Drop4id,Drop4per, Drop5id,Drop5per, Drop6id,Drop6per, Drop7id,Drop7per, Drop8id,Drop8per, Item1, Item2, MEXP, ExpPer, MVP1id, MVP1per,MVP2id, MVP2per,MVP3id, MVP3per,mutiation count,mutation strength 1002, Maggot, Maggot, 5, 50, 0, 0, 2, 1, 5, 10, 0, 5, 1, 1, 1, 0, 6, 5, 1, 1, 1, 3, 21, 129, 800, 1872, 672, 480, 505, 800, 501, 150, 518, 400, 533, 150, 502, 70, 522, 10, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 0, 0 1003, Scorpion, Scorpion, 10, 100, 0, 0, 4, 1, 10, 15, 0, 5, 1, 1, 1, 0, 15, 5, 1, 1, 1, 3, 20, 129, 2000, 1872, 672, 480, 507, 700, 510, 100, 509, 50, 518, 700, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 0, 0 1004, RedScorpion, Red Scorpion, 90, 550, 0, 0, 145, 1, 50, 55, 4, 6, 8, 8, 10, 10, 30, 10, 1, 1, 1, 0, 20, 129, 1000, 1872, 672, 480, 517, 2000, 509, 100, 518, 500, 1200, 10, 1199, 760, 1201, 540, 524, 25, 0, 0, 0, 0, 0, 0, , , , , , , 1, 50 1005, GreenSlime, Green Slime, 40, 300, 0, 0, 8, 1, 25, 30, 2, 7, 1, 20, 1, 0, 30, 30, 1, 1, 1, 0, 21, 131, 1500, 1872, 672, 480, 502, 200, 513, 100, 501, 100, 521, 100, 522, 190, 526, 10, 503, 500, 535, 750, 0, 0, 0, 0, , , , , , , 1, 20 -1006, GiantMaggot, Giant Maggot, 80, 500, 0, 0, 16, 2, 45, 75, 2, 7, 8, 6, 2, 1, 22, 1, 2, 2, 1, 0, 41, 129, 2000, 1872, 672, 480, 1199, 900, 519, 100, 518, 750, 501, 5000, 502, 3000, 503, 11, 526, 20, 0, 0, 0, 0, 0, 0, , , , , , , 1, 25 +1006, GiantMaggot, Giant Maggot, 80, 500, 0, 0, 16, 2, 45, 75, 2, 7, 8, 6, 2, 1, 22, 1, 2, 2, 1, 0, 41, 129, 2000, 1872, 672, 480, 1199, 900, 519, 100, 518, 750, 501, 5000, 502, 3000, 503, 11, 526, 20, 1229, 1000, 0, 0, 0, 0, , , , , , , 1, 25 1007, YellowSlime, Yellow Slime, 60, 400, 0, 0, 2, 1, 35, 40, 2, 7, 9, 6, 2, 1, 34, 1, 1, 1, 1, 0, 21, 131, 1400, 1800, 672, 480, 534, 200, 519, 100, 501, 350, 502, 250, 522, 10, 640, 150, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 1, 20 1008, RedSlime, Red Slime, 70, 450, 0, 0, 56, 1, 40, 45, 2, 7, 12, 8, 2, 1, 25, 1, 1, 1, 1, 0, 21, 135, 1300, 1500, 672, 480, 1201, 300, 509, 110, 521, 200, 523, 80, 525, 80, 535, 750, 528, 250, 531, 150, 0, 0, 0, 0, , , , , , , 2, 20 1009, BlackScorpion, Black Scorpion, 100, 600, 0, 0, 70, 1, 60, 100, 4, 6, 16, 30, 10, 10, 35, 10, 1, 1, 1, 0, 20, 133, 1000, 1500, 672, 480, 523, 150, 509, 100, 518, 800, 709, 800, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 2, 50 1010, Snake, Snake, 115, 850, 0, 0, 100, 1, 75, 90, 4, 6, 20, 11, 10, 10, 35, 10, 1, 1, 1, 0, 20, 133, 900, 1300, 672, 480, 524, 300, 0, 0, 714, 400, 714, 400, 710, 500, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 2, 30 1011, FireGoblin, Fire Goblin, 20, 220, 0, 0, 2, 1, 15, 20, 0, 5, 1, 1, 1, 0, 6, 30, 1, 1, 1, 3, 23, 129, 800, 1872, 672, 480, 505, 800, 501, 150, 518, 800, 502, 150, 521, 70, 522, 10, 701, 500, 0, 0, 0, 0, 0, 0, , , , , , , 2, 30 -1012, Spider, Spider, 125, 800, 0, 0, 280, 1, 70, 85, 4, 6, 14, 13, 10, 10, 35, 10, 1, 1, 1, 0, 25, 175, 1000, 1500, 672, 480, 537, 500, 535, 100, 638, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 2, 40 +1012, Spider, Spider, 125, 800, 0, 0, 280, 1, 70, 85, 4, 6, 14, 13, 10, 10, 35, 10, 1, 1, 1, 0, 25, 175, 1000, 1500, 672, 480, 537, 500, 535, 100, 638, 20, 1229, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 2, 40 1013, EvilMushroom, Evil Mushroom, 110, 650, 0, 0, 110, 1, 65, 80, 4, 6, 16, 12, 10, 10, 35, 10, 1, 1, 1, 3, 22, 137, 800, 1800, 672, 480, 535, 500, 540, 10, 534, 100, 566, 500, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 1, 60 1014, Flower, Flower, 115, 700, 0, 0, 110, 2, 70, 75, 0, 5, 16, 12, 20, 20, 20, 50, 2, 2, 1, 3, 22, 128, 800, 800, 672, 480, 535, 100, 540, 10, 1199, 100, 526, 400, 565, 500, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 2, 50 1015, SantaSlime, Santa Slime, 120, 750, 0, 0, 0, 1, 75, 80, 2, 7, 1, 20, 1, 0, 30, 30, 1, 1, 1, 0, 21, 161, 1500, 1872, 672, 480, 512, 800, 513, 700, 514, 600, 519, 500, 527, 400, 538, 500, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 1, 10 @@ -20,12 +20,12 @@ 1020, Fluffy, Fluffy, 30, 500, 0, 0, 3, 1, 6, 10, 1, 5, 1, 2, 1, 0, 20, 25, 1, 1, 1, 3, 20, 129, 800, 1600, 672, 480, 611, 800, 527, 150, 535, 400, 752, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 3, 40 1021, CaveSnake, Cave Snake, 30, 1000, 0, 0, 5, 1, 20, 15, 1, 5, 10, 1, 1, 0, 5, 20, 1, 1, 1, 3, 20, 129, 800, 1872, 672, 480, 612, 800, 610, 40, 713, 500, 717, 400, 717, 400, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 3, 50 1022, JackO, Jack O, 250, 10000, 0, 0, 5000, 2, 100, 500, 40, 20, 35, 40, 25, 25, 35, 50, 1, 1, 1, 0, 20, 133, 250, 1500, 672, 480, 617, 300, 622, 400, 624, 400, 620, 400, 615, 300, 1203, 400, 1198, 10000, 616, 600, 0, 0, 0, 0, , , , , , , 2, 30 -1023, FireSkull, Fire Skull, 180, 5000, 0, 0, 100, 2, 75, 175, 35, 15, 30, 30, 20, 20, 25, 60, 1, 1, 1, 3, 23, 175, 600, 1600, 672, 480, 631, 1000, 701, 5000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 2, 30 -1024, PoisonSkull, Poison Skull, 180, 5000, 0, 0, 100, 2, 75, 175, 35, 15, 30, 30, 20, 20, 25, 60, 1, 1, 1, 3, 25, 175, 600, 1600, 672, 480, 631, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 4, 20 -1025, LogHead, Log Head, 30, 500, 0, 0, 30, 1, 7, 20, 50, 5, 1, 1, 1, 0, 20, 25, 1, 1, 1, 3, 22, 129, 800, 1872, 672, 480, 569, 2000, 740, 2500, 743, 3000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 1, 50 -1026, MountainSnake, Mountain Snake, 130, 900, 0, 0, 100, 1, 80, 125, 4, 6, 20, 40, 10, 10, 35, 45, 1, 1, 1, 0, 20, 133, 1000, 1500, 672, 480, 532, 20, 641, 150, 715, 400, 715, 400, 711, 500, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 1, 30 +1023, FireSkull, Fire Skull, 180, 5000, 0, 0, 100, 2, 75, 175, 35, 15, 30, 30, 20, 20, 25, 60, 1, 1, 1, 3, 23, 175, 600, 1600, 672, 480, 631, 1000, 701, 5000, 1233, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 2, 30 +1024, PoisonSkull, Poison Skull, 180, 5000, 0, 0, 100, 2, 75, 175, 35, 15, 30, 30, 20, 20, 25, 60, 1, 1, 1, 3, 25, 175, 600, 1600, 672, 480, 631, 1000, 0, 0, 1233, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 4, 20 +1025, LogHead, Log Head, 30, 500, 0, 0, 30, 1, 7, 20, 50, 5, 1, 1, 1, 0, 20, 25, 1, 1, 1, 3, 22, 129, 800, 1872, 672, 480, 569, 2000, 740, 2500, 743, 3000, 1232, 1000, 1229, 1000, 1230, 1000, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 1, 50 +1026, MountainSnake, Mountain Snake, 130, 900, 0, 0, 100, 1, 80, 125, 4, 6, 20, 40, 10, 10, 35, 45, 1, 1, 1, 0, 20, 133, 1000, 1500, 672, 480, 532, 20, 641, 150, 715, 400, 715, 400, 711, 500, 1231, 2500, 1229, 1200, 0, 0, 0, 0, 0, 0, , , , , , , 1, 30 1027, EasterFluffy, Easter Fluffy, 30, 500, 0, 0, 3, 1, 10, 12, 0, 5, 1, 1, 1, 0, 20, 25, 1, 1, 1, 3, 20, 129, 800, 1872, 672, 480, 1208, 2000, 1209, 2000, 1210, 2000, 1211, 1000, 1212, 1000, 1213, 200, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 1, 40 -1028, Mouboo, Mouboo, 85, 1200, 0, 0, 40, 2, 30, 75, 65, 5, 15, 5, 15, 0, 40, 10, 2, 2, 1, 3, 20, 129, 600, 1872, 672, 480, 660, 200, 660, 100, 541, 750, 660, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 1, 30 +1028, Mouboo, Mouboo, 85, 1200, 0, 0, 40, 2, 30, 75, 65, 5, 15, 5, 15, 0, 40, 10, 2, 2, 1, 3, 20, 129, 600, 1872, 672, 480, 660, 200, 660, 100, 541, 750, 660, 10, 1230, 1800, 1229, 1800, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 1, 30 1029, MauvePlant, Mauve Plant, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 3, 22, 0, 800, 800, 672, 480, 680, 3000, 680, 3000, 680, 3000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 1, 60 1030, CobaltPlant, Cobalt Plant, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 3, 22, 0, 800, 800, 672, 480, 681, 3000, 681, 3000, 681, 3000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 0, 0 1031, GambogePlant, Gamboge Plant, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 3, 22, 0, 800, 800, 672, 480, 682, 3000, 682, 3000, 682, 3000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 0, 0 @@ -33,16 +33,16 @@ 1033, SeaSlime, Sea Slime, 70, 600, 0, 0, 9, 1, 30, 50, 3, 7, 1, 25, 1, 0, 30, 30, 1, 1, 1, 0, 41, 131, 1500, 1872, 672, 480, 535, 800, 657, 800, 518, 500, 510, 1000, 700, 100, 1199, 5000, 568, 100, 541, 50, 0, 0, 0, 0, , , , , , , 0, 0 1034, GrassSnake, Grass Snake, 140, 1000, 0, 0, 100, 1, 80, 120, 2, 10, 20, 40, 10, 10, 40, 50, 1, 1, 1, 0, 20, 133, 500, 1100, 672, 480, 716, 400, 716, 400, 712, 500, 676, 500, 660, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 1, 40 1035, Silkworm, Silkworm, 20, 1, 0, 0, 1, 1, 0, 0, 2, 10, 20, 11, 10, 10, 40, 10, 1, 1, 1, 0, 20, 129, 1300, 1100, 672, 480, 718, 5000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 2, 40 -1036, Zombie, Zombie, 110, 12000, 0, 0, 800, 2, 275, 355, 20, 15, 30, 15, 30, 3, 60, 40, 1, 1, 1, 0, 29, 133, 480, 1872, 672, 900, 631, 1000, 777, 700, 778, 120, 779, 200, 780, 150, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 2, 30 +1036, Zombie, Zombie, 110, 12000, 0, 0, 800, 2, 275, 355, 20, 15, 30, 15, 30, 3, 60, 40, 1, 1, 1, 0, 29, 133, 480, 1872, 672, 900, 631, 1000, 777, 700, 778, 120, 779, 200, 780, 150, 1223, 120, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 2, 30 1037, CloverPatch, Clover Patch, 1, 1, 0, 0, 1, 1, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 1, 1, 1, 3, 22, 0, 800, 800, 672, 480, 742, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 0, 0 1038, Squirrel, Squirrel, 15, 160, 1, 0, 1, 1, 15, 25, 1, 6, 1, 3, 1, 0, 15, 40, 1, 1, 1, 3, 20, 129, 800, 800, 672, 480, 743, 7000, 680, 1000, 681, 1000, 682, 1000, 683, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 1, 15 //1039, FireLizard -1040, Wisp, Wisp, 70, 9300, 0, 0, 140, 2, 215, 350, 0, 20, 45, 12, 13, 15, 0, 45, 1, 1, 1, 0, 27, 137, 380, 2000, 672, 1500, 772, 500, 703, 150, 703, 120, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 2, 20 +1040, Wisp, Wisp, 70, 9300, 0, 0, 140, 2, 215, 350, 0, 20, 45, 12, 13, 15, 0, 45, 1, 1, 1, 0, 27, 137, 380, 2000, 672, 1500, 772, 500, 703, 150, 703, 120, 1233, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 2, 20 //1041, Snail -1042, Spectre, Spectre, 140, 6500, 0, 3978, 140, 3, 160, 220, 40, 0, 35, 70, 22, 15, 20, 70, 1, 1, 1, 0, 49, 137, 650, 1700, 800, 500, 773, 500, 703, 150, 703, 120, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 2, 20 -1043, Skeleton, Skeleton, 90, 6800, 0, 0, 90, 1, 51, 284, 12, 10, 35, 18, 3, 8, 71, 65, 1, 1, 1, 0, 29, 175, 340, 1800, 672, 950, 775, 200, 775, 280, 776, 300, 631, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 2, 30 -1044, LadySkeleton, Lady Skeleton, 90, 5500, 0, 0, 90, 2, 73, 146, 31, 8, 20, 25, 15, 8, 43, 48, 1, 1, 1, 0, 29, 175, 650, 750, 672, 700, 775, 200, 775, 280, 776, 300, 631, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 2, 30 -1045, Fallen, Fallen, 120, 10000, 0, 7812, 1000, 2, 180, 430, 5, 20, 40, 3, 25, 5, 80, 45, 1, 1, 1, 0, 49, 133, 300, 1200, 672, 300, 775, 210, 775, 210, 776, 300, 631, 1000, 636, 3, 658, 2, 532, 35, 0, 0, 0, 0, 0, 0, , , , , , , 4, 50 +1042, Spectre, Spectre, 140, 6500, 0, 3978, 140, 3, 160, 220, 40, 0, 35, 70, 22, 15, 20, 70, 1, 1, 1, 0, 49, 137, 650, 1700, 800, 500, 773, 500, 703, 150, 703, 120, 1233, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 2, 20 +1043, Skeleton, Skeleton, 90, 6800, 0, 0, 90, 1, 51, 284, 12, 10, 35, 18, 3, 8, 71, 65, 1, 1, 1, 0, 29, 175, 340, 1800, 672, 950, 775, 200, 775, 280, 776, 300, 631, 1000, 1230, 1000, 1229, 1000, 1233, 100, 0, 0, 0, 0, 0, 0, , , , , , , 2, 30 +1044, LadySkeleton, Lady Skeleton, 90, 5500, 0, 0, 90, 2, 73, 146, 31, 8, 20, 25, 15, 8, 43, 48, 1, 1, 1, 0, 29, 175, 650, 750, 672, 700, 775, 200, 775, 280, 776, 300, 631, 1000, 1233, 100, 1232, 1000, 1229, 1000, 0, 0, 0, 0, 0, 0, , , , , , , 2, 30 +1045, Fallen, Fallen, 120, 10000, 0, 7812, 1000, 2, 180, 430, 5, 20, 40, 3, 25, 5, 80, 45, 1, 1, 1, 0, 49, 133, 300, 1200, 672, 300, 775, 210, 775, 210, 776, 300, 631, 1000, 636, 3, 658, 2, 532, 35, 1233, 120, 0, 0, 0, 0, , , , , , , 4, 50 1046, SnakeLord, Snake Lord, 300, 40000, 0, 0, 8000, 2, 80, 120, 10, 10, 20, 40, 10, 10, 40, 10, 1, 1, 1, 0, 20, 132, 200, 1500, 672, 480, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 0, 0 -1047, Poltergeist, Poltergeist, 90, 9000, 0, 0, 140, 3, 110, 150, 0, 20, 35, 0, 15, 15, 75, 50, 1, 1, 1, 0, 27, 137, 330, 740, 672, 400, 774, 500, 703, 150, 703, 120, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 2, 20 +1047, Poltergeist, Poltergeist, 90, 9000, 0, 0, 140, 3, 110, 150, 0, 20, 35, 0, 15, 15, 75, 50, 1, 1, 1, 0, 27, 137, 330, 740, 672, 400, 774, 500, 703, 150, 703, 120, 1233, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, , , , , , , 2, 20 //1048, Duck diff --git a/npc/halloween/2009/Candyman.txt b/npc/halloween/2009/Candyman.txt new file mode 100644 index 00000000..517e94b3 --- /dev/null +++ b/npc/halloween/2009/Candyman.txt @@ -0,0 +1,306 @@ +//################################################################################# +//# This script contains files for Halloween 2009. # +//# Courtesy of: Ceros [scripting], Salmondine [drops], skipy & lien [Candyman], # +//# Freeyorp [the real scripting + PvP quest [[I wish I could have his babies]], # +//# Beelzebub for the Skull mask, Jaxad [for ... and implementation help] # +//# Remoitnane, for putting up with Freeyorp's mistakes during playtesting # +//# Needed: 50 Candy, 50 Chocolate Bars, 50 Caramel Apples, ~60 of any Lollipop # +//# Reward: Skull Mask # +//################################################################################# + +// The Candy Man +009-1.gat,90,27,0 script The Candy Man 183, { + + set @STATE_KNOWS_CANDYMAN, 1; + set @STATE_FETCH_QUEST, 2; + set @STATE_FETCH_DONE, 3; + set @STATE_PVP_QUEST, 4; + set @LAST_KILL_STATE, 10; + set @STATE_FINISHED, 11; + + if ((strcharinfo(0) == "xxMOIKANOXX")) goto L_DIE_IN_A_FIRE; + if (rand(7) > 4) goto L_Malus_PC; + if (Candyman == 0 && BaseLevel <= 30) goto L_Candy_Too_Young; + if (Candyman == @STATE_KNOWS_CANDYMAN) goto L_Candy_Mean_Bastard; + if (Candyman == @STATE_FETCH_QUEST) goto L_Candy_Check; + if (Candyman == @STATE_FETCH_DONE) goto L_Candy_Done; + if (Candyman >= @STATE_PVP_QUEST && Candyman < @LAST_KILL_STATE) goto L_Kill_Someone; + if (Candyman == @LAST_KILL_STATE) goto L_PvP_Done; + if (Candyman == @STATE_FINISHED) goto L_Finished; + if (Candyman == 0) goto L_Candy_Start; + close; + +L_Candy_Start: + if (Sex) + set @honorific$, "boy"; + if (!Sex) + set @honorific$, "girl"; + mes "[The Candy Man]"; + mes "\"Hello little " + @honorific$ + "... want some candy?\""; + next; + menu + "... uh... sure?", L_Candy_Is_A_Girls_Best_Friend, + "No way, creepo! My mom told me about people like you!", -; + close; + +L_Candy_Is_A_Girls_Best_Friend: + mes "[The Candy Man]"; + mes "\"Well too bad! I want it all!\""; + set Candyman, @STATE_KNOWS_CANDYMAN; + close; + +L_Candy_Mean_Bastard: + mes "[The Candy Man]"; + mes "\"What do you wan-- wait. I'm sorry, maybe you could give me a hand, perhaps? There'd be something in it for you, I promise.\""; + next; + menu + "With what - and what would be in it for me?", L_Candy_More_Info, + "Sorry, no time for the likes of you.", close, + "[Clap loudly]", L_Candy_Insult; + close; + +L_Candy_Insult: + callsub S_Taunt_PC; + itemheal -Hp, 0; + misceffect sfx_magic_war; + misceffect sfx_magic_war, strcharinfo(0); + close; + + L_Candy_More_Info: + mes "[The Candy Man]"; + mes "\"You see.. I need some candy for a.. party that I am going to tonight. But, alas, I didn't bring enough candy for everyone. If you bring me the candy I need, I'll give you something to remind you of me and scare others. How's that sound?\""; + next; + menu + "Sorry, I don't like the sound of this..", -, + "Hmm.. OK..", L_Candy_Accept; + close; + +L_Candy_Accept: + set Candyman, @STATE_FETCH_QUEST; + close; + +L_Candy_Check: + mes "[The Candy Man]"; + mes "\"So what have you brought me, fleshy one?\""; + next; + + if (countitem("ChocolateBar") < 50 || countitem("Candy") < 50 || countitem("LollipopColor1") + countitem("LollipopColor2") + countitem("LollipopColor3") < 60 || countitem("CaramelApple") < 50 ) goto L_Check_Not_Enough; + +//L_Sugar_Daddy: OK, so it isn't needed but it is still funny + + mes "[The Candy Man]"; + mes "\"Hmm.. yes, yes.. it seems you do have enough candy. And I guess a promise is a promise and all that happy... stuff. Very well, here is this mask. It's a striking resemblance, isn't it?\""; + + set @LollipopTotal, countItem("LollipopColor1") + countItem("LollipopColor2") + countItem("LollipopColor3"); + + delitem "LollipopColor1", 60 * countItem("LollipopColor1") / @LollipopTotal; // FIXME: Rounding errors? + delitem "LollipopColor2", 60 * countItem("LollipopColor2") / @LollipopTotal; + delitem "LollipopColor3", 60 * countItem("LollipopColor3") / @LollipopTotal; + delitem "ChocolateBar", 50; + delitem "Candy", 50; + delitem "CaramelApple", 50; + + set Candyman, @STATE_FETCH_DONE; + mes "[The Candy Man gives you a Skull Mask.]"; + getitem 1221, 1; + mes "[12,000 experience points]"; + getexp 12000, 0; + + set $CandyOpsComplete, $CandyOpsComplete + 1; + + next; + + mes "[The Candy Man]"; + mes "\"Oh screw it, this is just no fun.\""; + callsub S_Taunt_PC; + misceffect sfx_magic_war; + misceffect sfx_magic_war, strcharinfo(0); + itemheal -Hp, 0; + close; + +L_Check_Not_Enough: + mes "[The Candy Man]"; + mes "\"No, not enough candy, I need more!\""; + mes "\"Yes...\""; + if (countItem("ChocolateBar") < 50) mes "\"Chocolate is always delicious, I need some more from you before I will consider your offerings complete...\""; + if (countItem("Candy") < 50) mes "\"There is the candy, wrapped up and full of energy so good.\""; + if (countItem("CaramelApple") < 50) mes "\"I have seen many caramel apples go by. I will not rest until I have them!\""; + if (countitem("LollipopColor1") + countitem("LollipopColor2") + countitem("LollipopColor3") < 60) mes "\"Lollipops. Any combination, I care not about which types you bring.\""; + mes "\"Come back when you have enough!\""; + close; + +L_Candyman_Trick: + mes "[The Candy Man]"; + mapannounce "009-1", "Mwahahahaha!", 0; + mapannounce "009-2", "Mwahahahaha!", 0; + misceffect sfx_magic_astral; + misceffect sfx_magic_war, strcharinfo(0); + areamonster "this", 88, 25, 92, 29, "", 1022, 1 + rand($CandyOpsComplete) / (5 + rand(rand($CandyOpsComplete))); + close; + +L_Candy_Done: + mes "[The Candy Man]"; + mes "\"Sorry chum, you already got your mask and I already got my candy.\""; + + next; + menu + "Oookay...", -, + "You're sure?", L_Asking_For_It; + close; + +L_Asking_For_It: + mes "[The Candy Man]"; + mes "\"Oooh, we have an eager one here, it seems. Weeeell, I might have something more for you, if you can do something amusing...\""; + next; + menu + "What did you have in mind?", L_PvP_Intro, + "[Carefully back away...]", -; + close; + +L_PvP_Intro: + mes "[The Candy Man]"; + mes "\"Mhm, mhmhmm. Well, there is nothing quite as utterly delightful as watching you little people run around and kill each other. If, say, you manage to kill enough worthy opponents in an amusing manner, I may well have something... special... for you.\""; + next; + set Candyman, @STATE_PVP_QUEST; + menu + "Sure. Mhm. Mhm.", L_PvP_Accept, + "Oooer. That doesn't sound nice at all!", -; + + mes "[The Candy Man]"; + mes "\"How unfortunate. Because I wasn't asking!\""; + goto L_PvP_Warp; + +L_PvP_Accept: + mes "[The Candy Man]"; + mes "\"Good. Because I wasn't asking! Mhm. Mhm. Ahaha, bwuhahahahah!\""; + goto L_PvP_Warp; + +L_PvP_Warp: + misceffect sfx_magic_astral; + misceffect 20, strcharinfo(0); // Teleportation cloud; + warp "001-3", 0, 0; + close; + +L_Kill_Someone: + mes "[The Candy Man]"; + mes "\"Mm? What are you doing back here, get into it!\""; + goto L_PvP_Warp; + +OnPCKilledEvent: + if (Candyman >= 4 && Candyman < 10) goto L_kill_target_recruit; + message strcharinfo(0), "As everything fades, you hear distant laughter..."; + attachrid(@killerrid); + if (Candyman >= 10) close; + if (Candyman >= 4) goto L_killer_check; + close; + +L_kill_target_recruit: + message strcharinfo(0), "Tut tut. Seems you were too hasty."; + if (Candyman > 5 && Candyman < 11) set Candyman, Candyman - 1; + attachrid(@killerrid); + if (Candyman >= 10) close; + if (Candyman >= 4) goto L_killer_check; + setarray @messages$, "Ouch, I felt that you silly person! That 'weakling' you killed gave me some nice candy... now you will suffer...", "Oooh, a good kill... do you want to work for meee for that? Come and see me...", "Exquisite, a perfect kill... can you do it again? Come see me, I'll make it worth your while...", "Awwwww, that was no fun, you couldn't even see the fool's face. Nevermind, he has failed me, he will pay...", "Hmph, you just _know_ you can do better than that..."; + set @pos, rand(getarraysize(@messages$)); + message strcharinfo(0), @messages$[@pos]; + if (@pos == 0) itemheal -Hp / 2 - 40, -Sp / 2 - 40; + close; + +L_killer_check: + if (BaseLevel > @victimlvl) + goto L_kill_boring; + goto L_kill_worthy; + +L_kill_boring: + setarray @messages$, "Bah, not strong enough! Try someone more interesting, and crush them!", "That was no fun. Killing weaklings is only fun when _I_ do it.", "Too fast, that was over just too fast. Kill someone stronger!", "Boooorring. Crush a worthy foe already!"; + message strcharinfo(0), @messages$[rand(getarraysize(@messages$))]; + close; + +L_kill_worthy: + set Candyman, Candyman + 1; + if (Candyman == 10) goto L_final_kill; + setarray @messages$, "Yes! Yes! More! You must kill more of them!", "Get another one. Destroy them! Make it as good as this one!", "Utterly delightful, go smite another one!", "Mhm, mhm. Yes... simply sublime."; + message strcharinfo(0), @messages$[rand(getarraysize(@messages$))]; + getexp 1000 + rand(@victimlvl, @victimlvl * @victimlvl), 0; + close; + +L_final_kill: + message strcharinfo(0), "Yes! YES! _YES!_ Perfect, just perfect. Well, I think it may well be time for a reward, don't you think? Mhm, mhm. Come to see me, and claim your prize..."; + getexp 15000, 0; + close; + +L_PvP_Done: + mes "[The Candy Man]"; + mes "\"Aha, that was good, yes, very good, mhm.\""; + mes "\"And now, your reward...\""; + mes "\"You have your treat...\""; + mes ""; + mes "[20 000 experience points!]"; + mes "[20 000 gp!]"; + getexp 20000, 0; + set zeny, zeny + 20000; + set Candyman, @STATE_FINISHED; + + mes ""; + mes "\"Now, your trick! Mhm, mhmmhmhmhehhm!\""; + goto L_Candyman_Trick; + + +L_Finished: + mes "[The Candy Man]"; + mes "\"Just you wait to see what happens when someone else gives me all that I need, mhm, mhm.\""; + close; + +L_Candy_Too_Young: + + mes "[The Candy Man]"; + mes "\"I don't think you have enough experience to get what I want..\""; + close; + +L_DIE_IN_A_FIRE: + + mes "[The Candy Man]"; + mes "Hi "+strcharinfo(0)+", I heard you were buying up all the candy before I got here..."; + next; + menu + "Whut?",-, + "Uh...",-; + + mes "Very, very bad to steal info out of #tmw-content. No candy for you!"; + callsub S_Taunt_PC; + misceffect sfx_magic_war; + misceffect sfx_magic_war, strcharinfo(0); + itemheal -Hp, 0; + close; + +S_Taunt_PC: + setarray @taunts$, "Die, " + strcharinfo(0) + "!", "Ahah. Aheh. Ahehmwahehehah!", strcharinfo(0) + ", you bore me...", "Rocks fall, everybody dies!", "Why so glum, chum? Everybody has to DIE SOMETIME!", "Why so SERIOUS?", "Do you know how I got this smile, " + strcharinfo(0) + "?", "What, you said you wanted an ivory complexion like mine?", "Tick, tock, tick, tock, BOOM", "BOOM HEADSHOT", "Jigga whut?"; + npctalk @taunts$[rand(getarraysize(@taunts$))]; + return; + +L_Malus_PC: + set @effect, rand(6); + if (@effect == 0) mes "\"Time for you to visit some of my friends...\""; + if (@effect == 0) misceffect sfx_magic_astral; + if (@effect == 0) misceffect 20, strcharinfo(0); + if (@effect == 0) warp "027-1", 0, 0; + if (@effect == 1) mes "\"Misplaced something?\""; + if (@effect == 1) unequipbyid rand(11); + if (@effect == 1) unequipbyid rand(11); + if (@effect == 2) mes "\"Time to cool off, mhm, mhmm.\""; + if (@effect == 2) misceffect sfx_magic_astral; + if (@effect == 2) misceffect 20, strcharinfo(0); + if (@effect == 2) warp "020-1", 0, 0; + if (@effect == 3) mes "\"Ahahehah. Is it me, or is it breezy in here? Mhm.\""; + if (@effect == 3) nude; + if (@effect == 4) mes "\"How delightedly fancy, but I think I can do better for you... aha, aha.\""; + if (@effect == 4) misceffect sfx_magic_astral; + if (@effect == 4) setlook 1, 1+rand(6); + if (@effect == 4) setlook 6, 1+rand(9); + if (@effect == 5) mes "\"...are you still here? Well, not for long...\""; + if (@effect == 5) misceffect sfx_magic_astral; + if (@effect == 5) misceffect 20, strcharinfo(0); + if (@effect == 5) warp "005-3", 0, 0; + close; + +} diff --git a/npc/scripts.conf b/npc/scripts.conf index a419722f..d40bd938 100644 --- a/npc/scripts.conf +++ b/npc/scripts.conf @@ -58,3 +58,6 @@ import: npc/_import.txt // Christmas 2008 // npc: npc/xmas/2008/event.txt + +// Halloween 2009 +npc: npc/halloween/2009/Candyman.txt -- cgit v1.2.3-70-g09d2