P0nk
d31f4806fc
Fix mob using attack with no diseaseSkill causing errors
2022-09-12 20:31:38 +02:00
P0nk
df5159e34c
MobSkillFactory throws exception instead of returning null
2022-09-07 19:25:30 +02:00
P0nk
fd793d6b04
Fix not reading mpCon from MobSkill
2022-09-07 18:58:02 +02:00
P0nk
15c4188d48
Make MCSkill immutable with record
2022-09-03 14:44:14 +02:00
P0nk
9e0479fe9f
Clean up Monster usedSkills
2022-09-03 14:31:43 +02:00
P0nk
a6ec6adbb5
Combine type and skillLevel in MobSkill
2022-09-03 14:07:24 +02:00
P0nk
7cdaabf6f8
Simplify Monster skills with Set instead of List
...
Doable now with MobSkillId records
2022-09-03 13:31:47 +02:00
P0nk
c47ca4d6a4
Fix MobSkillType always being ATTACK_UP
2022-09-03 13:11:45 +02:00
P0nk
930d365752
Add record MobSkillId for mob skill type + level combination
...
Pair is nasty to work with when they are passed around all over
2022-09-03 11:01:51 +02:00
P0nk
7a784a7938
Disease and MCSkill hold MobSkillType instead of int
2022-09-03 05:20:54 +02:00
P0nk
fba49e7eec
MobSkillFactory takes MobSkillType instead of int as id argument
2022-09-03 04:52:55 +02:00
P0nk
66b04969fd
Delete ArrayMap which filled no function
2022-09-03 04:32:09 +02:00
P0nk
aeaad4194a
Refactor MobSkill#applyEffect, split into multiple smaller methods
2022-09-03 04:22:06 +02:00
P0nk
455d4b2195
Make MobSkill immutable using builder pattern
2022-09-02 08:45:55 +02:00
P0nk
6e62a6a45d
Break off mob skill loading into separate method
2022-09-02 07:58:52 +02:00
P0nk
3c9be7d70b
Lessen magic numbers around mob skills with new "type" enum
2022-09-02 07:39:26 +02:00
P0nk
7fa677d766
Fix act for scripts that reset to initial state after some time
2022-08-29 22:46:46 +02:00
P0nk
7fffd0bb64
Make Snow Witch killable after reactor activation
2022-08-29 21:20:51 +02:00
P0nk
84890ac308
Support sealing mob skill
2022-08-29 19:40:24 +02:00
Windyboy
97f358f047
Analyze pet packet structure correctly
2022-08-17 14:07:39 +08:00
P0nk
d691dc1e18
Prefer Path.of() over Paths.get()
2022-08-11 19:01:40 +02:00
P0nk
4fb632ecdb
Remove monitored locks (fair), use basic version
2022-08-11 14:45:48 +02:00
P0nk
54878ebe8c
Remove monitored locks with default fairness, use basic version
2022-08-11 14:26:23 +02:00
P0nk
8657b765b1
Remove monitored read/write locks, use basic version
2022-08-11 14:16:06 +02:00
P0nk
42043c3d6c
Stop using monitored locks in MapleMap
2022-08-11 13:38:16 +02:00
P0nk
c7af125afc
Remove FaceExpressionService
...
Face expressions are automatically defaulted back after 5 seconds by the client, anyway
2022-08-11 11:48:11 +02:00
Đạt Nhân Trương
0ef3e69638
Clean up code, replace switch and try-with-resource where possible.
2022-08-07 21:51:10 +07:00
Đạt Nhân Trương
f983b4dccf
Clean up code & Upgrade syntax to new Java
2022-08-07 01:35:02 +07:00
P0nk
c2b28b5148
Merge branch 'master' into various-fixes
2022-08-03 07:43:02 +02:00
ronancpl7
905a0260a6
Wrap around hpDec schedules ( #75 )
...
* Wrap around hpDec schedules
Merges hpDec schedules at character into a world schedule.
* Patch hpDec timer reset on changing maps
Patch timer reset on changing maps with hpDec.
* Update Character.java
* Update Client.java
* Update World.java
Co-authored-by: Ronan Lana <rcpl2010@gmail.com >
2022-08-03 07:42:15 +02:00
P0nk
8ce3be5efb
Merge branch 'master' into various-fixes
2022-08-03 07:04:44 +02:00
Đạt Nhân Trương
d9a86d6d75
Fixing indents !
2022-08-02 23:14:17 +07:00
P0nk
5afb09d798
Refactor various minor things
2022-08-02 17:45:47 +02:00
Đạt Nhân Trương
4496e0854f
Clean up formatting & Update NIO in some remaining files
2022-08-01 14:25:32 +07:00
P0nk
2bbfd46105
Stop logging with System.out.println, start using slf4j
2022-02-10 21:40:54 +01:00
P0nk
c879e36a9c
Migrate last set of calls to FilePrinter, delete FilePrinter
2022-02-10 19:53:22 +01:00
P0nk
8b630f7357
Migrate yet another batch of FilePrinter users to Slf4j
...
One FilePrinter.printError() method removed, one more to go
2022-02-09 21:05:22 +01:00
P0nk
0c60606b4e
Migrate another batch of FilePrinter users to slf4j.Logger
...
Another FilePrinter method removed.
2022-02-08 21:08:59 +01:00
P0nk
53465bba25
Migrate some users of FilePrinter to slf4j.Logger
...
At least we got rid of one printError method
2022-01-19 18:36:19 +01:00
P0nk
78f6ae7e6a
Refactor maple leaf logging
...
Not even sure anyone is using this system. Keeping it around just in case.
2022-01-03 19:12:04 +01:00
P0nk
1e53bc7d1f
Refactor gachapon logging
2022-01-03 18:50:50 +01:00
P0nk
6041d56bcd
Refactor chat logging
2022-01-03 18:35:15 +01:00
P0nk
7e7c2cb153
Refactor expedition logging
2022-01-03 18:29:47 +01:00
P0nk
189d8096db
Refactor trade logging
2022-01-03 18:10:23 +01:00
P0nk
b15a7e61d4
Turn map id magic numbers into constants
2021-11-07 14:26:34 +01:00
P0nk
c022c3595f
Turn npc id magic numbers into constants
2021-11-07 12:36:00 +01:00
P0nk
8d10e3d1b0
Turn mob id magic numbers into constants
2021-11-07 12:15:36 +01:00
P0nk
4efd356cbf
Turn item id magic numbers into constants
2021-11-07 11:39:09 +01:00
P0nk
5cae3fc336
Implement merchant blacklist, blocking any listed characters from entering
2021-09-28 18:26:27 +02:00
P0nk
3a9305d0d9
Store merchant visitor history, and display it in the dialogue
2021-09-28 08:33:25 +02:00