Jump to content

Changing the Spell School of a Spell


Recommended Posts

Quick question. I wanna fix a spell, namely Ironskin.

 

Currently it looks like this:

 

=======================================================================================================

https://pillarsofeternity2.wiki.fextralife.com/Ironskin

Keywords: Enchanting

Cast Time: 0.4 sec

Recovery Time: 0.0 sec

Noise: Loud

Effects:

Self:

+5 Armor Rating

Transmutes the caster's skin into iron, adding significantly to their Armor Rating. This effect lasts for up to ten attacks.

=======================================================================================================

 

I don't know who was the genius who made this transmutation spell in to an enchanting spell, so I wanna know how to turn it a proper transmutation spell.

 

There's something in the code called:

"KeywordsIDs":["6149f072-d79d-4429-8dbd-3f014e8f013c"]

Which I can easily switch to:

"KeywordsIDs":["ab88e534-596e-4f40-b54e-9dd8b2cab983"]

But isn't this just some additional description? Because I'm not sure if this change works on the additional power level of Transmuters.

So... does anyone know how to switch the spell school / spell type of Ironskin or any other spell for that matter? If you know, please tell me how and thank you in advance.

Edited by Nolanoth
Link to comment
Share on other sites

Quick question. I wanna fix a spell, namely Ironskin.

 

Currently it looks like this:

 

=======================================================================================================

https://pillarsofeternity2.wiki.fextralife.com/Ironskin

 

Keywords: Enchanting

Cast Time: 0.4 sec

Recovery Time: 0.0 sec

Noise: Loud

Effects:

Self:

+5 Armor Rating

Transmutes the caster's skin into iron, adding significantly to their Armor Rating. This effect lasts for up to ten attacks.

=======================================================================================================

 

I don't know who was the genius who made this transmutation spell in to an enchanting spell, so I wanna know how to turn it a proper transmutation spell.

 

There's something in the code called:

"KeywordsIDs":["6149f072-d79d-4429-8dbd-3f014e8f013c"]

Which I can easily switch to:

"KeywordsIDs":["ab88e534-596e-4f40-b54e-9dd8b2cab983"]

But isn't this just some additional description? Because I'm not sure if this change works on the additional power level of Transmuters.

 

So... does anyone know how to switch the spell school / spell type of Ironskin or any other spell for that matter? If you know, please tell me how and thank you in advance.

 

Yes you're right, you have just to replace the keywords, but also the two that are in attack bundle, here a fix that make what you need.

 

