Register for your free account! | Forgot your password?

You last visited: Today at 21:05

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

Advertisement



Serenity Monk Skill

Discussion on Serenity Monk Skill within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2008
Posts: 52
Received Thanks: 0
Exclamation Serenity Monk Skill

Frist Big Thx For elhermanos For Helping

Second : Source 5620 The Monk Skill Serenity Don't Remove poisonstar And I want this skill to remove it !!
This Is Pic The Skill of my source



meshoshow is offline  
Old 10/18/2012, 04:28   #2
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
You've already found where the skill is being handled... now simply have it remove the effect you want it to.

It's literally 1 line of basic scripting involved to make the changes you want.


Example..

target.RemoveFlag(Effects.PoisonStar);

Note, this is totally pseudo code and you'll have to write it how your source handles effect removal.
pro4never is offline  
Old 10/18/2012, 05:10   #3
 
elite*gold: 0
Join Date: Jun 2008
Posts: 52
Received Thanks: 0
Really i didn't understand what u mean !!
so if u can edit it and send it again the i will be thanks !!!

Quote:
//Serenity
case 10400:
{
if (CanUseSpell(spell, attacker.Owner))
{
PrepareSpell(spell, attacker.Owner);

if (attacker == null) return;

SpellUse suse = new SpellUse(true);
suse.Attacker = attacker.UID;
suse.SpellID = SpellID;
suse.SpellLevel = attacker.Owner.Spells[SpellID].Level;
suse.X = X;
suse.Y = Y;

suse.Targets.Add(attacker.UID, 1);

attacker.ToxicFogLeft = 0;
//attacker.RemoveFlag(Update.Flags.SoulShackle);
attacker.Owner.SendScreen(suse, true);
}
attacker.AttackPacket = null;
break;
}
meshoshow is offline  
Old 10/18/2012, 07:58   #4
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
Quote:
Originally Posted by meshoshow View Post
Really i didn't understand what u mean !!
so if u can edit it and send it again the i will be thanks !!!
Wow. You have two examples. One from pro4never telling you what to generally look for, and one staring you in the face. If you don't want to even try, why should we?
Spirited is offline  
Old 10/18/2012, 09:32   #5

 
Novakhan's Avatar
 
elite*gold: 15
Join Date: Dec 2008
Posts: 332
Received Thanks: 137
Try to add this under attacker.ToxicFogLeft = 0;

Code:
attacker.RemoveFlag(Update.Flags.PoisonStar);
Or

Code:
attacker.PoisonStarLeft = 0;
If it doesn't work try what pro4never said

Code:
attacker.RemoveFlag(Effects.PoisonStar);
Novakhan is offline  
Old 10/18/2012, 18:54   #6
 
elite*gold: 0
Join Date: Jul 2007
Posts: 200
Received Thanks: 31
I thought it was remove flag no pots too ? but okay try what they said,
i think its 2 effects tho poisenstar and no pots
sonofskeletor is offline  
Old 10/18/2012, 21:07   #7
 
elite*gold: 0
Join Date: Jun 2008
Posts: 52
Received Thanks: 0
Doesn't Work (

What I have to do now !!
meshoshow is offline  
Old 10/18/2012, 21:31   #8
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
Quote:
Originally Posted by elhermanos View Post
Try to add this under attacker.ToxicFogLeft = 0;

Code:
attacker.RemoveFlag(Update.Flags.PoisonStar);
Or

Code:
attacker.PoisonStarLeft = 0;
If it doesn't work try what pro4never said

Code:
attacker.RemoveFlag(Effects.PoisonStar);
poison Star isnt a Flag so this isnt going to work ..
shadowman123 is offline  
Old 10/18/2012, 21:53   #9

 
Novakhan's Avatar
 
elite*gold: 15
Join Date: Dec 2008
Posts: 332
Received Thanks: 137
Replace your code with this one. I tested it and it works perfect.

