jdgwf / battletech-tools

BattleTech and Alpha Strike mech utilities
https://jdgwf.github.io/battletech-tools/
MIT License
25 stars 17 forks source link

AS MUL added force object instance twins #17

Closed jdgwf closed 2 years ago

jdgwf commented 2 years ago

https://github.com/jdgwf/battletech-tools/blob/9e30de816f993fed34dbeb6922d1932a15798280/src/classes/alpha-strike-force.ts#L73

his needs to create a new object either here or on calling function (safer here). When adding from MUL (before a page reload) twin units will be the same instance and take same damage