Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
i think set should be added to kadabra's analysis
PU BARRIER
move 1:barrier/reflect Item:life orb/sash
move 2 energy ball/calm mind/recover Ability:magic guard/synchronize
move 3:hidden power...
This the initial set I run for magmar in pu
Magmar eviolite sash or life orb evs. 252 spa/spe
Flamethrower/fire blast
Hidden power grass
Will-o-wisp/psychic
Barrier/ will-o-wisp
Set details
This set utitlizes magmar's sp.atk stat with fire
blast you can oko defogers like articuno. Hp grass also...