Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

NPC Damage Problem


Ria
 Share

Recommended Posts

Ok, I really need help with this.

I want enemies to deal 1 damage to players regardless of what their defense may be; The source code is set up good, but for some reason there's still an error, making the enemy hit me with 0 damage; I don't want that to happen.

Note: I'm not a coder.

PLEASE, someone help me, I'd appreciate it.
Link to comment
Share on other sites

@Ballie:

> In your OnAttack sub in your server\scripts\events\OnAttack.ess file, the damage can be altered. Just add something like this to the code:
>
> ```
> If Damage < 1 then Damage = 1
> ```

I don't have Events; I'm using EE Stable. Maybe that's why.
Link to comment
Share on other sites

@SillyFace:

> Events is the folder it's in, If you're using stable you DO have it o_O
> just navigate to it and find onattack.ess

It isn't there; the whole reason I said a while back. I think I just need a coder or a scriptor. Someone please willing to help me as my coder or scriptor?
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...