What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Wizard skill ArchonDisintegrationWave cannot be right cast

Night Breeze

Member
Joined
Jan 28, 2017
Messages
100
Reaction score
14
In my combat routine, i use this code to cast ArchonDisintegrationWave skill
Code:
if (IsArchonActive && target != null && target.Distance < 45 && target.IsInLineOfSight)
{

    var position = MathEx.CalculatePointFrom(target.Position, ZetaDia.Me.Position, 45f);
    return new TrinityPower(Skills.Wizard.ArchonDisintegrationWave, 45f, position, 100, 100);
}

It runs very perfect, but if there are some obstacle between player and target, bot will always attack the target, but can't kill to target.At this time, i think the bot is a fool, attack the target until the world destroyed.

Is there some API can check this skill can be right cast or ignore obstacle after the unit?
 
In my combat routine, i use this code to cast ArchonDisintegrationWave skill

It runs very perfect, but if there are some obstacle between player and target, bot will always attack the target, but can't kill to target.At this time, i think the bot is a fool, attack the target until the world destroyed.

Is there some API can check this skill can be right cast or ignore obstacle after the unit?


This doesn't happen with the other routines that uses disintegrationwave (firebird archon, manald heal(my testroutine). So I really can't know what's going on. Maybe add a check (ShouldArchonDisintegrationWave)?
 
This doesn't happen with the other routines that uses disintegrationwave (firebird archon, manald heal(my testroutine). So I really can't know what's going on. Maybe add a check (ShouldArchonDisintegrationWave)?
thks, i forgot it........i will try, hope it can work
 
Back
Top