|
المشاركات 160 |
+التقييم 0.08 |
تاريخ التسجيل Sep 2019 |
الاقامة المطرية - القاهرة |
نظام التشغيل Windows 7 |
رقم العضوية 1120 |
case 12070:
{
//uint Damage = PhysicalAttack(monster.Target.Owner, monster);
using (var rec = new ServerSockets.RecycledPacket())
{
var stream = rec.GetStream();
MsgServer.MsgSpellAnimation SpellPacket = new MsgServer.MsgSpellAnimation(monster.UID, 0, monster.Target.X, monster.Target.Y, (ushort)Spells[rand], 0, 0);
foreach (var targent in monster.View.Roles(client.Owner.Map, Role.MapObjectType.Player))
{
if (!targent.Alive)
continue;
var player = targent as Role.Player;
if (Role.Core.GetDistance(monster.Target.X, monster.Target.Y, (ushort)player.X, player.Y) <= 15) //18
{
uint Damage = PhysicalAttack(player.Owner, monster);
SpellPacket.Targets.Enqueue(new MsgServer.MsgSpellAnimation.SpellObj(player.UID, Damage, MsgServer.MsgAttackPacket.AttackEffect.None));
CheckForOponnentDead(player, Damage, monster);
if (Rate(5) && !player.ContainFlag(MsgServer.MsgUpdate.Flags.Dizzy))
player.AddFlag(MsgServer.MsgUpdate.Flags.Frightened, 3, true);
}
}
SpellPacket.SetStream(stream);
SpellPacket.Send(monster);
}
break; ;
}
[120700]
Name=TwilightDance
ActOfAttacker=951
ClientRepresent=112
SortOfAct=112
TraceEffectOriginYOffset=0
TraceEffectTargetYOffset=0
TargetType=4
Xp=2
Desc=Upgradable~at~Level~40
DescEx=Ninja`s~Epic~Weapon~only.~Equip~2~Epic~Weapons~and~cast~3~waves~of~blade~cyclone~in~a~row,~inflicting~92%~of~normal~damage~on~all~the~targets~within~range~by~the~first~wave,~102%~by~the~second~wave,~and~120%~by~the~third~wave.~The~cyclone~vanishes~if~the~caster~dies.~Cooldown:~4~seconds.~No~Stamina~cost.
Role3DEffectOfTarget=Evendancehit
TerrainEffect=Evendanceburst
NeedTurn=1
IsDirTerrianEffect=1
TargetWarningTime=500
TraceEffectDelay=500
ActOfTarget=923
ActOfTarget2=924
SoundOfTarget=sound\ShadowDance_hit.wav
EarthQuakeTimes=4
HitNumPerTarget=3
case (ushort)Role.Flags.SpellID.TwilightDance:
case (ushort)Role.Flags.SpellID.TwilightDance:
{
Attack.UID = user.Player.UID;
Attack.OpponentUID = user.Player.UID;
Attack.Damage = 0;
Attack.AtkType = 0;
user.Send(stream.InteractionCreate(&Attack));
MsgSpellAnimation MsgSpell = new MsgSpellAnimation(user.Player.UID
, user.Player.UID, Attack.X, Attack.Y, ClientSpell.ID
, ClientSpell.Level, ClientSpell.UseSpellSoul);
Algoritms.LayTrapThree Line = new Algoritms.LayTrapThree(user.Player.X, Attack.X, user.Player.Y, Attack.Y, 15);
int Stamp = 300;
byte Color = 2;
List<MsgFloorItem.MsgItem> Items = new List<MsgFloorItem.MsgItem>();
foreach (var coords in Line.LCoords)
{
if (!user.Player.FloorSpells.ContainsKey(ClientSpell.ID))
user.Player.FloorSpells.TryAdd(ClientSpell.ID, new Role.FloorSpell.ClientFloorSpells(user.Player.UID, Attack.X, Attack.Y, ClientSpell.SoulLevel, DBSpell, user.Map));
var FloorItem = new Role.FloorSpell(Game.MsgFloorItem.MsgItemPacket.TwilightDance, (ushort)coords.X, (ushort)coords.Y, Color, DBSpell, Stamp);
user.Player.FloorSpells[ClientSpell.ID].AddItem(FloorItem);
Color++;
Stamp += 400;
user.Player.View.SendView(stream.ItemPacketCreate(FloorItem.FloorPacket), true);
}
Updates.UpdateSpell.CheckUpdate(stream, user, Attack, 10000, DBSpells);
MsgSpell.SetStream(stream);
MsgSpell.Send(user);
break;
}
TwilightDance = 40,
case 12070:
{
//uint Damage = PhysicalAttack(monster.Target.Owner, monster);
using (var rec = new ServerSockets.RecycledPacket())
{
var stream = rec.GetStream();
MsgServer.MsgSpellAnimation SpellPacket = new MsgServer.MsgSpellAnimation(monster.UID
, 0, monster.Target.X, monster.Target.Y, (ushort)Spells[rand], 0, 0);
foreach (var targent in monster.View.Roles(client.Owner.Map, Role.MapObjectType.Player))
{
if (!targent.Alive)
continue;
var player = targent as Role.Player;
if (Role.Core.GetDistance(monster.Target.X, monster.Target.Y, player.X, player.Y) <= 18)
{
uint Damage = PhysicalAttack(player.Owner, monster);
SpellPacket.Targets.Enqueue(new MsgServer.MsgSpellAnimation.SpellObj(player.UID, Damage
, MsgServer.MsgAttackPacket.AttackEffect.None));
CheckForOponnentDead(player, Damage, monster);
if (Rate(5) && !player.ContainFlag(MsgServer.MsgUpdate.Flags.Dizzy))
player.AddFlag(MsgServer.MsgUpdate.Flags.Frightened, 3, true);
}
}
SpellPacket.SetStream(stream);
SpellPacket.Send(monster);
}
break; ;
}
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
اضافه ال ريفرش لي سكله TwilightDance | Hassan Emprator | تطوير سيرفرات كونكر | 3 | 2020-02-11 07:42 PM |
حل مشكلة اسكلة TwilightDance | AbuMaryam | تطوير سيرفرات كونكر | 3 | 2019-10-05 12:32 AM |
مشكلة فى اسكلة TwilightDance | ViORX | مشكلات السيرفيرات كونكر الشخصيه | 4 | 2019-09-27 02:44 PM |
ممكن اضافة اسكلة TwilightDance | ابو مروان | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2019-09-25 01:06 AM |
مشكله في اسكله TwilightDance هنا | uncelsam | مشكلات السيرفيرات كونكر الشخصيه | 8 | 2019-07-28 10:04 PM |