Grasscutter icon indicating copy to clipboard operation
Grasscutter copied to clipboard

[Bug] Cooking pot does not change phases

Open scooterboo opened this issue 1 year ago • 1 comments

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 avatar Feb 17 '24 12:02 scooterboo

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

scooterboo avatar Jun 21 '24 06:06 scooterboo