public static void Invalidate() { AllActionShortcuts.Invalidate(); AllDieRollEffects.Invalidate(); AllFeatures.Invalidate(); AllFunctions.Invalidate(); AllPlayers.Invalidate(); AllProperties.Invalidate(); AllSpellEffects.Invalidate(); AllSpells.Invalidate(); AllTables.Invalidate(); AllTrailingEffects.Invalidate(); AllWeaponEffects.Invalidate(); AllWeapons.Invalidate(); }
void AddDieRollEffect(string effect) { DieRollEffect dieRollEffect = AllDieRollEffects.Get(effect); if (dieRollEffect == null) { return; } NumHalos = dieRollEffect.NumHalos; EffectRotation = dieRollEffect.Rotation; EffectScale = dieRollEffect.Scale; EffectBrightness = dieRollEffect.Brightness; EffectSaturation = dieRollEffect.Saturation; EffectHueShift = dieRollEffect.HueShift; OnFirstContactEffect = dieRollEffect.OnFirstContactEffect; OnFirstContactSound = dieRollEffect.OnFirstContactSound; OnThrowSound = dieRollEffect.OnThrowSound; OnStopRollingSound = dieRollEffect.OnStopRollingSound; }