Please note that some information on this wiki is still based on the demo version.
If you notice any errors, feel free to correct them.

Module:Abilities/doc: Difference between revisions

From Super Fantasy Kingdom Official Wiki
wgg>Cadaei
doc example with grid
wgg>Cadaei
info for submodule
Line 1: Line 1:
{{doc/start}}
{{doc/start}}
Creates an ability table with upgrades for a unit. (Code at [[Module:Abilities]]).
Creates an ability table with upgrades for a unit. (Code at [[Module:Abilities]]).
The ability grids are created with the submodule [[Module:Abilities/Grid]], see there for infos about creating the grid.
  <nowiki>{{abilities
  <nowiki>{{abilities
|name1=Tentacles
|name1=Tentacles

Revision as of 11:11, 29 June 2024

Creates an ability table with upgrades for a unit. (Code at Module:Abilities).

The ability grids are created with the submodule Module:Abilities/Grid, see there for infos about creating the grid.

{{abilities
|name1=Tentacles
|abilityType1 = Magical
|element = Dark
|dm1= 1x
|cd1=1.5s
|desc1=Opens up the door to another dimension<br/> Applies {{effect|fear}} to all monsters hit.
|upgrade1.1= Decrease {{stat|cd|to 1.25s}}
|upgrade1.2= Decrease {{stat|cd|to 1s}}
|upgrade1.3= Increase {{stat|ar}}
|name2=Barrier
|abilityType2 = Support
|cd2=6s
|desc2=Cast {{Effect|Barrier}} onto the hero above
|grid2.mark=8
|upgrade2.3= Applies to more allies
|upgrade2.3grid=7,8,9
}}
Tentacles
Magical damage
Opens up the door to another dimension
Applies fear to all monsters hit.
Decrease  to 1.25s
Decrease  to 1s
Increase
 1x
 1.5s
Barrier
Support
Cast Barrier onto the hero above
Applies to more allies
 6s