Slave Arrows affects anyone. Don't tell me even cannonballs can feel "dirty" feelings. Only Mero Mero Merrow has that effect.
first of all you cant compare cannonballs with the fruit powers,second go on and google boa hancocks fruit mero mero no mi and then read the entrys.
Mero Mero Mellow (メロメロ甘風(メロウ) Mero Mero Merrow?, literally meaning "Falling-Down Drunk Sweet Wind"): Hancock's signature technique, she forms a heart shape with her hands and launch a beam of the shape. Anyone with "dirty thoughts" (lust) hit by this beam will be turned into a stone statue. The beam's effect can be blocked if the target doesn't have any lust for Hancock, either by focusing on other emotions (as Momonga) or simply being ignorant (as Luffy). Mero Mero Mellow reminds Luffy of Foxy's Noro Noro Beam. This attack seems not to kill targets, but rather put them in a form of stasis, as when Hancock revived the soldiers on the Marine Warship, they kept uttering the end of the sentence they spoke when they were petrified and even carried the same momentum. Any affected persons' body can be destroyed, due to the fact that it is stone. This is called Love-Love Mellow in the Viz Manga and Love-Love Beam in the FUNimation subs. The pun in this technique is that those who are vulnerable to this technique essentially become slaves to it.
Pistol Kiss (銃(ピストル)キス Pisutoru Kisu?, literally meaning "Pistol Kiss"): Hancock is able to use a projectile-like move by blowing a kiss, creating a heart-shaped bullet to fire at her victim by aiming it with her index finger, which she uses together with her Busōshoku Haki to hurt the foe. The pun here is that the kanji for gun (銃) is part of the phrase "jū no tsutsu" (銃の筒), meaning "gun barrel", which Hancock's index finger is essentially serving as, in order for this technique to work. It is unknown if this attack would petrify the opponent if it worked, since it's only been used once, against Luffy, who has no lust towards Hancock.[
Slave Arrow (虜の矢(スレイブ・アロー) Sureibu Arō?, literally meaning "Arrows of Imprisonment"): Hancock breathes in deeply and kisses out a heart; similar to her Pistol Kiss, but much bigger. She then pulls the heart back with a hand and, with a pop like that of a bubble, hundreds of arrows (all of them tipped and fletched with a stylized heart design) are fired and barrage her opponent(s) before petrifying them; the sheer number of arrows unleashed makes this move particularly difficult to evade. This technique not only petrifies anyone and anything that it hits, but somehow manages to freeze them in place, regardless of whether or not they were in motion or not, to the extent that she even stopped cannonballs in their tracks. The pun in this technique is that, although the kanji used here (虜) may mean "imprisonment", it can also mean "captive", as in someone being captivated by love.[4
Perfume Femur (芳香脚(パフューム・フェムル) Pafyūmu Femuru?, literally translated as "Aromatic Leg"): Hancock does a handstand and spins around in order to deliver a series of kicks. Anything she hits, including inanimate objects like swords and animate objects such as people, instantly turn into stone and, in turn, break from the sheer force of her kicks. Unlike her other attacks, only the immediate area around the point of contact turns to stone, not the entire object. The pun here is that when Hōkō, the actual pronunciation of the first two kanji symbols, is written another way (奉公), it can mean "apprenticeship" in the sense of "indentured servitude".[12]
after reading all this -> the only attack which could possibly hurt luffy would be perfume femur.
all others are clearly connected to the targets "dirty thoughts"/lust