mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-03-26 17:43:07 +01:00
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>
This commit is contained in:
@@ -54,7 +54,7 @@ public class ExecNotifyGroupLua extends QuestExecHandler {
|
||||
: EventType.EVENT_QUEST_START;
|
||||
scriptManager.callEvent(
|
||||
new ScriptArgs(groupId, eventType, quest.getSubQuestId())
|
||||
.setEventSource(String.valueOf(quest.getSubQuestId())));
|
||||
.setEventSource(quest.getSubQuestId()));
|
||||
});
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user