Jump to content

Recommended Posts

  • 5 months later...
Posted
21 hours ago, danielps said:

Like!!
But 2 questions:

 

1- Does it work for a especific job? is not are you planning to implemment that?

2- can i set negative values? 

 

thanks good job!

1. No

2. The values are in percentage, if you want to reduce it just put number less than 100

  • 1 month later...
  • 1 month later...
  • 10 months later...
  • 8 months later...
  • 4 weeks later...
  • 4 weeks later...
  • 5 months later...
  • 2 months later...
Posted (edited)

Looks like magic is being unresponsive for me, but the other stuff appears to be working on. I downloaded rAthena back in October of 2019 looks like. Anyone else having magic damage not responding to the global changes? (I don't know how to find my git hash number.) Outside of that, I'm loving the mod so far.

Edited by Humble_Bee
  • 10 months later...
  • 4 months later...
  • 1 year later...
  • 4 months later...
Posted
On 5/2/2022 at 12:06 PM, qtdan said:

@Cydh i try to add this on latest git and modified some codes i got no errors but the damage still the same, hope u upload the latest version on latest git thanksss

The only part that needed to change was in pc.cpp

+		case MF_ATK_RATE:
+			nullpo_retr(-1, args);
+
+			switch (args->flag_val) {
+				case DMGRATE_BL:
+				case DMGRATE_SHORT:
+				case DMGRATE_LONG:
+				case DMGRATE_WEAPON:
+				case DMGRATE_MAGIC:
+				case DMGRATE_MISC:
+					return mapdata->atk_rate.rate[args->flag_val];
+				default:
+					return util::umap_get(mapdata->flag, static_cast<int16>(mapflag), 0);
+			}

to
 

+		case MF_ATK_RATE:
+			nullpo_retr(-1, args);
+
+			switch (args->flag_val) {
+				case DMGRATE_BL:
+				case DMGRATE_SHORT:
+				case DMGRATE_LONG:
+				case DMGRATE_WEAPON:
+				case DMGRATE_MAGIC:
+				case DMGRATE_MISC:
+					return mapdata->atk_rate.rate[args->flag_val];
+				default:
+					return mapdata->flag[mapflag];
+			}

The rest of the code is still working.

  • 1 year later...
  • 3 months later...

Join the conversation

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

Guest
Reply to this topic...

×   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...