Skip to content

Commit

Permalink
Missing Wand ID's
Browse files Browse the repository at this point in the history
  • Loading branch information
DragonSlayer62 committed May 27, 2024
1 parent d428164 commit 12d3e66
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data/js/server/data/weapontypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,10 @@ function GetWeaponType( mChar, itemID )
case 0x48B3: //gargish axe - SA
weaponType = "TWOHND_AXES"; break;
// Default Maces
case 0x0DF2: // Wand
case 0x0DF3: // Wand
case 0x0DF4: // Wand
case 0x0DF5: // Wand
case 0x0FB4: //sledge hammer
case 0x0FB5: //sledge hammer
case 0x0F5C: //mace
Expand Down
3 changes: 3 additions & 0 deletions source/Changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
27/05/2024 - Dragon Slayer
Added Missing Wand ID's to combat weapon type in core and in js.

1/05/2024 - Dragon Slayer/Xuri
Fixed AutoUnequipAttempt function in clumsy.js, createfood.js level1target.js, will no longer fail on casting and return to hardcode.
Fixed createfood to check for reagents on cast.
Expand Down
4 changes: 4 additions & 0 deletions source/combat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -801,6 +801,10 @@ UI08 CHandleCombat::GetWeaponType( CItem *i )
case 0x48B3: //gargish axe - SA
return TWOHND_AXES;
// Default Maces
case 0x0DF2: // Wand
case 0x0DF3: // Wand
case 0x0DF4: // Wand
case 0x0DF5: // Wand
case 0x13E3: //smith's hammer
case 0x13E4: //smith's hammer
case 0x13B3: //club
Expand Down

0 comments on commit 12d3e66

Please sign in to comment.