Browse Source

Added fixes for trident and bite spell type

tags/v0.14.1.1^2
Shaun 2 months ago
parent
commit
fc85dc1d26
1 changed files with 14 additions and 2 deletions
  1. +14
    -2
      src/server/fixes/fixes.js

+ 14
- 2
src/server/fixes/fixes.js View File

@@ -183,7 +183,13 @@ module.exports = {
});

items
.filter(i => i.name === 'Princess Morgawsa\'s Trident' && i.type !== 'Trident')
.filter(i =>
i.name === 'Princess Morgawsa\'s Trident' &&
(
i.type !== 'Trident' ||
i.spell.type !== 'projectile'
)
)
.forEach(i => {
i.type = 'Trident';
i.requires[0].stat = 'int';
@@ -198,7 +204,13 @@ module.exports = {
});

items
.filter(i => i.name === 'Steelclaw\'s Bite' && i.type !== 'Curved Dagger')
.filter(i =>
i.name === 'Steelclaw\'s Bite' &&
(
i.type !== 'Curved Dagger' ||
i.spell.type !== 'melee'
)
)
.forEach(i => {
i.type = 'Curved Dagger';
i.requires[0].stat = 'dex';


Loading…
Cancel
Save