Difference between revisions of "User:Tvol"

From UFOpaedia
Jump to navigation Jump to search
m
Line 53: Line 53:
 
}}
 
}}
  
[[File:UIPerk_runandgun.png|38px|Caption|link=Main Page]]
+
<!--
 +
--><span id="ability"><!--
 +
    --><span id="abilityImageContainer" style="position: relative; width: 38px; height: 38px;"><!--
 +
        --><span id="abilityImage" style="width: 100%; height:100%;"><!--
 +
        -->[[File:UIPerk_runandgun.png|38px| Run and Gun {{ #if: Assault_(LW2) | {{!}} link= Assault_(LW2) |}}]]<!--
 +
        --></span><!--
 +
        -->{{ #ifexpr: {{{ b_info | 1 }}} |<!--
 +
        --><span id="abilityInfoIcon" style="position: absolute; height: 18px; width: 18px; left: 28px; top: 12px;"><!--
 +
            -->[[File:infoIcon.png|18px|Bacon!?!]]<!--
 +
        --></span><!--
 +
        -->|}}<!--
 +
    --></span>{{ #ifexpr: {{{ b_name | 1 }}} or {{{ b_descr | 1 }}} |<br /><!--
 +
    --><div id="abilityTextContainer"><!--
 +
    -->{{ #ifexpr: {{{ b_name | 1 }}} | <div id="abilityName" style="font-weight: bold;">Run and Gun</div> |}}<!--
 +
    -->{{ #ifexpr: {{{ b_descr | 1 }}} | <div id="abilityDescription" style="font-style: italic;">Take an action after dashing. Three-turn cooldown.</div> |}}<!--
 +
    --></div><!--
 +
    -->|}}<!--
 +
--></span>
  
{{Run and Gun (LW2)}}
 
  
<span id="ability"><!--
 
  --><span id="abilityImageContainer" style="position: relative; width: 38px; height: 38px;"><!--
 
    --><span id="abilityImage" style="width: 100%; height:100%;"><!--
 
    -->[[File:UIPerk_supression.png|38px|Area Suppression]]<!--
 
    --></span><!--
 
    --><span id="abilityInfoIcon" style="position: absolute; height: 18px; width: 18px; left: 28px; top: 12px;"><!--
 
    -->[[File:infoIcon.png|18px]]<!--
 
    --></span><!--
 
  --></span><br /><!--
 
  --><div id="abilityTextContainer"><!--
 
    --><div id="abilityName" style="font-weight: bold;">Area Suppression</div><!--
 
    --><div id="abilityDescription" style="font-style: italic;">Fire a barrage that pins down a target, grants reaction fire against it if it moves, restricts the use of many abilities, and imposes a -30 penalty to the target's aim.</div><!--
 
  --></div><!--
 
--></span>
 
  
 
===Active Tree===
 
===Active Tree===
  
 
{{Class Tree (LW2)/Sandbox
 
{{Class Tree (LW2)/Sandbox
|Squaddie1=
+
|Squaddie1={{Ability_(LW2)/Sandbox
 +
| s_image = UIPerk_runandgun.png
 +
| s_name = Run and Gun
 +
| s_caption = Run and Gun
 +
| s_link = Assault_(LW2)
 +
| s_descr = Take an action after dashing. Three-turn cooldown.
 +
| s_info =  Bacon!?!
 +
| b_name = {{{ b_name | 1 }}}
 +
| b_descr = {{{ b_descr | 1 }}}
 +
| b_info = {{{ b_info | 1 }}}
 +
}}
 
|Squaddie2={{Run and Gun (LW2)| b_descr = 1 | b_info = 1 }}
 
|Squaddie2={{Run and Gun (LW2)| b_descr = 1 | b_info = 1 }}
 
|Squaddie3={{Stun (LW2)| b_descr = 1 | b_info = 1}}
 
|Squaddie3={{Stun (LW2)| b_descr = 1 | b_info = 1}}
Line 102: Line 114:
 
|MSgt3={{Lethal (LW2)| b_descr = 1 }}
 
|MSgt3={{Lethal (LW2)| b_descr = 1 }}
 
}}
 
}}
 
 
===Hardcopy Tree===
 
 
Mouse-over [[File:InfoIcon.png|18px]] for more information.
 
{| class="wikitable" style="vertical-align:top; text-align:center" width="100%"
 
|- style="color:#7dc2d2; background-color:#17181a; vertical-align:center; font-size:130%;"
 
| style="width:10%; border-width: 0 2px 2px 0; border-color:#7dc2d2;"| '''Rank'''
 
| colspan="3" style="border-color:#7dc2d2; border-width: 0 0 2px 0" | '''Ability'''
 
|-
 
! style="border:none; color:#7dc2d2; background-color:#17181a;" | {{ #if:  | {{SparkRank (LW2)|0|b_name=1}} | {{Rank (LW2)|0|b_name=1}} }}
 
| width="30%" |
 
| width="30%" | {{Run and Gun (LW2)| b_descr = 1 }}
 
| width="30%" | {{Stun (LW2)| b_descr = 1 }}
 
|- vertical-align="center"
 
| style="border:none; background-color:#17181a;" |
 
! style="border-left:none; border-right:none; background-color:white;" | ''Raider''
 
! style="border-left:none; border-right:none; background-color:white;" |
 
! style="border-left:none; border-right:none; background-color:white;" | ''Breacher''
 
|-
 
! style="border:none; color: #7dc2d2; background-color: #17181a;" | {{ #if:  | {{SparkRank (LW2)|1|b_name=1}} | {{Rank (LW2)|1|b_name=1}} }}
 
| {{Slug Shot (LW2)| b_descr = 1 }}
 
| {{Electroshock (LW2)| b_descr = 1 }}
 
| {{Lightning Reflexes (LW2)| b_descr = 1 }}
 
|-
 
! style="border:none; color: #7dc2d2; background-color: #17181a;" |  {{ #if:  | {{SparkRank (LW2)|2|b_name=1}} | {{Rank (LW2)|2|b_name=1}} }}
 
| {{Trench Gun (LW2)| b_descr = 1 }}
 
| {{Arc Pulser (LW2)| b_descr = 1 }}
 
| {{Close and Personal (LW2)| b_descr = 1 }}
 
|-
 
! style="border:none; color: #7dc2d2; background-color: #17181a;" |  {{ #if:  | {{SparkRank (LW2)|3|b_name=1}} | {{Rank (LW2)|3|b_name=1}} }}
 
| {{Killer Instinct (LW2)| b_descr = 1 }}
 
| {{Stun Gunner (LW2)| b_descr = 1 }}
 
| {{Fortify (LW2)| b_descr = 1 }}
 
|-
 
! style="border:none; color: #7dc2d2; background-color: #17181a;" |  {{ #if:  | {{SparkRank (LW2)|4|b_name=1}} | {{Rank (LW2)|4|b_name=1}} }}
 
| {{Extra Conditioning (LW2)| b_descr = 1 }}
 
| {{Aggression (LW2)| b_descr = 1 }}
 
| {{Formidable (LW2)| b_descr = 1 }}
 
|-
 
! style="border:none; color: #7dc2d2; background-color: #17181a;" |  {{ #if:  | {{SparkRank (LW2)|5|b_name=1}} | {{Rank (LW2)|5|b_name=1}} }}
 
| {{Hit and Run (LW2)| b_descr = 1 }}
 
| {{Rapid Fire (LW2)| b_descr = 1 }}
 
| {{Close Encounters (LW2)| b_descr = 1 }}
 
|-
 
! style="border:none; color: #7dc2d2; background-color: #17181a;" |  {{ #if:  | {{SparkRank (LW2)|6|b_name=1}} | {{Rank (LW2)|6|b_name=1}} }}
 
| {{Bring 'Em On (LW2)| b_descr = 1 }}
 
| {{Close Combat Specialist (LW2)| b_descr = 1 }}
 
| {{Untouchable (LW2)| b_descr = 1 }}
 
|-
 
! style="border:none; color: #7dc2d2; background-color: #17181a;" |  {{ #if:  | {{SparkRank (LW2)|7|b_name=1}} | {{Rank (LW2)|7|b_name=1}} }}
 
| {{Street Sweeper (LW2)| b_descr = 1 }}
 
| {{Chain Lightning (LW2)| b_descr = 1 }}
 
| {{Lethal (LW2)| b_descr = 1 }}
 
|}
 

Revision as of 12:42, 2 February 2017

Useful Things

Regex pair to convert line breaks to HTML comments: \n(\s*)(.) >> <!--\n$1-->$2 And back: <!--\n(\s*)--> >> \n$1

TODO

Templates

This is my todo list for templates. If you want to help me by doing any of this below, go for it. I won't mind. Really. Really I won't.

Roughly in order of priority.

Stat Progression (LW2)

Ability (LW2)

  • {{Ability_(LW2)}}
  • Edit and/or (probably and) all LW2 ability templates such that the info icon links to their respective info pages.
    • Perform check on whether or not info page exists. If it does not, prevent display of info button entirely regardless of parameter value passed. This will be more robust and require less input from users. Will need to change s_info so that it is only the template's FULLPAGENAME so I can work with it for checks.

Sandox

  • {{Sandbox}}
  • Create template for template sandboxes that can safely be put at the top of every template with a sandbox, as well as be used for the sandboxes themselves as a back-link to the template.
    • Run bot to add the things and stuff.
    • Periodic bot script on my end to check this perhaps?

Documentation

Create documentation for:

CSS

  • Apparently we have a CSS plugin. This allows for CSS to be changed on a per-page basis.
    • Update Template:Ability (LW2) with element ids for completeness.
    • Play around with this. It can probably be used to get better behaviour out of the info rollover, specifically having it break at newlines. (It may also be possible to enable specific behaviour on hover for those info icons.)

Scratch Pad

Abilities Template

Run and Gun
User:Tvol/Info
Run and Gun
Take an action after dashing. Three-turn cooldown.
Run and GunBacon!?!
Run and Gun
Take an action after dashing. Three-turn cooldown.


Active Tree

Mouse-over XCOM2 infoIcon custom 1.png for more information.

Rank Ability
Squaddie
Squaddie
Run and Gun
User:Tvol/Info
Run and Gun
Take an action after dashing. Three-turn cooldown.
Run and Gun
* Run and Gun allows soldiers to close the distance to their targets rapidly, or to easily take a flanking position. * Run and Gun has a 3 turn cooldown.
Take an action after dashing.
Stun
* The Arc Thrower is effective anywhere in the soldier's sight range, doing no damage but stunning targets for their next turn if it hits. * Improved versions can extend the duration of the stun effect. * Requires one action and ends the soldier's turn when fired. * Can Use every other turn. * Ineffective against mechanized units without additional soldier training.
Fire your Arc Thrower to incapacitate a target.
Raider Breacher
Lance Corporal
Lance Corporal
Slug Shot
Special shot for primary-weapon shotguns only: Fire a shot that pierces two armor and has no range penalties. Uses 2 ammo. Three turn cooldown.
Electroshock
Your arc thrower disorients the target when it misses.
Lightning Reflexes
Reaction fire shots against you have a significantly decreased chance to hit. The bonus goes down with each additional reaction shot you face.
Corporal
Corporal
Trench Gun
Special shot for primary-weapon shotguns only: Fire a short-range cone-based attack at nearby targets. Three-turn cooldown.
Arc Pulser
Fire your Arc Thrower to incapacitate a target and damage mechanical enemies.
Close and Personal
Confers +30 critical chance against adjacent targets. The bonus declines with distance from the target.
Sergeant
Sergeant
Killer Instinct
Activating Run & Gun grants +50% critical damage for the rest of the turn.
Stun Gunner
Your Arc Thrower now has a bonus to hit.
Fortify
Activate to grant +20 defense until the beginning of the next turn. Does not cost an action. Has a 5-turn cooldown.
Staff Sergeant
Staff Sergeant
Extra Conditioning
Run and Gun cooldown is reduced by one turn.
Aggression
Gain +5 critical chance for each enemy you can see, up to a maximum of 30.
Formidable
Your gear includes an extra layer of protection, granting two extra points of Ablative HP and 50% less damage from explosive attacks.
Tech Sergeant
Tech Sergeant
Hit and Run
Once per turn, gain an additional action after taking a standard shot at a flanked or exposed target with your primary weapon.
Rapid Fire
Fire twice in a row at an enemy. Each shot suffers an Aim penalty of -15. There is no cooldown on this ability.
Close Encounters
Once per turn, gain a bonus action after taking a standard shot with your primary weapon at an enemy within four tiles. Close Encounters cannot be used after Run and Gun is activated.
Gunnery Sergeant
Gunnery Sergeant
Bring 'Em On
Gain +1 damage on critical hits for every two enemies you can see, up to a maximum of +8.
Close Combat Specialist
During enemy turns, fire a free reaction shot with your primary weapon at any visible enemy within four tiles who moves or fires. Will not trigger if soldier is concealed.
Untouchable
If you score a kill during your turn, the next attack against you during the enemy turn will miss.
Master Sergeant
Master Sergeant
Street Sweeper
Cone-based shotgun attack that does bonus damage to unarmored targets. Blocked by heavy cover.
Chain Lightning
Fire your Arc Thrower at every visible enemy who is capable of being stunned. Five-turn cooldown.
Lethal
You do two additional points of base damage and one point of additional crit damage with your primary weapon.