/// <summary> /// Simple Buff / Debuff /// </summary> public Effect(EffectEnum.statusEffect type, float duration, float percentage, GameObject effectGraphic) { this.type = type; this.duration = duration; this.percentage = percentage; this.effectGraphic = effectGraphic; }
/// <summary> /// Simple TerrainGen /// </summary> public Effect(EffectEnum.statusEffect type, float duration, GameObject terrainObject, GameObject effectGraphic) { this.type = type; this.duration = duration; this.terrainObject = terrainObject; this.effectGraphic = effectGraphic; }
/// <summary> /// Simple DoT /// </summary> public Effect(EffectEnum.statusEffect type, float duration, int damage, GameObject effectGraphic) { this.type = type; this.duration = duration; this.damage = damage; this.effectGraphic = effectGraphic; }