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

Wizzard combat annoyance

speculoos

Member
Joined
Jun 11, 2012
Messages
397
Reaction score
1
Hi Rrrix,

I would like to desactivate Archon_teleport as i have the Vyr's set i have 3 options : arcane strike // slowtime // teleport, the first 2 are working correctly but teleport is not useful for boss fight, allways teleporting away from boss .
I tried to change some values in Variables but doesnt seem to help. Anyone can help to desactivate this please?

Thanks
 
Open the wizard.cs, search for teleport until you find


// Archon Teleport in combat
if (!UseOOCBuff && !IsCurrentlyAvoiding && !Player.IsIncapacitated && Hotbar.Contains(SNOPower.Wizard_Archon_Teleport) &&
CombatBase.CanCast(SNOPower.Wizard_Archon_Teleport, CombatBase.CanCastFlags.NoTimer) &&
// Try and teleport-retreat from 1 elite or 3+ greys or a boss at 15 foot range
(TargetUtil.AnyElitesInRange(15, 1) || TargetUtil.AnyMobsInRange(15, 3) || (CurrentTarget.IsBoss && CurrentTarget.RadiusDistance <= 15f)))
{
Vector3 vNewTarget = MathEx.CalculatePointFrom(CurrentTarget.Position, Player.Position, -20f);
return new TrinityPower(SNOPower.Wizard_Archon_Teleport, 35f, vNewTarget, CurrentWorldDynamicId, -1, 1, 1, WAIT_FOR_ANIM);
}

You can either change the distance to be infinite, change it to 100 or something and it won't teleport or comment out the whole section to disable completely. Here is a example of disable

// Archon Teleport in combat
// if (!UseOOCBuff && !IsCurrentlyAvoiding && !Player.IsIncapacitated && Hotbar.Contains(SNOPower.Wizard_Archon_Teleport) &&
// CombatBase.CanCast(SNOPower.Wizard_Archon_Teleport, CombatBase.CanCastFlags.NoTimer) &&
// Try and teleport-retreat from 1 elite or 3+ greys or a boss at 15 foot range
// (TargetUtil.AnyElitesInRange(15, 1) || TargetUtil.AnyMobsInRange(15, 3) || (CurrentTarget.IsBoss && CurrentTarget.RadiusDistance <= 15f)))
// {
// Vector3 vNewTarget = MathEx.CalculatePointFrom(CurrentTarget.Position, Player.Position, -20f);
// return new TrinityPower(SNOPower.Wizard_Archon_Teleport, 35f, vNewTarget, CurrentWorldDynamicId, -1, 1, 1, WAIT_FOR_ANIM);
// }
 
Thanks a lot mate, i have tried previously that exact same solution and it created an error i guess i made a mistakes somewhere, but now i just copy pasted yours and it works :) Thanks !
 
Oh good. I made a mistake too, if you wanted to change the activation range you should make it smaller instead of larger. My suggestion of 100 would make it constantly teleport hahaha.
 
Back
Top