https://www.androidutils.com/forum/view ... 53f94d96f7
If you have any questions, you can leave there and i will answer later... (currently is +3AM, i made the post while the idea was fresh, but i need to sleep

Code: Select all
RESISTED_BY_DODGE_MELEE, // probability is calculated as dodge melee is calculated
RESISTED_BY_DODGE_RANGED, // probability is calculated as dodge ranged is calculated
RESISTED_BY_HP, // probability is calculated based on DEFINE_UNIT_BIG_HP_VALUE and unit hp
RESISTED_BY_POWER, // probability is calculated based on DEFINE_UNIT_BIG_POWER_VALUE and unit hp
"effectTriggers":["ON_DAMAGED"], ----------------------------------------------------------------------- what event triggers the effect: ON_DAMAGED, ON_DAMAGED_AMOUNT, ON_DIED, ON_KILL_ENEMY, ON_DAMAGES, ON_DAMAGES_AMOUNT