Skip to content

Commit

Permalink
fix: qualify XRL.World.Effects namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Br1ght0ne committed Oct 13, 2022
1 parent c4a0e42 commit c448eeb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Parts/JHG_ConfuseOnHit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public override bool FireEvent(Event E)
GameObject defender = E.GetGameObjectParameter("Defender");
if (defender != null && !defender.MakeSave("Willpower", Strength, Vs: "Confusion"))
{
defender.ApplyEffect(new Effects.Confused(Duration.RollCached(), Level, Level + 2));
defender.ApplyEffect(new XRL.World.Effects.Confused(Duration.RollCached(), Level, Level + 2));
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/Parts/JHG_Death.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public override bool FireEvent(Event E)
GameObject defender = E.GetGameObjectParameter("Defender");
if (defender.GetIntProperty("Inorganic") == 0 && defender.HasStat("Hitpoints"))
{
defender.ApplyEffect(new Effects.JHG_Death(Owner: attacker), attacker);
defender.ApplyEffect(new XRL.World.Effects.JHG_Death(Owner: attacker), attacker);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/Parts/JHG_EMPOnHit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public override bool FireEvent(Event E)
if (defender.HasPart("Metal"))
{
// TODO: Discharge electric damage maybe?
defender.ForceApplyEffect(new Effects.ElectromagneticPulsed(Rules.Stat.Roll(Duration)));
defender.ForceApplyEffect(new XRL.World.Effects.ElectromagneticPulsed(Rules.Stat.Roll(Duration)));
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/Parts/JHG_HealthAmmoLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public override bool HandleEvent(CommandReloadEvent E)
{
for (int i = 0; i < dramsToLoad; i++)
{
E.Actor.ApplyEffect(new Effects.Bleeding("1d2"));
E.Actor.ApplyEffect(new XRL.World.Effects.Bleeding("1d2"));
}
}
liquidVolume.MixWith(new LiquidVolume(Liquid, dramsToLoad));
Expand Down
2 changes: 1 addition & 1 deletion src/Parts/JHG_Shredder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public override bool FireEvent(Event E)
E.SetParameter("Critical", 1);
}
GameObject.validate(ref attacker);
defender.ApplyEffect(new Effects.Bleeding(Damage, Owner: attacker), attacker);
defender.ApplyEffect(new XRL.World.Effects.Bleeding(Damage, Owner: attacker), attacker);
}
}
return base.FireEvent(E);
Expand Down

0 comments on commit c448eeb

Please sign in to comment.