Register for your free account! | Forgot your password?

You last visited: Today at 15:38

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release][FULL]CharStatusInfoPacket

Discussion on [Release][FULL]CharStatusInfoPacket within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old 11/01/2011, 23:52   #31
 
Mr_PoP's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 759
Received Thanks: 285
Quote:
Originally Posted by shadowman123 View Post
dude i Tried To make the Equipped item that is Purified with Dragonsoul which incrase Critical Strike been Read And i failed..could u Gimme lil bit of explaination ? or Hints
well simply all u need is when you Equip/En-Equip item loop through all your equipment and increase your CriticalStrike as you do with your Attack/Defense etc the same way your getting ur attack etc use it to increase/get ur CriticalStrike.
Mr_PoP is offline  
Thanks
1 User
Old 11/02/2011, 00:15   #32
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
ooh *** it hurts ...

Somewhere in your source you SHOULD have something to handle recalculating stats (called only when equipment or stats are changed!)


Inside this is where you should be doing your **** stat calculations...

eg

public void RecalculateAttack()
{
MinimumDamage = 0;
MaximumDamage = 0;
//etc... Set ALL stats to zero. We're doing a full recalculation

foreach(Item itm in Equipment.Values)//or however you manage your equipment. Personally I wrote an Equipment class but that's beside the pt
{
MinimumDamage += itm.Info.MinimumDamage;
//ETC

if(itm.CompositionData != null)
{
//Add all bonuses from the item being +'d!
}
if(itm.RefinerySoulData != null)
{
//Add all refinery and soul bonuses the item has to stats!
}
}
}


What you guys are showing in your get/set method is an infinite loop...

You're literally saying..

When X is assigned to (X = anything) set X = something for each item I have equipped. Not cool...
pro4never is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[RELEASE]Full Fairys+SQl
05/27/2011 - EO PServer Guides & Releases - 5 Replies
Hey guys i just wanna release White Fairy and pink Fairy any problem can post here.. :D White Fairy IDS: 815240 1082240 1072240 1072241
WTS MYSro 91 Glavier Full STR+73 S/S Full INT+38 Blade Full STR same account
04/24/2011 - Silkroad Online Trading - 6 Replies
And the account have again many items, silks, pet, and reverse scroll I sell because i don't play it anymore, i don't have time... 30$ or 40$, i accept only Paypal. (No trade) If u want can contact me via PM on forum or found me at MSN [email protected] It's 125 screenshot :) I have post for momently the download .rar MEGAUPLOAD - The leading online storage and file delivery service
[RELEASE] FULL WEBSITE *HOT*
12/11/2010 - Metin2 PServer Designs, Websites & Scripts - 61 Replies
Hello,i have released this bechause i don't use it anymore! it's Metin2 Bucuresti official webpage,as you can see in the screen,is the official modified webpage,it looks cool,i think ;p You have Item Shop incorpored... All you have to do is to change the ip from user/config.php No more specifications! SCREENSHOT: http://b.imagehost.org/t/0391/webinfo.jpg



All times are GMT +1. The time now is 15:38.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.