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
naming
wgg>Cadaei
doc example with grid
Line 2: Line 2:
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]]).
  <nowiki>{{abilities
  <nowiki>{{abilities
|name1=Bless
|name1=Tentacles
|abilityType1=Magical damage
|abilityType1 = Magical
|element1=holy
|element = Dark
|cd1=3 s|ra1=70 m|desc1={{effect|Bless}} your enemies in a 20 m radius
|dm1= 1x
|upgrade1.1=Decrease {{stat|cd|to 2.5s}}
|cd1=1.5s
|upgrade1.2=Decrease {{stat|cd|to 2s}}
|desc1=Opens up the door to another dimension<br/> Applies {{effect|fear}} to all monsters hit.
|upgrade1.3=Decrease {{stat|cd|to 1.5s}}; Increases {{stat|ar|area}}.
|upgrade1.1= Decrease {{stat|cd|to 1.25s}}
|name2=Heal
|upgrade1.2= Decrease {{stat|cd|to 1s}}
|abilityType2=support
|upgrade1.3= Increase {{stat|ar}}
|cd2=10 s|desc2=Apply {{effect|Rejuvenate}} to adjacent [[units]]
|name2=Barrier
|upgrade2.3=Increases effect to 3
|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
}}</nowiki>
}}</nowiki>
{{abilities
{{abilities
|name1=Bless
|name1=Tentacles
|abilityType1=Magical damage
|abilityType1 = Magical
|element1=holy
|element = Dark
|cd1=3 s|ra1=70 m|desc1={{effect|Bless}} your enemies in a 20 m radius
|dm1= 1x
|upgrade1.1=Decrease {{stat|cd|to 2.5s}}
|cd1=1.5s
|upgrade1.2=Decrease {{stat|cd|to 2s}}
|desc1=Opens up the door to another dimension<br/> Applies {{effect|fear}} to all monsters hit.
|upgrade1.3=Decrease {{stat|cd|to 1.5s}}; Increases {{stat|ar|area}}.
|upgrade1.1= Decrease {{stat|cd|to 1.25s}}
|name2=Heal
|upgrade1.2= Decrease {{stat|cd|to 1s}}
|abilityType2=support
|upgrade1.3= Increase {{stat|ar}}
|cd2=10 s|desc2=Apply {{effect|Rejuvenate}} to adjacent [[units]]
|name2=Barrier
|upgrade2.3=Increases effect to 3
|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
}}
}}
{{doc/end}}
{{doc/end}}

Revision as of 15:00, 19 November 2023

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

{{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