suriyun-production / mmorpg-kit-docs

This is document for MMORPG KIT project (https://www.assetstore.unity3d.com/#!/content/110188?aid=1100lGeN)
https://suriyun-production.github.io/mmorpg-kit-docs
49 stars 11 forks source link

Refine and crafting feature #2345

Closed br20o0ly closed 8 months ago

br20o0ly commented 8 months ago

Hi Can you add new feature for refine when you fail you will get an item (e.g.: item that's helps on future enhancement) for crafting adding a fail chance and getting deferent multiple items by a chance

i did this changes to my offline/lan version but failed to make it for mmo

br20o0ly commented 8 months ago

can you make campfire window works without buildings same like crafting. i failed to make it happen

insthync commented 8 months ago

can you make campfire window works without buildings same like crafting. i failed to make it happen

I don't want to do it.

insthync commented 8 months ago

What will happen if your character's inventory is not enough to add returning items?

insthync commented 8 months ago

Done

CLAXES commented 8 months ago

This feature is very good, but it may be better if something like this is done, instead of adding unlimited, it can add 1 or 5 at most, because it is constantly adding now, it can always make 100%.

insthync commented 8 months ago

@CLAXES I don't get it, you means to random items? Or the entries of rewards?, if it entries of rewards then I think it is up to developer to setup it.

CLAXES commented 8 months ago

In this section you can select the item and add whatever amount you have on it and you can do it 100%, it would be nicer to have the option to add 1 or 5 instead of adding unlimited

image

CLAXES commented 8 months ago

I want to make an item and only increase the rate by 10%, for example, but when it is in this way, it can put 10 and make 100%, I only want it to increase by 10%.

CLAXES commented 8 months ago

Now I did it this way, but I don't know how secure it will be, I think I need to do it on the server

    public void OnClickAddRefineEnhancer()
    {
        List<UICharacterItem> selectedUIs = uiRefineEnhancerItems.CacheSelectionManager.GetSelectedUIs();
        if (selectedUIs.Count == 0)
            return;
        foreach (UICharacterItem selectedUI in selectedUIs)
        {
            if (enhancerDataIds.Contains(selectedUI.CharacterItem.dataId))
                continue;
            enhancerDataIds.Add(selectedUI.CharacterItem.dataId);
        }
        OnUpdateCharacterItems();
    }
insthync commented 8 months ago

Okay, I think you should create a new post because this one is difference thing with this post