Status
Not open for further replies.

Pokeblue

Warper
Member
Joined
Feb 11, 2020
Messages
2
Reaction score
0
First Language
English
Primarily Uses
RMXP
Hello, I've looked everywhere for an answer as to why I can't seem to deal any damage via default attack.
I am using RPG Maker XP 1.02a. And yes, I have tried the "skill 1 is the basic attack" trick.
Here are some screenshots:actors.PNGenemies.PNGSkills.png

I don't know, there might be something terribly wrong that I'm not noticing. I'm new to this program.
 

KK20

Just some XP Scripter
Veteran
Joined
Oct 11, 2018
Messages
475
Reaction score
194
First Language
English
Primarily Uses
RMXP
Do you not have a weapon equipped? If your Attack stat is 0, your basic attack won't do anything.
Code:
      # Calculate basic damage
      atk = [attacker.atk - self.pdef / 2, 0].max
      self.damage = atk * (20 + attacker.str) / 20
 

Pokeblue

Warper
Member
Joined
Feb 11, 2020
Messages
2
Reaction score
0
First Language
English
Primarily Uses
RMXP
Oh, that must be it. I'm a dumb**s. I thought I would be able to deal a basic amount of damage with no weapon, my logic pointing to punching stuff, but thank you, this fixed my issue.
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
10,116
Reaction score
6,400
First Language
Dutch
Primarily Uses
RMXP

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

Shoot.gif
Because The Fury from Metal Gear Solid 3 is one of my favorite bosses of all time, I felt the need to make a somewhat similar boss for my own game. taking cues from both the Fury and another awesome astronaut boss, Captain Vladimir from No More Heroes 2.
RE4make almost had me with their demo until I got to the dog stuck in a bear trap and realized that he was dead and could no longer be saved. Just not the kind of reimagining I'm interested in.
Here's some dudes that I'm drawing for Jimmy's Quest!
autredo.png
Autism Acceptance Month 2023!


Did this randomly in my free time, I guess today is a good day to show it.

Forum statistics

Threads
130,026
Messages
1,207,121
Members
171,290
Latest member
gypsycat
Top