Skip to content

Commit

Permalink
Merge pull request #288 from DragonSlayer62/Vendor-BOD-fix
Browse files Browse the repository at this point in the history
Fixed Expansion Setting on shopkeeper ai for bods
  • Loading branch information
Xoduz authored Jan 25, 2025
2 parents 742d2f1 + 9ccbb56 commit efa6bcc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion data/js/npc/ai/vendor_bdo_dispenser.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ function onSpeech( myString, pUser, myNPC )
{
if( CheckBodTimers( pUser, myNPC.GetTag( "bodType" ) ))
{
if( EraStringToNum( GetServerSetting( "CoreShardEra" )) <= EraStringToNum( "lbr" ))
if( EraStringToNum( GetServerSetting( "CoreShardEra" )) >= EraStringToNum( "lbr" ))
{
myNPC.SetTimer( Timer.MOVETIME, 1000 ); // Pause NPC in their tracks for a second
myNPC.TurnToward( pUser );
Expand Down
3 changes: 3 additions & 0 deletions source/Changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
Add this properties to any weapon/armor/jewlery will give the player more hp/mana/stam why its equiped. depending on number you add with it
These are also available as JS Engine object properties: .healthBonus, .staminaBonus, .manaBonus

6/06/2024 - Dragon Slayer
Fixed Accepting bods, When the expansion is to to lbr or later.

29/05/2024 - Dragon Slayer
House add-on deeds are now returned when an add-on is present in the house on demolish.

Expand Down

0 comments on commit efa6bcc

Please sign in to comment.