malufett
Retired Staff
'job_db1.txt' Redesign
What is it?
- The file has been upgrade to achieve 2 goals: make it easier for us to update the file and for our users to customize it better.
- The old hp/sp computation has been drop and replace by hp/sp tables.
Job_Name: { // Job names as in src/map/pc.c (they are hardcoded at the moment so if you want to add a new job you should add it there)
Inherit: ( "Other_Job_Name" );
// Base job from which this job will inherit its max weight, base ASPD set and HP/SP table.
InheritHP: ( "Other_Job_Name" );// Base job from which this job will inherit its HP table.
InheritSP: ( "Other_Job_Name" );// Base job from which this job will inherit its SP table.
Weight: Max Weight (int, defaults to 20000, units in Weight/10)
BaseASPD: { // Base ASPD for specific weapon type
Fist: 0~200 (int, defaults to 200)
Dagger: 0~200 (int, defaults to 200)
Sword: 0~200 (int, defaults to 200)
TwoHandSword: 0~200 (int, defaults to 200)
Spear: 0~200 (int, defaults to 200)
TwoHandSpear: 0~200 (int, defaults to 200)
Axe: 0~200 (int, defaults to 200)
TwoHandAxe: 0~200 (int, defaults to 200)
Mace: 0~200 (int, defaults to 200)
TwoHandMace: 0~200 (int, defaults to 200)
Rod: 0~200 (int, defaults to 200)
Bow: 0~200 (int, defaults to 200)
Knuckle: 0~200 (int, defaults to 200)
Instrumen: 0~200 (int, defaults to 200)
Whip: 0~200 (int, defaults to 200)
Book: 0~200 (int, defaults to 200)
Katar: 0~200 (int, defaults to 200)
Revolver: 0~200 (int, defaults to 200)
Rifle: 0~200 (int, defaults to 200)
GatlingGun: 0~200 (int, defaults to 200)
Shotgun: 0~200 (int, defaults to 200)
GrenadeLauncher: 0~200 (int, defaults to 200)
FuumaShuriken: 0~200 (int, defaults to 200)
TwoHandRod: 0~200 (int, defaults to 200)
Shield: 0~200 (int, defaults to 0)
}
HPTable:[ 1, .... 150 ] (int[]) Reference table for base HP per level
SPTable:[ 1, .... 150 ] (int[]) Reference table for base SP per level
// Note: If table index size is smaller than the max level the server will automatically generate the missing index based on the average increase per level.}
Benefit?
- You can now easily specify a class base weight, base aspd for specific weapon types and HP/SP per level.
- Lessen redundant entries and good for the eyes..
- RE ASPD formula is improved to compatibly(less/no more conversion) accept aegis database.
Special Thanks to:
Links
- Commit: https://github.com/HerculesWS/Hercules/commit/b59b9d1ab4c5a21081cdd2af126997ed7093d743
- File: https://github.com/HerculesWS/Hercules/blob/master/db/re/job_db.conf
Last edited by a moderator: