Jump to content

Making a upcastable leveled spell


hollapinyo24

Recommended Posts

okay so first thing i tried asking for got 0 responses so not much hope that people are willing to help, but screw it minus well try. im trying to make my own custom smite for a paladin and want to be able to upcast with it. i have managed to make the spell and everything works aside from upcasting and it also doesnt show that a spell slot is required. anyone one with more spellcrafting experience know what i can do to get it to work?

(the spell)

new entry "SAS_Smite_Shocking"
type "SpellData"
data "SpellType" "Target"
using "Target_MainHandAttack"
data "Level" "1"
data "SpellSchool" "Evocation"
data "SpellProperties" "GROUND:DealDamage(MainMeleeWeapon, MainMeleeWeaponDamageType);GROUND:ExecuteWeaponFunctors(MainHand);GROUND:DealDamage(2d6, Lightning)"
data "SpellRoll" "Attack(AttackType.MeleeWeaponAttack)"
data "SpellSuccess" "DealDamage(MainMeleeWeapon, MainMeleeWeaponDamageType); ExecuteWeaponFunctors(MainHand); DealDamage(2d6, Lightning,Magical);ApplyStatus(MAG_ELECTROCUTED,100,3);ApplyStatus(SHOCKING_GRASP,100,3, , , ,not SavingThrow(Ability.Charisma, SourceSpellDC()))"
data "Icon" "Action_LightningStrike"
data "DisplayName" "87c1e142-dae9-45ac-a1aa-a043ccee616b;1"
data "Description" "9e4ffe7a-ce29-4896-80d7-298fa93c4358;1"
data "DescriptionParams" "Distance(3)"
data "TooltipDamageList" "DealDamage(MainMeleeWeapon, MainMeleeWeaponDamageType);DealDamage(2d6,Lightning)"
data "TooltipAttackSave" "MeleeWeaponAttack;Charisma"
data "TooltipStatusApply" "ApplyStatus(SHOCKED,100,3;ApplyStatus(MAG_ELECTROCUTED,100,3))"
data "TooltipUpcastDescription" "66388a6f-44dd-4c9f-a9e7-910c50e70755"
data "TooltipUpcastDescriptionParams" "DealDamage(1d6, Lightning)"
data "PrepareSound" "Spell_Prepare_Damage_Lightning_Gen_L1to3"
data "PrepareLoopSound" "Spell_Prepare_Damage_Lightning_Gen_L1to3_Loop"
data "CastSound" "Spell_Cast_Damage_Lightning_ShockingGrasp_L0"
data "TargetSound" "Spell_Impact_Damage_Lightning_ShockingGrasp_L0"
data "DualWieldingUseCosts" ""
data "HitCosts" "SpellSlotsGroup:1:1:1"
data "SpellAnimation" "71369b20-18f1-4d33-89ad-a99b10f0444c,,;48beee2b-7124-4fa1-b820-dab4d89198d4,,;bcecc5ce-e7c9-4391-b4b6-5f93872ba2e6,,;9add032c-e500-4e88-a2ea-ef6c905bd656,,;3b9da8d4-3eff-43bd-9eaa-1c13fba0045e,,;d9feef5a-3726-4e23-95e5-6ec295efdc96,,;0b07883a-08b8-43b6-ac18-84dc9e84ff50,,;,,;,,"
data "DualWieldingSpellAnimation" "71369b20-18f1-4d33-89ad-a99b10f0444c,,;48beee2b-7124-4fa1-b820-dab4d89198d4,,;bcecc5ce-e7c9-4391-b4b6-5f93872ba2e6,,;9add032c-e500-4e88-a2ea-ef6c905bd656,,;3b9da8d4-3eff-43bd-9eaa-1c13fba0045e,,;d9feef5a-3726-4e23-95e5-6ec295efdc96,,;0b07883a-08b8-43b6-ac18-84dc9e84ff50,,;,,;,,"
data "VerbalIntent" "Damage"
data "SpellFlags" "IsSpell;IsMelee;HasVerbalComponent;IsHarmful;AddFallDamageOnLand"
data "HitAnimationType" "MagicalDamage_Electric"
data "MemoryCost" "1"
data "PrepareEffect" "77241e8c-ae8d-4402-92d8-a871ce64d86f"
data "CastEffect" "10fc784a-4312-47a8-a6b8-6b529c646ac4"
data "TargetEffect" "a3e2368b-f486-4cfc-b04a-b02e23383280"
data "DamageType" "Lightning"

 

i have also created versions for spell levels 2-6 yet it still doesnt work correctly when i put it on a weapon.

Link to comment
Share on other sites

to use the required spell slot, you should use data "UseCosts" "SpellSlotsGroup:1:1:1" instead of hitcosts. for the upcasting part, i'm not exactly sure how you did it, but i did this and it worked for me. 

 

new entry "SAS_Smite_Shocking_2

using "SAS_Smite_Shocking" 
data "ExtraDescriptionParams" "DealDamage(2d6,Lightning)"
data "TooltipDamageList" "DealDamage(2d6,Lightning)"
data "TooltipUpcastDescriptionParams" "DealDamage(2d6,Lightning)"
data "UseCosts" "ActionPoint:1;SpellSlotsGroup:1:1:2"
data "RootSpellID" "SAS_Smite_Shocking"
data "PowerLevel" "2"

 

or 

new entry "SAS_Smite_Shocking_2

using "SAS_Smite_Shocking" 
data "SpellRoll" "Attack(AttackType.MeleeWeaponAttack)"
data "SpellSuccess" "DealDamage(MainMeleeWeapon, MainMeleeWeaponDamageType); ExecuteWeaponFunctors(MainHand); DealDamage(2d8, Lightning,Magical);ApplyStatus(MAG_ELECTROCUTED,100,3);ApplyStatus(SHOCKING_GRASP,100,3, , , ,not SavingThrow(Ability.Charisma, SourceSpellDC()))"
data "TooltipUpcastDescriptionParams" "DealDamage(2d8,Lightning)"
data "UseCosts" "ActionPoint:1;SpellSlotsGroup:1:1:2"
data "RootSpellID" "SAS_Smite_Shocking"
data "PowerLevel" "2"

Link to comment
Share on other sites

  • Recently Browsing   0 members

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