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

[Patch] Support for the Delsere's Magnum Opus <Wizard>

freebsdx

Member
Joined
Nov 1, 2013
Messages
102
Reaction score
0
Greetings everyone.
I believe many of you have got the full set of the Delsere's Magnum Opus.
In my opinion, this is really a very powerful set. :D
So I just do a little modification to the official Trinity to make this set better supported.
Now the SlowTime works perfectly for me, at last.

Just add following line to the file "WizardCombat.cs" found at this path:
Trinity/Combat/Abilities
And insert the following code from the line 145:
return new TrinityPower(SNOPower.Wizard_SlowTime, 55f, TargetUtil.GetBestClusterUnit(20f).Position);

Your code will look like:
// Slow Time for in combat
if (!Player.IsIncapacitated && CanCast(SNOPower.Wizard_SlowTime, CanCastFlags.NoTimer))
{
if ((TargetUtil.AnyElitesInRange(25, 1) ||
TargetUtil.AnyMobsInRange(25, 1) ||
(CurrentTarget.IsBossOrEliteRareUnique &&
CurrentTarget.RadiusDistance <= 40f)))

return new TrinityPower(SNOPower.Wizard_SlowTime, 55f,
TargetUtil.GetBestClusterUnit(20f).Position);
//=======================================

if (Legendary.GestureOfOrpheus.IsEquipped && SpellHistory.DistanceFromLastTarget(SNOPower.Wizard_SlowTime) > 10f)
return new TrinityPower(SNOPower.Wizard_SlowTime);

if ((TargetUtil.AnyElitesInRange(25, 1) || TargetUtil.AnyMobsInRange(25, 2) || (CurrentTarget.IsBossOrEliteRareUnique && CurrentTarget.RadiusDistance <= 40f)) &&
SpellHistory.DistanceFromLastTarget(SNOPower.Wizard_SlowTime) > 30f)
{
return new TrinityPower(SNOPower.Wizard_SlowTime); // cast of Self
}
if (TargetUtil.AnyMobsInRange(55f) && Runes.Wizard.TimeAndSpace.IsActive)
{
return new TrinityPower(SNOPower.Wizard_SlowTime, 55f, TargetUtil.GetBestClusterUnit(20f).Position);
}
}

If you are not sure how to add these, I just upload my file as attachment.
Please feel free to use and enjoy that.


Troubleshooting: You can also try the trinity package I have uploaded here.
Just delete the old trinity folder and use my trinity package.
Thanks.
 

Attachments

Last edited:
i think u can do .IsEquipped

Code:
/// <summary>       
/// Is this set is equipped enough for any set bonus
/// </summary>
        public bool IsEquipped
        {
            get { return IsThirdBonusActive || IsSecondBonusActive || IsFirstBonusActive; }
        }
 
Last edited:
i think u can do .IsEquipped

Code:
/// <summary>       
/// Is this set is equipped enough for any set bonus
/// </summary>
        public bool IsEquipped
        {
            get { return IsThirdBonusActive || IsSecondBonusActive || IsFirstBonusActive; }
        }

Neat and beautiful.
Thank you very much for your great idea, Master. :D
 
Neat and beautiful.
Thank you very much for your great idea, Master. :D

also, since the set definition Sets.cs uses the Legendary items reference, it wont work until we have the Ids for the Items.

Code:
        public static Set DelseresMagnumOpus = new Set
        {
            Name = "Delsere's Magnum Opus",
            Items = new List<Item>
            {
                Legendary.DashingPauldronsOfDespair,
                Legendary.HarnessOfTruth,
                Legendary.FierceGauntlets,
                Legendary.LegGuardsOfMystery,
                Legendary.ShroudedMask,
                Legendary.StridersOfDestiny
            },
            FirstBonusItemCount = 2,
            SecondBonusItemCount = 4,
            ThirdBonusItemCount = 6
        };
 
also, since the set definition Sets.cs uses the Legendary items reference, it wont work until we have the Ids for the Items.

Code:
        public static Set DelseresMagnumOpus = new Set
        {
            Name = "Delsere's Magnum Opus",
            Items = new List<Item>
            {
                Legendary.DashingPauldronsOfDespair,
                Legendary.HarnessOfTruth,
                Legendary.FierceGauntlets,
                Legendary.LegGuardsOfMystery,
                Legendary.ShroudedMask,
                Legendary.StridersOfDestiny
            },
            FirstBonusItemCount = 2,
            SecondBonusItemCount = 4,
            ThirdBonusItemCount = 6
        };

Oops... I miss such critical part. >_<
Actually my code still works for the people who equip the time wand, aka, "Gesture Of Orpheus". :)
Since I am a coding rookie, this thread only intends to attract some attention of the developer community.
I believe much more elegant solution will be shipped in the next version of trinity. :D
 
