Modding/Skills: Difference between revisions

From Hammerwatch 2 Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 20: Line 20:


Dict skill
Dict skill
:Class - ''[[Modding/Skills_Documentation#Skill_Classes|Skill Classes]]''
:Class - ''[[Modding/Skills#Skill_Classes|Skill Classes]]''





Revision as of 04:50, 6 September 2023

Skill Properties

Name/Type/Description

description-params array

Arrays of strings for each line item to show what base and upgrades modify

icon array

PNG file to use for skill icon


Id string - Must be unique

Tier string - One of the four tiers of skills

Type string - Mainhand / Offhand / Dash / Spell (Omitted for Passives)

Starting-Level string - 1 for adept, 0 for all others


Dict skill

Class - Skill Classes


Stop-Conditional Array
4 Strings (condition type / condition / operator / value)
Movements Array
3 values (i2 / v2 / b)
Binds Dict (Required)
Seems to be used to set up variables for values that could be modified by upgrades or skill-modifiers? Needs confirmation.
Effects Array
1 or more Effects triggered on Skill start
Finish-Effects Array
1 or more Effects triggered on Skill end
Modifiers Array (Required)
1 or more Modifiers
Actions Dict
1 or more Actions
Timeline Array
2 values (int / string)
Timelines-Looping Array
2 values (int / string)


Upgrades Array

Effects on base skill from purchasing upgrades


Modifier-Skills Array

Sub skills that can be purchased within a skill
Contains additional skill dicts (as above)

Skill Classes

Skill

CelestialOrbs

Juggernaut

ManaShield

PassiveSkill

NullSkill

StackSkill

Active Skill

BuffAoe

Charge

ChargeUnit

DropEffect

DropUnit

Explode

GrappleHook

MeleeSwing

ShootProjectile

ShootProjectileFan
ShootProjectileTarget

ShootRay

SpawnUnit

SpewProjectiles

StaggeredSpawnUnits

TempBuffAoe

ToggleableSkill

Whirlnova

Whirlwind

Player Skill

PlayerSkillAutomatic

PlayerSkillDirectional

PlayerSkillDirectionalChannelling

ShootBeam

PlayerSkillDirectionalCharged

PlayerSkillPosition

HookShot