From 14699a5c5d7495b9bc1752d2b35284768e8db134 Mon Sep 17 00:00:00 2001 From: "Hello=)" Date: Thu, 18 Jul 2024 19:55:08 +0300 Subject: v3 of bot weight: add server params constants matching server's code --- world/map/db/params.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'world/map/db/params.txt') diff --git a/world/map/db/params.txt b/world/map/db/params.txt index d600b4ad..38651ff7 100644 --- a/world/map/db/params.txt +++ b/world/map/db/params.txt @@ -28,6 +28,8 @@ NEXTBASEEXP 22 1 NEXTJOBEXP 23 1 Weight 24 1 MaxWeight 25 1 +MaxWeightAdd 26 1 +MaxWeightOverride 27 1 ATK1 41 1 ATK2 42 1 MATK1 43 1 -- cgit v1.2.3-70-g09d2 From 204efe443a070b080a9f41bb81b6ea77abf25409 Mon Sep 17 00:00:00 2001 From: HoraK-FDF Date: Fri, 19 Jul 2024 23:12:55 +0000 Subject: Applied suggested changes to params.txt by HoraK Co-authored-by: HoraK --- world/map/db/params.txt | 46 ++++++++++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 22 deletions(-) (limited to 'world/map/db/params.txt') diff --git a/world/map/db/params.txt b/world/map/db/params.txt index 38651ff7..8d902aef 100644 --- a/world/map/db/params.txt +++ b/world/map/db/params.txt @@ -76,34 +76,36 @@ MUTE_PARTY 1084 1 //MUTE_GUILD 1085 1 AUTOMOD 1086 1 -bMaxHP 6 // MaxHP + n -bMaxSP 8 // MaxSP + n -bStr 13 // STR + n -bAgi 14 // AGI + n -bVit 15 // VIT + n -bInt 16 // INT + n -bDex 17 // DEX + n -bLuk 18 // LUK + n -bAtk 41 // ATK + n (Minimum attack power) -bAtk2 42 // ATK2 + n (Maximum attack power) -bMatk1 43 // MATK1 + n (Maximum magical attack power) -bMatk2 44 // MATK2 + n (Minimum magical attack power) +bMaxHP 6 // MaxHP + n +bMaxSP 8 // MaxSP + n +bStr 13 // STR + n +bAgi 14 // AGI + n +bVit 15 // VIT + n +bInt 16 // INT + n +bDex 17 // DEX + n +bLuk 18 // LUK + n +bMaxWeight 25 // Sets the maximum possible weight to carry to n (bMaxWeight,n;). Note: As a failsave 1000 is added to n, final weight is n + 1000. +bMaxWeightAdd 26 // Adds n to the maximum possible weight to carry (bMaxWeightAdd,n;). Note: As a failsave 1000 is added to n, final weight is MaxWeight + n + 1000. +bAtk 41 // ATK + n (Minimum attack power) +bAtk2 42 // ATK2 + n (Maximum attack power) +bMatk1 43 // MATK1 + n (Maximum magical attack power) +bMatk2 44 // MATK2 + n (Minimum magical attack power) // Greatest of MATK1 and MATK2 is taken and becomes MATK1 and MATK2 is set to 0. // So using MATK2 bonus at the moment has no real benefit you only need greater values to reach same as MATK1. // MATK1 += INT + (INT / 5) * (INT / 5); // MATK2 += INT + (INT / 7) * (INT / 7); // The whole magic system is currently handled in serverdata which only uses MATK1 but the magic attack functions // do already exist in servercode only skills must be added there. -bDef 45 // Equipment DEF + n -bDef2 46 // VIT based DEF + n -bMdef 47 // Equipment MDEF + n -bMdef2 48 // INT based MDEF + n -bHit 49 // Hit + n -bFlee 50 // Flee + n -bFlee2 51 // Perfect Dodge + n -bCritical 52 // Critical + n -bAspd 53 // Attack speed + n -bDeaf 70 +bDef 45 // Equipment DEF + n +bDef2 46 // VIT based DEF + n +bMdef 47 // Equipment MDEF + n +bMdef2 48 // INT based MDEF + n +bHit 49 // Hit + n +bFlee 50 // Flee + n +bFlee2 51 // Perfect Dodge + n +bCritical 52 // Critical + n +bAspd 53 // Attack speed + n +bDeaf 70 // Those which can be used with the arrow are only bCritical, bAtkEle, bHit, bAddEle, bAddRace, bAddSize and bAddEff. The other bonuses are ignored. // For more information, have a look here: http://code.google.com/p/eathena/source/browse/trunk/doc/item_bonus.txt -- cgit v1.2.3-70-g09d2 From 56df7a28b777487680eff7d756a77a45fca3ddb4 Mon Sep 17 00:00:00 2001 From: HoraK-FDF Date: Fri, 19 Jul 2024 23:17:43 +0000 Subject: Applied HoraK suggestion on params.txt Co-authored-by: HoraK --- world/map/db/params.txt | 1 - 1 file changed, 1 deletion(-) (limited to 'world/map/db/params.txt') diff --git a/world/map/db/params.txt b/world/map/db/params.txt index 8d902aef..dae5a243 100644 --- a/world/map/db/params.txt +++ b/world/map/db/params.txt @@ -28,7 +28,6 @@ NEXTBASEEXP 22 1 NEXTJOBEXP 23 1 Weight 24 1 MaxWeight 25 1 -MaxWeightAdd 26 1 MaxWeightOverride 27 1 ATK1 41 1 ATK2 42 1 -- cgit v1.2.3-70-g09d2 From 3cff6e2a77e5f2aeba13156d939c122b5c0cb501 Mon Sep 17 00:00:00 2001 From: HoraK-FDF Date: Fri, 19 Jul 2024 23:48:21 +0000 Subject: Apply 1 suggestion(s) to 1 file(s) Co-authored-by: HoraK-FDF --- world/map/db/params.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'world/map/db/params.txt') diff --git a/world/map/db/params.txt b/world/map/db/params.txt index dae5a243..512d0ac8 100644 --- a/world/map/db/params.txt +++ b/world/map/db/params.txt @@ -83,8 +83,8 @@ bVit 15 // VIT + n bInt 16 // INT + n bDex 17 // DEX + n bLuk 18 // LUK + n -bMaxWeight 25 // Sets the maximum possible weight to carry to n (bMaxWeight,n;). Note: As a failsave 1000 is added to n, final weight is n + 1000. -bMaxWeightAdd 26 // Adds n to the maximum possible weight to carry (bMaxWeightAdd,n;). Note: As a failsave 1000 is added to n, final weight is MaxWeight + n + 1000. +bMaxWeight 25 // Sets the maximum possible weight to carry to n (bMaxWeight,n;). Note: As a failsafe 1000 is added to n, final weight is n + 1000. +bMaxWeightAdd 26 // Adds n to the maximum possible weight to carry (bMaxWeightAdd,n;). Note: As a failsafe 1000 is added to n, final weight is MaxWeight + n + 1000. bAtk 41 // ATK + n (Minimum attack power) bAtk2 42 // ATK2 + n (Maximum attack power) bMatk1 43 // MATK1 + n (Maximum magical attack power) -- cgit v1.2.3-70-g09d2