Jump to content

Recommended Posts

Posted (edited)

Greetings,

I would like to ask for assistance regarding creating a small mod for PoE2.

I wanted to enable spell casting while under effect of "Form of Fearsome Ogre," however as I searched through files or other mods for reference, I could not find what value or id to modify to allow this.

If someone would find a moment to pint me in right direction or show me how, I would be very grateful!

If there is some guide or information that shows me how to do this specifically than my google skills failed me, I managed to find general guides how to make a mod.

Thank you kindly,

Buli.

Edit 2:

Removed wrong solution.

Edited by Buli
Answer found
Posted (edited)

I found an answer : the DisableSpells seems to be a separate and hostle effect from the form. the BaseValue : 1 mean the duration of the effect is the same than the transform duration. fearsome.png.202088d177f6a85996e160c83b970b31.png

I used Supress Affliction on a Fearsome character , this is why I think that.

 

Edit : the DisableSpell concern only true caster, on my previous image I used a trickster and these spells are not disabled during the transform. But the effect are separate, you can see when under the transform 2 effects, I suppose the BaseValue : 1 can be a duration value based on the principal effect duration.

Edited by Constentin Lévine
Posted

Thank you Constentin for you input!

However modifying base value did nothing, tried many other values to no success.

What did work may not be most "elegant" solution, but I modified the type of effect from disable spellcasting to modify resolve, and since base value is by default zero the effect does nothing, so my character can spell cast.

       {
    "GameDataObjects": [

      {
            "$type": "Game.GameData.StatusEffectGameData, Assembly-CSharp",
            "DebugName": "Form_Of_The_Fearsome_Brute_SE_DisableSpells",
            "ID": "62f385fb-60ab-4b25-97af-c89645500616",
            "Components": [{
                "$type": "Game.GameData.StatusEffectComponent, Assembly-CSharp",
                "StatusEffectType":"Resolve"
            }]
        },

I guess is someone has better solution, they can always share it.

Posted (edited)

For future reference, a 'cleaner' way to solve this would be to find the "Form_Of_The_Fearsome_Brute_SE_ChangeForm" statuseffect in statuseffects.gamedatabundle, since ChangeForm is what makes your character turn into the Ogre. At the very end of that part, you'll find a "ChangeFormEffectComponent" with "TempAbilitiesIDs". The GUID in abilities.gamedatabundle leads us to "Form_Of_The_Fearsome_Brute_Passive", which has a bunch of different statuseffects. From there, you can find out which one is "Form_Of_The_Fearsome_Brute_SE_DisableSpells" and delete it.

Of course, it can be fairly annoying to hop through different files, so your method is perfectly valid if it works too.

Edited by Testlum
  • 2 weeks later...

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...