Help! How to mod one hit and God Mod

mrchinh5000

Platinian
Original poster
Dec 25, 2017
12
3
3
28
I try to mod some game have battle arena but enemy and player have same dame, same hp when i editted value.Can you show me how to split dame of them.
 

mimilu

Platinian
Jun 9, 2017
14
2
3
23
if it includes something (type: bool)
isplayer
isemeny
isCPU
or other
you may use if statement to split
example:
if(this.isplayer)
{
damage=999999999;
}
else
original damage function;
 

mrchinh5000

Platinian
Original poster
Dec 25, 2017
12
3
3
28
thanks you
if it includes something (type: bool)
isplayer
isemeny
isCPU
or other
you may use if statement to split
example:
if(this.isplayer)
{
damage=999999999;
}
else
original damage function;