public virtual void Effect() { //target.Drawer.Notify_DebugAffected(); MoteMaker.ThrowText(this.CasterPawn.DrawPos, this.CasterPawn.Map, AbilityUser.StringsToTranslate.AU_CastSuccess, -1f); if (TargetsAoE[0] is LocalTargetInfo t && t.Cell != default(IntVec3)) { PawnTemporary p = (PawnTemporary)PawnGenerator.GeneratePawn(VampDefOf.ROMV_BloodMistKind, Faction.OfPlayer); GenSpawn.Spawn(p, t.Cell, this.CasterPawn.Map); } }
public virtual void Effect() { //target.Drawer.Notify_DebugAffected(); MoteMaker.ThrowText(CasterPawn.DrawPos, CasterPawn.Map, AbilityUser.StringsToTranslate.AU_CastSuccess); if (TargetsAoE[0] is LocalTargetInfo t && t.Cell != default(IntVec3)) { PawnTemporary p = (PawnTemporary)PawnGenerator.GeneratePawn(VampDefOf.ROMV_WolfSpectral, Faction.OfPlayer); VampireUtility.SummonEffect(t.Cell, CasterPawn.Map, CasterPawn, 2f); GenSpawn.Spawn(p, t.Cell, CasterPawn.Map); } }