zhaosin Posted October 6, 2012 Group: Members Topic Count: 45 Topics Per Day: 0.01 Content Count: 172 Reputation: 0 Joined: 07/07/12 Last Seen: May 22, 2016 Share Posted October 6, 2012 How add double(x2) damage and HP for gun, ninja...? Quote Link to comment Share on other sites More sharing options...
Yonko Posted October 6, 2012 Group: Members Topic Count: 166 Topics Per Day: 0.03 Content Count: 789 Reputation: 50 Joined: 04/16/12 Last Seen: July 8, 2022 Share Posted October 6, 2012 wrong section i think you better go through src editing in the Source Section 1 Quote Link to comment Share on other sites More sharing options...
Emistry Posted October 6, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted October 6, 2012 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 ... 1 Quote Link to comment Share on other sites More sharing options...
zhaosin Posted October 6, 2012 Group: Members Topic Count: 45 Topics Per Day: 0.01 Content Count: 172 Reputation: 0 Joined: 07/07/12 Last Seen: May 22, 2016 Author Share Posted October 6, 2012 what number i can replace? i just need x2 damage and x2 hp, please help Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted October 6, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted October 6, 2012 (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 October 6, 2012 by darristan 1 Quote Link to comment Share on other sites More sharing options...
zhaosin Posted October 6, 2012 Group: Members Topic Count: 45 Topics Per Day: 0.01 Content Count: 172 Reputation: 0 Joined: 07/07/12 Last Seen: May 22, 2016 Author Share Posted October 6, 2012 what different from 88 and 0 ? What i have to change ? 88x2 =176 ? and about 0? Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted October 6, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted October 6, 2012 Try changing 88 to 166 or change 0 to 2. 1 Quote Link to comment Share on other sites More sharing options...
zhaosin Posted October 6, 2012 Group: Members Topic Count: 45 Topics Per Day: 0.01 Content Count: 172 Reputation: 0 Joined: 07/07/12 Last Seen: May 22, 2016 Author Share Posted October 6, 2012 what mean "or" ? :-s "and" or "or" Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted October 6, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted October 6, 2012 (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 October 6, 2012 by darristan 1 Quote Link to comment Share on other sites More sharing options...
zhaosin Posted October 6, 2012 Group: Members Topic Count: 45 Topics Per Day: 0.01 Content Count: 172 Reputation: 0 Joined: 07/07/12 Last Seen: May 22, 2016 Author Share Posted October 6, 2012 So i need change number 88 or 0 ? Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted October 6, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted October 6, 2012 (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 October 6, 2012 by darristan 1 Quote Link to comment Share on other sites More sharing options...
zhaosin Posted October 6, 2012 Group: Members Topic Count: 45 Topics Per Day: 0.01 Content Count: 172 Reputation: 0 Joined: 07/07/12 Last Seen: May 22, 2016 Author Share Posted October 6, 2012 (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 October 6, 2012 by zhaosin Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted October 6, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted October 6, 2012 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 1 Quote Link to comment Share on other sites More sharing options...
zhaosin Posted October 6, 2012 Group: Members Topic Count: 45 Topics Per Day: 0.01 Content Count: 172 Reputation: 0 Joined: 07/07/12 Last Seen: May 22, 2016 Author Share Posted October 6, 2012 before i try i click rep to thank you so much ^^ and about double damage? Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted October 6, 2012 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted October 6, 2012 // 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 Quote Link to comment Share on other sites More sharing options...
zhaosin Posted October 7, 2012 Group: Members Topic Count: 45 Topics Per Day: 0.01 Content Count: 172 Reputation: 0 Joined: 07/07/12 Last Seen: May 22, 2016 Author Share Posted October 7, 2012 @^: edit how ? Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted October 7, 2012 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted October 7, 2012 Just edit the value you want. Those db.txt uses CSV format, so you can edit them freely. By default, GS unarmed damage is 540, if using dagger = 2000, and so on.. Quote Link to comment Share on other sites More sharing options...
Question
zhaosin
How add double(x2) damage and HP for gun, ninja...?
Link to comment
Share on other sites
16 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.