Jump to content
  • 0
cadz

request magic attack

Question

hi there i would like to request how to edit / increase the base magic attack in src. im using rathena files thanks a lot in advance =)

Edited by cadz
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

battle.c

 

//MATK_RATE scales the damage. 100 = no change. 50 is halved, 200 is doubled, etc
#define MATK_RATE( a ) { ad.damage= ad.damage*(a)/100; }
//Adds dmg%. 100 = +100% (double) damage. 10 = +10% damage
#define MATK_ADDRATE( a ) { ad.damage+= ad.damage*(a)/100; }
//Adds an absolute value to damage. 100 = +100 damage
#define MATK_ADD( a ) { ad.damage+= a; }
 

 

Edited by Shakto
Link to comment
Share on other sites

computation of the int like in renewal 99 int only give 200+ magic attack then in pre-re give a huge magic attack or i want to make the matk computation in status.c like pre-re dunno where to edit there.

Edited by cadz
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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.