|
You last visited: Today at 21:05
Advertisement
Serenity Monk Skill
Discussion on Serenity Monk Skill within the CO2 Private Server forum part of the Conquer Online 2 category.
10/18/2012, 02:23
|
#1
|
elite*gold: 0
Join Date: Jun 2008
Posts: 52
Received Thanks: 0
|
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
|
|
|
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.
|
|
|
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;
}
|
|
|
|
10/18/2012, 07:58
|
#4
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
|
Quote:
Originally Posted by meshoshow
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?
|
|
|
10/18/2012, 09:32
|
#5
|
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);
|
|
|
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
|
|
|
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 !!
|
|
|
10/18/2012, 21:31
|
#8
|
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
|
Quote:
Originally Posted by elhermanos
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 ..
|
|
|
10/18/2012, 21:53
|
#9
|
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;
}
|
|
|
10/18/2012, 23:08
|
#10
|
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
|
attacker.NoDrugsTime = 0; // thats what he need to fix that
|
|
|
10/18/2012, 23:30
|
#11
|
elite*gold: 15
Join Date: Dec 2008
Posts: 332
Received Thanks: 137
|
Quote:
Originally Posted by shadowman123
attacker.NoDrugsTime = 0; // thats what he need to fix that
|
Yeah but I gave him the whole code so he don't get disappointed
|
|
|
10/18/2012, 23:51
|
#12
|
elite*gold: 0
Join Date: Jun 2008
Posts: 52
Received Thanks: 0
|
Its Working Thx elhermanos !!!
|
|
|
10/19/2012, 00:05
|
#13
|
elite*gold: 15
Join Date: Dec 2008
Posts: 332
Received Thanks: 137
|
You are welcome
|
|
|
10/19/2012, 00:07
|
#14
|
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
|
Quote:
Originally Posted by meshoshow
Its Working Thx elhermanos !!!
|
u shouldnt depend on taking codes / asking for them
|
|
|
10/19/2012, 00:28
|
#15
|
elite*gold: 15
Join Date: Dec 2008
Posts: 332
Received Thanks: 137
|
Quote:
Originally Posted by shadowman123
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.
|
|
|
 |
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.
|
|