Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Fan fan = new Fan(Attacker.X, Attacker.Y, info.X, info.Y, spell.Range, 160);
- foreach (IMapObject obj in Attacker.Owner.Screen.TryGetValues(MapObjectType.Player, MapObjectType.Monster))
- {
- if (fan.IsInFan(obj.X, obj.Y))
- {
- if (CanAttackEntity.Verified(Attacker, (obj as Entity), spell, info.Attack.AttackType == Attack.Physical))
- {
- info.Attack.Effect = Attack.AttackEffects.None;
- uint damage = Calculating.Physical.Player(Attacker, (obj as Entity), spell, ref info.Attack);
- suse.Effect1 = info.Attack.Effect;
- ReceiveAttack.Player.Execute(Attacker, (obj as Entity), info.Attack, ref damage, spell);
- suse.AddTarget(obj.UID, damage, info.Attack);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement