Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 09:58

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

Advertisement



[Help] Killing Proplem.

Discussion on [Help] Killing Proplem. within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2011
Posts: 105
Received Thanks: 17
[Help] Killing Proplem.

I have a stupid problem..
My problem is , that when i use a multihit skill .. like mortal wound
TwoFoldBlades . And Many Others
U kill the monster or the player more than 1 time.
I hope some one could help me ..
XDestroyer2011 is offline  
Old 07/30/2013, 23:35   #2
 
elite*gold: 0
Join Date: Feb 2013
Posts: 51
Received Thanks: 22
seems u call the receive damage functions multiply as well as the skill itself, if so then u need to edit the damage calculations at the skill case ,
calculate the first hit damag as dmg1
if attacked.hp > dmg1 then calculate the second hit damage as dmg2
if attacked.hp> dmg1+dmg2 calculate the third hit damage as dmg 3
and so on
then call the receive damage void as receivedamage(dmg1+dmg2+dmg3)
EgyptianMano is offline  
Old 07/31/2013, 04:22   #3
 
elite*gold: 0
Join Date: Sep 2011
Posts: 105
Received Thanks: 17
Didnt understand nothing .. may u give me more details
XDestroyer2011 is offline  
Old 07/31/2013, 05:40   #4
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Just check in your receive damage method that the target is not already dead. If they are then you can safely return without issue.

Sanity checks are always a good idea <3
pro4never is offline  
Old 08/03/2013, 15:46   #5
 
urfinator's Avatar
 
elite*gold: 0
Join Date: Aug 2013
Posts: 58
Received Thanks: 2
Thanks!
urfinator is offline  
Reply


Similar Threads Similar Threads
Big Proplem NEED HELP !!!!
05/03/2012 - Silkroad Online - 0 Replies
I OPEN SREVOLUTION GAMESERVER AND LOGIN SERVER THEN WHEN I TRY TO OPEN THE GAME I GET THIS WHAT SHOULD I DO ??? http://img571.imageshack.us/img571/8145/1111il.png http://img443.imageshack.us/img443/5655/28421760.p ng
a proplem in GW in 5165 +pic of proplem
08/04/2010 - CO2 Private Server - 1 Replies
i got this error when 2 guilds damge pole http://img294.imageshack.us/img294/4554/201008040 04450.jpg http://img830.imageshack.us/img830/4227/201008040 04604.jpg can any one fix this error
i got this proplem when i get connect to my server+pic of proplem
06/19/2010 - CO2 Private Server - 4 Replies
when i got connect to my server on detacted host iget this error http://img139.imageshack.us/img139/268/55208631.j pg
log in proplem
10/30/2008 - Silkroad Online - 3 Replies
hi i need to ask i got banned in bot punshiment and when try to log in to the silkroad site it sayed i got blocked is site and game are the same? i mean i couldnt log in to site with my banned account? and if i can is that mean that account didnt blocked?:(



All times are GMT +1. The time now is 10:01.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

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