Differentiating between Ranged and Melee attacks

So, I wanted ranged weapons to have different properties than melee weapons. In short, I want ranged attacks to have the same properties as magical attacks, but they use the regular evasion stat for their hit rate, instead of magic evasion. I'm using Yanfly's Weapon Attack Replace Script, if that helps.
What "properties" does a magical attack have in your case, aside from which evasion stat it uses?
What "properties" does a magical attack have in your case, aside from which evasion stat it uses?
Attacking an enemy with a reflect status would reflect the attack, but enemies with a counter status can't counter the attack.
How about damage reduction via the MDR/PDR feature? Do you use it? If yes, how do you want it to work with the ranged attacks? Will ranged still be reduced by PDR or do you want it reduced by MDR?

What else do you want your ranged skills to "borrow" from magical attacks aside from being reflected instead of countered?

If the only thing you really want for the ranged attacks to "borrow" from magical is the change from being countered to being reflected, I have a short script that allows you to tag your ranged skills to do so.

Spoiler: Click here if yes
Just pop this into your script editor and tag your ranged skills with <ranged_attack>, and also make sure that their Hit Type is set to Physical

If you use this, then skills tagged with <ranged_attack> will:

Use the physical hit rate calculation
Use PDR/MDR for damage reduction if you're using those
Can be reflected, cannot be countered

Code:
module RANGED
  TAG = /<ranged_attack>/i
end

class Game_Battler
 
  alias item_cnt_ranged item_cnt
  def item_cnt(user, item)
    if item.note =~ RANGED::TAG
      return 0 #No counter for ranged
    else
      return item_cnt_ranged(user,item)
    end
  end
 
  alias item_mrf_ranged item_mrf
  def item_mrf(user, item)
    if item.note =~ RANGED::TAG
      return mrf #Ranged can be reflected
    else
      item_mrf_ranged(user,item)
    end
  end
 
end
How about damage reduction via the MDR/PDR feature? Do you use it? If yes, how do you want it to work with the ranged attacks? Will ranged still be reduced by PDR or do you want it reduced by MDR?

What else do you want your ranged skills to "borrow" from magical attacks aside from being reflected instead of countered?

If the only thing you really want for the ranged attacks to "borrow" from magical is the change from being countered to being reflected, I have a short script that allows you to tag your ranged skills to do so.

Spoiler: Click here if yes
Just pop this into your script editor and tag your ranged skills with <ranged_attack>, and also make sure that their Hit Type is set to Physical

If you use this, then skills tagged with <ranged_attack> will:

Use the physical hit rate calculation
Use PDR/MDR for damage reduction if you're using those
Can be reflected, cannot be countered

Code:
module RANGED
  TAG = /<ranged_attack>/i
end

class Game_Battler
 
  alias item_cnt_ranged item_cnt
  def item_cnt(user, item)
    if item.note =~ RANGED::TAG
      return 0 #No counter for ranged
    else
      return item_cnt_ranged(user,item)
    end
  end
 
  alias item_mrf_ranged item_mrf
  def item_mrf(user, item)
    if item.note =~ RANGED::TAG
      return mrf #Ranged can be reflected
    else
      item_mrf_ranged(user,item)
    end
  end
 
end

That is actually exactly what I wanted. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/differentiating-between-ranged-and-melee-attacks.80314/