prowler83 Posted June 21, 2016 Share Posted June 21, 2016 I'm modding a multi-target ability that applies different effects depending on if it hits or misses. The hit/miss result is the same for every target.The problem is that if a soldier is in stasis, it automatically misses, which doesn't make sense for this. It would make sense for my ability to remove stasis, so I tried including an effect to remove stasis first (that hits even on a miss), as part of the same ability, but since the hit result is calculated before any effects are handled, it still counts as a miss.So now I'm trying to create two abilities: the first one removes stasis, and the second one applies my other effects. But I can't figure out how to get the second one to activate from the first one, or set its targets at all. Link to comment Share on other sites More sharing options...
LeaderEnemyBoss Posted June 22, 2016 Share Posted June 22, 2016 Look up the rapidfire ability, it internally uses two abilities and should be a pretty good template for what you want to do Link to comment Share on other sites More sharing options...
prowler83 Posted June 29, 2016 Author Share Posted June 29, 2016 I looked at all of them, and I tried an X2AbilityTrigger_EventListener for the second part of the ability, and it never gets triggered. My AbilityToHitCalc still has log statements in it, and they never show up, so I know it's not that the effects are implemented wrong, it's just not getting called at all. Link to comment Share on other sites More sharing options...
Recommended Posts