tModLoader True Eternity

Do you love Slimy?

  • YES!

    Votes: 86 94.5%
  • No

    Votes: 5 5.5%

  • Total voters
    91
Status
Not open for further replies.

Itorius

Skeletron Prime
G6JIMyS.png


New thread
 
Last edited:
how do u craft them though???

PT = previous tier
Honey Slime Staff - Vanilla Slime Staff + 20x Bee Wax + 20x Bottled Honey
Flesh Slime Staff - PT + 10x Bone + 15x Imperial Flesh (not implemented)
Mechanical Slime Staff Mk.1 - PT + 25x Hallowed Bars + 20x Souls of Might
Mechanical Slime Staff Mk.2 - PT + 25x Hallowed Bars + 20x Souls of Sight
Mechanical Slime Staff Mk.3 - PT + 25x Hallowed Bars + 20x Souls of Fright
Herbal Slime Staff - PT + Grenade Launcher + 20x Jungle Spores + 15x Stinger
Golem Slime Staff - PT + Golem Fist + 5x Lihzahrd Power Cell
Fishron Slime Staff - PT + Flairon + 20x Bottled Water
Lunar Slime Staff - PT + 20x Nebula Fragment + 30x Stardust Fragment
 
I'm sorry for being a party-crasher, but if this mod is highly WIP as you say the thread is on the wrong location. You should move it to the work in progress section. But this is an amazing little mod. I am highly fond of upgrade-able items and I find it a must have for summoners. Mind you, do you plan adding some unique effects to the minions? WoF slime could inflict on Fire, Bee Slime Poison, Plantera Slime Venom, etc etc. Support.
 
I'm sorry for being a party-crasher, but if this mod is highly WIP as you say the thread is on the wrong location. You should move it to the work in progress section. But this is an amazing little mod. I am highly fond of upgrade-able items and I find it a must have for summoners. Mind you, do you plan adding some unique effects to the minions? WoF slime could inflict on Fire, Bee Slime Poison, Plantera Slime Venom, etc etc. Support.
The idea of adding custom effect is very nice. In the future I expect this mod to have more than just Upgraded Slime Staffs but unfortunately school eats a lot of my free time.
The main thing I will focus on is adding buffs, spawn the minion on cursor position and making custom textures for each slime.

And btw the yellow text is hard to read on some backgrounds ;)
 
I wouldn't mind testing it. I am going to tell you the results once I'm done. I assume that I can download the mod on the mod browser.
 
nonononono! You get it even in normal mode. There was just a problem in expert that it is dropped from the WoF and then from the bag so you would get twice as much.
 
I tried it and it doesn't work.

Alright, here is the projectile. You'll need to change the class name, do the ModPlayer, and do the ModBuff of course, but I tested it and it is identical to BabySlime in every way except the OnFire debuff thing.
Code:
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;

namespace ExampleMod.Projectiles.Minions
{
    public class PurityWisp : ModProjectile
    {
        public override void SetDefaults()
        {
            projectile.CloneDefaults(ProjectileID.BabySlime);
            projectile.name = "Fire Baby Slime";
            Main.projFrames[projectile.type] = 6; // From BabySlime Spritesheet
            Main.projPet[projectile.type] = true;
            ProjectileID.Sets.MinionSacrificable[projectile.type] = true;
            ProjectileID.Sets.Homing[projectile.type] = true;
            aiType = ProjectileID.BabySlime;
            drawOffsetX = 10; // From source code
            drawOriginOffsetY = 10; // From source code
        }

        public override bool MinionContactDamage()
        {
            return true;
        }

        public override void AI()
        {
            Player player = Main.player[projectile.owner];
            ExamplePlayer modPlayer = (ExamplePlayer)player.GetModPlayer(mod, "ExamplePlayer");

            if (player.dead)
            {
                modPlayer.purityMinion = false;
            }
            if (modPlayer.purityMinion)
            {
                projectile.timeLeft = 2;
            }
        }

        public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
        {
            target.AddBuff(BuffID.OnFire, 300);
        }
    }
}
 
Code:
item.buffType = mod.BuffType("FishronSlimeBuff");
item.buffTime = 5;
This is the code I use to give the player a buff when he casts the minion but under the item there is the "x minute duration". Do you know how to remove it?
 
Status
Not open for further replies.
Back
Top Bottom