ok so I have a projectile that is shot out of a staff. once the projectile hits the ground, it disappears and spawns in a consumable heart. I tried this in singleplayer, it works just fine, the consumable spawns in and you can use it to heal yourself. However, I wanted to test this with a...
C:\Users\********\Documents\My games\Terraria\Modloader\Mod Sources\ModOfManyMishaps\Projectiles\heartproj.cs(14,13) : error CS0542: 'heartproj': member names can not be the same as their enclosing type
I wanted to make a staff that shoots hearts to heal people for a modded class wars game. i did:
item.shoot = 58;
Which should work because that is the itemid for heart. but it shoots chainsaws? I also tried:
item.shoot = ItemID.Heart;
But even then it shot chainsaws. I wanted to see how...