Commit Graph

94 Commits

Author SHA1 Message Date
Magix
f00c54cb95 Implement a proper ability system (#2166)
* Apply fix `21dec2fe`

* Apply fix `89d01d5f`

* Apply fix `d900f154`

this one was already implemented; updated to use call from previous commit

* Ability changing commit

TODO: change info to debug

* Remove use of deprecated methods/fields

* Temp commit v2
(Adding LoseHP and some fixes)

* Oopsie

* Probably fix monster battle

* Fix issue with reflecting into fields

* Fix some things

* Fix ability names for 3.6 resources

* Improve logging

---------

Co-authored-by: StartForKiller <jesussanz2003@gmail.com>
2023-05-30 02:40:02 -04:00
Nazrin
a48bc24aae Remove manual autofinish for main quests. (#2162) 2023-05-22 03:58:47 -04:00
github-actions
e05a29ecf1 Format code [skip actions] 2023-05-21 02:02:00 +00:00
KingRainbow44
43ab558735 Add EntityCreationEvent 2023-05-20 21:08:35 -04:00
github-actions
6d845e1cc6 Format code [skip actions] 2023-05-20 15:45:17 +00:00
Nazrin
4e8726d29e Partially fix Chasing Shadows (#2159)
* Partially fix Chasing Shadows

* Go ahead and move it before the return before Magix tells me to.
2023-05-20 11:42:26 -04:00
github-actions
9b83ea9072 Format code [skip actions] 2023-05-20 08:05:42 +00:00
Nazrin
9eddd87095 fix NPC talk triggering main quest in 46101 (#2158)
Make it so that only talks where the param matches the talkId are checked.
2023-05-20 04:03:00 -04:00
github-actions
bbd201c90e Format code [skip actions] 2023-05-20 07:47:53 +00:00
KingRainbow44
1a6fa43367 Clean up .utils 2023-05-20 02:25:49 -04:00
KingRainbow44
c80e0f0572 Clean up logger more 2023-05-18 02:56:40 -04:00
KingRainbow44
13f055035f Use removeItemById for deleting items via quests 2023-05-18 02:56:12 -04:00
KingRainbow44
bb693cd222 Move warns for groups to debug 2023-05-18 01:29:28 -04:00
github-actions
f9906c4492 Format code [skip actions] 2023-05-11 02:23:43 +00:00
KingRainbow44
0b2e471f9b Fix time locking 2023-05-08 02:24:05 -04:00
KingRainbow44
a4f5d3286d Implement game time locking
implement for quests
2023-05-08 00:11:29 -04:00
KingRainbow44
d32f6982be Run spotlessApply
also set line endings to native, no more line conflict errors!
2023-05-07 22:53:55 -04:00
KingRainbow44
48e233eb9b Update game time changing (triggers quests and updates properly) 2023-05-04 21:41:41 -04:00
KingRainbow44
2d12e0a4d9 Add check for scripts before quests are enabled 2023-05-04 00:06:54 -04:00
KingRainbow44
4d63fce783 Remove extra debugging information on accepted quests 2023-05-03 23:45:25 -04:00
KingRainbow44
6805c74bfc Remove questing (or questingEnabled) from the config, replace with questOptions or questing 2023-05-03 23:42:26 -04:00
KingRainbow44
dae2ad394c Revert change made to ContentCompleteTalk 2023-05-03 23:41:15 -04:00
KingRainbow44
3df5f79ebf Revert "Run spotlessApply"
This reverts commit d67e2d0c5e.
2023-05-03 10:48:00 -04:00
KingRainbow44
d67e2d0c5e Run spotlessApply 2023-05-02 23:21:17 -04:00
KingRainbow44
1634a5c696 Clean-up (while attempting to fix) 2023-05-02 22:45:27 -04:00
KingRainbow44
760ea456ec Change level of quest trigger log 2023-05-02 22:45:06 -04:00
KingRainbow44
fdd6820a8f Merge pull request Grasscutter-Quests#53
'Updated with how talks are handle' by `mjolsic`
2023-05-02 20:16:55 -04:00
KingRainbow44
d2f9f6f05b Make logged quests easier to find 2023-05-01 22:53:32 -04:00
KingRainbow44
8b84360724 Invoke the 'not equal' events 2023-05-01 21:45:56 -04:00
KingRainbow44
b0605f6ac2 Add condition info to debug quest logging 2023-05-01 21:45:30 -04:00
KingRainbow44
581df066e7 Add questing debug; which is enabled by default 2023-05-01 19:43:13 -04:00
KingRainbow44
e350cd42f9 "implement" ContentEnterMyWorld, with debugging information attached 2023-05-01 19:42:35 -04:00
KingRainbow44
916db0f408 Implement dungeon completion 2023-05-01 01:10:15 -04:00
scooterboo
e524926ae0 Slight change on synchronization method. (#2135) 2023-04-30 22:05:15 -04:00
KingRainbow44
bb2255b9a0 Prevent game main quest from potentially firing twice 2023-04-30 20:56:38 -04:00
KingRainbow44
400a670856 Load talks from MainQuestData 2023-04-30 20:56:09 -04:00
KingRainbow44
cf56d032de Move constant debug spam to trace 2023-04-30 01:28:52 -04:00
KingRainbow44
9b507a6ec3 Add support for legacy and newer quest excels 2023-04-29 21:35:49 -04:00
KingRainbow44
ed3186a2b2 Fix trial avatar removal
it is still *sort of* broken when combined with early leaving a domain
2023-04-29 21:21:58 -04:00
KingRainbow44
b77c75a296 Check if a sub-quest's data exists before invoking it 2023-04-29 20:40:33 -04:00
KingRainbow44
5f4f220eab Fix NPEs when player leaves world 2023-04-29 14:04:26 -04:00
KingRainbow44
391903ac0e Fix some behavior of trial avatars
investigation is required on the exceptions thrown
2023-04-29 02:01:00 -04:00
KingRainbow44
7efa6d1b78 Fix potential NPE
this can occur if the player disconnects before logging in
2023-04-29 01:59:45 -04:00
KingRainbow44
0d680a6310 Fix quest domains not showing up 2023-04-24 00:09:59 -04:00
KingRainbow44
e85d269518 Run spotlessApply on previous commit 2023-04-23 23:12:01 -04:00
KingRainbow44
84c5a76e5d Fix quests always showing dungeon IDs 2023-04-20 00:26:35 -04:00
KingRainbow44
ee298235c2 Run spotlessApply 2023-04-18 17:17:55 -04:00
KingRainbow44
6989d49080 Remove the first area from being auto-unlocked when questing is enabled 2023-04-15 13:33:30 -04:00
KingRainbow44
2a5c7bf75c Temporarily fix issue with all quests being added at once 2023-04-14 00:35:16 -04:00
dragon
b9a2694ea7 Fix Lua exec call (#2115)
* Fix Lua exec call

## Description
fix 352 should not have any slime spawns, its 353 and 351 has a single slime spawn

Please carefully read the [Contributing note](https://github.com/Grasscutters/Grasscutter/blob/stable/CONTRIBUTING.md) and [Code of conduct](https://github.com/Grasscutters/Grasscutter/blob/development/CODE_OF_CONDUCT.md) before making any pull requests.

## Issues fixed by this PR

<!--- Put the links of issues that may be fixed by this PR here (if any). -->
## Type of changes

<!--- Put an `x` in all the boxes that apply your changes. -->

- [x] Bug fix
- [ ] New feature 
- [ ] Enhancement
- [ ] Documentation

## Checklist:

- [x] My code follows the style guidelines of this project
- [x] My pull request is unique and no other pull requests have been opened for these changes
- [x] I have read the [Contributing note](https://github.com/Grasscutters/Grasscutter/blob/stable/CONTRIBUTING.md) and [Code of conduct](https://github.com/Grasscutters/Grasscutter/blob/development/CODE_OF_CONDUCT.md)
- [x] I am responsible for any copyright issues with my code if it occurs in the future.

* Update ExecNotifyGroupLua.java

* Update ExecNotifyGroupLua.java

* Update ExecNotifyGroupLua.java

* new ScriptArgs(groupId, eventType, quest.getSubQuestId())          .setEventSource(String.valueOf(quest.getSubQuestId()));
2023-04-13 21:21:43 -04:00