Make Attack Times occur with all skills - reference

Hey, I was wondering how to make all skills or, even better, specific skills have the applied Attack Times calculated in, not just with the regular Attack skill.

I have read this post http://forums.rpgmakerweb.com/index.php?/topic/30596-skills-considered-as-normal-attacks/ which seems to answer the question but without an example of what was changed, specifically, in the script.

Can anyone clarify what needs to change here?

Game_Action Line 90

  #--------------------------------------------------------------------------

  # * Normal Attack Determination

  #--------------------------------------------------------------------------

  def attack?

    item == $data_skills[subject.attack_skill_id]

  end
Hey, I was wondering how to make all skills or, even better, specific skills have the applied Attack Times calculated in, not just with the regular Attack skill.

I have read this post http://forums.rpgmakerweb.com/index.php?/topic/30596-skills-considered-as-normal-attacks/ which seems to answer the question but without an example of what was changed, specifically, in the script.

Can anyone clarify what needs to change here?

Game_Action Line 90

  #--------------------------------------------------------------------------

  # * Normal Attack Determination

  #--------------------------------------------------------------------------

  def attack?

    item == $data_skills[subject.attack_skill_id]

  end
Code:
  #--------------------------------------------------------------------------  # * Normal Attack Determination  #--------------------------------------------------------------------------  def attack?    item == $data_skills[1..9999]  end
Maybe? (Try it?)
 #--------------------------------------------------------------------------  # * Normal Attack Determination  #--------------------------------------------------------------------------  def attack?    item == $data_skills[1..9999]  endMaybe? (Try it?)
Thanks but that doesn't seem to change anything on testing.
What about:

Code:
  #--------------------------------------------------------------------------  # * Normal Attack Determination  #--------------------------------------------------------------------------  def attack?    return true  end
What about:

#-------------------------------------------------------------------------- # * Normal Attack Determination #-------------------------------------------------------------------------- def attack? return true end
Seems to work great, thanks for that! Just out of curiosity, is there a way to return true if [skill id.., , ,]?
I think that would be:

#--------------------------------------------------------------------------# * Normal Attack Determination#--------------------------------------------------------------------------def attack?return true if item == $data_skills[1,2,3]endReplace 1,2,3, with the Skill IDs.
 
I think that should work (Havent tested it)
I think that would be:

#--------------------------------------------------------------------------# * Normal Attack Determination#--------------------------------------------------------------------------def attack?return true if item == $data_skills[1,2,3]endReplace 1,2,3, with the Skill IDs.

I think that should work (Havent tested it)
Thanks for your help man. I'll test that later on. 🙂

Original thread: https://forums.rpgmakerweb.com/threads/make-attack-times-occur-with-all-skills-reference.42817/