public StreamMode(ModifierType _type, ModifierParams.Default _modifierParams, ModifierParams.StreamMode _streamModeParams) { type = _type; defaultParams = _modifierParams; unhookChainsParams = _streamModeParams; defaultParams.duration = _streamModeParams.duration; defaultParams.cooldown = _streamModeParams.cooldown; //speedToTicks.Add(64, 30); //speedToTicks.Add(48, 40); speedToTicks.Add(32, 60); speedToTicks.Add(30, 80); speedToTicks.Add(28, 80); speedToTicks.Add(26, 80); speedToTicks.Add(24, 80); speedToTicks.Add(22, 120); speedToTicks.Add(20, 120); speedToTicks.Add(18, 120); speedToTicks.Add(16, 120); speedToTicks.Add(14, 160); speedToTicks.Add(12, 160); speedToTicks.Add(10, 240); speedToTicks.Add(8, 240); speedToTicks.Add(6, 320); speedToTicks.Add(4, 480); }
public BetterMelees(ModifierType _type, ModifierParams.Default _modifierParams, ModifierParams.BetterMelees _betterMeleesParams) { type = _type; defaultParams = _modifierParams; betterMeleesParams = _betterMeleesParams; defaultParams.duration = _betterMeleesParams.duration; defaultParams.cooldown = _betterMeleesParams.cooldown; }
/*private Color oldLeftHandColor; * private Color oldRightHandColor; */ public UnifyColors(ModifierType _type, ModifierParams.Default _modifierParams, ModifierParams.UnifyColors _unifyColorsParams) { type = _type; defaultParams = _modifierParams; unifyColorsParams = _unifyColorsParams; defaultParams.duration = _unifyColorsParams.duration; defaultParams.cooldown = _unifyColorsParams.cooldown; }
public ColorSwap(ModifierType _type, ModifierParams.Default _modifierParams, ModifierParams.ColorSwap _colorSwitchParams) { type = _type; defaultParams = _modifierParams; colorSwitchParams = _colorSwitchParams; defaultParams.duration = _colorSwitchParams.duration; defaultParams.cooldown = _colorSwitchParams.cooldown; }
public HiddenTelegraphs(ModifierType _type, ModifierParams.Default _modifierParams, ModifierParams.HiddenTelegraphs _hiddenTelegraphParams) { type = _type; defaultParams = _modifierParams; hiddenTelegraphParams = _hiddenTelegraphParams; defaultParams.duration = _hiddenTelegraphParams.duration; defaultParams.cooldown = _hiddenTelegraphParams.cooldown; }
public Nuke(ModifierType _type, ModifierParams.Default _modifierParams, ModifierParams.Nuke _nukeParams) { type = _type; defaultParams = _modifierParams; nukeParams = _nukeParams; defaultParams.duration = _nukeParams.duration; defaultParams.cooldown = _nukeParams.cooldown; }
public BopMode(ModifierType _type, ModifierParams.Default _modifierParams, ModifierParams.BopMode _bopModeParams) { type = _type; defaultParams = _modifierParams; bopModeParams = _bopModeParams; defaultParams.duration = _bopModeParams.duration; defaultParams.cooldown = _bopModeParams.cooldown; }
public InvisibleGuns(ModifierType _type, ModifierParams.Default _modifierParams, ModifierParams.InvisGuns _invisGunsParams) { type = _type; defaultParams = _modifierParams; invisGunsParams = _invisGunsParams; defaultParams.duration = _invisGunsParams.duration; defaultParams.cooldown = _invisGunsParams.cooldown; }
public RandomColors(ModifierType _type, ModifierParams.Default _modifierParams, ModifierParams.RandomColors _randomColorParams) { type = _type; defaultParams = _modifierParams; randomColorParams = _randomColorParams; defaultParams.duration = _randomColorParams.duration; defaultParams.cooldown = _randomColorParams.cooldown; }
public Particles(ModifierType _type, ModifierParams.Default _modifierParams, ModifierParams.Particles _particlesParams, float _amount) { type = _type; defaultParams = _modifierParams; particlesParams = _particlesParams; defaultParams.duration = _particlesParams.duration; defaultParams.cooldown = _particlesParams.cooldown; amount = _amount; }
public AimAssistChange(ModifierType _type, ModifierParams.Default _modifierParams, ModifierParams.AimAssist _aimAssistParams, float _amount) { type = _type; defaultParams = _modifierParams; aimAssistParams = _aimAssistParams; defaultParams.duration = _aimAssistParams.duration; defaultParams.cooldown = _aimAssistParams.cooldown; amount = _amount; }
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; }
public Mines(ModifierType _type, ModifierParams.Default _modifierParams, ModifierParams.Mines _mineParams) { type = _type; defaultParams = _modifierParams; mineParams = _mineParams; defaultParams.duration = _mineParams.duration; defaultParams.cooldown = _mineParams.cooldown; spawner = TargetSpawnerManager.I.mSpawners[100]; }
public ZOffset(ModifierType _type, ModifierParams.Default _modifierParams, ModifierParams.ZOffset _zOffsetParams, float _amount) { type = _type; defaultParams = _modifierParams; zOffsetParams = _zOffsetParams; defaultParams.duration = _zOffsetParams.duration; defaultParams.cooldown = _zOffsetParams.cooldown; amount = _amount; }
public SpeedChange(ModifierType _type, ModifierParams.Default _modifierParams, ModifierParams.Speed _speedParams, float _amount) { type = _type; defaultParams = _modifierParams; speedParams = _speedParams; defaultParams.duration = _speedParams.duration; defaultParams.cooldown = _speedParams.cooldown; amount = _amount; }
public Scale(ModifierType _type, ModifierParams.Default _modifierParams, ModifierParams.Scale _scaleParams, float _amount) { type = _type; defaultParams = _modifierParams; scaleParams = _scaleParams; defaultParams.duration = _scaleParams.duration; defaultParams.cooldown = _scaleParams.cooldown; amount = _amount; }
public Wobble(ModifierType _type, ModifierParams.Default _modifierParams, ModifierParams.Wobble _wobbleParams, float _amount) { type = _type; defaultParams = _modifierParams; wobbleParams = _wobbleParams; defaultParams.duration = _wobbleParams.duration; defaultParams.cooldown = _wobbleParams.cooldown; mode = _amount == -3 ? Mode.Wrobl : _amount == -2 ? Mode.Wooble : _amount == 0 ? Mode.Wobble : Mode.Womble; amount = _amount; if (amount > wobbleParams.maxSpeed) { amount = wobbleParams.maxSpeed; } if (amount < wobbleParams.minSpeed) { amount = wobbleParams.minSpeed; } switch (mode) { case Mode.Womble: if (wobbleParams.wombleEnabled) { defaultParams.name = "Womble"; } else { mode = Mode.Wobble; } break; case Mode.Wooble: if (wobbleParams.woobleEnabled) { defaultParams.name = "Wooble"; } else { mode = Mode.Wobble; } break; case Mode.Wrobl: if (wobbleParams.wroblEnabled) { defaultParams.name = "Wrobl"; } else { mode = Mode.Wobble; } break; default: break; } }
public StutterChains(ModifierType _type, ModifierParams.Default _modifierParams, ModifierParams.StutterChains _stutterChainParams, float _amount) { type = _type; defaultParams = _modifierParams; stutterChainParams = _stutterChainParams; defaultParams.duration = _stutterChainParams.duration; defaultParams.cooldown = _stutterChainParams.cooldown; amount = _amount; if (amount == 0) { amount = (stutterChainParams.minRot + stutterChainParams.maxRot) / 2; } else if (amount > stutterChainParams.maxRot) { amount = stutterChainParams.maxRot; } else if (amount < stutterChainParams.minRot) { amount = stutterChainParams.minRot; } }