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

[Bug Fix] Correction of error in Npc critical hit


Valentine90
 Share

Recommended Posts

**Sorry my english**

Robin made a small mistake when calling the Function CanNpcCrit when the NPC attacks a player, leading to the Player ID to Function and not the NPC ID as it should.

**Open Server**

**1 -** In **modCombat**, search for:

```
If CanNpcCrit(index) Then
```

**2 -** Replace with for:

```
If CanNpcCrit(npcNum) Then
```

**Credits:**

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