AnonUser
-
Posts
6 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by AnonUser
-
-
-
Ah okay I replaced it, the min MATK works but the max MATK displays as 0.
Here's what I did though.
/* * Calculates minimum magic attack */ unsigned short status_base_matk_min(struct block_list *bl, const struct status_data* status, int level) { switch (bl->type) { case BL_PET: case BL_MOB: case BL_MER: case BL_ELEM: return status->int_ + level + status->rhw.matk * 70 / 100; case BL_HOM: return status_get_homint(bl) + level + (status_get_homint(bl) + status_get_homdex(bl)) / 5; case BL_PC: default: return status->int_ + (status->int_ / 7) * (status->int_ / 7); } } /* * Calculates maximum magic attack */ unsigned short status_base_matk_max(struct block_list *bl, const struct status_data* status, int level) { switch (bl->type) { case BL_PET: case BL_MOB: case BL_MER: case BL_ELEM: return status->int_ + level + status->rhw.matk * 130 / 100; case BL_HOM: return status_get_homint(bl) + level + (status_get_homluk(bl) + status_get_homint(bl) + status_get_homdex(bl)) / 3; case BL_PC: default: return status->int_ + (status->int_ / 5) * (status->int_ / 5); } }
-
Hi guys, as per topic; where do I change the formula for stats calculation to be based on pre-renewal? The renewal.h only affects stat points required to increase the stats.
I want to use back the old MATK formula in a renewal based server.
Also, the item 15090 cannot be worn by Sniper class despite description stating it is allowed. What is the correct equip_jobs to fix it?
Pre-Renewal INT MATK calculation in Renewal Server
in Source Support
Posted
Oh okay, let me explore around. Thanks for your advice! Much appreciated.