Magic difference between min. and max. dmg

Zero Human

New member
Messages
66
Points
0
Location
Germany, Schleswig-Holstein
Emulator
Client Version
2019-06-26bRagexeRE
It's possible to change the min. and max. damage from magic skills?
Let's take Fire Bolt as example:
Fire Bolt does on a Geographer 4.000 ~ 7.500 damage.
With the requested Change: Just 6.500 ~ 7.500
 

 
Hi.

If you want to change the minimum damage for specific skills, you have to modify battle_calc_magic_attack() in src/map/battle.c.

If you want to change the it generally, you have to modify the MATK calculation in status_get_matk_sub() (RE) or status_base_matk_min() (pre-RE) in src/map/status.c.

And to answer your question in

Give's any src tutorials to learn source edits?
No specific tutorial for Hercules. But there are tons of "C for beginners" guides available on the web.

~Kenpachi

 
Last edited by a moderator:
Back
Top