Return Fire: Difference between revisionsGive feedback
Jump to navigation
Jump to search
changed reflection numbers to be correct |
Automated the damage reflection in the notes and changed the bullet resist amount. |
||
| Line 21: | Line 21: | ||
* '''Damage Reflection Mechanics''' | * '''Damage Reflection Mechanics''' | ||
** Returns the attacker's '''pre-mitigation''' damage (original damage before your [[Damage Resistance|resistances]] apply) | ** Returns the attacker's '''pre-mitigation''' damage (original damage before your [[Damage Resistance|resistances]] apply) | ||
*** Example: If an enemy deals 100 [[Bullet Damage]] while you have | *** Example: If an enemy deals 100 [[Bullet Damage]] while you have 30% [[Bullet Resist]], you reflect {{#expr: 100 * {{#sub:{{#invoke:ItemData|get_prop|{{#var:item_key_or_en}}|BulletDamageReflectedPct}}|0|-1}} / 100}} damage, and you take 70. | ||
** Works even with 100% damage immunity (e.g., {{ItemIcon|Metal Skin}} reflects full damage while preventing damage to the user) | ** Works even with 100% damage immunity (e.g., {{ItemIcon|Metal Skin}} reflects full damage while preventing damage to the user). | ||
== Update history == | == Update history == | ||