summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLed Mitz <smoothshifter@tuta.io>2024-09-09 16:17:12 +0000
committerLed Mitz <smoothshifter@tuta.io>2024-09-09 16:17:12 +0000
commite2d7c1fff4fca548077f4487a3a27e30eee8bcc9 (patch)
tree2775bbd5cfedbff29d924f5993f6e6b749009e5d
parentf972480ed0897cf38cb857bfd05183654617d6c2 (diff)
downloadserverdata-e2d7c1fff4fca548077f4487a3a27e30eee8bcc9.tar.gz
serverdata-e2d7c1fff4fca548077f4487a3a27e30eee8bcc9.tar.bz2
serverdata-e2d7c1fff4fca548077f4487a3a27e30eee8bcc9.tar.xz
serverdata-e2d7c1fff4fca548077f4487a3a27e30eee8bcc9.zip
Makes Long Sword attainable
- Made use of perfect hit(max dmg normal hit). Adds 7% dmg on top 11% of the time. - Made it a level 2 weapon for increased min dmg. - Used prime numbers for kicks and avoided increments of 5 and 10 in stat reqs to promote decision making on stat bonuses. - Added to Emo as a 1 in 10,000 rare drop. I'll omit adding to Chronos until we audit him. Would like to add to Nickolas, but discussion on how much it should cost and what quest prerequisites there should be need to be discussed before/if adding a commit. It should be a quest itself, I figure.
-rw-r--r--world/map/db/item_db.conf18
-rw-r--r--world/map/db/item_db_weapon.txt2
-rw-r--r--world/map/db/mob_db.conf1
-rw-r--r--world/map/db/mob_db_over_100.txt2
4 files changed, 16 insertions, 7 deletions
diff --git a/world/map/db/item_db.conf b/world/map/db/item_db.conf
index b9c3ef1f..01a2a16c 100644
--- a/world/map/db/item_db.conf
+++ b/world/map/db/item_db.conf
@@ -821,20 +821,28 @@ item_db: (
AegisName: "LongSword"
Name: "LongSword"
Type: "IT_WEAPON"
- Buy: 1000
- Sell: 500
+ Buy: 20000
+ Sell: 10000
Weight: 1300
- Atk: 150
+ Atk: 149
Range: 1
Slots: 1
Loc: "EQP_HAND_R"
- WeaponLv: 1
+ WeaponLv: 2
EquipLv: 1
Refine: false
ViewSprite: 1
Subtype: "W_1HSWORD"
+ OnEquipScript: <"
+ callfunc "RequireStat", bStr, 31, EQI_HAND_R;
+ callfunc "RequireStat", bVit, 67, EQI_HAND_R;
+ callfunc "RequireStat", bDex, 59, EQI_HAND_R;
+ callfunc "RequireStat", bLuk, 61, EQI_HAND_R;
+ ">
Script: <"
- callfunc "UnreleasedItem", EQI_HAND_R;
+ bonus bBaseWeaponDelayAdjust, -11; // @TMWA
+ bonus bPerfectHitRate, 11;
+ bonus bPerfectHitAddRate, 7;
">
},
{
diff --git a/world/map/db/item_db_weapon.txt b/world/map/db/item_db_weapon.txt
index 1c22799d..a5c25a60 100644
--- a/world/map/db/item_db_weapon.txt
+++ b/world/map/db/item_db_weapon.txt
@@ -32,7 +32,7 @@
587, Sword, 4, 1000, 500, 1500, 140, 0, 1, 0, 0, 2, 2, 1, 1, 2, 0, {}, {callfunc "UnreleasedItem";}
588, BastardSword, 4, 1000, 500, 1500, 150, 0, 1, 0, 0, 2, 2, 1, 1, 2, 0, {}, {callfunc "UnreleasedItem";}
590, DragonSword, 4, 8000, 4000, 1050, 171, 0, 1, 0, 0, 2, 2, 2, 99, 2, 0, {}, {set @bStat, Str; set @minbStatVal, 50; callfunc "RequireStat"; set @bStat, Agi; set @minbStatVal, 50; callfunc "RequireStat"; set @bStat, Vit; set @minbStatVal, 50; callfunc "RequireStat"; set @bStat, Dex; set @minbStatVal, 50; callfunc "RequireStat"; set @bStat, Luk; set @minbStatVal, 50; callfunc "RequireStat"; bonus bStr, 5; bonus bAspdRate, 2; bonus bHit, 5; bonus bBaseWeaponDelayAdjust, -25;}
-591, LongSword, 4, 1000, 500, 1300, 150, 0, 1, 0, 0, 2, 2, 1, 1, 2, 0, {}, {callfunc "UnreleasedItem";}
+591, LongSword, 4, 20000, 10000, 1300, 149, 0, 1, 0, 0, 2, 2, 2, 1, 2, 0, {}, {bonus bBaseWeaponDelayAdjust, -11; bonus bPerfectHitRate, 11; bonus bPerfectHitAddRate, 7;}
594, Spear, 4, 1000, 500, 200, 110, 0, 1, 0, 0, 2, 2, 1, 1, 4, 0, {}, {callfunc "UnreleasedItem";}
596, Pike, 4, 20, 10, 3000, 170, 8, 2, 0, 0, 2, 34, 2, 0, 5, 0, {}, {callfunc "UnreleasedItem";}
609, ImperialBow, 4, 101000, 40000, 900, 110, 0, 6, -9, 0, 2, 34, 1, 90, 11, 0, {}, {set @bStat, Dex; set @minbStatVal, 80; callfunc "RequireStat"; bonus2 bHPDrainRate, 100, 4; bonus bCriticalDef, 10; bonus bFlee, 10; bonus bAspdRate, 10; set @LauncherType, AMMO_BOW; callfunc "CheckLauncher";}
diff --git a/world/map/db/mob_db.conf b/world/map/db/mob_db.conf
index d33b30c4..aa5ab3a8 100644
--- a/world/map/db/mob_db.conf
+++ b/world/map/db/mob_db.conf
@@ -7990,6 +7990,7 @@ mob_db: (
Boots: 5000
LeatherGloves: 200
CrazyRum: 500
+ LongSword: (1, "ODG_BASICSTAT")
}
},
{
diff --git a/world/map/db/mob_db_over_100.txt b/world/map/db/mob_db_over_100.txt
index b65e3800..83fcf351 100644
--- a/world/map/db/mob_db_over_100.txt
+++ b/world/map/db/mob_db_over_100.txt
@@ -47,7 +47,7 @@
1167, SnowmanBoss, SnowmanBoss, 100, 35000, 0, 88970, 2689, 4, 220, 240, 77, 50, 0, 45, 20, 110, 150, 255, 110, 14, 16, 1, 3, 10, 165, 700, 1672, 672, 480, 567, 1600, 5310, 1600, 568, 1600, 4002, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
1169, CrystalSpider, CrystalSpider, 140, 1000, 0, 800, 200, 1, 80, 95, 8, 12, 0, 20, 15, 20, 11, 45, 30, 1, 1, 1, 0, 22, 139, 1000, 1500, 672, 480, 537, 500, 5384, 100, 638, 20, 526, 200, 4002, 20, 4003, 20, 4004, 20, 4005, 20, 4006, 20, 4007, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 40
1173, MontBlanc, MontBlanc, 110, 30000, 0, 100300, 500, 12, 777, 1000, 70, 90, 90, 30, 1, 100, 1, 120, 120, 12, 12, 1, 3, 12, 164, 0, 4000, 672, 480, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
-1174, Emo, Emo, 129, 50150, 80, 150000, 1000, 2, 250, 450, 30, 60, 60, 80, 60, 100, 60, 110, 110, 40, 30, 1, 1, 21, 183, 250, 450, 672, 50, 528, 5000, 532, 200, 5294, 500, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
+1174, Emo, Emo, 129, 50150, 80, 150000, 1000, 2, 250, 450, 30, 60, 60, 80, 60, 100, 60, 110, 110, 40, 30, 1, 1, 21, 183, 250, 450, 672, 50, 528, 5000, 532, 200, 5294, 500, 591, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
1175, MegaManaBug, MegaManaBug, 111, 675, 0, 275, 40, 1, 60, 85, 3, 8, 0, 16, 14, 15, 20, 30, 30, 9, 10, 1, 4, 12, 137, 800, 1800, 672, 480, 505, 1000, 518, 800, 533, 400, 540, 10, 526, 400, 5309, 1000, 5309, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 60
1176, Rotter, Rotter, 130, 6000, 0, 5533, 733, 4, 333, 555, 20, 25, 50, 30, 15, 30, 1, 130, 130, 7, 11, 1, 1, 17, 141, 1200, 2222, 672, 900, 631, 1000, 777, 800, 778, 200, 779, 500, 1198, 500, 5297, 10, 3004, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 30
1177, Rot, Rot, 100, 13, 0, 11, 1, 1, 111, 333, 0, 0, 0, 0, 0, 0, 0, 255, 33, 1, 1, 1, 0, 11, 132, 0, 500, 672, 480, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0