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

Crusader - Iron skin

hahahehe132

Member
Joined
Mar 5, 2014
Messages
93
Reaction score
0
Hello,

I've been doing ghom runs recently and I want the bot to cast Iron Skin only at or below 50% HP. I tried setting it in trinity combat but no luck, latest builds and had fresh installs of db already.
Anyone has any clue to how to fix this? Any help is appreciated.
 
Edit CrusaderCombat.CS in trinity.

Try to playaround the upper part of the file where the skills are first posted.
Follow the pattern below - change the ones in red.

if (CanCast(SNOPower.x1_Crusader_Phalanx3) && Player.PrimaryResource >= 0.50 && TargetUtil.AnyMobsInRange(15f, 1))
{
return new TrinityPower(SNOPower.x1_Crusader_Phalanx3, 15f, CurrentTarget.ACDGuid);
}

If this is not enough, also change the 2nd instance located just above "BASIC SKILLS" section of the file.
PS: I dont know how to develop this things, so you have to try stuff yourself ( also find the code for health then change "PrimaryResource" to that code).
 
Back
Top