CoEmu Gems

07/20/2009 22:56 hunterman01#1
Alright i have a question i am Attempting to add Rainbow gems but i am not sure if this would be correct was wondering if the community could look at it


Code:
MagicAdd += (int)Math.Floor(CSocket.Client.[B][COLOR="Red"]Level[/COLOR][/B]*(CSocket.Client.NRG * .05));

Its not all of it just this is what im stuck on MAINLY the word in red
07/21/2009 00:28 samehvan#2
Quote:
Originally Posted by hunterman01 View Post
Alright i have a question i am Attempting to add Rainbow gems but i am not sure if this would be correct was wondering if the community could look at it


Code:
MagicAdd += (int)Math.Floor(CSocket.Client.[B][COLOR="Red"]Level[/COLOR][/B]*(CSocket.Client.NRG * .05));

Its not all of it just this is what im stuck on MAINLY the word in red
i think it is more harder than that :p ,, not hard but need some more searching

every Gem has a place to put it's effect ,, the RNG that u give as example can't be there as MagicAdd , the Dragon gems and Phoenix Gems are already there

the rainbow Gems u should put them at GiveExp section , MoonGems go to SkillExp (the magical type) ,, Violet Gems go to SkillExp(Physical Type) and so on , u may also add to MagicAdd/MaxAdd the Thunder Gems .

hope that helps
07/21/2009 00:31 hunterman01#3
Actually that helps alot i apprecaite it!
07/21/2009 00:35 samehvan#4
Glad to know so
07/21/2009 00:38 hunterman01#5
So Where would Glory gems go 0.0
07/21/2009 00:58 samehvan#6
Quote:
Originally Posted by hunterman01 View Post
So Where would Glory gems go 0.0
actually i think u can pick up one of 2

1-the Calculations/Damage where " Damage -= Attacked.Defense;" u can add after it if the Attacked has any GloryGems

2- at ItemEquip.cs where calculating items attributes ,but this one may also require to add them once more at PacketProcessor.cs Login case
07/21/2009 03:50 hunterman01#7
Hmm i think i might go damage

Code:
double Glory = 0;
                Glory += Attacked.NGG * 0.05;
                Glory += Attacked.RGG * 0.15;
                Glory += Attacked.SGG * 0.30;

Hows that look???
07/21/2009 05:19 samehvan#8
Quote:
Originally Posted by hunterman01 View Post
Hmm i think i might go damage

Code:
double Glory = 0;
                Glory += Attacked.NGG * 0.05;
                Glory += Attacked.RGG * 0.15;
                Glory += Attacked.SGG * 0.30;

Hows that look???
sorry to say no, can't be like that if u want it to be like Co ,the Glory has a constant Defense value so it maybe like this

Code:
double Glory = 0;
                Glory += Attacked.NGG * 100;
                Glory += Attacked.RGG * 300;
                Glory += Attacked.SGG * 500;
or whatever u want of course but that is how Co2 does it , and dont forget to calc the Star and fan themselves ;)
07/31/2009 00:46 hunterman01#9
Yeah loads of fun : /