using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace SaobiesMod.Item //Just an example write your folder names instead
{
public class magicprojectile : ModProjectile
{
public...
yeah thats how i am '^^
but the code (the projectile itself)worked for me
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace SaobiesMod.Item //Just an example write your folder names...
i just edit your codes
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace 1stfolder.2ndfolder //Just an example write your folder names instead
public class MagicProjectile ...
1. just mark what you wanna quote then there should be a little window where the word quote+ is in it: click that and then go to the reply and click in the lower left corner "insert quotes"
2. let me guess: you used a outdated tutorial
the name/description doesnt belong there
between the class...
i could need a little bit help right now (or maybe a bigger bit) im trying to make a weapon which should shoot a projectile like the solar eruption but i cant get anything from it besides of this:
or this (recently):
(yeah im shooting)
and here are the code (right from IlSpy):
the item:
using...
does anyone can help me with my problem? i want to make a solar eruption-like weapon but all what comes out is that:
and here are the codes of the weapon:
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria;
using Terraria.ID;
using...
hi there :D
im trying to make a weapon with the ai of the solar eruption
but ive got a problem now... ive figured out that the weapon shoots a projectile but when i try to copy it it just looks like that:
and heres the code of the pojectile:
using System;
using Microsoft.Xna.Framework;
using...
sorry 'bout that
well i have to translate it from german...
i think it says something like "no overload accepts 2-arguments for the 'hurt'-method" or something like that
i already figured out that there is something missing between the brackets... but i dont know whats missing
... it doesnt like that at me but like this... :
public override void OnHitNPC(Player player, NPC target, int damage, float knockBack, bool crit)
{
int spike = (int)Math.Floor((double)(damage / 10));
player.Hurt(spike, target.direction)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.