User:Saag/AbilityCircle: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Saag (talk | contribs)
horizontally center popover card
Saag (talk | contribs)
mNo edit summary
 
Line 4: Line 4:
               <div class="ability-icon popover-wrapper nopreview"
               <div class="ability-icon popover-wrapper nopreview"
                 style="width:100%; height:100%; display:flex; flex-direction:column; justify-content:center;">
                 style="width:100%; height:100%; display:flex; flex-direction:column; justify-content:center;">
                 {{#if:{{{displayicon|}}}|[[File:{{{displayicon}}}|{{{iconsize|90}}}x{{{iconsize|90}}}px|middle|center|link=]]|[[File:{{#invoke:AbilityData|get_ability_name|{{{hero_name}}}|{{{ability_num}}}}}.png|link=|{{{iconsize|90}}}x{{{iconsize|90}}}px|middle|center]]}}
                 {{#if:{{{displayicon|}}}|[[File:{{{displayicon}}}|{{{iconsize|90}}}x{{{iconsize|90}}}px|middle|center|link=]]|[[File:{{#invoke:Abilities|get_ability_name|{{{hero_name}}}|{{{ability_num}}}}}.png|link=|{{{iconsize|90}}}x{{{iconsize|90}}}px|middle|center]]}}
               </div>
               </div>
                
                
               <div class="popover-content" style="position: absolute; margin-left: auto; margin-right: auto; left: 0; right: 0; text-align:left; margin-top: -30px; max-width: 550px; min-width: 320px; width: 50vw; left: 0;">
               <div class="popover-content" style="position: absolute; margin-left: auto; margin-right: auto; left: 0; right: 0; text-align:left; margin-top: -30px; max-width: 550px; min-width: 320px; width: 50vw; left: 0;">
                   <div style="max-width: 350px; height: 30px"></div>
                   <div style="max-width: 350px; height: 30px"></div>
                   {{#invoke:AbilityData|get_ability_card|{{{hero_name}}}|{{{ability_num}}}|true}}
                   {{#invoke:Abilities/card|get_ability_card|{{{hero_name}}}|{{{ability_num}}}|true}}
               </div>
               </div>

Latest revision as of 09:57, 15 November 2024

                 Lua error in Module:Abilities/card at line 68: attempt to concatenate local 'hero_key' (a nil value).


Isolated port of the ability circle and background from Template:Ability card. Intended for use on Heroes.


Abrams
Charges into close combat
Abrams has the bulk and sustain to lead from the front, often running into the middle of his foes and watching them scatter. If his enemies waste their fire on him, his back-line teammates can lay out damage with impunity.

10m

4s


42s

Drain health from enemies in front of you while they are in the radius.

Spirit Power#Spirit Power Scalingx0.36

35

Damage Per Second


100%

Heal vs Heroes


50%

Heal vs Non-Heroes


Ability Point 1
-19s Cooldown


Ability Point 2
+2s Duration


Ability Point 5
+40 Damage Per Second



37s

Charge forward, colliding with enemies and dragging them along. Hitting a wall will Stun enemies caught by Abrams. Speed increased after colliding with enemy Heroes.

Spirit Power#Spirit Power Scalingx2.1

40

Damage


0.85s

Stun Duration


Ability Point 1
-19s Cooldown


Ability Point 2
+0.5s Duration


Ability Point 5
+5.5 Weapon Damage for 8s after colliding with an enemy


Regenerate a portion of incoming damage over time.

14%

Damage regenerated


20s

Regeneration Time


1  Health Regen

Ability Point 1
+1.5 Health Regen


Ability Point 2
+150 Health


Ability Point 5
+7% Damage regenerated


Leap high into the air and choose a ground location to crash into. When you hit the ground, all enemies in the radius are damaged and stunned.
Press to crash down early.

Spirit Power#Spirit Power Scalingx0.917

150

Damage


1s

Stun Duration


9m  Impact Radius

Ability Point 1
-38s Cooldown


Ability Point 2
Gain 100 Max HP and 15% Fire Rate per hero hit. Lasts 25s.


Ability Point 5
On cast, become Immune to Stun, Silence, Sleep, Root, and Disarm. Expires 3s after landing.



No description.

Template parameters

ParameterDescriptionTypeStatus
hero_namehero_name

Name of the Hero

Example
Bebop
Unknownrequired
ability_numability_num

Number of the ability

Example
1
Unknownrequired
iconsizeiconsize

Size of the whole icon. Defaults to 90

Default
90
Example
20
Unknownoptional
bgsizebgsize

Size of the background circle. Should almost always be larger than the icon

Example
128
Unknownoptional
displayicondisplayicon

Use if the ability icon has a different name or uses another icon.

Example
Smoke Bomb.png
Unknownoptional