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

Which stats mean what?


Antisora7
 Share

Recommended Posts

http://www.touchofdeathforums.com/community/index.php?/topic/114245-eo-faq/

see **Q: What does each stat do?**

There's no 'real defence', but there's a tutorial in the tutorial>source forum if you want to give endurance defence as well.
Link to comment
Share on other sites

That being said, it would be really easy to edit a stat to add defense. If you search

```

Public Sub TryNpcAttackPlayer

```

You just have to set a stat to affect damage. i.e. you can change this code

```

' if the player blocks, take away the block amount

blockAmount = CanPlayerBlock(index)

Damage = Damage - blockAmount

```

to something like this

```

' if the player blocks, take away the block amount

blockAmount = CanPlayerBlock(index)

Damage = Damage - blockAmount - (GetPlayerStat(index, Endurance) / 2)

```

Although I don't suggest doing it like that, because then anyone with ungodly endurance wouldn't take any damage

(also, this is just the example for NPC attacks, you would still cause just as much damage on them)

BTW, if you don't want to do it yourself, here is a link to the tutorial he was refering to, I believe.

[http://www.touchofdeathforums.com/community/index.php?/topic/120075-eo-adding-real-defence-server-only/](http://www.touchofdeathforums.com/community/index.php?/topic/120075-eo-adding-real-defence-server-only/)
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...