This is Phoenix Gem Effect only, in my working source I have add all of them and its working fine now.
I will not tell you where to put this and how to complete all the gem effect, you have to figure it out.
PHP Code:
public void CheckForSuperGems(Client.GameState client)
{
for (uint i = 1; i < 12; i++)
{
if (i != 7)
{
Interfaces.IConquerItem item = client.Equipment.TryGetItem(i);
if (item != null && item.ID != 0)
{
if (item.SocketOne != 0)
{
if (item.SocketOne == Enums.Gem.SuperPhoenixGem)
{
if (ServerBase.Kernel.Rate(3)) //this is where your chances when to display the phoenix gem effect
{
_String str = new _String(true);
str.UID = attacker.UID;
str.TextsCount = 1;
str.Type = _String.Effect;
str.Texts.Add("phoenix");
attacker.Owner.Screen.SendScreen(str, true);
}
}
}
}
}
}
}
#1: Do NOT calculate how many gems you have every time there's an attack... The only time it would change is when you equip an item... Therefor in your equip code you call a Recalculate type method which updates all your stats including how many super gems of each type you have equipped (or better yet... a percent chance for a gem effect to go off so you avoid extra math operations!)
#2: A simple "DisplayGems" type method might be nice to have inside your client. Call THAT when you attack someone. Then inside the display gems just say if(PercentChance(RainbowGems)) DisplayRainbowGems; if(PercentChance(DragonGEms)) DisplayDragonGems;
Well it took me 2 hours or trying to get code work after i added the code in the right place which obviously in Handle.cs but the Main problem how to make This Work ...Could u Help me in that ?
very nice. although I have a question, how can I find the effect names of each effect? or what are they?
Super Dragon Gem = goldendragon
Super Phoenix Gem = phoenix
Super Rainbow Gem = rainbow
Super Violet Gem = purpleray
Super Moon Gem = moon
Super Kylin Gem = goldenkylin
Super Fury Gem = fastflash
Super Tortoise Gem = recovery
+10 effect 06/29/2011 - Dekaron Private Server - 0 Replies I'm trying to add a +10 effect strictly for GM weapons to be given out via CP, so I don't actually need the argates for them or have them in the fortification system.
I already have the effect. What I need to know is if I clone the a previous eff_upgrade.dds file and layer into my +10 effect, what do I then need to do to make my GM weapons point to that effect file.
I appreciate any help you can give.
Dodge effect , Warp effect 01/04/2010 - S4 League - 7 Replies this is a threat to glados , but other can answer.
how can u have that effect?
this is the video
YouTube - S4 League GLaDO is Hacking
[Help] 2nd RB Effect Fix 04/21/2009 - CO2 Private Server - 2 Replies Okay here's the problem. The 2nd RB Effect keeps looping over and over even if I add a timer for it. It overlaps each other until it turns bright purple. It's really disturbing and I spent almost two hours trying to fix it and I can't get it to work. And I am really annoyed because it's as if I wasted those two hours and learned nothing at all. So please, if you know how to fix it please help me...
sup gem effect 10/13/2007 - CO2 Weapon, Armor, Effects & Interface edits - 3 Replies stupid quest of me but how to make the dam super gems off?
they keek raising my ping to 279k in tg and than i d/c
didnt find any topic where it stand
SDG Effect and 115 Bow 07/26/2007 - CO2 Weapon, Armor, Effects & Interface edits - 23 Replies I have edited the sdg effect and the 115 bow so they are blue... i thought it would be kidna cool, if u watn any other colors just tell me and i'll work on it! :cool:
http://i51.photobucket.com/albums/f356/warheadsou r/SDGand115Bow.jpg
this file is for the bow, it goes into C:/Program Files/Conquer 2.0/c3/effect/bow
Blue Bow Download Link
the file for teh blue sdg goes into C:/Program Files/Conquer 2.0/c3/effect/dragonhate there are 3 files taht u have to put into the folder...