Solved How to add attack and defense multipliers in a game?

Status
Not open for further replies.

Tan22

Awesome Active Platinian
Original poster
May 28, 2019
142
85
43
23
Antartica
So I recently started learning modding but I am unable find any good tutorials for modding atk and defense in online games. So if u guys have any good tutorials available plz send it to me.
 

Keiran98

Approved Modder
Approved Modder
Oct 4, 2020
164
4,859
193
Tamriel
im not sure what you are asking as its the same as modding anything else you just need to find the right offsets and then return a value... or add a slider or whatever
 
  • Like
Reactions: Hiyall360

Hiyall360

Awesome Active Platinian
Jan 14, 2018
131
3,930
193
Mr.Pringlez
I think I understand your question.

For online games, there are sometimes "send" functions, for example "sendAttack" or "sendDamage"
Modders can loop these functions so that they fire 5x or 10x (so damage would be sent to server 5x or 10x instead of just once).

For looping, that's something you'll have to learn in general programming, but I hope I've pointed you in the right direction 😁
 
  • Like
Reactions: Sameer20T

Keiran98

Approved Modder
Approved Modder
Oct 4, 2020
164
4,859
193
Tamriel
I think I understand your question.

For online games, there are sometimes "send" functions, for example "sendAttack" or "sendDamage"
Modders can loop these functions so that they fire 5x or 10x (so damage would be sent to server 5x or 10x instead of just once).

For looping, that's something you'll have to learn in general programming, but I hope I've pointed you in the right direction 😁
your answer makes more sense than what i was thinking XD i completly miss read the question lol
 
  • Love
Reactions: Hiyall360

·҉ dollaz·҉. .

Approved iModder
Approved iModder
Mar 26, 2021
159
1,815
193
Somewhere
you look for functions like get_damage, getdamage, getattack, get_attack, sendDamage, ect. Most of the time they return a float too. I've rarely seen int attack damage in a game

armv7 float hex code:
490008E31EFF2FE1

arm64 float hex code;
00F0271E0008201EC0035FD6
 
  • Like
Reactions: Sameer20T
Status
Not open for further replies.