RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[VXA] Actor Specific 'Normal' Attack

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 81
RMRK Junior
Hi this is my 1st ever script and its very basic

what it allows you to do is to set a specific skill to be an actors normal attack.

Code: [Select]
#==============================================================================
# ? Actor Alt Attacks
#------------------------------------------------------------------------------
# ?this script allows you to define a skill to be used for the main attack
#  for each actor the default skill is skill id 1 this can be changed
#==============================================================================

class Game_BattlerBase
 
#--------------------------------------------------------------------------
# ? Get the ID of the skill for normal attacks
#--------------------------------------------------------------------------
  def attack_skill_id
    if @actor_id == 2 # Natalie
      return 4 # Wind
    end
    if @actor_id == 1 # Eric
      return 3 # Fire
  else
    return 1 # Attack
  end
  end
end

hope you like and i welcome any advice or suggestions

**
Rep: +0/-0Level 67
RPGVX Advanced (I Do Not Script Tough)
pretty nice,but are you sure you post it on the right board?

**
Rep: +0/-0Level 67
RPGVX Advanced (I Do Not Script Tough)
OH!! sorry I was not really on earth X'D
yes ur on the right board

**
Rep: +0/-0Level 81
RMRK Junior
lol its ok it also works for class specific if you dnt wish to have it for individual actor

**
Rep: +0/-0Level 67
RPGVX Advanced (I Do Not Script Tough)

**
Rep:
Level 65
I didn't undesrtanded how to setup this script. I'm not at all a scripter. Can you include more detailed tags and instructions on header?

*
Rep:
Level 84
Rubber Shark
Instead of hardcoding the skill id for each actor, why not have it read a tag in the actor's note field in the database?

**
Rep: +0/-0Level 81
RMRK Junior
would love too just dont have a clue how to