Skip to content

whztt07/AbilitySystem

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AbilitySystem

A Unity project to model an combat ability system.

Abilities are implemented with a generalized and modular template system using Scriptable Objects. This allows developers to create and configure abilities with minimal coding. The system utilizes an event system to enable effects that observe combat events such as a target being attacked.

Sample Abilities

Heavy Attack

Attack the target for 20 Physical damage.

Block

Attacks against the target for the next 5 seconds will be defended and will deal 50% less damage.

Dodge

The next attack against the caster within 1 second are defended and will miss. Passive Effect: Defended attacks resets the cooldown of Dodge.

Flamestrike

An attack which deals 15 Fire damage and sets the target on fire. While on fire, the target will burn and take 10 Fire damage every second. Being hit by an attack while on fire will also incur burn damage. Lasts 10 seconds.

Freeze

Freezes the target, making them unable to act. The next attack that hits this target will shatter the target, dealing 100 Ice damage and end the effect. If the attack was a critical hit, shatter damage is doubled. Lasts a maximum of 8 seconds. 10 second cooldown.

Demo

The demo scene has two characters with a set of sample abilities. Click on one of them to activate them as the character you want to use. Press 1 to perform a regular attack. Press 2 to activate dodge. Press 3 to activate block. Press 4 to perform a freeze attack. Press 5 to perform a flamestrike attack.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 98.4%
  • ShaderLab 1.6%