Code:
                                case 10400:
                                    {
                                        if (CanUseSpell(spell, attacker.Owner))
                                        {
                                            PrepareSpell(spell, attacker.Owner);

                                            if (attacker == null) return;

                                            SpellUse suse = new SpellUse(true);
                                            suse.Attacker = attacker.UID;
                                            suse.SpellID = SpellID;
                                            suse.SpellLevel = attacker.Owner.Spells[SpellID].Level;
                                            suse.X = X;
                                            suse.Y = Y;

                                            suse.Targets.Add(attacker.UID, 1);

                                            attacker.ToxicFogLeft = 0;
                                            attacker.NoDrugsTime = 0;
                                            attacker.Owner.SendScreen(suse, true);
                                        }
                                        attacker.AttackPacket = null;
                                        break;
                                    }
Novakhan is offline  
Old 10/18/2012, 23:08   #10
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
attacker.NoDrugsTime = 0; // thats what he need to fix that
shadowman123 is offline  
Old 10/18/2012, 23:30   #11

 
Novakhan's Avatar
 
elite*gold: 15
Join Date: Dec 2008
Posts: 332
Received Thanks: 137
Quote:
Originally Posted by shadowman123 View Post
attacker.NoDrugsTime = 0; // thats what he need to fix that
Yeah but I gave him the whole code so he don't get disappointed
Novakhan is offline  
Thanks
1 User
Old 10/18/2012, 23:51   #12
 
elite*gold: 0
Join Date: Jun 2008
Posts: 52
Received Thanks: 0
Its Working Thx elhermanos !!!
meshoshow is offline  
Old 10/19/2012, 00:05   #13

 
Novakhan's Avatar
 
elite*gold: 15
Join Date: Dec 2008
Posts: 332
Received Thanks: 137
You are welcome
Novakhan is offline  
Old 10/19/2012, 00:07   #14
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
Quote:
Originally Posted by meshoshow View Post
Its Working Thx elhermanos !!!
u shouldnt depend on taking codes / asking for them
shadowman123 is offline  
Old 10/19/2012, 00:28   #15

 
Novakhan's Avatar
 
elite*gold: 15
Join Date: Dec 2008
Posts: 332
Received Thanks: 137
Quote:
Originally Posted by shadowman123 View Post
u shouldnt depend on taking codes / asking for them
You are right, But as you can see, He's kinda noob in C# so getting some help would be grateful for him^^ He will learn in that way, As he can learn in coding himself and not asking for codes.

Almost every people at their beginning in C# ask for codes and help.
Novakhan is offline  
Reply


Similar Threads Similar Threads
Rappelz Serenity - Serenity Gaming Network (E7P4)
08/05/2013 - Rappelz Private Server - 185 Replies
Serenity Gaming Network Presents: Rappelz Serenity 7.4 + 8.1 http://bit.ly/QU7vod Preview Video: http://www.youtube.com/watch?v=93gcVC0_7hg&fe ature=plcp Epic 8.1 Pet Presentation Videos by Ipwnstar - Funestbranze
[Battle Of Immortals] BoI Serenity - Serenity Gaming Network
09/23/2012 - Private Server - 4 Replies
Serenity Gaming Network Presents: Serenity BoI http://i1205.photobucket.com/albums/bb426/08FordM ustang/BOISERENITY.jpg Preview Video: (Coming Soon) Server Features
[Battle Of Immortals] BoI Serenity - Serenity Gaming Network
09/19/2012 - Battle of the Immortals - 33 Replies
Serenity Gaming Network Presents: Serenity BoI http://serenity-gaming.net/forum/public/style_ima ges/7_Logo1.png Preview Video: (Coming Soon) Server Features
Rappelz Serenity - Serenity Gaming Network (E7P4)
08/08/2012 - Private Server - 0 Replies
Serenity Gaming Network Presents: Rappelz Serenity (E7P4) https://fbcdn-sphotos-a.akamaihd.net/hphotos-ak-s nc7/318128_10150939060842789_215015337_n.jpg Preview Video: Rappelz Epic. 7 Reanimation - YouTube Server Features
(Monk Skill) Triple Attack Problem
09/19/2011 - CO2 Private Server - 8 Replies
I am having problem with Triple Attack whenever activates it counts as 3 kills, not just 1, so if my pheasant drops 5 cps, and this skill activates it gives me 15 cps by one hit instead of 5 cps...does anyone see something wrong into this code? I think the problem is at those 2 red lines I just highlighted... case 10490: { if (CanUseSpell(spell, attacker.Owner)) { ...



All times are GMT +1. The time now is 21:05.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.