summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLed Mitz <smoothshifter@tuta.io>2023-08-03 04:27:18 +0000
committerLed Mitz <smoothshifter@tuta.io>2023-08-03 04:27:18 +0000
commita504123617ca6119e31bb1b97af990e4d4612f7b (patch)
tree1a01e402edf5b1e945f7d1a25b491f8c284de5ce
parent9090f9ac33c3a91ea61c96e457d193223afd4d24 (diff)
parentba576a6dd120d7be5f5bd2a0ffa1b9eb17606695 (diff)
downloadclassic-serverdata-a504123617ca6119e31bb1b97af990e4d4612f7b.tar.gz
classic-serverdata-a504123617ca6119e31bb1b97af990e4d4612f7b.tar.bz2
classic-serverdata-a504123617ca6119e31bb1b97af990e4d4612f7b.tar.xz
classic-serverdata-a504123617ca6119e31bb1b97af990e4d4612f7b.zip
Merge branch 'atk_delays' into 'master'
weapon base attack delay standardization See merge request legacy/serverdata!671
-rw-r--r--world/map/db/item_db.conf12
-rw-r--r--world/map/db/item_db_weapon.txt64
-rw-r--r--world/map/db/params.txt1
3 files changed, 44 insertions, 33 deletions
diff --git a/world/map/db/item_db.conf b/world/map/db/item_db.conf
index 60d1b83b..a61de176 100644
--- a/world/map/db/item_db.conf
+++ b/world/map/db/item_db.conf
@@ -395,6 +395,9 @@ item_db: (
Refine: false
ViewSprite: 1
Subtype: "W_DAGGER"
+ Script: <"
+ //bonus bBaseWeaponDelayAdjust, -25; // @TMWA
+ ">
},
{
Id: 572
@@ -548,7 +551,7 @@ item_db: (
EquipLv: 1
Refine: false
ViewSprite: 1
- Subtype: "W_2HAXE"
+ Subtype: "W_1HSWORD"
OnEquipScript: <"
callfunc "NoBowItem", EQI_HAND_R;
if (readparam(bInt) > 1) // @EVOL2
@@ -562,6 +565,7 @@ item_db: (
bonus bSpeedAddRate, 10;
bonus bHit, -20;
bonus bCritical, -25;
+ //bonus bBaseWeaponDelayAdjust, 1600; // @TMWA
">
},
{
@@ -605,6 +609,7 @@ item_db: (
Script: <"
bonus bDoubleAddRate, 5;
bonus bHit, 3;
+ //bonus bBaseWeaponDelayAdjust, 25; // @TMWA
">
},
{
@@ -737,6 +742,7 @@ item_db: (
bonus bStr, 1;
bonus bAspdRate, 1;
bonus bHit, 5;
+ //bonus bBaseWeaponDelayAdjust, 25; // @TMWA
">
},
{
@@ -806,6 +812,7 @@ item_db: (
bonus bStr, 5;
bonus bAspdRate, 2;
bonus bHit, 5;
+ //bonus bBaseWeaponDelayAdjust, -50; // @TMWA
">
},
{
@@ -890,6 +897,9 @@ item_db: (
Refine: false
ViewSprite: 1
Subtype: "W_2HSTAFF"
+ Script: <"
+ //bonus bBaseWeaponDelayAdjust, -150; // @TMWA
+ ">
},
{
Id: 758
diff --git a/world/map/db/item_db_weapon.txt b/world/map/db/item_db_weapon.txt
index 564f8fc0..17bbb847 100644
--- a/world/map/db/item_db_weapon.txt
+++ b/world/map/db/item_db_weapon.txt
@@ -6,52 +6,52 @@
522, SharpKnife, 4, 100, 50, 150, 10, 0, 1, 0, 0, 2, 2, 0, 1, 1, 0, {}, {}
529, IronArrow, 10, 4, 2, 1, 40, 0, 0, 0, 0, 2, 32768, 0, 0, 0, 0, {}, {set @AmmoType, AMMO_BOW; callfunc "CheckAmmo";}
530, ShortBow, 4, 2500, 1000, 600, 50, 0, 5, -5, 0, 2, 34, 0, 4, 11, 0, {}, {set @LauncherType, AMMO_BOW; callfunc "CheckLauncher";}
-536, ShortSword, 4, 8000, 4000, 1200, 110, 0, 1, 0, 0, 2, 2, 0, 1, 1, 0, {}, {}
+536, ShortSword, 4, 8000, 4000, 1200, 110, 0, 1, 0, 0, 2, 2, 0, 1, 2, 0, {}, {}
545, ForestBow, 4, 20000, 5000, 1200, 70, 0, 5, -7, 0, 2, 34, 0, 0, 11, 0, {}, {set @LauncherType, AMMO_BOW; callfunc "CheckLauncher";}
-547, Bardiche, 4, 20, 10, 1200, 200, 0, 2, 0, 0, 2, 2, 0, 0, 1, 0, {}, {callfunc "UnreleasedItem";}
-548, Halberd, 4, 20, 10, 1400, 250, 10, 2, 0, 0, 2, 34, 0, 0, 1, 0, {}, {callfunc "UnreleasedItem";}
-549, Axe, 4, 20, 10, 1200, 120, 0, 1, 0, 0, 2, 2, 0, 0, 1, 0, {}, {callfunc "UnreleasedItem";}
-550, BlacksmithsAxe, 4, 20, 10, 1200, 120, 0, 1, 0, 0, 2, 2, 0, 0, 1, 0, {}, {callfunc "UnreleasedItem";}
-561, Sabre, 4, 10000, 5000, 300, 120, 0, 1, 0, 0, 2, 2, 0, 1, 1, 0, {}, {}
+547, Bardiche, 4, 20, 10, 1200, 200, 0, 2, 0, 0, 2, 2, 0, 0, 4, 0, {}, {callfunc "UnreleasedItem";}
+548, Halberd, 4, 20, 10, 1400, 250, 10, 2, 0, 0, 2, 34, 0, 0, 5, 0, {}, {callfunc "UnreleasedItem";}
+549, Axe, 4, 20, 10, 1200, 120, 0, 1, 0, 0, 2, 2, 0, 0, 6, 0, {}, {callfunc "UnreleasedItem";}
+550, BlacksmithsAxe, 4, 20, 10, 1200, 120, 0, 1, 0, 0, 2, 2, 0, 0, 6, 0, {}, {callfunc "UnreleasedItem";}
+561, Sabre, 4, 10000, 5000, 300, 120, 0, 1, 0, 0, 2, 2, 0, 1, 2, 0, {}, {}
570, BoneKnife, 4, 10000, 6000, 250, 115, 0, 1, 0, 0, 2, 2, 0, 1, 1, 0, {}, {}
-571, Setzer, 4, 20000, 8000, 500, 100, 0, 1, 0, 0, 2, 2, 0, 1, 3, 0, {}, {}
-572, Scimitar, 4, 8000, 4000, 700, 120, 0, 1, 0, 0, 2, 2, 0, 1, 1, 0, {}, {callfunc "UnreleasedItem";}
-573, Falchion, 4, 8000, 4000, 900, 270, 0, 1, 0, 0, 2, 2, 0, 1, 1, 0, {}, {callfunc "UnreleasedItem"; bonus bDoubleAddRate, 40; bonus bHit, -25; bonus bCritical, -25;}
-574, ScorpionKing, 4, 8000, 4000, 600, 120, 0, 1, 0, 0, 2, 2, 0, 1, 1, 0, {}, {callfunc "UnreleasedItem";}
+571, Setzer, 4, 20000, 8000, 500, 100, 0, 1, 0, 0, 2, 2, 0, 1, 1, 0, {}, {bonus bBaseWeaponDelayAdjust, -25;}
+572, Scimitar, 4, 8000, 4000, 700, 120, 0, 1, 0, 0, 2, 2, 0, 1, 2, 0, {}, {callfunc "UnreleasedItem";}
+573, Falchion, 4, 8000, 4000, 900, 270, 0, 1, 0, 0, 2, 2, 0, 1, 2, 0, {}, {callfunc "UnreleasedItem"; bonus bDoubleAddRate, 40; bonus bHit, -25; bonus bCritical, -25;}
+574, ScorpionKing, 4, 8000, 4000, 600, 120, 0, 1, 0, 0, 2, 2, 0, 1, 4, 0, {}, {callfunc "UnreleasedItem";}
575, DesertBow, 4, 8000, 4000, 1200, 85, 0, 7, -10, 0, 2, 34, 0, 1, 11, 0, {}, {callfunc "UnreleasedItem"; set @LauncherType, AMMO_BOW; callfunc "CheckLauncher";}
-576, Beheader, 4, 8000, 4000, 2000, 999, 0, 1, 0, 0, 2, 2, 0, 1, 4, 0, {}, {callfunc "NoBowItem"; set @bStat, Int; set @maxbStatVal, 1; callfunc "RequireMaxStat"; bonus bDoubleAddRate, 50; bonus bSpeedAddRate, 10; bonus bHit, -20; bonus bCritical, -25;}
-577, BoneDarts, 4, 8000, 4000, 300, 100, 0, 3, 0, 0, 2, 2, 0, 1, 1, 0, {}, {callfunc "UnreleasedItem";}
-578, SandCutter, 4, 30000, 15000, 1500, 160, 0, 1, 0, 0, 2, 2, 0, 80, 10, 0, {}, {bonus bDoubleAddRate, 5; bonus bHit, 3;}
+576, Beheader, 4, 8000, 4000, 2000, 999, 0, 1, 0, 0, 2, 2, 0, 1, 2, 0, {}, {callfunc "NoBowItem"; set @bStat, Int; set @maxbStatVal, 1; callfunc "RequireMaxStat"; bonus bDoubleAddRate, 50; bonus bSpeedAddRate, 10; bonus bHit, -20; bonus bCritical, -25; bonus bBaseWeaponDelayAdjust, 1600;}
+577, BoneDarts, 4, 8000, 4000, 300, 100, 0, 3, 0, 0, 2, 2, 0, 1, 22, 0, {}, {callfunc "UnreleasedItem";}
+578, SandCutter, 4, 30000, 15000, 1500, 160, 0, 1, 0, 0, 2, 2, 0, 80, 2, 0, {}, {bonus bDoubleAddRate, 5; bonus bHit, 3; bonus bBaseWeaponDelayAdjust, 25;}
//ID, Name, Type, Price, Sell, Weight, ATK, DEF, Range, Mbonus, Slot, Gender, Loc, wLV, eLV, View, Mode, {UseScript}, {EquipScript}
579, RockKnife, 4, 15000, 7500, 500, 110, 0, 1, 0, 0, 2, 2, 0, 1, 1, 0, {}, {bonus bVit, 3;}
-580, StaffOfLife, 4, 8000, 4000, 1500, 100, 0, 1, 0, 0, 2, 2, 0, 1, 1, 0, {}, {callfunc "UnreleasedItem";}
-581, CrescentRod, 4, 8000, 4000, 1500, 100, 0, 1, 0, 0, 2, 2, 0, 1, 1, 0, {}, {callfunc "UnreleasedItem";}
-582, StaffOfFire, 4, 8000, 4000, 1500, 100, 0, 1, 0, 0, 2, 2, 0, 1, 1, 0, {}, {callfunc "UnreleasedItem";}
-583, StaffOfIce, 4, 8000, 4000, 1500, 100, 0, 1, 0, 0, 2, 2, 0, 1, 1, 0, {}, {callfunc "UnreleasedItem";}
-584, Jackal, 4, 8000, 4000, 1500, 150, 5, 1, 0, 0, 2, 2, 0, 1, 10, 0, {}, {bonus bMaxHP, 50; bonus2 bHPDrainRate, 100, 5; bonus bCriticalDef, 2; bonus bStr, 1; bonus bAspdRate, 1; bonus bHit, 5;}
-587, Sword, 4, 1000, 500, 1500, 140, 0, 1, 0, 0, 2, 2, 0, 1, 1, 0, {}, {callfunc "UnreleasedItem";}
-588, BastardSword, 4, 1000, 500, 1500, 150, 0, 1, 0, 0, 2, 2, 0, 1, 1, 0, {}, {callfunc "UnreleasedItem";}
-590, DragonSword, 4, 8000, 4000, 1050, 161, -2, 1, 0, 0, 2, 2, 0, 1, 3, 0, {}, {bonus bMaxHP, -100; bonus2 bHPDrainRate, 100, -1; bonus bCriticalDef, -2; bonus bStr, 5; bonus bAspdRate, 2; bonus bHit, 5;}
-591, LongSword, 4, 1000, 500, 1300, 150, 0, 1, 0, 0, 2, 2, 0, 1, 1, 0, {}, {callfunc "UnreleasedItem";}
-594, Spear, 4, 1000, 500, 200, 110, 0, 1, 0, 0, 2, 2, 0, 1, 1, 0, {}, {callfunc "UnreleasedItem";}
-596, Pike, 4, 20, 10, 3000, 170, 8, 2, 0, 0, 2, 34, 0, 0, 1, 0, {}, {callfunc "UnreleasedItem";}
+580, StaffOfLife, 4, 8000, 4000, 1500, 100, 0, 1, 0, 0, 2, 2, 0, 1, 10, 0, {}, {callfunc "UnreleasedItem";}
+581, CrescentRod, 4, 8000, 4000, 1500, 100, 0, 1, 0, 0, 2, 2, 0, 1, 10, 0, {}, {callfunc "UnreleasedItem";}
+582, StaffOfFire, 4, 8000, 4000, 1500, 100, 0, 1, 0, 0, 2, 2, 0, 1, 10, 0, {}, {callfunc "UnreleasedItem";}
+583, StaffOfIce, 4, 8000, 4000, 1500, 100, 0, 1, 0, 0, 2, 2, 0, 1, 10, 0, {}, {callfunc "UnreleasedItem";}
+584, Jackal, 4, 8000, 4000, 1500, 150, 5, 1, 0, 0, 2, 2, 0, 1, 2, 0, {}, {bonus bMaxHP, 50; bonus2 bHPDrainRate, 100, 5; bonus bCriticalDef, 2; bonus bStr, 1; bonus bAspdRate, 1; bonus bHit, 5; bonus bBaseWeaponDelayAdjust, 25;}
+587, Sword, 4, 1000, 500, 1500, 140, 0, 1, 0, 0, 2, 2, 0, 1, 2, 0, {}, {callfunc "UnreleasedItem";}
+588, BastardSword, 4, 1000, 500, 1500, 150, 0, 1, 0, 0, 2, 2, 0, 1, 2, 0, {}, {callfunc "UnreleasedItem";}
+590, DragonSword, 4, 8000, 4000, 1050, 161, -2, 1, 0, 0, 2, 2, 0, 1, 2, 0, {}, {bonus bMaxHP, -100; bonus2 bHPDrainRate, 100, -1; bonus bCriticalDef, -2; bonus bStr, 5; bonus bAspdRate, 2; bonus bHit, 5; bonus bBaseWeaponDelayAdjust, -50;}
+591, LongSword, 4, 1000, 500, 1300, 150, 0, 1, 0, 0, 2, 2, 0, 1, 2, 0, {}, {callfunc "UnreleasedItem";}
+594, Spear, 4, 1000, 500, 200, 110, 0, 1, 0, 0, 2, 2, 0, 1, 4, 0, {}, {callfunc "UnreleasedItem";}
+596, Pike, 4, 20, 10, 3000, 170, 8, 2, 0, 0, 2, 34, 0, 0, 5, 0, {}, {callfunc "UnreleasedItem";}
609, ImperialBow, 4, 101000, 40000, 900, 110, 0, 6, -9, 0, 2, 34, 0, 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";}
-623, Scythe, 4, 100, 50, 1200, 120, 5, 2, 0, 0, 2, 34, 0, 1, 3, 0, {}, {}
-758, WoodenStaff, 4, 4000, 2000, 800, 50, 3, 2, 10, 0, 2, 34, 0, 1, 10, 0, {}, {set @bStat, Int; set @minbStatVal, 60; callfunc "RequireStat";}
+623, Scythe, 4, 100, 50, 1200, 120, 5, 2, 0, 0, 2, 34, 0, 1, 23, 0, {}, {bonus bBaseWeaponDelayAdjust, -150;}
+758, WoodenStaff, 4, 4000, 2000, 800, 50, 3, 2, 10, 0, 2, 34, 0, 1, 23, 0, {}, {set @bStat, Int; set @minbStatVal, 60; callfunc "RequireStat";}
762, TerraniteArrow, 10, 80, 20, 1, 50, 0, 0, 0, 0, 2, 32768, 0, 0, 0, 0, {}, {bonus bCritical, 20; set @AmmoType, AMMO_BOW; callfunc "CheckAmmo";}
-867, IceGladius, 4, 2000, 1000, 1000, 130, 0, 1, 0, 0, 2, 2, 0, 1, 1, 0, {}, {bonus bLuk, 1;}
+867, IceGladius, 4, 2000, 1000, 1000, 130, 0, 1, 0, 0, 2, 2, 0, 1, 2, 0, {}, {bonus bLuk, 1;}
878, BansheeBow, 4, 101000, 40000, 900, 140, 0, 6, -9, 0, 2, 34, 0, 90, 11, 0, {}, {set @bStat, Dex; set @minbStatVal, 80; callfunc "RequireStat"; bonus2 bHPDrainRate, 100, -2; bonus bAspdRate, 20; bonus bMaxHP, -150; bonus bSpeedAddRate, 10; bonus bDefRate, -40; bonus bDef2Rate, -35; set @LauncherType, AMMO_BOW; callfunc "CheckLauncher";}
903, SlingShot, 4, 500, 50, 50, 5, 0, 4, 0, 0, 2, 34, 0, 1, 11, 0, {}, {set @LauncherType, AMMO_SLING; callfunc "CheckLauncher";}
904, SlingBullet, 10, 1, 0, 1, 3, 0, 0, 0, 0, 2, 32768, 0, 0, 0, 0, {}, {set @AmmoType, AMMO_SLING; callfunc "CheckAmmo";}
//ID, Name, Type, Price, Sell, Weight, ATK, DEF, Range, Mbonus, Slot, Gender, Loc, wLV, eLV, View, Mode, {UseScript}, {EquipScript}
-906, KidBook, 4, 10000, 5000, 350, 1, 0, 3, 0, 0, 2, 34, 0, 1, 1, 0, {}, {}
-907, FloydBook, 4, 10000, 5000, 350, 1, 0, 3, 0, 0, 2, 34, 0, 135, 1, 7, {}, {}
-1170, SweetTooth, 4, 4000, 2000, 1000, 50, 0, 2, 15, 0, 2, 34, 0, 1, 10, 0, {}, {set @bStat, Int; set @minbStatVal, 60; callfunc "RequireStat";}
-1171, Wand, 4, 400, 200, 100, 1, 0, 1, 5, 0, 2, 2, 0, 1, 1, 0, {}, {set @bStat, Int; set @minbStatVal, 5; callfunc "RequireStat";}
+906, KidBook, 4, 10000, 5000, 350, 1, 0, 3, 0, 0, 2, 34, 0, 1, 22, 0, {}, {}
+907, FloydBook, 4, 10000, 5000, 350, 1, 0, 3, 0, 0, 2, 34, 0, 135, 22, 7, {}, {}
+1170, SweetTooth, 4, 4000, 2000, 1000, 50, 0, 2, 15, 0, 2, 34, 0, 1, 23, 0, {}, {set @bStat, Int; set @minbStatVal, 60; callfunc "RequireStat";}
+1171, Wand, 4, 400, 200, 100, 1, 0, 1, 5, 0, 2, 2, 0, 1, 10, 0, {}, {set @bStat, Int; set @minbStatVal, 5; callfunc "RequireStat";}
1199, Arrow, 10, 1, 0, 1, 20, 0, 0, 0, 0, 2, 32768, 0, 0, 0, 0, {}, {set @AmmoType, AMMO_BOW; callfunc "CheckAmmo";}
1200, Bow, 4, 1000, 500, 20, 20, 0, 5, -2, 0, 2, 34, 0, 4, 11, 0, {}, {set @LauncherType, AMMO_BOW; callfunc "CheckLauncher";}
1201, Knife, 4, 50, 25, 120, 5, 0, 1, 0, 0, 2, 2, 0, 1, 1, 0, {}, {}
-1215, ToySabre, 4, 2000000, 25, 1, 1, 0, 1, 0, 0, 2, 2, 0, 1, 1, 0, {}, {}
+1215, ToySabre, 4, 2000000, 25, 1, 1, 0, 1, 0, 0, 2, 2, 0, 1, 2, 0, {}, {}
1282, BoneArrows, 10, 50, 20, 0, 55, 0, 0, 0, 0, 2, 32768, 0, 0, 0, 0, {}, {bonus bCritical, 1; set @AmmoType, AMMO_BOW; callfunc "CheckAmmo";}
5260, Snowball, 10, 1, 0, 1, 20, 0, 0, 0, 0, 2, 32768, 0, 0, 0, 0, {}, {set @AmmoType, AMMO_XMAS; callfunc "CheckAmmo";}
5261, SnowLauncher, 4, 500, 50, 10, 20, 0, 3, 0, 0, 2, 2, 0, 1, 11, 0, {}, {set @LauncherType, AMMO_XMAS; callfunc "CheckLauncher";}
diff --git a/world/map/db/params.txt b/world/map/db/params.txt
index 2ff72f97..db5a846c 100644
--- a/world/map/db/params.txt
+++ b/world/map/db/params.txt
@@ -177,3 +177,4 @@ bAgiVit 1089 // Adds a n number in Agility and Vitality (bAgiVi
bAgiDexStr 1090 // Adds a n number in Agility, Dexterity and Strengh (bAgiDexStr,n;).
bDeadlyStrikeRate 1091 // Deadly attack probability n% and only the highest among all is applied (bDeadlyStrikeRate,n;).
bDeadlyStrikeAddRate 1092 // A n% bonus of an deadly attack (bDeadlyStrikeAddRate,n;).
+bBaseWeaponDelayAdjust 1093 // Modifies the base attack delay of a weapon, positive values slow down weapons, negative values increase weapon speed (bBaseWeaponDelayAdjust,n;).