[Release]SuperGemEffects

01/28/2010 16:35 glover#16
my code on this post is under 5165 source.
01/28/2010 17:59 Jedex#17
ok, good release! :P :D
01/29/2010 13:12 WHITELIONX#18
Ok just a quick question on this but does this mean that if I am let`s say TG and lvling weapons on stake will the gem effects go off randomly?

Because when I first put the code in it only gave effects when I went from stake to stake, but if I continuesly hit the same stake then the gem effects would not appear after the first hit.

And as pointed out does it still activate all gems at the same time or is one of these codes different now so that the gems work independently?

Also great work on this guys :D
02/10/2010 03:39 killersub#19
The question I've always been wondering how would I find a code that has the effect for when you have full super and u do the "Cool" action and the effect shows lol? In my server it don't show btw ^^...I'd love dat code... btw u did a good job QuickCO XD
02/11/2010 00:48 killersub#20
Quote:
Originally Posted by WHITELIONX View Post
Ok just a quick question on this but does this mean that if I am let`s say TG and lvling weapons on stake will the gem effects go off randomly?

Because when I first put the code in it only gave effects when I went from stake to stake, but if I continuesly hit the same stake then the gem effects would not appear after the first hit.

And as pointed out does it still activate all gems at the same time or is one of these codes different now so that the gems work independently?

Also great work on this guys :D
Maybe, u shuld change the chances of the effect to show XD...

Code:
namespace NewestCOServer.Features
{
class GemEffect
{
public static void GemEffects(Game.Item.Gem Gem, Main.GameClient MyClient)
{
switch (Gem)
{
#region GemEffects
case Game.Item.Gem.SuperDragonGem:
{
[COLOR="Red"]if (MyMath.ChanceSuccess(1.0))[/COLOR] { MyClient.AddSend(Packets.String(MyClient.MyChar.En tityID, 10, "goldendragon")); }
break;
}
case Game.Item.Gem.SuperPhoenixGem:
{
[COLOR="Red"]if (MyMath.ChanceSuccess(1.0))[/COLOR] { MyClient.AddSend(Packets.String(MyClient.MyChar.En tityID, 10, "phoenix")); }
break;
}
case Game.Item.Gem.SuperRainbowGem:
{
[COLOR="Red"]if (MyMath.ChanceSuccess(1.0))[/COLOR] { MyClient.AddSend(Packets.String(MyClient.MyChar.En tityID, 10, "rainbow")); }
break;
}
case Game.Item.Gem.SuperMoonGem:
{
[COLOR="Red"]if (MyMath.ChanceSuccess(1.0))[/COLOR] { MyClient.AddSend(Packets.String(MyClient.MyChar.En tityID, 10, "moon")); }
break;
}
case Game.Item.Gem.SuperFuryGem:
{
[COLOR="Red"]if (MyMath.ChanceSuccess(1.0))[/COLOR] { MyClient.AddSend(Packets.String(MyClient.MyChar.En tityID, 10, "fastflash")); }
break;
}
case Game.Item.Gem.SuperKylinGem:
{
[COLOR="Red"]if (MyMath.ChanceSuccess(1.0))[/COLOR] { MyClient.AddSend(Packets.String(MyClient.MyChar.En tityID, 10, "goldenkylin")); }
break;
}
#endregion
}
}
}
}
02/11/2010 11:59 felipeboladao#21
no need change the chances!
02/11/2010 21:07 killersub#22
Quote:
Originally Posted by felipeboladao View Post
no need change the chances!
lolz I said it waz just a guess lmao...btw I'm new at C#!
02/12/2010 07:58 Arcо#23
Quote:
Originally Posted by felipeboladao View Post
no need change the chances!
There's not a need, but possibly somebody may want to?
02/16/2010 10:23 irritantgassie#24
Is this a fight topic or just a nice release..... Cause i think everyone is posting here some things they thinks its "better" well i dont care but if u think u make a better script then post it on a NEW topic
02/17/2010 04:22 killerbee#25
only client side can see their own effects. anybody have that problem?
02/17/2010 04:23 Arcо#26
Instead of MyClient they should do C.
09/22/2010 14:19 marlyandedsel#27
thnx guys it work on me