WhiteEagle Posted August 20, 2022 Group: Members Topic Count: 79 Topics Per Day: 0.02 Content Count: 480 Reputation: 67 Joined: 08/28/12 Last Seen: 4 hours ago Share Posted August 20, 2022 Is someone so kind and would write me the function that weapons also get Matk pro upgrade? (For Pre-Renewal) Thanks in advance. Quote Link to comment Share on other sites More sharing options...
0 WhiteEagle Posted August 20, 2022 Group: Members Topic Count: 79 Topics Per Day: 0.02 Content Count: 480 Reputation: 67 Joined: 08/28/12 Last Seen: 4 hours ago Author Share Posted August 20, 2022 At first, thanks for your time and response. I know how to add it as an itemscript, but I don't want to edit it for each weapon individually. I wanted to change it in the source directly I found this part in status.cpp (line 3678) wa->atk += sd->inventory_data[index]->atk; if( info != nullptr ){ wa->atk2 += info->bonus / 100; I tried to add this line below wa->matk += info->bonus / 100; compile error says: 'matk' isn't a member from 'weapon_atk'. Maybe you or someone know what I need to. Quote Link to comment Share on other sites More sharing options...
-1 Emistry Posted August 20, 2022 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Yesterday at 05:32 PM Share Posted August 20, 2022 bonus bMatk,(getrefine() + 10); Magical attack power +10 per refine bonus bMatkRate,(getrefine() + 2); Magical attack power + 2% per refine Quote Link to comment Share on other sites More sharing options...
Question
WhiteEagle
Is someone so kind and would write me the function that weapons also get Matk pro upgrade? (For Pre-Renewal)
Thanks in advance.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.