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

Setting up skills - Wizard

leonistic

New Member
Joined
May 17, 2014
Messages
36
Reaction score
0
Hi,

Is there anyway to setting up a 'preferred' skill so to speak without having to change the kill radius?
Say for example, I'm a wiz using mostly magic missile as the default skill for damage but it seems that my db is only utilizing wave of force as the main skill and only at times uses the magic missile skill when my arcane runs out.

I've tried many settings and changes to no avail.. Keep dying because of it.

Hope to get some advice from you guys!

Thank you
 
Is there anyway to setting up a 'preferred' skill so to speak without having to change the kill radius?

Well there is a way but not a nice one...Trinity will use skills as long as you have enough resource for it.
1 solution would be to remove all active skills from the skillbar so it will only use magic missle which is probably not what you want.
The other solution would be to to edit ...\Demonbuddy\Plugins\Trinity\Combat\Abilities\Wizard.cs

// Wave of force
if (!useOocBuff && !Player.IsIncapacitated && !isCurrentlyAvoiding && Player.PrimaryResource >= 25 && CombatBase.CanCast(SNOPower.Wizard_WaveOfForce, CombatBase.CanCastFlags.NoTimer))
{
return new TrinityPower(SNOPower.Wizard_WaveOfForce, 5f, CurrentTarget.Position, CurrentWorldDynamicId, -1, 1, 2);
}

bool hasEntropy = HotbarSkills.AssignedSkills.Any(s => s.Power == SNOPower.Wizard_Disintegrate && s.RuneIndex == 2);

- standart is as long as you have more than 25 arcane power it will cast wave of force, change it to your max arcane power - resource cost of WoF and you will use MM much more

- you could also add a timer to WoF so it will be only used every X seconds

...\Demonbuddy\Plugins\Trinity\Combat\Abilities\CombatBase.cs

public enum CanCastFlags
{
All = 2,
NoTimer = 4,
NoPowerManager = 8
WoF = X
}

i guess Trinty uses miliseconds since "NoTimer" = 4 and it is able to spam. Add for example WoF = 3000 to CombatBase.cs and change CanCastFlags.NoTimer to CanCastFlags.WoF so it will be only used once every 3 seconds and the rest of the time trinity will spam Magic Missle as long as you dont have another active skill which is spamable.

hope that helped
 
Last edited:
Hi, Many thanks for your suggestion. I've tried your way but unfortunately, it's either db not working optimally resulting in a crash in D3 itself every few mins or so or i managed to screw something up in the script.
The possibility of this being caused by the latter would be low but nonetheless, possible.

Removing active skills from my bar would be quite a big nono..

Hmm.. if only there's a plugin or something to select skills to use only.

EDIT: looked through my file and managed to get it working with your advice. Thank you so much. However, my WoF only cast 1 time per 3 secs. Is there a way to allow 'spamming' of the skill for when the timer runs up? So that I can balance between mm and wof.
 
Last edited:
Back
Top