Jump to content
  • 0

How to write general skill damage increase on condition


Synel

Question


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.01
  • Content Count:  38
  • Reputation:   1
  • Joined:  01/09/17
  • Last Seen:  

If I wanted to increase skill damage by a percentage on some condition, how would I write that into battle.c?

More specifically, on a conditional if statement, what would go after the { to increase skill damage by a percentage?

Edited by Synel
Nvm, found a workaround
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1826
  • Reputation:   288
  • Joined:  08/03/12
  • Last Seen:  

u can add the skill list in skilldamagedb.txt https://github.com/rathena/rathena/blob/master/db/skill_damage_db.txt

read on how it works on certain groups/maps.

First, make sure you already uncomment  //#define ADJUST_SKILL_DAMAGE  in core.h https://github.com/rathena/rathena/blob/master/src/config/core.h

Dont forget to recompile your server.

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.01
  • Content Count:  38
  • Reputation:   1
  • Joined:  01/09/17
  • Last Seen:  

Well, can you write another condition into that somehow? I might just not know enough code yet to do it properly, but I don't think the conditions there would cover what I'm trying to do. 

Edited by Synel
Nvm. Found a workaround
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...