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

Request the code to change the Sentry cast position for DH when using Jei's Stone

litmusboy

New Member
Joined
Sep 7, 2014
Messages
2
Reaction score
0
Hi. I found that Jei's stone is most effective 3rd Leg Gem rather than toxic or Bane powerful (as we would normally use Enforcer and Bane of Trap as must..) posion when it's used properly. I would like to know how to change the code in tritiny DemonhunterCombat.cs under sentry section. to cast sentry away ( Idealy 40m away) from the mob as Usually DH cast Sentry where the mobs are located. I found the old trinty version of this but it was just Demonhunter.CS so unsure if the code is the same.

I am using trinity 2.2.0

Thank you very much
 
Last edited:
Hi. I found that Jei's stone is most effective 3rd Leg Gem rather than toxic or Bane powerful (as we would normally use Enforcer and Bane of Trap as must..) posion when it's used properly. I would like to know how to change the code in tritiny DemonhunterCombat.cs under sentry section. to cast sentry away ( Idealy 40m away) from the mob as Usually DH cast Sentry where the mobs are located. I found the old trinty version of this but it was just Demonhunter.CS so unsure if the code is the same.

I am using trinity 2.2.0

Thank you very much

Hopefully someone else will help you, but in the meantime you can try playing around with this line of code in DemonhunterCombat.cs:
" return new TrinityPower(SNOPower.DemonHunter_Sentry, 75f, TargetUtil.GetBestClusterPoint(35f, 75f, false));"

For instance if you want to cast the Sentry(s) at your current location instead of at the mob(s) finding the "bestclusterpoint" etc:

"return new TrinityPower(SNOPower.DemonHunter_Sentry, 75f, Player.Position);"

As I said, play around with distances etc., until you find something that works for you.
Good luck!
 
Thank you so much Strepie. with the code you mentioned about "player position" it actually made a big different already. I appreciated it. well meanwhile... I will def play around with the distance to get the best postion. but if anyone knows what need to be changed. please share some information here with me. it would be great!. thank you :)
 
Back
Top