Default value TargetMaxHp

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
dx876234
Posts: 188
Joined: Sat Jul 24, 2010 6:13 am

Default value TargetMaxHp

#1 Post by dx876234 » Wed Jun 26, 2013 3:53 am

In skill.lua we have default value of self.TargetMaxHp set to 9999999, i.e. 9m HP.

This is getting to be to low for boss fights, we end up with a lot of [DEBUG] TARGEHP messages as target has more that 9m hp.

I recommend increasing default to ex 999m

-dx

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Default value TargetMaxHp

#2 Post by rock5 » Wed Jun 26, 2013 4:13 am

I think the intention of the default value is that it should always be larger than any mobs hp. There is no reason for any limit. We could just make it infinity as default, ie. math.huge.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

dx876234
Posts: 188
Joined: Sat Jul 24, 2010 6:13 am

Re: Default value TargetMaxHp

#3 Post by dx876234 » Wed Jun 26, 2013 2:36 pm

Ye, even better :)

-dx

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 3 guests