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
425
Reaction score
176
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
9,645
Reaction score
6,152
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

Had a funny feeling about my laptop last night so I moved my project over to desktop via thumbdrive, just experienced my first corrupted project and couldn't be happier about the timing!! *proceeds to copy file onto every thumbdrive in the house*
Test game. Find something broken. Fix. Re-test game. Broken thing fixed but new thing broken that wasn't before. What?!?! Uhg! :kaoangry:
I watched this youtube video of this reporter that went to a Flat Earth Conference. And there was just a whole lot of stupid in one room.
What?! You want 2 more hours of a playthrough? Well you got it! Come hang out with us while we dive even deeper into the awesome game Kindred Novel by BirdBunch! :LZSjoy:

Forum statistics

Threads
122,072
Messages
1,146,292
Members
160,354
Latest member
Erulia
Top