Register for your free account! | Forgot your password?

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

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

Advertisement



Nerfed damage in a certain map

Discussion on Nerfed damage in a certain map within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2018
Posts: 1
Received Thanks: 0
Nerfed damage in a certain map

Wassup,

Using for the Capture The Flag event i'm currently working on for 5165 i'm stuck on the following Damage nerfe.

The Damage nerfe for skills is the following:
if (C.Loc.Map == CaptureTheFlagMap)
if (SU.Info.ID != 1045)
return 8; <-- would make SS or FB skill do 8 damage

Now my question is to make this do the same for Melee Attack but I can't figure it out. For example this would be what I want:
if (C.Loc.Map == CaptureTheFlagMap)
if (MeleeAttacking) <-- just a guess
return 8; <-- would make any melee attack do 8 damage

I hope anyone can help me solve this issue so I can proceed in working on this event.

Thanks everyone!

Ok so I was looking at Skills IDs. I guess I'm gonna need to use this line
This code will make it stop any Melee damage.
if (AttackType == 2 || AttackType == 28)
{
if (GC.MyChar.Loc.Map == CaptureTheFlag)
return; <-- Need a way to add a damage there. Anyone?
Deozios is offline  
Reply


Similar Threads Similar Threads
how to award certain player certain items
01/14/2015 - EO PServer Hosting - 7 Replies
hi there, trying to figure out how to award items to certain players for donating and such. lets go with the newbiegift as example, how would i get it to a non pm player?



All times are GMT +1. The time now is 02:03.


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.