Improved the implementation of HOOK_INVENWIELD (#266)

* it now runs for the player and NPCs when removing equipped items.
* added an additional argument.

Fixed drop_obj script function not removing the equipped armor properly
for the player and party members.

Fixed incorrect PIDs for RP new party members in npcarmor.ini.
This commit is contained in:
NovaRain
2019-10-04 20:23:49 +08:00
parent 8d29e04712
commit 2187854bf2
5 changed files with 210 additions and 33 deletions
+2 -2
View File
@@ -72,7 +72,7 @@ Combat=16777350
; Cat Jules
[5]
PID=16777734
PID=16777720
WeaponAnims=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
Default=16777353
Leather=16777347
@@ -82,7 +82,7 @@ Combat=16777226
; Kitsune
[6]
PID=16777724
PID=16777718
WeaponAnims=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
Default=16777222
Leather=16777221