-
Notifications
You must be signed in to change notification settings - Fork 758
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
Adds UDT_MOBID for getunitdata & setunitdata, which retrieves actual mob id #2382
base: master
Are you sure you want to change the base?
Conversation
actually I was rewriting the hercules unit controller system about this issue, after all, my original intention is to have setmobddata and setmoblook separated
although now I also convince ... yeah having all in 1 might be better yes, I am totally revamp this unit controller system ... |
One more thing which is missing is unable to retrieve the the NPC is attached to. I.e. if you want to kill monsters using |
I never encounter this problem, so its probably your bad scripting method custom, so I make a plugin
and get the script done as ...
by the way this question should be asked on the forum .... |
Pull Request Prelude
Changes Proposed
Adds
UDT_MOBID
forgetunitdata()
andsetunitdata
.This is necessary because
getunitdata(<Mob GID>, UDT_CLASS)
retrieves the Sprite ID for BL_MOB. Which means if you use it on a mob which was generated using db\mob_avail.txt, then you will not get the actual Monster ID.Issues addressed:
N/A