Anime-Game-Servers / Grasscutter-Quests

A server software implementation, ineroperable with a certain anime game client. The code in this repository is fully custom made for edyoucational purposes and future preservation, no copyrighted code is allowed in this repository.
https://grasscutters.xyz/grasscutter
GNU Affero General Public License v3.0
132 stars 31 forks source link

[Bug] Cooking pot does not change phases #109

Open scooterboo opened 6 months ago

scooterboo commented 6 months ago

Describe the bug In Moonfinger (m1011), the cooking pot looks like it's going to work, but the cooking pot gadget is not changing GadgetState.

https://github.com/Anime-Game-Servers/Grasscutter-Quests/assets/1877986/6addbf2a-3445-4b1b-b7b5-ee05e9c690f8

This guy is

    { config_id = 377001, gadget_id = 71700106, pos = { x = 1613.942, y = 249.612, z = -1607.784 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, area_id = 2 }

In group 133001377. It ought to go through a lot of GadgetState changes as it heats up, but I'm seeing nothing. image

The SceneObj_Quest_ChargePot section of ConfigAbility_Scene_Event looks promising:

    {
        "Default": {
            "$type": "ConfigAbility",
            "abilityName": "SceneObj_Quest_ChargePot",
            "abilityMixins": [
                {
                    "$type": "AttachToGadgetStateMixin",
                    "modifierName": "DefaultPhase"
                },
                {
                    "$type": "AttachToGadgetStateMixin",
                    "gadgetState": 201,
                    "modifierName": "Phase2"
                },
                {
                    "$type": "AttachToGadgetStateMixin",
                    "gadgetState": 202,
                    "modifierName": "Phase3"
                },
                {
                    "$type": "AttachToGadgetStateMixin",
                    "gadgetState": 204,
                    "modifierName": "Start"
                },
                {
                    "$type": "AttachToGadgetStateMixin",
                    "gadgetState": 203,
                    "modifierName": "EndPhase"
                },
                {
                    "$type": "AttachToGadgetStateMixin",
                    "gadgetState": 901,
                    "modifierName": "Phase2_Protect_EFF"
                },
                {
                    "$type": "AttachToGadgetStateMixin",
                    "gadgetState": 902,
                    "modifierName": "Phase3_Protect_EFF"
                }
            ],

But other than that, I got nothing.

Which branch did you use? multi_proto Grasscutter version: 1.4.4-dev-4e8f709e Lua: JNLua

scooterboo commented 2 months ago

This might be the same bug as https://github.com/Anime-Game-Servers/Grasscutter-Quests/issues/118