Difference between revisions of "Magic Effect"
Jump to navigation
Jump to search
→Tapering
imported>Evil4Zerggin |
imported>Evil4Zerggin |
||
Line 33: | Line 33: | ||
* '''Taper Duration:''' How long the effect continues. | * '''Taper Duration:''' How long the effect continues. | ||
* '''Taper Weight:''' How strong the effect is at the beginning of the taper duration. For example, a value of 0.5 will make the effect half as strong at the moment the duration expires. | * '''Taper Weight:''' How strong the effect is at the beginning of the taper duration. For example, a value of 0.5 will make the effect half as strong at the moment the duration expires. | ||
* '''Taper Curve:''' Controls how quickly the effect magnitude decreases during the taper duration. (Negative values cause the effect magnitude | * '''Taper Curve:''' Controls how quickly the effect magnitude decreases during the taper duration. (Negative values cause the effect magnitude to increase.) | ||
Specifically, the magnitude at some taper time (time since the duration expired) is | Specifically, the magnitude at some taper time (time since the duration expired) is | ||
magnitude = effect magnitude * Taper Weight * | magnitude = effect magnitude * Taper Weight * (1 - taper time / Taper Duration)<sup>Taper Curve</sup> | ||
====Flags==== | ====Flags==== |