Пример #1
0
 public Psychadelia(ModifierType _type, ModifierParams.Default _modifierParams, ModifierParams.Psychedelia _psychadeliaParams, float _amount)
 {
     type                   = _type;
     defaultParams          = _modifierParams;
     psychadeliaParams      = _psychadeliaParams;
     defaultParams.duration = _psychadeliaParams.duration;
     defaultParams.cooldown = _psychadeliaParams.cooldown;
     amount                 = _amount;
 }
Пример #2
0
 private static void AssignValues()
 {
     generalParams          = new ModifierParams.General(enableCountdown, showOnScoreOverlay, allowScoreDisablingMods, useChannelPoints, cooldownBetweenModifiers, enableTwitchModifiers, maxActiveModifiers, showModStatus, disableForOst);
     speedParams            = new ModifierParams.Speed(speedEnabled, speedDuration, speedCooldown, minSpeed, maxSpeed);
     aimParams              = new ModifierParams.AimAssist(aimAssistEnabled, aimAssistDuration, aimAssistCooldown, minAimAssist);
     psychadeliaParams      = new ModifierParams.Psychedelia(psychedeliaEnabled, psychedeliaDuration, psychedeliaCooldown, minPsychedeliaSpeed, maxPsychedeliaSpeed);
     mineParams             = new ModifierParams.Mines(minesEnabled, minesDuration, minesCooldown);
     wobbleParams           = new ModifierParams.Wobble(wobbleEnabled, wombleEnabled, woobleEnabled, wroblEnabled, wobbleDuration, wobbleCooldown, wobbleMinSpeed, wobbleMaxSpeed);
     invisGunsParams        = new ModifierParams.InvisGuns(invisibleGunsEnabled, invisibleGunsDuration, invisibleGunsCooldown);
     particlesParams        = new ModifierParams.Particles(particlesEnabled, particlesDuration, particlesCooldown, minParticles, maxParticles);
     zOffsetParams          = new ModifierParams.ZOffset(zoffsetEnabled, zoffsetDuration, zoffsetCooldown, minZoffset, maxZoffset);
     betterMeleesParams     = new ModifierParams.BetterMelees(betterMeleesEnabled, betterMeleesDuration, betterMeleesCooldown);
     randomOffsetParams     = new ModifierParams.RandomOffset(randomOffsetEnabled, randomOffsetDuration, randomOffsetCooldown, minRandomOffsetX, maxRandomOffsetX, minRandomOffsetY, maxRandomOffsetY);
     scaleParams            = new ModifierParams.Scale(scaleEnabled, scaleDuration, scaleCooldown, minScale, maxScale);
     randomColorParams      = new ModifierParams.RandomColors(randomColorsEnabled, randomColorsDuration, randomColorsCooldown);
     colorSwapParams        = new ModifierParams.ColorSwap(colorSwapEnabled, colorSwapDuration, colorSwapCooldown);
     streamModeParams       = new ModifierParams.StreamMode(streamModeEnabled, streamModeDuration, streamModeCooldown, maxStreamSpeed);
     hiddenTelegraphsParams = new ModifierParams.HiddenTelegraphs(hiddenTelegraphsEnabled, hiddenTelegraphsDuration, hiddenTelegraphsCooldown);
     unifyColorsParams      = new ModifierParams.UnifyColors(unifyColorsEnabled, unifyColorsDuration, unifyColorsCooldown);
     //timingAttackParams = new ModifierParams.TimingAttack(timingAttackEnabled, timingAttackDuration, timingAttackCooldown);
     //nukeParams = new ModifierParams.Nuke(nukeEnabled, nukeDuration, nukeCooldown);
     stutterChainParams = new ModifierParams.StutterChains(stutterChainsEnabled, stutterChainsDuration, stutterChainsCooldown, stutterChainsMin, stutterChainsMax);
     //bopModeParams = new ModifierParams.BopMode(bopModeEnabled, bopModeDuration, bopModeCooldown);
 }