Hello,

how to make Imbuing skill incatif, i don't like that skill so i wanna make him perma off.

if someone can help me will be cool :)

thanx
 
You need to remove all soulforges (including player made ones), remove soulforge option from carpentry menu and remove mini soulforge drop from Osiredon.
[doublepost=1484250984][/doublepost]And existing deed if any.
 
In your skills folder find imbuing/core/imbuing.cs

Find that

Code:
 public static TimeSpan OnUse(Mobile from)
        {
            if (!from.Alive)
                from.SendLocalizedMessage(500949); //You can't do that when you're dead.
            else
            {
                from.CloseGump(typeof(ImbuingGump));
                from.SendGump(new ImbuingGump(from));
            }

            return TimeSpan.FromSeconds(1.0);
        }

And change to this

Code:
 public static TimeSpan OnUse(Mobile from)
        {
            if (!from.Alive)
                from.SendLocalizedMessage(500949); //You can't do that when you're dead.
            else
            {
                from.SendMessage("imbuing has been disabled");
               
            }

            return TimeSpan.FromSeconds(1.0);
        }


I did not test this, just brain storming.
 
You need to remove all soulforges (including player made ones), remove soulforge option from carpentry menu and remove mini soulforge drop from Osiredon.
[doublepost=1484250984][/doublepost]And existing deed if any.

Thank you i will try this soon
[doublepost=1484251110][/doublepost]
In your skills folder find imbuing/core/imbuing.cs

Find that

Code:
 public static TimeSpan OnUse(Mobile from)
        {
            if (!from.Alive)
                from.SendLocalizedMessage(500949); //You can't do that when you're dead.
            else
            {
                from.CloseGump(typeof(ImbuingGump));
                from.SendGump(new ImbuingGump(from));
            }

            return TimeSpan.FromSeconds(1.0);
        }

And change to this

Code:
 public static TimeSpan OnUse(Mobile from)
        {
            if (!from.Alive)
                from.SendLocalizedMessage(500949); //You can't do that when you're dead.
            else
            {
                from.SendMessage("imbuing has been disabled");
              
            }

            return TimeSpan.FromSeconds(1.0);
        }


I did not test this, just brain storming.


thank you, i try your idea in a few than i let you know if work :)
[doublepost=1484252453][/doublepost]
In your skills folder find imbuing/core/imbuing.cs

Find that

Code:
 public static TimeSpan OnUse(Mobile from)
        {
            if (!from.Alive)
                from.SendLocalizedMessage(500949); //You can't do that when you're dead.
            else
            {
                from.CloseGump(typeof(ImbuingGump));
                from.SendGump(new ImbuingGump(from));
            }

            return TimeSpan.FromSeconds(1.0);
        }

And change to this

Code:
 public static TimeSpan OnUse(Mobile from)
        {
            if (!from.Alive)
                from.SendLocalizedMessage(500949); //You can't do that when you're dead.
            else
            {
                from.SendMessage("imbuing has been disabled");
              
            }

            return TimeSpan.FromSeconds(1.0);
        }


I did not test this, just brain storming.


Man your idea work ! thank you so much !!!
 
Back