Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mercenary getSkill() #1501

Open
tlwh163 opened this issue May 6, 2019 · 4 comments
Open

Mercenary getSkill() #1501

tlwh163 opened this issue May 6, 2019 · 4 comments

Comments

@tlwh163
Copy link

tlwh163 commented May 6, 2019

var p; p = me.getMerc();
me.overhead("104 ->" + p.getSkill(104,1) + ", 114 ->" + p.getSkill(114,1));

when my Mercenary is hiring at Nightmare with DEFENSE type.
104 ->false, 114->18

but i restart game and login normal difficulty
104 ->18, 114->false

so, i can only get that the Mercenary is DEFENSE type, BUT can not get right skill of Mercenary
how can fix this? thanks

@mf022
Copy link
Contributor

mf022 commented May 14, 2019

did you see #1448 ?
It's atm in transition, but maybe it will be merged finally.

@tlwh163
Copy link
Author

tlwh163 commented May 14, 2019

thanks, I am not very clear about how to view the full content of the project contained in that link.
But I don't think there will be any effective guidance for me, because I actually want to make a MapHelp. When I open the mercenary UI, I can indicate what BUFF the mercenary has.

@mf022
Copy link
Contributor

mf022 commented May 14, 2019

check the Files changed tab.

Mercenary.js is the main improvement file

@tlwh163
Copy link
Author

tlwh163 commented May 15, 2019

thanks, I finally saw the entire code,
Mercenary.js function is very subtle, but it still can't solve my problem.
I tried to explain my needs:
I hired a DEFENSE ACT2 MERC on nightmare difficulty. Then restart the game,
Join a normal game, Then I can't determine what aura of mercenary this is....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants