|
You last visited: Today at 09:11
Advertisement
[Request]MaxMana Calculation
Discussion on [Request]MaxMana Calculation within the CO2 Private Server forum part of the Conquer Online 2 category.
09/05/2009, 15:15
|
#1
|
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 506
|
[Request]MaxMana Calculation
Does anyone know the code for the real MaxMana calculation, the current one isn't working correctly.
Edit:
I think this is correct:
Amount of mana = z
Spirit = x
Job 100 / 101: y = 1
Job 133 / 143: y = 1.333333
Job 134 / 144: y = 1.666666
Job 135 / 145 y = 2
than the formula is
x * 5 * y = z
is this correct?
|
|
|
09/05/2009, 16:47
|
#2
|
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
|
double posting is forbidden, merge into one post..
I know the correct calculation.
|
|
|
09/05/2009, 16:54
|
#3
|
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 506
|
Sorry about that, didn't think about it.
Can you please post the calculation real co uses?
What's wrong with this one?
Edit:
Pete, I really appreciate if you help me out, I've added you on MSN.
About the formula I just gave, Its wrong, not even close to correct >_>.
I think I know how to find out a part of the formula, but not an exact one. =(
|
|
|
09/05/2009, 17:17
|
#4
|
elite*gold: 0
Join Date: Jun 2009
Posts: 787
Received Thanks: 314
|
That's pretty close to right(from what I remember), just add on gourd mana as well.
|
|
|
09/05/2009, 17:19
|
#5
|
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 506
|
@Tao, I don't think its close to right, not if the client displays the right amount of MaxMana, It is correct at taoist and interntaoist, but not add Water/Fire Wizard >_>
|
|
|
09/05/2009, 17:35
|
#6
|
elite*gold: 0
Join Date: Dec 2007
Posts: 108
Received Thanks: 42
|
Taoist: x = 15
Wizard: x = 20
Master: x = 25
Saint: x = 30
All others jobs (including intern taos): x = 5
baseMP = spirit * x
maxMP = baseMP + equipment MP
I haven't tested for all jobs but I believe that is correct.
|
|
|
09/05/2009, 17:46
|
#7
|
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 506
|
Belth, except for Taoist, I think thats correct, I'm not srue about Taoist though.
|
|
|
09/05/2009, 18:11
|
#8
|
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 381
|
You get 5 per Spirit, then add a bonus to the total for professions. (Essentially equivalent to what Belth posted, but simpler to calculate)
-Fire/WaterTaoist: +200%
-Fire/WaterWizard: + 300%
-Fire/WaterMaster: +400%
-Fire/WaterSaint: +500%
|
|
|
09/05/2009, 20:41
|
#9
|
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
|
Code:
public ushort BaseMaxMP()
{
int Mana = 0;
int Multiplier = 5;
if (Class == 132 || Class == 142)
Multiplier = 15;
if (Class == 133 || Class == 143)
Multiplier = 20;
if (Class == 134 | Class == 144)
Multiplier = 25;
if (Class == 135 || Class == 145)
Multiplier = 30;
Mana = (Spi * Multiplier);
int BaseMP = Mana;
MaxMP += (ushort)BaseMP;
Ready = true;
return (ushort)Mana;
}
|
|
|
09/06/2009, 13:06
|
#10
|
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 506
|
I figured that out just before you posted it. :P
Thanks though!
#request change title [SOLVED-Req]MaxMana Calc
#request close
|
|
|
09/06/2009, 14:14
|
#11
|
elite*gold: 20
Join Date: Aug 2005
Posts: 1,734
Received Thanks: 1,001
|
#Closed
|
|
|
 |
Similar Threads
|
Exp calculation?
01/09/2011 - CO2 Programming - 3 Replies
Hey,
Does anyone has a decent exp calculation, or show me atleast how it is calculated? I really have no idea when it comes to conquer.
Thanks in advance,
ImmuneOne.
|
Damage Calculation
08/02/2010 - CO2 PServer Guides & Releases - 12 Replies
Okay. I haven't found any physical damage calculations out there that involves BP. Maybe nobody wants it or what but Ive been lurking these forums for a while looking for ideas for my server. Anyway, here's my ROUGH (+- 1.5k) damage compared to the real co. If anyone got any ideas on how to improve my equation by all means please post.
I use 5165 but the gist of it should be the same as other servers.
also, thanks to CoEmu v2, I used some of the damage calculation from there namely the...
|
Repair Calculation
06/04/2010 - CO2 Private Server - 0 Replies
Here is the correct gold calculation for repairing an item:
int nRecoverDurability = Math.Max(0, Item.Stats.Durability - Item.CurDurability);
if (nRecoverDurability == 0)
return;
byte Quality = ItemManipulation.GetQuality((int)Item.Stats.ID);
double QualityMultipier = 0;
|
Steed Horses Calculation
08/27/2009 - CO2 Guides & Templates - 0 Replies
I roughly know the calculation, but i need someone familiar with programing to create a program that calculate it automatically. Calculate by human is way too slow, i calculate the golden horse using my formula only each ±4 at most.
This is the original of the attribute of those 2:
Manor Minor New
A B X
C D Y
E F Z
When calculation :
|
AL Damage Calculation
07/15/2007 - Archlord - 0 Replies
Does anyone know how AL computes damage? I have been playing with combinations of weapons and stones and can't find the magic equation. Here is what I have been doing:
Ab = Base Attack (without weapon)
Aw = Attack with Weapon
Ae = Attack bonus due to Elemental Stones (e.g. 4 level 3 stones is 5+5+1+5+1+5+1 = 23)
Sb = Skill bonus for Basic Attack (%)
Se = Skill bonus for Elemental Attack (%)
a = attenuation factor based on mob level and player level
b = boolean for elemental damage...
|
All times are GMT +1. The time now is 09:11.
|
|