You code has errors.
- Before "UnitPower("player")" add "(".
- "UnitBuffID("player",122510)" is an PQR function (no wow function), replace it by "UnitBuff("player",GetSpellInfo(122510))".
- I have also removed unused variables.
Result:
condiok = 0;
if (UnitPower("player") >= 85) or UnitBuff("player",GetSpellInfo(122510)) then
condiok = 1;
end