Ancient City Arcan rework.

Contributed by Stayway.
This commit is contained in:
MobiusDev 2015-11-18 13:35:08 +00:00
parent 1694bf3a2f
commit 767e735776
12 changed files with 104 additions and 43 deletions

View File

@ -44908,40 +44908,9 @@ INSERT INTO `spawnlist` VALUES ('26_21', 1, 23160, 217102, 118342, -1736, 0, 0,
INSERT INTO `spawnlist` VALUES ('26_21', 1, 23160, 217986, 110277, -1320, 0, 0, 0, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_21', 1, 23160, 218401, 109644, -1304, 0, 0, 0, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_21', 1, 23160, 220350, 116601, -2096, 0, 0, 0, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 30154, 204969, 88280, -1000, 0, 0, 0, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 30223, 204961, 88381, -1000, 0, 0, 0, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 30361, 204997, 88138, -1000, 0, 0, 0, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 31358, 204991, 88164, -1009, 0, 0, 4836, 0, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32893, 206433, 92096, -544, 0, 0, 50449, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32894, 206832, 90068, -1008, 0, 0, 49151, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32895, 208162, 87299, -1024, 0, 0, 29412, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32896, 208176, 87360, -1024, 0, 0, 29412, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32897, 208281, 89851, -1024, 0, 0, 37604, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32898, 208334, 89729, -1024, 0, 0, 37604, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32899, 208124, 90119, -1024, 0, 0, 37604, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32900, 207551, 86773, -1000, 0, 0, 44315, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32901, 207227, 87730, -1104, 0, 0, 0, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32902, 208813, 88815, -1024, 0, 0, 0, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32903, 207334, 89675, -1104, 0, 0, 0, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32904, 206552, 92107, -544, 0, 0, 50449, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32905, 205697, 87590, -1024, 0, 0, 0, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32906, 206324, 92057, -544, 0, 0, 50449, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32907, 205296, 88528, -1024, 0, 0, 0, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32907, 206898, 90107, -1008, 0, 0, 49151, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32907, 207104, 89808, -1104, 0, 0, 49151, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32907, 208944, 88880, -1024, 0, 0, 32767, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32908, 205360, 88192, -1024, 0, 0, 0, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32908, 206194, 91883, -544, 0, 0, 0, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32908, 206247, 91671, -544, 0, 0, 0, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32908, 206274, 91452, -544, 0, 0, 0, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32908, 206688, 89716, -1104, 0, 0, 49151, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32908, 206738, 91988, -544, 0, 0, 34490, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32908, 206750, 90071, -1008, 0, 0, 49151, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32908, 206772, 91777, -544, 0, 0, 34490, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32908, 206807, 91560, -544, 0, 0, 34490, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32908, 207728, 87008, -1024, 0, 0, 19739, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32908, 208871, 89231, -1024, 0, 0, 32767, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32912, 207488, 86496, -1000, 0, 0, 13028, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32915, 218776, 76696, 1294, 0, 0, 37604, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32916, 202848, 72245, 600, 0, 0, 0, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32916, 202979, 73637, 304, 0, 0, 0, 60, 0, 0, 0);
@ -45312,10 +45281,8 @@ INSERT INTO `spawnlist` VALUES ('26_20', 1, 32920, 227136, 75296, 1024, 0, 0, 0,
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32920, 227460, 78744, 896, 0, 0, 0, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32920, 227696, 78048, 880, 0, 0, 0, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32920, 227744, 76992, 912, 0, 0, 0, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 32921, 207872, 84340, -936, 0, 0, 11547, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_21', 1, 33031, 207798, 112440, -2064, 0, 0, 0, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_21', 1, 33032, 207896, 112474, -2056, 0, 0, 0, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 33089, 211049, 89489, -1144, 0, 0, 0, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_21', 1, 33090, 207548, 112632, -2016, 0, 0, 0, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_21', 1, 33133, 213044, 115265, -897, 0, 0, 0, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_21', 1, 33133, 213700, 115912, -1991, 0, 0, 0, 60, 0, 0, 0);
@ -45328,15 +45295,52 @@ INSERT INTO `spawnlist` VALUES ('26_21', 1, 33136, 213700, 115912, -896, 0, 0, 0
INSERT INTO `spawnlist` VALUES ('26_21', 1, 33138, 209824, 119364, -1328, 0, 0, 0, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_21', 1, 33139, 217788, 110940, -1320, 0, 0, 0, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_21', 1, 33140, 217792, 119136, -1736, 0, 0, 0, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 33514, 208188, 90084, -1024, 0, 0, 37604, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 33521, 208300, 90005, -1024, 0, 0, 37604, 60, 0, 0, 0);
INSERT INTO `spawnlist` VALUES ('26_20', 1, 33534, 208486, 89741, -1024, 0, 0, 45796, 60, 0, 0, 0);
-- Arcan Npc Managers
INSERT INTO `spawnlist` VALUES ('26_20', '1', '31829', '207160', '86781', '-1027', '0', '0', '19739', '0', '0', '0', '0');
INSERT INTO `spawnlist` VALUES ('26_20', '1', '33587', '207143', '86733', '-1028', '0', '0', '21143', '0', '0', '0', '0');
INSERT INTO `spawnlist` VALUES ('26_20', '1', '32327', '207205', '86800', '-1028', '0', '0', '57343', '0', '0', '0', '0');
INSERT INTO `spawnlist` VALUES ('26_20', '1', '33956', '207236', '86780', '-1028', '0', '0', '25730', '0', '0', '0', '0');
-- Arcan City NPC's Spawn correct loc
INSERT INTO `spawnlist` VALUES
('Arcan', 1, 30154, 204969, 88280, -1000, 0, 0, 7592, 60, 0, 0, 0),
('Arcan', 1, 30223, 204961, 88381, -1000, 0, 0, 62719, 60, 0, 0, 0),
('Arcan', 1, 30361, 204997, 88138, -1000, 0, 0, 4347, 60, 0, 0, 0),
('Arcan', 1, 31358, 204980, 88166, -1000, 0, 0, 6321, 60, 0, 0, 0),
('Arcan', 1, 31829, 207158, 86787, -1024, 0, 0, 21219, 60, 0, 0, 0),
('Arcan', 1, 32327, 207197, 86814, -1024, 0, 0, 15229, 60, 0, 0, 0),
('Arcan', 1, 32893, 206433, 92096, -544, 0, 0, 51168, 60, 0, 0, 0),
('Arcan', 1, 32894, 206832, 90068, -1008, 0, 0, 51088, 60, 0, 0, 0),
('Arcan', 1, 32895, 208162, 87299, -1024, 0, 0, 26404, 60, 0, 0, 0),
('Arcan', 1, 32896, 208176, 87360, -1024, 0, 0, 30140, 60, 0, 0, 0),
('Arcan', 1, 32897, 208281, 89851, -1024, 0, 0, 41057, 60, 0, 0, 0),
('Arcan', 1, 32898, 208334, 89729, -1024, 0, 0, 40070, 60, 0, 0, 0),
('Arcan', 1, 32899, 208124, 90119, -1024, 0, 0, 43992, 60, 0, 0, 0),
('Arcan', 1, 32900, 207551, 86773, -1000, 0, 0, 43163, 60, 0, 0, 0),
('Arcan', 1, 32904, 206552, 92107, -544, 0, 0, 46352, 60, 0, 0, 0),
('Arcan', 1, 32905, 205697, 87590, -1024, 0, 0, 64697, 60, 0, 0, 0),
('Arcan', 1, 32906, 206324, 92057, -544, 0, 0, 54604, 60, 0, 0, 0),
('Arcan', 1, 32907, 205296, 88528, -1024, 0, 0, 3040, 60, 0, 0, 0),
('Arcan', 1, 32907, 206898, 90107, -1008, 0, 0, 49151, 60, 0, 0, 0),
('Arcan', 1, 32907, 206941, 86886, -1024, 0, 0, 34058, 60, 0, 0, 0),
('Arcan', 1, 32907, 207104, 89808, -1104, 0, 0, 51764, 60, 0, 0, 0),
('Arcan', 1, 32907, 208944, 88880, -1024, 0, 0, 35332, 60, 0, 0, 0),
('Arcan', 1, 32908, 205360, 88192, -1024, 0, 0, 2468, 60, 0, 0, 0),
('Arcan', 1, 32908, 206194, 91883, -544, 0, 0, 1580, 60, 0, 0, 0),
('Arcan', 1, 32908, 206247, 91671, -544, 0, 0, 1884, 60, 0, 0, 0),
('Arcan', 1, 32908, 206274, 91452, -544, 0, 0, 1724, 60, 0, 0, 0),
('Arcan', 1, 32908, 206688, 89716, -1104, 0, 0, 52820, 60, 0, 0, 0),
('Arcan', 1, 32908, 206738, 91988, -544, 0, 0, 35104, 60, 0, 0, 0),
('Arcan', 1, 32908, 206750, 90071, -1008, 0, 0, 52233, 60, 0, 0, 0),
('Arcan', 1, 32908, 206772, 91777, -544, 0, 0, 34512, 60, 0, 0, 0),
('Arcan', 1, 32908, 206807, 91560, -544, 0, 0, 34728, 60, 0, 0, 0),
('Arcan', 1, 32908, 207728, 87008, -1024, 0, 0, 5525, 60, 0, 0, 0),
('Arcan', 1, 32908, 208871, 89231, -1024, 0, 0, 34160, 60, 0, 0, 0),
('Arcan', 1, 32912, 207488, 86496, -1000, 0, 0, 10472, 60, 0, 0, 0),
('Arcan', 1, 33089, 211049, 89489, -1144, 0, 0, 0, 60, 0, 0, 0),
('Arcan', 1, 33137, 207085, 88723, -1128, 0, 0, 0, 60, 0, 0, 0),
('Arcan', 1, 33137, 207088, 88720, -1128, 0, 0, 0, 60, 0, 0, 0),
('Arcan', 1, 33514, 208188, 90084, -1024, 0, 0, 45032, 60, 0, 0, 0),
('Arcan', 1, 33521, 208300, 90005, -1024, 0, 0, 41547, 60, 0, 0, 0),
('Arcan', 1, 33534, 208486, 89741, -1024, 0, 0, 41517, 60, 0, 0, 0),
('Arcan', 1, 33564, 208097, 84374, -1136, 0, 0, 21804, 60, 0, 0, 0),
('Arcan', 1, 33587, 207140, 86742, -1024, 0, 0, 16440, 60, 0, 0, 0),
('Arcan', 1, 33956, 207240, 86790, -1024, 0, 0, 24575, 60, 0, 0, 0);
-- Anghel Waterfall Portal to Arcan
INSERT INTO `spawnlist` VALUES ('25_20', '1', '32910', '175148', '90632', '-2202', '0', '0', '0', '60', '0', '0', '0');
@ -51407,7 +51411,6 @@ INSERT INTO `spawnlist` VALUES
-- Hermuncus Minions
INSERT INTO `spawnlist` VALUES
('Hermuncus Minion', 1, 33564, 208097, 84374, -936, 0, 0, 22517, 60, 0, 0, 0),
('Hermuncus Minion', 1, 33565, 207036, 111212, -2032, 0, 0, 0, 60, 0, 0, 0),
('Hermuncus Minion', 1, 33566, 214341, 79639, 824, 0, 0, 7699, 60, 0, 0, 0),
('Hermuncus Minion', 1, 33567, 187542, 20693, -3608, 0, 0, 43672, 60, 0, 0, 0),

View File

@ -0,0 +1,6 @@
<html><head><body>Enchanter Lykus:<br>
You brought a shield from Orbis Temple! That is a powerful shield used by the ancient heroes - very useful!<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 4">"Do you know how to use this shield?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 0">"I want to enchant it." (5000 Adena)</Button> <!-- FIX ME -->
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 0">"I actually brought more than one. I want to enchant all of them." (5000 Adena per shield)</Button> <!-- FIX ME -->
</body></html>

View File

@ -0,0 +1,9 @@
<html><head><body>Enchanter Lykus:<br>
Enchantment requires a lot of effort. Repeat what I do if you want to be good at it!<br><br>
First! Shout my name three times!<br><br>
Second! Circle Ancient City Arcan three times!<br><br>
Lastly! Go to a quiet place, and imagine yourself holding the enchanted weapons or armor! Right!<br><br>
You can't skip any of the steps!<br><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 5">"My heart is weak so I can't enchant."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 6">"I did what you said but nothing happened."</Button>
</body></html>

View File

@ -0,0 +1,8 @@
<html><head><body>Enchanter Lykus:<br>
Go and enchant a +16 weapon to make it +17!<br>
You can't fail since I bestowed you with my blessing!<br>
Don't worry and just do as I told you!<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 2">"I would like to learn from you."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 6">"I failed while enchanting +16."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 7">"I succeeded and made a +17!"</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><head><body>Enchanter Lykus:<br>
This shield has amazing power that can push dark power away.<br>
If you do enchant, you will be able to <font color="LEVEL">defeat the power of darkness</font> that is deeply embedded into Orbis Temple or <font color="LEVEL">refelct the petrification</font> that is used.<br>
</body></html>

View File

@ -0,0 +1,3 @@
<html><head><body>Enchanter Lykus:<br>
Just trust me and enchant only once! Believe in yourself!<br>
</body></html>

View File

@ -0,0 +1,6 @@
<html><head><body>Enchanter Lykus:<br>
No...! Really?<br>
I can't believe it... !<br>
Did you really follow what I said?<br>
I must... say I'm sorry! Hit me as much as you want! I'm sorry! Hit me!
</body></html>

View File

@ -0,0 +1,8 @@
<html><head><body>Enchanter Lykus:<br>
Excellent! Great work!<br>
You are quite brave!<br>
Now, if you can step up with one more enchant, I'll give you a wonderful thing.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 6">"Enchanting failed!"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 8">"I did already...! (Really?)"</Button>
>
</body></html>

View File

@ -0,0 +1,5 @@
<html><head><body>Enchanter Lykus:<br>
Ah, are you... serious? Ha. Hahahahaha!<br>
Someone actually did it. I apologize. I don't have anything ready, to tell you the truth. I'm really sorry...<br>
I didn't mean to make fun of you!<br>
</body></html>

View File

@ -0,0 +1,7 @@
<html><head><body>Enchanter Lykus:<br>
Stronger! Harder! I am an enchant expert, name's Lykus.<br>
Would you like to use my services? <font color="LEVEL">Go for it! Then you'll get it!</font><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 1">"I want to enchant the shield I got at Orbis Temple."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 2">"Any advice on enchantment?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 3">"Do you have any quests?"</Button>
</body></html>

View File

@ -66,6 +66,7 @@ public final class Nomi extends AbstractNpcAI
new Location(87340, -141620, -1341, 16383), // Schuttgart
new Location(111728, 219962, -3659, 473), // Heine
new Location(116514, 75899, -2730, 6558), // Hunters
new Location(207393, 89693, -1104, 388), // Arcan
};
private static final int MAX_BLESS_PROTECTION_LEVEL = 40;
private static final int MAX_BUFF_LEVEL = 90;

View File

@ -1942,7 +1942,8 @@
</parameters>
<race>ELF</race>
<sex>MALE</sex>
<stats str="40" int="21" dex="30" wit="20" con="43" men="20">
<equipment rhand="6579" /> <!-- rhand: Arcan Mace -->
<stats>
<vitals hp="2444.46819" hpRegen="7.5" mp="1345.8" mpRegen="2.7" />
<attack physical="688.86373" magical="470.40463" random="30" critical="4" accuracy="5" attackSpeed="253" type="SWORD" range="40" distance="80" width="120" />
<defence physical="295.91597" magical="216.53847" />