{
    "GameDataObjects": [{
            "$type": "Game.GameData.GenericAbilityGameData, Assembly-CSharp",
            "DebugName": "Ironskin",
            "ID": "2d810c5c-b3cb-4f80-9ed6-5371e8a1f1e5",
            "Components": [
                {
                    "$type": "Game.GameData.GenericAbilityComponent, Assembly-CSharp",
                    "KeywordsIDs": [
                        "ab88e534-596e-4f40-b54e-9dd8b2cab983"
                    ],
                    "DisplayName": 225,
                    "Description": 848,
                    "UpgradeDescriptions": [],
                    "UpgradedFromID": "00000000-0000-0000-0000-000000000000",
                    "Vocalization": "GenericSpellCast1",
                    "Icon": "gui\/icons\/abilities\/wizard\/ironskin.png",
                    "UsageType": "Spell",
                    "UsageValue": 0,
                    "AbilityClassID": "acfd1303-4699-4939-91eb-6ac46d4af0bd",
                    "AbilityLevel": 4,
                    "IsPassive": "false",
                    "StackingRuleOverride": "Default",
                    "TriggerOnHit": "false",
                    "IsModal": "false",
                    "ModalGroupID": "00000000-0000-0000-0000-000000000000",
                    "IsCombatOnly": "true",
                    "IsNonCombatOnly": "false",
                    "HideFromUI": "false",
                    "HideFromCombatLog": "false",
                    "UniqueSet": "None",
                    "NoiseLevelID": "82bc1ce9-3a81-41ca-a61a-cc1f73a53de7",
                    "DurationOverride": 0,
                    "OverrideEmpower": "Default",
                    "ClearsOnMovement": "false",
                    "CannotActivateWhileInStealth": "false",
                    "CannotActivateWhileInvisible": "false",
                    "ActivationPrerequisites": {
                        "Conditional": {
                            "Operator": 0,
                            "Components": []
                        }
                    },
                    "ApplicationPrerequisites": {
                        "Conditional": {
                            "Operator": 0,
                            "Components": []
                        }
                    },
                    "DeactivationPrerequisites": {
                        "Conditional": {
                            "Operator": 0,
                            "Components": []
                        }
                    },
                    "PowerLevelScaling": {
                        "ScalingType": "Default",
                        "BaseLevel": 0,
                        "LevelIncrement": 1,
                        "MaxLevel": 0,
                        "DamageAdjustment": 1,
                        "DurationAdjustment": 1,
                        "BounceCountAdjustment": 0,
                        "ProjectileCountAdjustment": 0,
                        "AccuracyAdjustment": 0,
                        "PenetrationAdjustment": 0
                    },
                    "StatusEffectKeywordsIDs": [],
                    "StatusEffectsIDs": [],
                    "VisualEffects": [],
                    "SelfMaterialReplacementID": "00000000-0000-0000-0000-000000000000",
                    "AttackID": "ad4c4d4d-f9e8-4715-8eac-c89278a05731",
                    "AITargetingConditional": {
                        "Conditional": {
                            "Operator": 0,
                            "Components": []
                        },
                        "Scripts": []
                    },
                    "AudioEventListID": "63e344d4-8877-4188-841f-ee3b164f0c41"
                },
                {
                    "$type": "Game.GameData.ProgressionUnlockableComponent, Assembly-CSharp"
                }
            ]
        }, {
            "$type": "Game.GameData.AttackMeleeGameData, Assembly-CSharp",
            "DebugName": "Ironskin_Melee",
            "ID": "ad4c4d4d-f9e8-4715-8eac-c89278a05731",
            "Components": [
                {
                    "$type": "Game.GameData.AttackBaseComponent, Assembly-CSharp",
                    "KeywordsIDs": [
                        "ab88e534-596e-4f40-b54e-9dd8b2cab983"
                    ],
                    "AttackDistance": 1,
                    "MinAttackDistance": 0,
                    "AttackVariationID": "97294f82-0d50-4d9f-bf04-45ed67b2d4e9",
                    "UseParentEquippableHand": "false",
                    "CastSpeedID": "e4c738a7-4d3f-407f-b035-cc76191fe26b",
                    "RecoveryTimeID": "039ef4b4-eeb3-42d3-9817-a8df05c53515",
                    "ImpactDelay": 0,
                    "ForcedTarget": "Self",
                    "AffectedTargetType": "Self",
                    "AffectedTargetConditional": {
                        "Conditional": {
                            "Operator": 0,
                            "Components": []
                        }
                    },
                    "AffectedTargetDeathState": "Alive",
                    "HostilityOverride": "Default",
                    "PushDistance": 0,
                    "FaceTarget": "true",
                    "AccuracyBonus": 0,
                    "PenetrationRating": 0,
                    "DamageData": {
                        "DamageType": "None",
                        "AlternateDamageType": "None",
                        "Minimum": 0,
                        "Maximum": 0,
                        "DamageProcs": []
                    },
                    "RequiresHitObject": "true",
                    "StatusEffectKeywordsIDs": [
                        "ab88e534-596e-4f40-b54e-9dd8b2cab983"
                    ],
                    "StatusEffectsIDs": [
                        "5c986f63-025d-4901-97da-f4ffb8fafbb2"
                    ],
                    "RandomizeStatusEffect": "false",
                    "CanGraze": "false",
                    "CanCrit": "true",
                    "DefendedBy": "None",
                    "AfflictionsDefendedBy": "None",
                    "AfflictionApplicationModifier": "None",
                    "SubstituteHitVisualEffect": "",
                    "VisualEffects": [
                        {
                            "VisualEffect": "prefabs\/effects\/abilities\/cast\/fx_cast_wizard_enchantment_rhand.prefab",
                            "AttachPoint": "RightWeapon",
                            "AttachObject": "Caster",
                            "AttachMode": "Attach",
                            "MeshType": "None",
                            "Event": "OnAnimEvent",
                            "AnimEventID": 2,
                            "Loop": "true",
                            "Scale": "false"
                        },
                        {
                            "VisualEffect": "prefabs\/effects\/abilities\/cast\/fx_cast_wizard_enchantment_rhand_launch.prefab",
                            "AttachPoint": "RightWeapon",
                            "AttachObject": "Caster",
                            "AttachMode": "PositionRotation",
                            "MeshType": "None",
                            "Event": "OnLaunch",
                            "AnimEventID": 0,
                            "Loop": "false",
                            "Scale": "false"
                        },
                        {
                            "VisualEffect": "prefabs\/effects\/abilities\/wizzard\/fx_ironskin_start.prefab",
                            "AttachPoint": "Root",
                            "AttachObject": "Caster",
                            "AttachMode": "Position",
                            "MeshType": "None",
                            "Event": "OnLaunch",
                            "AnimEventID": 0,
                            "Loop": "false",
                            "Scale": "false"
                        },
                        {
                            "VisualEffect": "prefabs\/effects\/abilities\/wizzard\/fx_ironskin_start_chest.prefab",
                            "AttachPoint": "Chest",
                            "AttachObject": "Caster",
                            "AttachMode": "Position",
                            "MeshType": "None",
                            "Event": "OnLaunch",
                            "AnimEventID": 0,
                            "Loop": "false",
                            "Scale": "false"
                        }
                    ],
                    "AttackOnImpactID": "00000000-0000-0000-0000-000000000000",
                    "ExtraAttackID": "00000000-0000-0000-0000-000000000000",
                    "LaunchBone": "RightWeapon",
                    "HitBone": "Chest",
                    "OnHitShakeDuration": "None",
                    "OnHitShakeStrength": "None",
                    "NoiseLevelID": "15743f94-1026-40b0-8e13-a667b3f66f63",
                    "AllReactNoise": "false",
                    "InterruptsOn": "None",
                    "InterruptType": "Normal",
                    "TargetAngle": 0,
                    "ApplyOnceOnly": "false",
                    "PathsToTarget": "true",
                    "HideFromCombatLog": "false",
                    "AdditionalAttackOnTooltip": "false",
                    "DoesNotApplyDamage": "false",
                    "TreatAsWeapon": "false",
                    "BounceData": {
                        "Bounces": 0,
                        "Multiplier": 0.5,
                        "Range": 10,
                        "InRangeOrder": "false",
                        "NoRepeatTargets": "false",
                        "AlwaysBounceAtEnemies": "false",
                        "Delay": 0,
                        "NeverBounce": "false"
                    }
                },
                {
                    "$type": "Game.GameData.AttackMeleeComponent, Assembly-CSharp",
                    "EngagementRadius": 1,
                    "IsUnarmed": "false"
                }
            ]
        }
	]
}
Edited by kilay
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...