89781 {
89782 bool flag = false;
89784 {
89785 flag = false;
89787 lava = false;
89788 }
89789 else
89790 {
89792 if (Collision.honey)
89793 {
89795 }
89796 if (Collision.shimmer)
89797 {
89800 }
89801 }
89803 {
89805 }
89806 if (flag)
89807 {
89809 {
89811 {
89813 {
89815 }
89816 }
89817 }
89819 {
89821 if (!lava)
89822 {
89824 {
89826 {
89827 for (
int j = 0;
j < 30;
j++)
89828 {
89830 Main.dust[num].velocity.Y -= 4f;
89831 Main.dust[num].velocity.X *= 2.5f;
89832 Main.dust[num].scale = 0.8f;
89833 Main.dust[num].noGravity = true;
89834 switch (Main.rand.Next(6))
89835 {
89836 case 0:
89837 Main.dust[num].color =
new Color(255, 255, 210);
89838 break;
89839 case 1:
89840 Main.dust[num].color =
new Color(190, 245, 255);
89841 break;
89842 case 2:
89843 Main.dust[num].color =
new Color(255, 150, 255);
89844 break;
89845 default:
89846 Main.dust[num].color =
new Color(190, 175, 255);
89847 break;
89848 }
89849 }
89851 {
89853 }
89854 }
89855 }
89857 {
89858 for (
int k = 0;
k < 10;
k++)
89859 {
89861 Main.dust[
num2].velocity.Y -= 1f;
89862 Main.dust[
num2].velocity.X *= 2.5f;
89863 Main.dust[
num2].scale = 1.3f;
89864 Main.dust[
num2].alpha = 100;
89865 Main.dust[
num2].noGravity =
true;
89866 }
89868 {
89870 }
89871 }
89873 {
89874 for (
int l = 0;
l < 30;
l++)
89875 {
89877 Main.dust[
num3].velocity.Y -= 4f;
89878 Main.dust[
num3].velocity.X *= 2.5f;
89879 Main.dust[
num3].scale *= 0.8f;
89880 Main.dust[
num3].alpha = 100;
89881 Main.dust[
num3].noGravity =
true;
89882 }
89884 {
89886 }
89887 }
89888 }
89889 else
89890 {
89891 for (
int m = 0;
m < 10;
m++)
89892 {
89894 Main.dust[
num4].velocity.Y -= 1.5f;
89895 Main.dust[
num4].velocity.X *= 2.5f;
89896 Main.dust[
num4].scale = 1.3f;
89897 Main.dust[
num4].alpha = 100;
89898 Main.dust[
num4].noGravity =
true;
89899 }
89901 {
89903 }
89904 }
89905 }
89907 }
89909 {
89910 velocity.X *= 0.5f;
89913 {
89914 velocity.Y -= 8f;
89915 }
89917 {
89920 {
89922 {
89924 {
89925 for (
int n = 0;
n < 30;
n++)
89926 {
89928 Main.dust[
num5].velocity.Y -= 4f;
89929 Main.dust[
num5].velocity.X *= 2.5f;
89930 Main.dust[
num5].scale = 0.8f;
89931 Main.dust[
num5].noGravity =
true;
89932 switch (Main.rand.Next(6))
89933 {
89934 case 0:
89935 Main.dust[
num5].color =
new Color(255, 255, 210);
89936 break;
89937 case 1:
89938 Main.dust[
num5].color =
new Color(190, 245, 255);
89939 break;
89940 case 2:
89941 Main.dust[
num5].color =
new Color(255, 150, 255);
89942 break;
89943 default:
89944 Main.dust[
num5].color =
new Color(190, 175, 255);
89945 break;
89946 }
89947 }
89949 {
89951 }
89952 }
89953 }
89955 {
89957 {
89959 Main.dust[
num7].velocity.Y -= 1f;
89960 Main.dust[
num7].velocity.X *= 2.5f;
89961 Main.dust[
num7].scale = 1.3f;
89962 Main.dust[
num7].alpha = 100;
89963 Main.dust[
num7].noGravity =
true;
89964 }
89966 {
89968 }
89969 }
89971 {
89973 {
89975 Main.dust[
num9].velocity.Y -= 4f;
89976 Main.dust[
num9].velocity.X *= 2.5f;
89977 Main.dust[
num9].scale *= 0.8f;
89978 Main.dust[
num9].alpha = 100;
89979 Main.dust[
num9].noGravity =
true;
89980 }
89982 {
89984 }
89985 }
89986 }
89987 else
89988 {
89990 {
89992 Main.dust[
num11].velocity.Y -= 1.5f;
89993 Main.dust[
num11].velocity.X *= 2.5f;
89994 Main.dust[
num11].scale = 1.3f;
89995 Main.dust[
num11].alpha = 100;
89996 Main.dust[
num11].noGravity =
true;
89997 }
89999 {
90001 }
90002 }
90003 }
90004 }
90005 return lava;
90006 }
static void PlaySound(int type, Vector2 position, int style=1)
static readonly int maxBuffs
NPCAimedTarget GetTargetData(bool ignorePlayerTankPets=true)
void DelBuff(int buffIndex)
void AddBuff(int type, int time, bool quiet=false)