Hey,
so if you don't have Gesture Of Orpheus, how can I get it running? I obtained 4 set pieces now but since I switched the bot stopped completly :(
Any fix yet? Can you help?
Thank you and BR
 
Hey,
so if you don't have Gesture Of Orpheus, how can I get it running? I obtained 4 set pieces now but since I switched the bot stopped completly :(
Any fix yet? Can you help?
Thank you and BR
As you wish, I have updated the attachment.
Through I haven't tested it completely, I believe it should work. :D
This is a very coarse version now.
I believe rrrix and other developers will deliver far better one.

UPDATE: Run for 6 hours, everything seems to be good.
Please leave a message if you find it works for you. :D
 
Last edited:
ATTACHMENT not working
That is pretty weird... It works for me greatly.
Anyway, it is still easy to modify the file by yourself.
1. Navigate the following path: Trinity\Combat\Abilities and find the file "WizardCombat.cs";
2. Open this file using any text editor you like :D
3. Insert following line at the line 146:

return new TrinityPower(SNOPower.Wizard_SlowTime, 55f, TargetUtil.GetBestClusterUnit(20f).Position);

Your code will look like:

// Slow Time for in combat
if (!Player.IsIncapacitated && CanCast(SNOPower.Wizard_SlowTime, CanCastFlags.NoTimer))
{
// support for DelseresMagnumOpus
return new TrinityPower(SNOPower.Wizard_SlowTime, 55f, TargetUtil.GetBestClusterUnit(20f).Position);


if (Legendary.GestureOfOrpheus.IsEquipped && SpellHistory.DistanceFromLastTarget(SNOPower.Wizard_SlowTime) > 10f)
return new TrinityPower(SNOPower.Wizard_SlowTime);

if ((TargetUtil.AnyElitesInRange(25, 1) || TargetUtil.AnyMobsInRange(25, 2) || (CurrentTarget.IsBossOrEliteRareUnique && CurrentTarget.RadiusDistance <= 40f)) &&
SpellHistory.DistanceFromLastTarget(SNOPower.Wizard_SlowTime) > 30f)
{
return new TrinityPower(SNOPower.Wizard_SlowTime); // cast of Self
}
if (TargetUtil.AnyMobsInRange(55f) && Runes.Wizard.TimeAndSpace.IsActive)
{
return new TrinityPower(SNOPower.Wizard_SlowTime, 55f, TargetUtil.GetBestClusterUnit(20f).Position);
}
}

I am pretty sure this approach will work. Good luck buddy :)
 
This looks awesome, I'm running firebird right now but survivability is kinda ehhhh. I'll check this out later and probably use it until I find all the tal rasha set pieces.
 
think i got it now
I have found the reason causing your trouble now.
Source file has been updated. Please try the latest one.

This looks awesome, I'm running firebird right now but survivability is kinda ehhhh. I'll check this out later and probably use it until I find all the tal rasha set pieces.

According to some game videos posted on the youtube, the Tal Rasha set is powerful than the Delsere set.
As for me, I am using the Ring of Royal Grandeur to build the mixed set.
It is good for me. T6 Rift is completed in less than 4 minutes.
As for the firebird set, it is a joke now. LOL
 
at the first 10 mobs all is find besides i constantly seeing ''that target is too far for this skill'' in my screen

after few mobs he wont cast slow time anymore and

he never using my primary and secondary skills like arcane orb and magic missiles btw

so no i cant say this is working quite well for me

any sugestions?
 
my wizard doesn´t use the bubble (i have the full set, rasha doesnt drop -.-") - how can i solve this problem?
 
My wizard wasn't casting frozen orb or any signature spell, then i realized that after i put in the OP's combat profile, the questtools was unchecked. I had to check it back on.


Edit: Okay sometimes it stops casting signature spell + arcane orb, kinda confused as to why lol.
 
Last edited:
at the first 10 mobs all is find besides i constantly seeing ''that target is too far for this skill'' in my screen

after few mobs he wont cast slow time anymore and

he never using my primary and secondary skills like arcane orb and magic missiles btw

so no i cant say this is working quite well for me

any sugestions?
my wizard doesn´t use the bubble (i have the full set, rasha doesnt drop -.-") - how can i solve this problem?
My wizard wasn't casting frozen orb or any signature spell, then i realized that after i put in the OP's combat profile, the questtools was unchecked. I had to check it back on.


Edit: Okay sometimes it stops casting signature spell + arcane orb, kinda confused as to why lol.

Hello everyone.
I feel a little confused about your issues for the code works for me pretty well.
My wizard can cast orb/twist/blackhole/slow time and etc.
I try to upload the whole Trinity plugin I am using now.
Please check this package will solve your issue. This trinity version is the latest, aka 2.6.5.
 
i play with 2.6.5 an he also casts no twist and no shock :(
with wich skills do you play freebsdx?
 
Back
Top