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

Crusader support?

keganaraujo

New Member
Joined
Apr 30, 2014
Messages
29
Reaction score
0
Hey all sorry if this is in the wrong spot, please let me know if i need to move it!

I'm needing some help with my crusader and his combat routine, i currently run a fire build and have a question about the bot using the blessed hammer ability. As it currently stands, when the bot senses an elite, it will stand there and spam blessed hammers until it is out of wrath. 99% of the time, the elite doesnt get hit with them. is there a way to make it so he only spams the hammer when the elite is on top of him?

thanks in advance!
 
Open up the following file "Plugins/Trinity/Combat/Abilities/CrusaderCombat.cs" and find the below code.

Code:
                // Blessed Hammer, spin outwards 
                // Limitless rune can spawn new hammers
                if (CombatBase.CanCast(SNOPower.X1_Crusader_BlessedHammer) && (TargetUtil.EliteOrTrashInRange(20f) || TargetUtil.AnyTrashInRange(20f, 3)))
                {
                    return new TrinityPower(SNOPower.X1_Crusader_BlessedHammer);
                }

the '20f' is the distance to cast, I would recommend changing it to '7f' to see if it works better for you.
 
hello,

so i changed it to 7 as you suggested and for some reason it did not seem to work. after i shutdown demon buddy and re-open the file it goes back to the default 20f. is there a way to make it permanent?
 
so instead of modifying the value and selecting start, save. i changed the value and selected start, save-as and over-wrote the original. seems to be "working". i will keep you updated. thank you for the help
 
for some reason the value that i put in of 7f was replaced with the default value of 20f. any idea on how to make it remain 7f
 
Are you updating trinity? Either way with DB shutdown edit the file to 7f, Right click > Properties > At the bottom of General tab tick Read-only. then in main DB window delete compiledassemblies reload db and should always have your settings.
 
Back
Top