Solved How to mod damage?

Status
Not open for further replies.

·҉ dollaz·҉. .

Approved iModder
Approved iModder
Mar 26, 2021
159
1,819
193
Somewhere
Look for function names that involve damage. Like get_damage, getdamage, setdamage or damagevalue. Usually damage is a float. Keep that in mind
 
  • Like
Reactions: Jzons

DeeNastyle

Platinian
Jul 27, 2022
8
2
3
33
France
I think this is the offset you're looking for :

Code:
// RVA: 0xD92288 Offset: 0xD92288 VA: 0xD92288
    public void ApplyAttackDamage(int hpDamage, int shieldDamage, bool isCrit, BattleUnitController attacker, BattleUnitController target, UnitMoveType moveType, DamageTypeEnum damageType, bool showUIMessaging = True, bool canCounterAttack = True, BattleEffectDO sourceEffect, bool fromDestroyModule = False) { }
I guess it has to be used with this one to select if damage variation sould apply to player (increase damage) or ennemy (decrease damage) :

Code:
0xD715D4 Offset: 0xD715D4 VA: 0xD715D4 Slot: 65
    public BattleTurnOwner get_Owner() { }
 
Status
Not open for further replies.