Commit Graph

1022 Commits

Author SHA1 Message Date
Charlie Unfricht
a03bdbf695 Replace MapleMap var with getMap() 2022-09-21 18:17:24 -04:00
Charlie Unfricht
79f19331f4 Add reactor script for Land of Wild Boar's ritual stones 2022-09-21 17:56:56 -04:00
Charlie Unfricht
04e658710e Add killMonster() methods 2022-09-21 17:53:54 -04:00
Ponk
6c65b8918a Merge pull request #125 from P0nk/mob-skill-fixes
Fix issues caused by mob skill refactor
2022-09-12 21:23:05 +02:00
P0nk
d31f4806fc Fix mob using attack with no diseaseSkill causing errors 2022-09-12 20:31:38 +02:00
Ponk
0c6548a36d Merge pull request #116 from P0nk/mob-skill-refactoring
Clean up and refactor mob skills
2022-09-07 19:28:53 +02:00
P0nk
df5159e34c MobSkillFactory throws exception instead of returning null 2022-09-07 19:25:30 +02:00
P0nk
319d65a0c3 Add tests for MobSkillFactory 2022-09-07 18:58:26 +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
Ponk
91c58eee04 Merge pull request #114 from P0nk/area-boss-debuffs
Make area bosses killable
2022-08-31 22:07:14 +02:00
P0nk
958286e078 Make Riche text MSEA-like (at least)
MSEA text is likely not the same as GMS text, but it's better than making things up.
2022-08-31 22:04:58 +02:00
P0nk
ea76880b7f Use act() in reactor scripts where possible, provide empty act() otherwise
"function hit()" has triggered on each reactor hit,
while "function act()" is only triggered once it's destroyed or reached an end state
2022-08-31 21:34:49 +02:00
P0nk
298457a007 Clean up old way of damaging area boss with reactor 2022-08-30 08:33:10 +02:00
P0nk
7d28e00e4f Make Riche killable after destroying the reactor 2022-08-29 23:32:59 +02:00
P0nk
0118844c2e Make Scholar Ghost killable after triggering the reactor 2022-08-29 23:05:25 +02:00
P0nk
8c418f197a Make Rurumo killable after triggering the reactor 2022-08-29 22:53:29 +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
17ae269cc9 Make Security Camera killable after talking to control device 2022-08-29 22:04:07 +02:00
P0nk
535b6c3e8e Make Deet and Roi killable after talking to magic pentagram 2022-08-29 21:58:58 +02:00
P0nk
f1d0cb6b4d Make Shade killable after talking to lamp post 2022-08-29 21:42:57 +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
Ponk
4baf06e4f9 Merge pull request #106 from cpurules/feature/explorer-titles
Fix implementation of primary explorer title quests
2022-08-20 10:19:26 +02:00
Charlie Unfricht
f4c283890f Condense 2022-08-19 17:58:17 -04:00
Ponk
521aaf7294 Merge pull request #109 from P0nk/script-tests
Fix scripts containing non-ASCII characters, add tests
2022-08-19 21:19:09 +02:00
P0nk
d1da1d67e0 Add test for evaluating all reactor scripts 2022-08-19 20:00:28 +02:00
P0nk
5b0715d5d0 Add test for evaluating all quest scripts 2022-08-19 19:58:17 +02:00
P0nk
cf27c6301f Add test for evaluating all portal scripts 2022-08-19 19:57:15 +02:00
P0nk
3354345cef Add test for evaluating all item scripts 2022-08-19 19:55:27 +02:00
P0nk
6ae2235083 Add test for evaluating all event scripts 2022-08-19 19:53:07 +02:00
P0nk
c5d2e90e5b Add test for evaluating all NPC scripts 2022-08-19 19:45:40 +02:00
Charlie Unfricht
0eed00dd64 Add check for completed explorer quest to not re-trigger 2022-08-19 09:42:32 -04:00
Charlie Unfricht
2d4f3eac49 Add missing Helios Tower Library map for Ludus Lake Explorer 2022-08-19 09:38:30 -04:00
Charlie Unfricht
a55871c059 Update explorer quest infoNumber pointer progress 2022-08-19 09:16:07 -04:00
Ponk
b831173ecf Merge pull request #105 from cpurules/bugfix/missing-skill-constants
Add missing skill constants
2022-08-19 11:33:59 +02:00
Charlie Unfricht
13ffce3ab3 Fixes 2022-08-19 01:29:06 -04:00
Ponk
6d969106c0 Merge pull request #104 from cpurules/bugfix/pet-cash-food
Allow pet cash food to increase closeness even when pet fullness is maxed
2022-08-19 07:09:58 +02:00