Jump to content

Recommended Posts

Posted

Do you know if it is possible to add an ability via status effect?

I.e: character A uses an ability X that applies a status effect XS on character B and grants that character B an ability Y. 

Possible scenarios:

  • character drinks a potion and gains a talent
  • character A targets character B and gives him an aura ability
Posted (edited)
On 3/5/2023 at 7:43 PM, MaxQuest said:

Do you know if it is possible to add an ability via status effect?

I.e: character A uses an ability X that applies a status effect XS on character B and grants that character B an ability Y. 

Possible scenarios:

  • character drinks a potion and gains a talent
  • character A targets character B and gives him an aura ability

Maybe by using a dummy Change Form ? (except without chaning model) ? Spiritshift are statuses that technically add abilities every time you use them (okay, I know that in Vanilla game, you can't use a particular Spiritshift several times, bt if you mod this way, you can cast bear fear every time you shift).

 

EDIT : Gotcha, not tried myself, but should work :

1) There are Changeform status without appearance change (extract from Citzal's armory) :

{
        "$type": "Game.GameData.ChangeFormEffectGameData, Assembly-CSharp",
        "DebugName": "Citzals_Enchanted_Armory_SE_ChangeForm_Armor",
        "ID": "232ef96a-a26e-41ab-9765-16b426ed1c80",
        "Components": [{
            "$type": "Game.GameData.ChangeFormEffectComponent, Assembly-CSharp",
            "NewFormAppearance": "",
            "TempAbilitiesIDs": [],
            "RemoveEquipment": "false",
            "TempEquipmentIDs": ["37c1590c-ed1c-41bb-aa9b-cdefb78a65b4", "0987eb38-d772-4705-8981-fb306bee9e88", "1c041870-a4aa-4d24-aa63-883ef387b92c"],
            "FormVariationID": "00000000-0000-0000-0000-000000000000",
            "AnimationController": "",
            "AnimationAudioID": "00000000-0000-0000-0000-000000000000"
        }]
    }

2) Here an example of added ability by Bear Shift :

 

{
        "$type": "Game.GameData.ChangeFormEffectGameData, Assembly-CSharp",
        "DebugName": "DEBUG_Spiritshift_Bear_SE_ChangeForm",
        "ID": "0c44ac2c-5155-462d-9c9a-d910b0cf07c0",
        "Components": [{
            "$type": "Game.GameData.ChangeFormEffectComponent, Assembly-CSharp",
            "NewFormAppearance": "art/character/creatures/druid_bear01/a_druid_bear01_v01.asset",
            "TempAbilitiesIDs": ["7bf3cb65-52bf-481c-8261-fd7c9f22ba0b"],
            "RemoveEquipment": "true",
            "TempEquipmentIDs": ["8b96899c-12c6-42cc-a2cd-f3a73aed0bd3", "9e36cdaa-e21d-42ac-adcd-e7393e16ee15", "9e36cdaa-e21d-42ac-adcd-e7393e16ee15"],
            "FormVariationID": "b1441f51-a9e9-4aea-b14e-0d205e07bc85",
            "AnimationController": "",
            "AnimationAudioID": "00000000-0000-0000-0000-000000000000"
        }]
    }
Edited by Elric Galad

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...