1 - Fuck it.
This commit is contained in:
1 parent
1ee66f7065
commit
003d743501
2 files changed
+1
-24
No files matched your search
@@ -67,28 +67,6 @@ namespace CalamityMod.Items.Mounts
|
||||
}
|
||||
}
|
||||
|
||||
public override void SetMount(Player player, ref bool skipDust)
|
||||
{
|
||||
for (int i = 0; i < Main.maxNPCs; i++)
|
||||
{
|
||||
if (Main.npc[i].type == ModContent.NPCType<FAP>())
|
||||
{
|
||||
Main.npc[i].active = false;
|
||||
Main.npc[i].netUpdate = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override void Dismount(Player player, ref bool skipDust)
|
||||
{
|
||||
if (!NPC.AnyNPCs(ModContent.NPCType<FAP>()))
|
||||
{
|
||||
if (Main.netMode != NetmodeID.MultiplayerClient)
|
||||
NPC.NewNPC((int)player.Center.X, (int)player.Center.Y, ModContent.NPCType<FAP>());
|
||||
}
|
||||
}
|
||||
|
||||
public override void UpdateEffects(Player player)
|
||||
{
|
||||
CalamityPlayer modPlayer = player.Calamity();
|
||||
|
||||
@@ -9,8 +9,7 @@ namespace CalamityMod.Items.Mounts
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Princess Spirit in a Bottle");
|
||||
Tooltip.SetDefault("Summons the spirit of Cirrus, the Drunk Princess, in her alicorn form\n" +
|
||||
"Mounting will transform Cirrus, dismounting transforms her back");
|
||||
Tooltip.SetDefault("Summons the spirit of Cirrus, the Drunk Princess, in her alicorn form");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
Reference in new issue
Block a user