|
You last visited: Today at 22:48
Advertisement
Need some help with reflect
Discussion on Need some help with reflect within the CO2 Private Server forum part of the Conquer Online 2 category.
08/31/2008, 11:26
|
#1
|
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 793
|
Need some help with reflect
Well, this is what i did so far :
Added the ReflectOn = false; line where it belongs in the character.cs
Reflect code :
Quote:
if (SkillId == 3060)
{
ReflectOn = true;
}
|
This is in the Database.cs - note: I`m not sure about the activation rates
Quote:
SkillAttributes[3060] = new ushort[5][];
SkillAttributes[3060][0] = new ushort[6] { 7, 0, 0, 0, 0, 15 };
SkillAttributes[3060][1] = new ushort[6] { 7, 0, 0, 0, 0, 30 };
SkillAttributes[3060][2] = new ushort[6] { 7, 0, 0, 0, 0, 50 };
SkillsDone.Add(3060, 2);
|
This in other.cs (melee attack part)
Quote:
if (Attacked.ReflectOn)
Damage -= Attacker.CurHP;
|
What did I do wrong? Or what should be done?
Cheers,
ElDeRnEcRo
|
|
|
08/31/2008, 11:59
|
#2
|
elite*gold: 0
Join Date: Aug 2006
Posts: 227
Received Thanks: 57
|
You sure that the ID is 3060 ?
|
|
|
08/31/2008, 12:00
|
#3
|
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,161
|
keving,psssh..
The problem is the code,which is wrong, ( we already tested it,me and eldernecro ).
I'll help him as soon as he get teamviewer -.-
Emme
|
|
|
08/31/2008, 12:07
|
#4
|
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 793
|
Thanks^^
Btw anyone knows the Bless SkillID? I couldn`t find it anywhere.
|
|
|
08/31/2008, 12:07
|
#5
|
elite*gold: 0
Join Date: Feb 2008
Posts: 668
Received Thanks: 160
|
Quote:
Originally Posted by emildayan1
keving,psssh..
The problem is the code,which is wrong, ( we already tested it,me and eldernecro ).
I'll help him as soon as he get teamviewer -.-
Emme
|
Can't wait till someone knows how it works!
|
|
|
08/31/2008, 12:24
|
#6
|
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 793
|
I know how it works :P If I`m right we only need to change the last part, and add some extra things.
Anyone the Bless SkillID? xD
|
|
|
08/31/2008, 13:20
|
#7
|
elite*gold: 0
Join Date: Feb 2008
Posts: 668
Received Thanks: 160
|
Quote:
Originally Posted by ElDeRnEcRo
I know how it works :P If I`m right we only need to change the last part, and add some extra things.
Anyone the Bless SkillID? xD
|
U mean Lucky Time?
Who knows that skill?
|
|
|
08/31/2008, 13:39
|
#8
|
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 793
|
I meant reflect, but if you think for like... 5minutes? You`ll figure out how things work, like LuckyTime. The harder part is coding it.
|
|
|
08/31/2008, 14:32
|
#9
|
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
|
Hmm... last part CANT be right...
if (Attacked.ReflectOn)
Damage -= Attacker.CurHP;
maybe..
if (Attacked.ReflectOn)
extra.defense += 100;
Dont know variables now iŽll check^^
|
|
|
08/31/2008, 15:43
|
#10
|
elite*gold: 0
Join Date: Feb 2008
Posts: 668
Received Thanks: 160
|
Quote:
Originally Posted by lolmaster123
Hmm... last part CANT be right...
if (Attacked.ReflectOn)
Damage -= Attacker.CurHP;
maybe..
if (Attacked.ReflectOn)
extra.defense += 100;
Dont know variables now iŽll check^^
|
No, I don't think that... That will only gives you +100 Defence
Cud be this : ( I don't know it its right... )
Quote:
if (Attacked.ReflectOn)
string Damage = Attacker;
Attacker.Damage -= Attacker.CurHP;
|
Something like that...
|
|
|
08/31/2008, 15:43
|
#11
|
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,161
|
reflect dosnt add extra defense? lol
at my new server,i will be coding new awesome xp skills,one will work as reflect,but for 60 seconds.. all the damage you get,goes right back to the attacker,only for 60 seconds tho :P
|
|
|
08/31/2008, 16:08
|
#12
|
elite*gold: 0
Join Date: Oct 2006
Posts: 800
Received Thanks: 89
|
Quote:
Originally Posted by ElDeRnEcRo
This in other.cs (melee attack part)
Quote:
if (Attacked.ReflectOn)
Damage -= Attacker.CurHP;
|
|
Well I haven't coded in quite some time but wouldn't your code imply reducing the damage done by the attacker's current HP amount?
To me it seems it should be the other way around: Attacker.CurHP -= Damage;
From the way the variables are named anyway.
|
|
|
08/31/2008, 17:25
|
#13
|
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
|
Quote:
Originally Posted by emildayan1
reflect dosnt add extra defense? lol
at my new server,i will be coding new awesome xp skills,one will work as reflect,but for 60 seconds.. all the damage you get,goes right back to the attacker,only for 60 seconds tho :P
|
Better than my idea.. I turned restore into a suicide-bomb. <3(Kills you and surounding players)
|
|
|
08/31/2008, 18:10
|
#14
|
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,161
|
LOL! Maybe you could make a new class with all these fuckt up skills,like suicide,murderer and **** :P
Like,
suicide - kills you and everyone around you. ( xp skill )
Murderer - rightclick the target and it die instantly ( xp skill )
Jew - Steal 5kk from the target you rightclick ( xp skill )
Failure bomb - Removes 500 HP from everyone around you ( stamina skill )
City bomb - Kill everyone at your map ( can only be cast 3 times a day )
World bomb - Kill everyone at the server ( can only be cast once a day )
Haha,im bored so I come up with this **** stuffs =P
Emme
|
|
|
08/31/2008, 19:26
|
#15
|
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
|
Rofl really nice but i just like the one spell of CoEMU ... Random Teleport^^
|
|
|
|
|
Similar Threads
|
Reflect
09/08/2010 - CO2 Private Server - 3 Replies
Why is it that after 3rd rb reflect skill dissapears does someone knows how i can fix this in eliteEmu 5095 source..
|
[Help]Reflect
01/07/2010 - CO2 Private Server - 4 Replies
could someone help me code reflect please
thanks in advance,
coreymills
|
[Help] Reflect
07/30/2009 - CO2 Private Server - 1 Replies
Can anyone help me on how to make my reflect skill work cause mine doesnt work. Ill be thankful if you can help me. Thanks.
|
[Help] Reflect
07/25/2009 - CO2 Private Server - 15 Replies
I need some help on how to make my reflect work. Can someone help me. Thanks.
|
Reflect?
04/25/2007 - Conquer Online 2 - 17 Replies
I'm getting pretty close to my first rb with my fire tao. and I cant decide what i should rb into. I was thinking fire->warr->fire cause i get reflect and still have all the kick ass fire attacks, but I have heard that reflect is a random skill and it kinda goes off when it wants to. But, fire->fire->fire you get doge through it all and no one can hit you anyway. What do you guys think?
|
All times are GMT +2. The time now is 22:48.
|
|