public AuraTileEffect(string key, ActorData source, string tempID, EffectLengthBehavior lb, EffectSpreadBehavior sb, string buffToAdd) : base(key, tempID, lb, sb) { this.buffToAdd = buffToAdd; sourceID = source; actorEnter.Add(new AddBuffTileEffectComponent(buffToAdd, sourceID)); init.Add(new AddBuffTileEffectComponent(buffToAdd, sourceID)); actorExit.Add(new RemoveBuffTileEffectComponent(buffToAdd)); end.Add(new RemoveBuffTileEffectComponent(buffToAdd)); }
public TileEffect(string key, string tempID, EffectLengthBehavior lb, EffectSpreadBehavior sb) : base(key) { init = new List <TileEffectComponent>(); turn = new List <TileEffectComponent>(); actorEnter = new List <TileEffectComponent>(); actorExit = new List <TileEffectComponent>(); end = new List <TileEffectComponent>(); attributes = new List <string>(); effectLength = lb; effectSpread = sb; removeOnTrigger = false; this.tempID = tempID; this.animationID = ""; }