Open BlackDog86 opened 1 day ago
Pretty happy with this implementation. Commit is simple and clean, docs are done, doesn't interfere with any base-game logic and it's fairly easy to use (modders just have to set bOverRideWeaponTemplateForFlyover on the ability template and it'll use the X2Effect's DamageTypes array for the flyover instead of the one specified by the weapon template). I've tested it with sword slice (got conventional flyover) and a custom ability with the over-ride set and psionic damage in the damagetypes array on the effect (get psionic flyover). Conv: Over-ride ability:
Fixes #1274