How does STAB work exactly, and how does it interact with the Technician ability

pokemon-fourth-generationpokemon-series

A Pokemon which has the Technitian ability gets x1.5 boosted attack power for all moves used which have an attack power of 60 or less (so a move with 60 attack power will actually have 90 attack power).
STAB (Same type attack bonus) gives a 50% boost to damage, assuming the attack has the same type as the Pokemon using it (so a Grass Pokemon using Razor Leaf will do 1.5 times the damage). However, I have seen contradicting information, so currently I do not know whether STAB boosts the actual damage or the move's attack power.

What I would like to know, first, is the precise manner in which a STAB is applied to an attack.
Secondly, I would like to know what happens if an attack which would be affected by the Technician ability is also affected by STAB (though this answer might vary depending on the actual way that STABs work).

For example, my Scyther has the Technitian ability and attacks using the "Wing Attack" attack, which is a Flying-type attack with 60 attack power. Since Scyther is a Bug/Flying type pokemon he should also get a STAB for this attack, so just what is the eventual attack power/damage in this case?

(Please answer for 4th generation mechanics)

Best Answer

The Power of an attack directly correlates to how much damage you deal, because its presence in the damage formula is entirely multiplicative. So, an attack with 120 power will do twice as much damage as one that has 60 power. The same goes with your corresponding attack stat: a Pokemon with 100 Attack will do twice as much damage as one with 50 Attack when using the same attack on the same target.

STAB has operated consistently since Gen 1 so this applies to all of the games. It increases the Power of an attack by 50% if it matches one of your types. 60 becomes 90, for instance.

Technician increases the Base Power of an attack by 50% if its Power is 60 or less. So the most you get is boosting an attack at 60 power to 90. This occurs before STAB is calculated, so your Power would be 90 for STAB, boosting it to 135.