Modding/Skills Documentation: Difference between revisions

From Hammerwatch 2 Wiki
Jump to navigation Jump to search
No edit summary
Line 53: Line 53:
=Skill Classes=
=Skill Classes=


Skills::Charge
===Skill===


Skills::HookShot
CelestialOrbs


Skills::PassiveSkill
Juggernaut


Skills::PlayerSkillDirectional
ManaShield


Skills::PlayerSkillDirectionalChannelling
PassiveSkill


Skills::PlayerSkillDirectionalCharged
NullSkill


Skills::PlayerSkillPosition
StackSkill


Skills::ShootBeam
===Active Skill===
BuffAoe


Skills::ShootProjectileTarget
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


=Skill Modifiers=
=Skill Modifiers=

Revision as of 03:56, 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

Skill Modifiers

Modifiers::Armor

Modifiers::ArmorAdd

Modifiers::ArmorPenetration

Modifiers::AttribAdd

Modifiers::Aura

Modifiers::AuraCone

Modifiers::BaseSkillModifier

Modifiers::Block

Modifiers::Buff

Modifiers::BuffImmune

Modifiers::BuffScaling

Modifiers::ConvertStat

Modifiers::CritDamage

Modifiers::CriticalHit

Modifiers::CustomStat

Modifiers::CustomStat2

Modifiers::Damage

Modifiers::DamageAdd

Modifiers::DamageLeeching

Modifiers::DamageMulAdd

Modifiers::DummyModifier

Modifiers::Evade

Modifiers::Experience

Modifiers::InjectModifiersIntoStack

Modifiers::InjuredDamage

Modifiers::Lifestealing

Modifiers::Miss

Modifiers::ModifyStack

Modifiers::ModifySummons

Modifiers::PlayerLight

Modifiers::PlayerTargetedRange

Modifiers::PointsFromDamageTaken

Modifiers::QuantityTriggerEffect

Modifiers::ShieldBlock

Modifiers::SkillCost

Modifiers::SkillCrit

Modifiers::SkillDamageLeeching

Modifiers::SkillSlowScale

Modifiers::SkillTriggerEffect

Modifiers::SpeedAdd

Modifiers::SpeedMul

Modifiers::StatAdd

Modifiers::StatBasedDamage

Modifiers::SurpriseDamage

Modifiers::TimedTriggerEffect

Modifiers::TriggerEffect

Modifiers::TrueStrike

Modifiers::UsePointsCost