apollogg
Member
- Joined
- Apr 12, 2015
- Messages
- 101
- Reaction score
- 2
Trinity use SpellHistory.FindSpells to identity how many Phantasms at a given position.
if (Runes.WitchDoctor.Phantasm.IsActive)
{
var numPhantasmsAtTarget = SpellHistory.FindSpells(skill.SNOPower, target.Position, 12f, 5).Count();
if (numPhantasmsAtTarget >= 3)
return false;
}
I want to know the count and position of Phantasm in current game. Is Is it possible to get LoN WD's Phantasm position and count from DB directly? such as ZetaDia.Actors.GetActorsOfType<DiaUnit>(true).Count(o => o.IsValid && PhantasmIds.Contains(o.ActorSnoId));
What's the ActorSnoId of LoN WD's Phantasms?
Best reagards
if (Runes.WitchDoctor.Phantasm.IsActive)
{
var numPhantasmsAtTarget = SpellHistory.FindSpells(skill.SNOPower, target.Position, 12f, 5).Count();
if (numPhantasmsAtTarget >= 3)
return false;
}
I want to know the count and position of Phantasm in current game. Is Is it possible to get LoN WD's Phantasm position and count from DB directly? such as ZetaDia.Actors.GetActorsOfType<DiaUnit>(true).Count(o => o.IsValid && PhantasmIds.Contains(o.ActorSnoId));
What's the ActorSnoId of LoN WD's Phantasms?
Best reagards