Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

Commit

Permalink
if !flask core autoreuse false
Browse files Browse the repository at this point in the history
  • Loading branch information
Jofairden committed Oct 14, 2017
1 parent 9b849c1 commit b43e7ee
Show file tree
Hide file tree
Showing 33 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion Items/BasicFlask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion Items/BasicSprayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion Items/BigHealingFlack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion Items/BigManaFlask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion Items/BigPoisonFlask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion Items/BigVenomFlask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion Items/BoomFlask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion Items/BurningFlask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion Items/ClusterFlask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion Items/CrystalFlask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion Items/DukeFlask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion Items/ExtendedBurningFlask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion Items/ExtendedFreezeFlask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion Items/FreezeFlask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion Items/GoldFlask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion Items/HealthSupportFlask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion Items/LesserHealingFlack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion Items/LesserManaFlask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion Items/LesserPoisonFlask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion Items/LesserVenomFlask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion Items/ManaSupportFlask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion Items/MartianSprayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion Items/MechaSprayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion Items/MoonDustFlask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion Items/NightmareSprayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion Items/PhantomFlask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion Items/PlagueFlask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion Items/SparkingFlask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion Items/SuperHealingFlask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion Items/SuperManaFlask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion Items/ToxicFlask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion NPCs/Bosses/NovaPillar/Items/Weapons/NovaFlask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down
2 changes: 1 addition & 1 deletion NPCs/Bosses/NovaPillar/Items/Weapons/NovaSprayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public override void UpdateInventory(Player player)
{
item.autoReuse = true;
}
if (player.FindBuffIndex(mod.BuffType("FlaskCoreBuff")) < 1)
if (!modPlayer.core)
{
item.autoReuse = false;
}
Expand Down

0 comments on commit b43e7ee

Please sign in to comment.