summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--world/map/db/item_db_weapon.txt4
-rw-r--r--world/map/npc/003-4/_import.txt1
-rw-r--r--world/map/npc/003-4/ashley.txt61
3 files changed, 64 insertions, 2 deletions
diff --git a/world/map/db/item_db_weapon.txt b/world/map/db/item_db_weapon.txt
index 9e4999f2..e5197400 100644
--- a/world/map/db/item_db_weapon.txt
+++ b/world/map/db/item_db_weapon.txt
@@ -19,7 +19,7 @@
575, DesertBow, 4, 8000, 4000, 1200, 100, 0, 1, 0, 0, 2, 34, 1, 1, 11, {}, {callfunc "UnreleasedItem";set @LauncherType, AMMO_BOW; callfunc "CheckLauncher";}
576, Beheader, 4, 8000, 4000, 2000, 100, 0, 1, 0, 0, 2, 2, 1, 1, 1, {}, {callfunc "UnreleasedItem";}
577, BoneDarts, 4, 8000, 4000, 300, 100, 0, 1, 0, 0, 2, 2, 1, 1, 1, {}, {callfunc "UnreleasedItem"; }
-578, SandCutter, 4, 8000, 4000, 1500, 100, 0, 1, 0, 0, 2, 2, 1, 1, 1, {}, {callfunc "UnreleasedItem";}
+578, SandCutter, 4, 30000, 15000, 1500, 130, 0, 1, 0, 0, 2, 2, 1, 1, 0, {}, {}
579, RockKnife, 4, 15000, 7500, 500, 110, 0, 1, 0, 0, 2, 2, 1, 1, 1, {}, {bonus bVit, 3;}
//ID, Name___________________, Type, Price, Sell, Weight, ATK, DEF, Range, Mbonus, Slot, Gender, Loc, wLV, eLV, View, {UseScript}, {EquipScript}
580, StaffOfLife, 4, 8000, 4000, 1500, 100, 0, 1, 0, 0, 2, 2, 1, 1, 1, {}, {callfunc "UnreleasedItem";}
@@ -52,7 +52,7 @@
1171, Wand, 4, 400, 200, 100, 1, 0, 1, 5, 0, 2, 2, 1, 1, 1, {}, {set @bStat, Int;set @minbStatVal, 5;callfunc "RequireStat";}
762, TerraniteArrow, 10, 80, 20, 1, 50, 0, 0, 0, 0, 2, 32768, 0, 0, 0, {}, {bonus bCritical, 10;set @AmmoType, AMMO_BOW; callfunc "CheckAmmo";}
867, IceGladius, 4, 2000, 1000, 1000, 110, 0, 1, 0, 0, 2, 2, 1, 1, 1, {}, {bonus bLuk, 1;}
-878, BansheeBow, 4, 101000, 40000, 900, 100, 0, 6, 0, 0, 2, 34, 1, 90, 11, {}, {set @bStat, Dex;set @minbStatVal, 80;callfunc "RequireStat"; bonus2 bHPDrainRate, 100, -3; bonus bAspdRate, 20; bonus bCritical, 20; bonus bMaxHP, -150; bonus bDefRate, -40; bonus bDef2Rate, -35;set @LauncherType, AMMO_BOW; callfunc "CheckLauncher";}
+878, BansheeBow, 4, 101000, 40000, 900, 140, 0, 6, 0, 0, 2, 34, 1, 90, 11, {}, {set @bStat, Dex;set @minbStatVal, 80;callfunc "RequireStat"; bonus2 bHPDrainRate, 100, -3; bonus bAspdRate, 20; bonus bMaxHP, -150; bonus bDefRate, -40; bonus bDef2Rate, -35;set @LauncherType, AMMO_BOW; callfunc "CheckLauncher";}
903, SlingShot, 4, 500, 50, 10, 5, 0, 3, 0, 0, 2, 34, 1, 1, 11, {}, {set @LauncherType, AMMO_SLING; callfunc "CheckLauncher";}
904, SlingBullet, 10, 1, 0, 1, 3, 0, 0, 0, 0, 2, 32768, 0, 0, 0, {}, {set @AmmoType, AMMO_SLING; callfunc "CheckAmmo";}
906, KidBook, 4, 10000, 5000, 100, 1, 0, 3, 0, 0, 2, 34, 1, 1, 1, {}, {}
diff --git a/world/map/npc/003-4/_import.txt b/world/map/npc/003-4/_import.txt
index 77ddeb5a..2199a333 100644
--- a/world/map/npc/003-4/_import.txt
+++ b/world/map/npc/003-4/_import.txt
@@ -4,5 +4,6 @@ map: 003-4
npc: npc/003-4/_mobs.txt
npc: npc/003-4/_nodes.txt
npc: npc/003-4/_warps.txt
+npc: npc/003-4/ashley.txt
npc: npc/003-4/mapflags.txt
npc: npc/003-4/time-traveler.txt
diff --git a/world/map/npc/003-4/ashley.txt b/world/map/npc/003-4/ashley.txt
new file mode 100644
index 00000000..48ad10c9
--- /dev/null
+++ b/world/map/npc/003-4/ashley.txt
@@ -0,0 +1,61 @@
+003-4,35,25,0|script|Ashley|139
+{
+ mes "[Ashley]";
+ mes "\"Ah, hello. Your smell is different, you seem to have come from a different time.";
+ mes "Perhaps you have the rare item I'm looking for?\"";
+ menu
+ "Sure!",L_Next,
+ "Sorry, I'm busy.",L_Close;
+
+L_Next:
+ mes "She smiles mischievously.";
+ mes "[Ashley]";
+ mes "\"Oho, I need an item which doesn't exists at this time... It is called Mylarin Dust.\"";
+ next;
+ mes "[Ashley]";
+ mes "Grinning intensifies";
+ mes "\"I'll even give you an old weapon as a reward.\"";
+ next;
+ mes "[Ashley]";
+ mes "\"So, do you have it?\"";
+ menu
+ "Yeah, here is it.",L_Next1,
+ "Not yet.",L_Close;
+
+L_Next1:
+ if (countitem("MylarinDust") < 1)
+ goto L_NoMylarin;
+
+ getinventorylist;
+ if (@inventorylist_count == 100)
+ goto L_FullInv;
+
+ delitem "MylarinDust", 1;
+ getexp 2000, 0;
+ getitem "SandCutter", 1;
+ mes "[Ashley]";
+ mes "Grinning widely";
+ mes "\"Thanks, mortal. This will help me a bit...\"";
+ next;
+ mes "[Ashley]";
+ mes "\"And if you have more Mylarin Dust with you, I will not hesitate to give you another old weapon as a reward.\"";
+ goto L_Close;
+
+L_NoMylarin:
+ mes "[Ashley]";
+ mes "She fakes smiles at you";
+ mes "\"Oh, did you said you wanted me to play with you?\"";
+ next;
+ mes "[Ashley]";
+ mes "\"While I would love to play... I still have to put a prank on Cupid, so you'll have to wait your turn.\"";
+ goto L_Close;
+
+L_FullInv:
+ mes "[Ashley]";
+ mes "\"You're carrying so many things that I feel the urge of stomping you.\"";
+ goto L_Close;
+
+L_Close:
+ set @inventorylist_count, 0;
+ close;
+}