You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.3 KiB
Plaintext
34 lines
1.3 KiB
Plaintext
<h2>description </h2>
|
|
<p>Passive skills bestow a constant effect and are perpetually applied in the background. </p>
|
|
|
|
<h2>flow </h2>
|
|
<ul>
|
|
<li>Skill button pressed </li>
|
|
<li>Used
|
|
<ul>
|
|
<li>New usage </li>
|
|
<li>Target </li>
|
|
<li>Fail if user activating a skill </li>
|
|
<li>Fail if skill cooling down </li>
|
|
<li>Cooldown </li>
|
|
<li>Publish & emit "skill_used" </li>
|
|
<li>Pay costs </li>
|
|
<li>Append to active list </li>
|
|
<li>Activate </li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
|
|
<p>Skills perform their function on their user and target, but they are also applied to their target's <code>applied_skills</code>, a list of skill usages. </p>
|
|
|
|
<h2>structure </h2>
|
|
<p></p>
|
|
|
|
<h2>logic </h2>
|
|
<h3>end </h3>
|
|
<p>A skill naturally ends after completion. After all the keywords are complete, the skill will complete. </p>
|
|
|
|
<p>A skill prematurely ends if it is removed (the remove keyword targets applied skills) or reapplied (a duplicate skill ends earlier instances of the skill then is applied normally). </p>
|
|
|
|
<p>When a skill ends for any reason, all keywords must also end. </p>
|