How to make Shield Restore a channeling ability....

I'm having difficulty getting this ability to work the way I want it...

Basically, I want this ability to last ~25s and give a buff to the target in addition to the instant shields...right now, the buff ShieldRestoreActivate is set to be channeling and interruptable...the buff ShieldRestoreTarget grants a small bonus to shield mitigation and a small shield regen rate...

When the Dunov activates the ability, cancelling orders will "interrupt" the channeling, so the target no longer receives the shield regen bonus or shield mitigation bonus...however, the purple beam effect that "connects" the two ships still persists until the ability "times out"...

I want this ability to be interruptable and channeling, but only the buff seems to stop if the Dunov is interrupted...the beam effect does not seem to be affected by interrupts or channeling...anyone have any ideas on how to get that damn beam effect to terminate?

 

2,258 views 3 replies
Reply #1 Top

I haven't tried it with beams, but I used "ApplyTargettedBuffToSelf", make the self ability channeling/interruptable, and apply the target buff with "ApplyBuffToTargetNoFilterNoRange". The target buff is not channeling and disappears if the self buff is no longer applied.

If that's what you do I'd try to make the activate buff apply another buff to self that handles the beam separately, that stops when the activate buff disappears. Disintegration and Cleansing Brilliance are probably the best abilities to look at.

Reply #2 Top

Shield restore (the ability file) already uses ApplyTargettedBuffToSelf to apply BuffShieldRestoreActivate...in that buff, a "ApplyBuffToTargetNoFilterNoRange" is used to apply BuffShieldTarget, which adds the shields...

I originally modded just BuffShieldTarget to also apply shield mitigation, made BuffShieldRestoreActivate channeling/interruptable, and added a finish condition FirstSpawnerNoLongerHasBuff to BuffShieldTarget...

The ability worked in that if the casting Dunov moved or was interrupted, the target would stop receiving the shield mitigation bonus, but the beam effect still persists....

So I tried what you suggested, and added a third buff file...the ability now calls BuffShieldRestoreCharging, which applied BuffShieldRestoreActivate (which contained the beam effect), which applied BuffShieldRestoreTarget...

BuffShieldRestoreTarget has the finish condition FirstSpawnerNoLongerHasBuff...that finish condition can be tied to either the Activate or Charging buff, and in either case the beam effect still persists but the shield mitigation does not...

There might be some minute detail I'm missing here, but I tested cleansing brilliance and technically it doesn't work either...if you move the radiance while it is using the ability (which is channeling), the targets stop taking damage but the beam still persists...not too much of a problem I suppose for a short 8s ability, but it sure is annoying for a 25s ability and is quite misleading...

This is frustrating....

Reply #3 Top

I have no idea if this would work or even look right, but you could try a periodic action on the beam effect buff that repeats every time the particle would loop, with that buff still cancelling when the activate buff is removed.