public static Dictionary <string, BaseEffect> GetCoreProjectileEffects(ProjectileParams Params) { Dictionary <string, BaseEffect> DicEffect = new Dictionary <string, BaseEffect>(); DicEffect.Add(ChangeAttackSpeedEffect.Name, new ChangeAttackSpeedEffect(Params)); DicEffect.Add(BounceAttackOffGroundEffect.Name, new BounceAttackOffGroundEffect(Params)); DicEffect.Add(RotateAttackEffect.Name, new RotateAttackEffect(Params)); DicEffect.Add(MatchTerrainTiltWithAttackEffect.Name, new MatchTerrainTiltWithAttackEffect(Params)); DicEffect.Add(ReviveAttackEffect.Name, new ReviveAttackEffect(Params)); DicEffect.Add(DestroyAttackEffect.Name, new DestroyAttackEffect(Params)); DicEffect.Add(ToggleAttackGravityEffect.Name, new ToggleAttackGravityEffect(Params)); return(DicEffect); }
public ProjectileParams(ProjectileParams Clone) : this(Clone.GlobalContext) { SharedParams = Clone.SharedParams; }