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

Trinity 1.8.18 Wizard Vyr's set Archon slow time spam

redrobe

New Member
Joined
Feb 6, 2011
Messages
9
Reaction score
0
It seems this if statement
if (!UseOOCBuff && !Player.IsIncapacitated &&
(TargetUtil.AnyElitesInRange(25, 1) ||
TargetUtil.EliteOrTrashInRange(25f) ||
(CurrentTarget.IsBossOrEliteRareUnique && CurrentTarget.RadiusDistance <= 35f)) &&
CombatBase.CanCast(SNOPower.Wizard_Archon_SlowTime, CombatBase.CanCastFlags.NoTimer))

Always returns true. I've tried adding && !GetHasBuff(SNOPower.Wizard_Archon_SlowTime), but I don't think it's something you can detect this way (it compiled but didn't work). Also checked and in variables, Wizard_archon_slowtime has a time of 16000, but I'm guessing the combatbase.cancastflags.notimer is overriding that. Is there a way to set that timer from here to say > 15000 so it doesn't spam it? What works for now is just commenting out the whole block, which just removes the slow time entirely.

Thanks
 
can you explain how to do this, same trouble her

thanks

Find Demonbuddy/plugins/trinity/combat/abilities/wizard.cs and change

// Archon form
// Archon Slow Time for in combat
if (!UseOOCBuff && !Player.IsIncapacitated &&
(TargetUtil.AnyElitesInRange(25, 1) ||
TargetUtil.EliteOrTrashInRange(25f) ||
(CurrentTarget.IsBossOrEliteRareUnique && CurrentTarget.RadiusDistance <= 35f)) &&
CombatBase.CanCast(SNOPower.Wizard_Archon_SlowTime, CombatBase.CanCastFlags.NoTimer) && !GetHasBuff(SNOPower.Wizard_Archon_SlowTime))
{
return new TrinityPower(SNOPower.Wizard_Archon_SlowTime, 0f, Vector3.Zero, CurrentWorldDynamicId, -1, 1, 1, WAIT_FOR_ANIM);
}

to

// Archon form
// Archon Slow Time for in combat
/* if (!UseOOCBuff && !Player.IsIncapacitated &&
(TargetUtil.AnyElitesInRange(25, 1) ||
TargetUtil.EliteOrTrashInRange(25f) ||
(CurrentTarget.IsBossOrEliteRareUnique && CurrentTarget.RadiusDistance <= 35f)) &&
CombatBase.CanCast(SNOPower.Wizard_Archon_SlowTime, CombatBase.CanCastFlags.NoTimer) && !GetHasBuff(SNOPower.Wizard_Archon_SlowTime))
{
return new TrinityPower(SNOPower.Wizard_Archon_SlowTime, 0f, Vector3.Zero, CurrentWorldDynamicId, -1, 1, 1, WAIT_FOR_ANIM);
}
*/
 
I've found having the Archon Strike enabled makes it work most the time. But under wizard, I think having a Option where you can check it as "Vyr Set" so it uses the skills properly.
 
Back
Top