L2JMobius
Free Users => Shares/Contributions => Committed User Contributions => Topic started by: emilianoify on February 27, 2021, 06:33:27 AM
-
Hi all guys :),
Q386_StolenDignity some problems with this quest:
1-Dont appear in Quest Window.
2-I cant play bingo.
3-Missing htmls.
So i adapt it from RUSacis to Mobius.
Here u can download HTMLs, .Java (Too you can delete Bingo.Java from ai.others)
**EDIT**
Mobius path and recommendations in my last posts applied.
https://mega.nz/file/WSZSEDLT#0JH-13fXiVrlRzW5wccf6lKMAlEnyXU38L9QZ5fT69U (https://mega.nz/file/WSZSEDLT#0JH-13fXiVrlRzW5wccf6lKMAlEnyXU38L9QZ5fT69U)
-
-[this.] is not needed.
-CHANCES should be static and not be added in constructor.
-How constructor addition for Romp should look like.
addStartNpc(ROMP);
addTalkId(ROMP);
-Also created a collection method for addKillId so now you can add directly keyset as a parameter.
addKillId(CHANCES.keySet());
-Use equals instead of equalsIgnoreCase.
-Since MathUtil.MATRICE_3X3_LINES is only used by this script just add that constant in the same script.
Patch: https://pastebin.com/qp8mycpY
-
When i try put "addKillId(CHANCES.keySet());"
I have this error: The method addKillId(int) in the type Quest is not applicable for the arguments (Set<Integer>) https://imgur.com/YcbWgMm (https://imgur.com/YcbWgMm)
the another changes works fine.
-
Quest method is included in patch.
-
Thank you, sorry i dont see that. :-X
-
Committed with https://bitbucket.org/MobiusDev/l2j_mobius/commits/5cb44514837fba407e3f477e9a1e5eec000622c5
Thanks :D