Hydro Pump, Surf, Hydro Pump
IF Nidoking uses a damaging Electric-type move, THEN Grass Knot on the first instance, Dig on the second, and Grass Knot on the third.
[ONCE] IF Nidoking uses Bide, THEN initiate action string Rain Dance, Chill, Hydro Pump.
IF Hydro Pump is disabled when you are to use it, THEN Grass Knot.