|
You last visited: Today at 10:00
Advertisement
[Help]FB & Reborn Defence
Discussion on [Help]FB & Reborn Defence within the CO2 Private Server forum part of the Conquer Online 2 category.
02/14/2009, 23:13
|
#1
|
elite*gold: 0
Join Date: Jan 2007
Posts: 1,034
Received Thanks: 58
|
[Help]FB & Reborn Defence
Well Its a new Qustion So I will bump thread.
I discovered that When Someone Has locked skill on PTarget , and the PTarget moves its not breaking.I have tried several ways of making it break whenever charr moves or dies.Anyone got an Idea what do I suppose to do? Hints are All right.Same to other skills, I just want charr to stop Locking the skill after Target is dead.
Thanks In advance.
|
|
|
02/14/2009, 23:16
|
#2
|
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
|
Uhhm, if it's not being taken into account wherever skills calculate damage (which is Other.CalculateDamage I think, if not, look at the actual code in Character.UseSkill), then it's not gunna work. Look in Character.UseSkill...
|
|
|
02/14/2009, 23:37
|
#3
|
elite*gold: 0
Join Date: Feb 2009
Posts: 30
Received Thanks: 16
|
So it's only working for melee? If so just look at the attack handler for spells and do the proper calculations there. (Basically what tao said.)
|
|
|
02/14/2009, 23:40
|
#4
|
elite*gold: 0
Join Date: Jan 2007
Posts: 1,034
Received Thanks: 58
|
#Edit Thanks for Help tao , got it now =] #Request close.
|
|
|
02/15/2009, 16:05
|
#5
|
elite*gold: 0
Join Date: Jan 2007
Posts: 1,034
Received Thanks: 58
|
#bump , New Question.Im not going to flood this section with my threads.So I just bumped this one.
|
|
|
02/15/2009, 19:02
|
#6
|
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
|
Well, you could track the characters location when attacking is initiated, and then just check if they're not on the same location. If they aren't then null out PTarget, same thing if they're dead.
|
|
|
02/15/2009, 20:20
|
#7
|
elite*gold: 0
Join Date: Jan 2007
Posts: 1,034
Received Thanks: 58
|
Quote:
Originally Posted by tao4229
Well, you could track the characters location when attacking is initiated, and then just check if they're not on the same location. If they aren't then null out PTarget, same thing if they're dead.
|
Got it Thanks :P
|
|
|
02/16/2009, 15:19
|
#8
|
elite*gold: 0
Join Date: Jan 2007
Posts: 1,034
Received Thanks: 58
|
#Bump , nvm having problems with Coord's Checking X_X Never Really tried it before.Any help?
Btw It stops attacking once the target is dead.But Once you start to be locking skill at ghost it keeps attacking it till you rev's.Hmm any help about this one too? Thats my SkillLooping Part.
else if (AtkType == 21)
{
if (SkillLooping != 0)
{
if (SkillLoopingTarget != 0)
{
if (SkillLoopingTarget > 400000 && SkillLoopingTarget < 500000)
{
SingleMob Targ = (SingleMob)Mobs.AllMobs[SkillLoopingTarget];
if (Targ == null || !Targ.Alive)
return;
else
UseSkill(SkillLooping, (ushort)Targ.PosX, (ushort)Targ.PosY, SkillLoopingTarget);
if (!Alive)
{
UseSkill(SkillLooping, (ushort)Targ.PosX, (ushort)Targ.PosY, SkillLoopingTarget);
}
else
{
SkillLoopingTarget = 0;
Attacking = false;
}
}
else if (SkillLoopingTarget < 7000 && SkillLoopingTarget >= 5000)
{
SingleNPC Targ = (SingleNPC)NPCs.AllNPCs[SkillLoopingTarget];
if (Targ == null)
return;
else
UseSkill(SkillLooping, (ushort)Targ.X, (ushort)Targ.Y, SkillLoopingTarget);
if (!Alive)
{
UseSkill(SkillLooping, (ushort)Targ.X, (ushort)Targ.Y, SkillLoopingTarget);
}
else
{
SkillLoopingTarget = 0;
Attacking = false;
}
}
else
{
Character Targ = (Character)World.AllChars[SkillLoopingTarget];
if (Targ == null || !Targ.Alive)
return;
else
UseSkill(SkillLooping, Targ.LocX, Targ.LocY, SkillLoopingTarget);
if (!Alive)
{
UseSkill(SkillLooping, Targ.LocX, Targ.LocY, SkillLoopingTarget);
}
else
{
SkillLoopingTarget = 0;
Attacking = false;
}
}
}
else
{
UseSkill(SkillLooping, SkillLoopingX, SkillLoopingY, 0);
}
}
else
{
SkillLooping = 0;
}
}
Ready = true;
}
catch (Exception Exc) { General.WriteLine(Convert.ToString(Exc)); }
}
|
|
|
 |
Similar Threads
|
[Help] adding commands to change attack defence m-attack and m-defence
12/01/2009 - CO2 Private Server - 3 Replies
Yeah,is this possible if so can someone give me the run down on how to do it,and maybe if possible the command
also does anyone know how to make it so a gm/pm can get more hp,and also what is the id for gmrobes/gold goodluck garments in the 5165 server
Thanks help apprciated
|
DEFENCE HACK!!!!
06/14/2009 - Grand Chase - 3 Replies
Can anyone try this hack when you get the address of your 1hit...
in 1vs1 pvp try to change the value of your 1hit in 1 or 123 and freeze...
after that you have a defence hack..
it only works in 1vs1...
|
[Help]FB & Reborn Defence
02/14/2009 - CO2 Private Server - 0 Replies
Well I have Done Reborn Defence fully , It takes effect on every type Of Damage Except FB Rage And stuff like this , I've been searching through whole lotf and I didnt Find anything I Could fit *reborn Into.Anyone Can tell me where to search?I will really appriciate it , Im about to die cause of it lol
|
Best defence vs with a blader
10/25/2008 - Silkroad Online - 7 Replies
hey guys just wondering when the wizz buffs himm sellff with clerik buffs bless....
what should i do with a force blade when he activates flamethrower or what is that skill called
im not ff so i can weaken him but i am 90 with +7 blade +5shiled and +4garment gear...
plis help
i have 9 gap so fire 81 bicheon 81 cold 30 force 6 lightning 47 (vill delvl when ff)
|
QUESTION about reborn and 2nd reborn at lv130
12/14/2006 - Conquer Online 2 - 9 Replies
my question is if i got reborn at lv130 and got extra 55point after i got lv130 again and got reborn again what will happen to the extra 55point when i first reborn? because i don't want to waste time lv to 130 if i got 2nd reborn these point will gone. any one have a lv130-lv130-and reborn please help me thank you^^
|
All times are GMT +1. The time now is 10:00.
|
|