Roland-J / SmartSkillup

The public release of the SmartSkillup Windower Addon
7 stars 4 forks source link

Unknown Job Ability issue #15

Open Berkundsyn opened 3 months ago

Berkundsyn commented 3 months ago

Describe the bug

While skilling up Summoning Magic, every cast of Air Spirit would be followed with an 'unable to use job ability' notification.

Steps to Reproduce

Script summons Air Spirit. Log states unable to use job ability. Spirit is released.

Expected behavior

No notification after casts.

I assume it is either attempting to use Elemental Siphon, which I could be wrong about as I could not find the job ability coded in to any part of the program. Or it is trying to release too early.

Shockii commented 2 months ago

I found that it would cast the summon once and sit idle till out of mana then rest till full, which was incredibly slow. I made a small edit on line 348, windower.send_command('input release'), to get it to release the pet and then continue on resummoning. The code line in question was,

elseif skill_to_skillup == 'Summoning Magic' and windower.ffxi.get_mob_by_target('pet') then start_timeout(1, 'release') windower.send_command('input /pet release <me>') return logger(chat_colors.purple, '[DECISION STOP] Releasing the player\'s avatar...', true) end

Amazing UI and addon by the way.