Jump to content
  • 0

How add double(x2) damage and HP for gun, ninja...


Question

16 answers to this question

Recommended Posts

Posted

i think you can try this..

trunk/db/re/job_db1.txt

double the value for every number here...

// Gunslinger
24, 28000,88   ,0    ,450  ,540  ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,490  ,590  ,440  ,940  ,1040 ,2000 ,2000 ,600

except the 1st two number.......which indicated the JobID and Weight ...

  • Upvote 1
Posted (edited)

To increase HP factor, change the following value:

// Gunslinger
24, 28000,88   ,0	,450  ,540  ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,490  ,590  ,440  ,940  ,1040 ,2000 ,2000 ,600

to

// Gunslinger

24, 28000,88 ,0 ,450 ,540 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,490 ,590 ,440 ,940 ,1040 ,2000 ,2000 ,600

For damage, I think it is under source.

Edited by darristan
  • Upvote 1
Posted (edited)

Just change the 0 to 2 and this changes will only happen when leveling. Means changing this wouldn't help any player that is already maxed level.

Edit: I think is 0 to 200 because it will divided by 100. Which mean is a percentage.

val = 35 + sd->status.base_level*hp_coefficient2[val]/100 + hp_sigma_val[val][sd->status.base_level];

Edited by darristan
  • Upvote 1
Posted (edited)

4th number (HP Multiplicator) to percentage you want. (100 = 100%)

I am not quite sure with this, someone please correct me if I am wrong.

Here is the formula of character HP growth:

static unsigned int status_base_pc_maxhp(struct map_session_data* sd, struct status_data* status)

{

unsigned int val = pc_class2idx(sd->status.class_);

val = 35 + sd->status.base_level*hp_coefficient2[val]/100 + hp_sigma_val[val][sd->status.base_level];

if((sd->class_&MAPID_UPPERMASK) == MAPID_NINJA || (sd->class_&MAPID_UPPERMASK) == MAPID_GUNSLINGER)

val += 100; //Since their HP can't be approximated well enough without this.

if((sd->class_&MAPID_UPPERMASK) == MAPID_TAEKWON && sd->status.base_level >= 90 && pc_famerank(sd->status.char_id, MAPID_TAEKWON))

val *= 3; //Triple max HP for top ranking Taekwons over level 90.

if((sd->class_&MAPID_UPPERMASK) == MAPID_SUPER_NOVICE && sd->status.base_level >= 99)

val += 2000; //Supernovice lvl99 hp bonus.

val += val * status->vit/100; // +1% per each point of VIT

if (sd->class_&JOBL_UPPER)

val += val * 25/100; //Trans classes get a 25% hp bonus

else if (sd->class_&JOBL_BABY)

val -= val * 30/100; //Baby classes get a 30% hp penalty

return val;

}

Red text above is value in red:

// Gunslinger

24, 28000,88 ,0 ,450 ,540 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,490 ,590 ,440 ,940 ,1040 ,2000 ,2000 ,600

Edited by darristan
  • Upvote 1
Posted (edited)

can you post your "all that line" replaced number in here to double damage and hp?

// Gunslinger

24, 28000,88 ,0 ,450 ,540 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,490 ,590 ,440 ,940 ,1040 ,2000 ,2000 ,600

hic, so how i have to change?

Edited by zhaosin
Posted

Is you server open to public yet? If not there's no harm to try:

// Gunslinger
24, 28000,88   ,200 ,450  ,540  ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,490  ,590  ,440  ,940  ,1040 ,2000 ,2000 ,600

  • Upvote 1
Posted
// JobID,Weight,HPFactor,HPMultiplicator,SPFactor,Unarmed,Dagger,1HSword,2HSword,1HSpear,2HSpear,1HAxe,2HAxe,1HMace,2HMace(unused),Rod,Bow,Knuckle,Instrument,Whip,Book,Katar,Revolver,Rifle,Gatling Gun,Shotgun,Grenade Launcher,Fuuma Shuriken,2HStaff,Shield
//
// Gunslinger
24, 28000,88 ,0 ,450 ,540 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,490 ,590 ,440 ,940 ,1040 ,2000 ,2000 ,600
// Ninja
25, 26000,80 ,0 ,515 ,440 ,470 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,2000 ,590 ,2000 ,500

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...