# I can't deal any damage to enemies, help!!

Status
Not open for further replies.

#### Pokeblue

##### Warper
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:

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
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
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

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 Profile Posts

Marketing seems to be about reducing dependence on luck to sell a product, as well as expanding the number of avenues in which luck can play a role in selling a product.
So, I've been wanting to do this randomized logic puzzle in my game for years now. I finally figured out how to do it by using arrays and a few small script calls. It's based on the Einstein Fish Puzzle! Though, I have no idea how to actually have the player put in answers.... might start a thread about it.

The projectiles shown in this video are as follows:
1, Basic Triple
2, 30-Degree Arc
3, Randomized Blast Wave
4, 8-way
5, 8-way Double
6, 8-way Slowness
7, 120-Degree Arc Repetitive
8, Projective Triple
9, Split 8-way
10, 2-way Split Randomized Arc
11, HP-MP Split Arc
12, Split Laser
13, Shock
14, Cosine
Drop shadows and water reflections tests in RPG Maker VX Ace

I'm doing a fairy tale project Little Red Riding Hood and the Woodsman. I'm almost done with the demo in my native language and I intend to make a demo version in English as well. I'm just going to use the translator because I don't know the pronunciations very well, I only know how to say "Hey" and nothing else..