Jump to content
  • 0

Cart Termination Damage


Ukiram

Question


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.02
  • Content Count:  291
  • Reputation:   26
  • Joined:  12/16/17
  • Last Seen:  

My Max Cart Weight is 20,000 but the damage still 1000 to 2000 only i want it to become 25k or more.

 

Thank you in advanced.

 

Here's my Battle.c

Quote

        case WS_CARTTERMINATION:
            i = 10 * (16 - skill_lv);
            if (i < 1) i = 1;
            //Preserve damage ratio when max cart weight is changed.
            if (sd && sd->cart_weight)
                skillratio += sd->cart_weight / i * 80000 / battle_config.max_cart_weight - 100;
            else if (!sd)
                skillratio += 80000 / i - 100;
            break;
 

 

Link to comment
Share on other sites

13 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  398
  • Reputation:   246
  • Joined:  07/04/19
  • Last Seen:  

you can edit and control the skill damage in

db / skill_damage_db.txt

or

db / import / skill_damage_db.txt

and add this

WS_CARTTERMINATION,1,6,15 - increase 15% skill damage in cart termi
WS_CARTTERMINATION,1,6,-15 - nerf the skill damage by - 15% in cart termi

Edited by BeWan
  • Upvote 2
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.01
  • Content Count:  233
  • Reputation:   50
  • Joined:  12/20/18
  • Last Seen:  

 
Exactly what BeWan said, only change the source if the formula is wrong or if you want to prioritize some execution parameters.

If it is huffing or nerding damage, I recommend using db / skill_damage and use @reloadskilldb to update without having to recompile every time to test the new source.

Repute if I helped;)

 
Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  141
  • Reputation:   45
  • Joined:  08/14/12
  • Last Seen:  

If you want to remove the 8000 cap, change it to

        case WS_CARTTERMINATION:
            i = 10 * (16 - skill_lv);
            if (i < 1) i = 1;
            if (sd && sd->cart_weight)
                skillratio += sd->cart_weight / i * 10 - 100;
            else if (!sd)
                skillratio += 80000 / i - 100;
            break;

 

Edited by nitrous
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.02
  • Content Count:  291
  • Reputation:   26
  • Joined:  12/16/17
  • Last Seen:  

On 11/12/2019 at 2:31 AM, BeWan said:

you can edit and control the skill damage in

db / skill_damage_db.txt

or

db / import / skill_damage_db.txt

and add this

WS_CARTTERMINATION,1,6,15 - increase 15% skill damage in cart termi
WS_CARTTERMINATION,1,6,-15 - nerf the skill damage by - 15% in cart termi

Hi, I already tried this but nothing changed.

On 11/12/2019 at 3:27 AM, nitrous said:

If you want to remove the 8000 cap, change it to


        case WS_CARTTERMINATION:
            i = 10 * (16 - skill_lv);
            if (i < 1) i = 1;
            if (sd && sd->cart_weight)
                skillratio += sd->cart_weight / i * 10 - 100;
            else if (!sd)
                skillratio += 80000 / i - 100;
            break;

 

I will test this if its work or not. Thanks

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  398
  • Reputation:   246
  • Joined:  07/04/19
  • Last Seen:  

1 minute ago, Ryo Osaki said:

Hi, I already tried this but nothing changed.

it will work if you use latest git.

if you really want to test it if working or not put 1000 or 5000 you will see the difference.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.02
  • Content Count:  291
  • Reputation:   26
  • Joined:  12/16/17
  • Last Seen:  

37 minutes ago, nitrous said:

If you want to remove the 8000 cap, change it to


        case WS_CARTTERMINATION:
            i = 10 * (16 - skill_lv);
            if (i < 1) i = 1;
            if (sd && sd->cart_weight)
                skillratio += sd->cart_weight / i * 10 - 100;
            else if (!sd)
                skillratio += 80000 / i - 100;
            break;

 

Hi, it works but too much damage. How to reduce it like 20 - 30%?

image.png.99150dbbd3c14d851e29b1187f711ada.png

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  398
  • Reputation:   246
  • Joined:  07/04/19
  • Last Seen:  

8 minutes ago, Ryo Osaki said:

Hi, it works but too much damage. How to reduce it like 20 - 30%?

image.png.99150dbbd3c14d851e29b1187f711ada.png

that's why skill_damage_db is not working cuz you test it on mob but in skill you just declare it in pvp and woe player
 

WS_CARTTERMINATION,1,6,15 - 1 = player only and 2+4 = 6 ( pvp and gvg type only )

if you want to work even in mob use this

this is the guide if you want to work on mob and other type 

// AB_ADORAMUS,1,6,-40,-40,-40,-40 // In PVP and GVG, players deal +50% damage to other players, +0% to mobs, +10% to bosses, and +15% to other with Adoramus.

Edited by BeWan
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.02
  • Content Count:  291
  • Reputation:   26
  • Joined:  12/16/17
  • Last Seen:  

3 minutes ago, BeWan said:

that's why skill_damage_db is not working cuz you test it on mob but in skill you just declare it in pvp and woe player
 

WS_CARTTERMINATION,1,6,15 - 1 = pvp and 6 = gvg type only 

if you want to work even in mob use this

this is the guide if you want to work on mob and other type 

// AB_ADORAMUS,1,6,-40,-40,-40,-40 // In PVP and GVG, players deal +50% damage to other players, +0% to mobs, +10% to bosses, and +15% to other with Adoramus.

How to works from Global Damage? Like not only in monster, players or pvp or gvg map but to all?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  398
  • Reputation:   246
  • Joined:  07/04/19
  • Last Seen:  

2 minutes ago, Ryo Osaki said:

How to works from Global Damage? Like not only in monster, players or pvp or gvg map but to all?

WS_CARTTERMINATION,1,7,1000,1000,1000,1000

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.02
  • Content Count:  291
  • Reputation:   26
  • Joined:  12/16/17
  • Last Seen:  

1 minute ago, BeWan said:

WS_CARTTERMINATION,1,7,1000,1000,1000,1000

Will work to all?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  398
  • Reputation:   246
  • Joined:  07/04/19
  • Last Seen:  

1 minute ago, Ryo Osaki said:

Will work to all?

yeah if you just read the instruction in the first line

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.02
  • Content Count:  291
  • Reputation:   26
  • Joined:  12/16/17
  • Last Seen:  

1 minute ago, BeWan said:

yeah if you just read the instruction in the first line

Okay thanks. I'll give you guys reputation. ❤️ 
How about Soul Link Single Strip Mod for Rogue?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  398
  • Reputation:   246
  • Joined:  07/04/19
  • Last Seen:  

2 minutes ago, Ryo Osaki said:

Okay thanks. I'll give you guys reputation. ❤️ 
How about Soul Link Single Strip Mod for Rogue?

check your inbox.

Link to comment
Share on other sites

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.

×
×
  • Create New...