Pausing an effect?

08/09/2009 02:51 killermickle#1
Hey, I have no idea how to add an effect (for armor) using the ini's and dats.
so I coded:


Code:
public void SantaHat()
        {
            if (Equips[1] == "115300-0-0-0-0-0")
            {

                foreach (DictionaryEntry DE in World.AllChars)
                {
                    Character Chaar = (Character)DE.Value;
                    if (Chaar.Name != Name)
                    {
                        Chaar.MyClient.SendPacket(General.MyPackets.String(UID, 10, "curse"));
                    }
                }
                MyClient.SendPacket(General.MyPackets.String(UID, 10, "curse"));
            }
        }
But unfortunatly it just keeps relooping until all there is is a big black circle :/
08/09/2009 04:09 TehPwnzor#2
yeah thats what happens with nobility effects
everyone says make a timer >.<
08/09/2009 04:20 _tao4229_#3
Theres a 3f9 packet to raise the 'curse' flag.