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

To rrrix

Farix

Member
Joined
Jan 26, 2012
Messages
608
Reaction score
10
SOLVED ISSUE - Irrelevant for anyone but me

Can you please add support for teleport - calamity rune in combat?

Ideally, spam it at best cluster spot or 1 target (if fighting, say, boss) as many times as it can prior to cd starting? This way Cosmic Shard & Teleport can be used OOC as well as in combat as a form of dps? I tried and broke it.
 
Last edited:
// Teleport in combat
if (!UseOOCBuff && CombatBase.CanCast(SNOPower.Wizard_Teleport) &&
CurrentTarget.CentreDistance <= 40f &&
PowerManager.CanCast(SNOPower.Wizard_Teleport))
{
var pos = TargetUtil.GetBestClusterPoint(5f, 10f);
return new TrinityPower(SNOPower.Wizard_Teleport, 45f, pos, CurrentWorldDynamicId, -1, 1, 2, WAIT_FOR_ANIM);
}

This was working for me Also with Illusionist passive i think i changed spell delay in Trinity Variables to like 250 or something. ( maybe not needed now )
 
I use Hotbr.Contains instead, wouldn't work for me otherwise with Illusionist even when changing the delay variable timer. With that, it uses it whenever it is available.

By the way, it's pretty brutal once you get it working. Super efficient farming.
 
I use Hotbr.Contains instead, wouldn't work for me otherwise with Illusionist even when changing the delay variable timer. With that, it uses it whenever it is available.

By the way, it's pretty brutal once you get it working. Super efficient farming.

Could you please copy/past it?
 
Could you please copy/past it?

Sure, here it is:

if (!UseOOCBuff && Hotbar.Contains(SNOPower.Wizard_Teleport) && CurrentTarget.RadiusDistance <= 50f && PowerManager.CanCast(SNOPower.Wizard_Teleport))
{
var pos = TargetUtil.GetBestClusterPoint(5f, 10f);
return new TrinityPower(SNOPower.Wizard_Teleport, 45f, pos, CurrentWorldDynamicId, -1, 1, 2, WAIT_FOR_ANIM);
}

I also have the spell delay values changed, but I think it's not necessary. This should work with Wormhole and Cosmic Strand, but I haven't tested with any so far, I am using Calamity for almost-perma-stun.
 
Cant include code

Probably want to change the title of this thread as to not bother rrrix and everyone knows what it is about! ;-)


Hi Eonas, can you upload your wizard.cs? i cant seem to include the code in mine. After i added in and start DB client, it indicates:
Compiler Error: c:\Users\Owner\Desktop\DB\Plugins\Trinity\Combat\Abilities\Wizard.cs(55,22) : error CS0103: The name 'UseOOCBuff' does not exist in the current context
Compiler Error: c:\Users\Owner\Desktop\DB\Plugins\Trinity\Combat\Abilities\Wizard.cs(58,28) : error CS1729: 'Trinity.TrinityPower' does not contain a constructor that takes 8 arguments

Kindly advice =/
 
Back
Top