Malxados Posted July 23, 2013 Share Posted July 23, 2013 I'm currently messing around with a custom version of the Master Speed force power (or whatever it's called); it's normal script (or rather its portion of the k_inc_force script) includes the following lines of code: if(GetHasSpellEffect(FORCE_POWER_SPEED_BURST, oTarget)) { Sp_RemoveSpellEffectsGeneral(FORCE_POWER_SPEED_BURST, oTarget); } if(GetHasSpellEffect(FORCE_POWER_KNIGHT_SPEED, oTarget)) { Sp_RemoveSpellEffectsGeneral(FORCE_POWER_KNIGHT_SPEED, oTarget); } if(GetHasSpellEffect(FORCE_POWER_SPEED_MASTERY, oTarget)) { Sp_RemoveSpellEffectsGeneral(FORCE_POWER_SPEED_MASTERY, oTarget); } At first I just assumed that this was to keep the powers in the chain from stacking; but as far as I can tell there's no normal circumstance in which you'd have access to one power while still under the effects of a lower tier speed power (except if the lower power stuck around while you leveled up and unlocked the new power, perhaps). Is the above code necessary in any way? Link to comment Share on other sites More sharing options...
Fair Strides 2 Posted July 23, 2013 Share Posted July 23, 2013 but as far as I can tell there's no normal circumstance in which you'd have access to one power while still under the effects of a lower tier speed power (except if the lower power stuck around while you leveled up and unlocked the new power, perhaps). Is the above code necessary in any way? In K1, there's no reason apart from what you mentioned. In TSL, however, it's a safeguard against the Force Chain ability.(If the Exile has tier 1, and Kreia tier 2, it's deactivate tier 1 first). Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.