Priority on buffing (AI) - Homunculus Headquarters - WarpPortal Community Forums

Jump to content


Photo
- - - - -

Priority on buffing (AI)


  • Please log in to reply
7 replies to this topic

#1 oeoexdxd

oeoexdxd

    I made it Off Topic

  • Members
  • 10 posts

Posted 24 September 2014 - 03:36 AM

Is there any way to make the buffing action a priority?

I have an eira who i would like to keep always buffed with her overboost, but,  while in combat she prefer to use ofensive skills making me take some unecessary damage from the flee loss if i am tanking something.

 

Thanks


  • 0

#2 DrAzzy

DrAzzy

    Really Azzy? Already?

  • VMod Retired
  • 15606 posts
  • LocationNew England
  • Playing:Ragnarok Online
  • Server:Chaos-Clandestine Society

Posted 24 September 2014 - 04:41 AM

Set it to use the buff "asap" instead of "idle" (assuming you're using my ai)
  • 0

#3 oeoexdxd

oeoexdxd

    I made it Off Topic

  • Members
  • 10 posts

Posted 24 September 2014 - 05:32 AM

Yep, im using and I did this, but she still casts her offensive spells when mobbed instead of buffing ourselves. 


  • 0

#4 LoveIsBlue

LoveIsBlue

    Amateur Blogger

  • Members
  • 164 posts
  • Playing:Ragnarok Online
  • Server:Chaos

Posted 24 September 2014 - 05:37 AM

having the same problem. And btw, I set both defensiveSkills and offensiveSkills to ASAP. . . but they fail to buff bloodlust and amist bulwalk all the time.


  • 0

#5 oeoexdxd

oeoexdxd

    I made it Off Topic

  • Members
  • 10 posts

Posted 26 September 2014 - 03:50 AM

Bumping and asking

 

Is there any way to set the priority on skill use manually(manual modifications on ai programming for example)? 


  • 0

#6 DrAzzy

DrAzzy

    Really Azzy? Already?

  • VMod Retired
  • 15606 posts
  • LocationNew England
  • Playing:Ragnarok Online
  • Server:Chaos-Clandestine Society

Posted 26 September 2014 - 06:37 AM

Where is the reply I wrote to this two days ago? 

 

There is no need to set the priority manually - ASAP priority already interrupts everything else to cast the buff. I think it's just getting slowed down because of cast delay from offensive skills cast before the buff needed to be recast

 

 

Am I correct in saying that it's delaying the re-buff because it's in cast delay from using offensive skills? ASAP buffing is pretty aggressive (it'll drop any other activity except maybe attacking something that it's set to 'rescue' self/owner/friends from) - that's the only case I can think of where this might happen. 

 

If that's the case, you can lower the duration of the buff in H_SkillInfo.lua by a few seconds, so it'll start trying to cast it earlier (this won't work for pre-S skills - but none of those need to be cast with such urgency). A proper fix is possible, but it involves looping over every buff skill when we check whether we cast any other skill, and I'd sort of like to avoid doing that if possible.


Edited by DrAzzy, 26 September 2014 - 06:37 AM.

  • 0

#7 oeoexdxd

oeoexdxd

    I made it Off Topic

  • Members
  • 10 posts

Posted 29 September 2014 - 06:30 AM

This almost always happens in this situation:

I am mobbing using an Eira with Overboost (Overed Boost). She has a pretty agressive AI for levelling, spammin all her skills to maintain aggro, then the overboost ends and instead of recasting the buff she will almost always opt to use an offensive spell while mobbed, resulting in taking an unecessary damage or even dying.

 


  • 0

#8 DrAzzy

DrAzzy

    Really Azzy? Already?

  • VMod Retired
  • 15606 posts
  • LocationNew England
  • Playing:Ragnarok Online
  • Server:Chaos-Clandestine Society

Posted 29 September 2014 - 06:59 AM

Try putting this in your H_Extra, and see if it improves behavior:

 

SkillInfo[MH_OVERED_BOOST]={"Overed Boost",{0,0,0,0,0},{70,90,110,130,150},{200,300,400,500,600},{800,700,600,500,400},{500,500,500,500,500},0,{29000,44000,59000,74000,89000}}

 

This will make it think overboost ends 1 second earlier, to prevent it from getting into those cases where it uses an offensive skill before recasting overboost (which I think happens when it doesn't realize overboost is down yet, and then gets caught in delay)


Edited by DrAzzy, 29 September 2014 - 07:00 AM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users