Error CS1002

Jonah Graham

Terrarian
I'm having an error and I know its a spelling thing or something somewhere. I cant find it but hopefully someone else can. The script is also very unfinished.
using Terraria;
using Terraria.ModLoader;
using Terraria.ID;
using Microsoft.Xna.Framework;

namespace SpiritsofEvil.NPCs
{
[AutoloadBossHead]
public class WardingEye : ModNPC
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault ("Warding Eye");
Main.npcFrameCount[npc.type] = 1;
}

public override void SetDefaults()
{
npc.aiStyle = 5;
npc.lifeMax = 5000;
npc.damage = 20;
npc.defense = 20;
npc.knockBackResist = 0f;
npc.width = 100;
npc.height = 100;
npc.value = 20000;
npc.npcSlots = 3f;
npc.boss = true;
npc.lavaImmune = true;
npc.noGravity = true;
npc.noTileCollide = true;
npc.HitSound = SoundID.NPCHit1;
npc.DeathSound = SoundID.NPCDeath1;
music = MusicID.Boss1;
}

public override void ScaleExpertStats(int numPlayers, float bossLifeScale)
{
npc.lifeMax = (int)(npc.lifeMax * 0.625f * bossLifeScale);
npc.damage = (int)(npc.damage * 0.6f);
}

public override void AI()
{

}
/*
public override void FindFrame(int frameHeight)
{

}
*/

public override void NPCLoot()
{
//part 3
}

public override bool? DrawHealthBar(byte hbPosition, ref float scale, ref Vector2 position)
{
scale = 1.5f;
return null;
}

}
}
 
Back
Top Bottom