Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DragonSlayer62 committed Jan 17, 2025
1 parent 022612f commit c1f2a79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions source/items.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ auto ApplyItemSection( CItem *applyTo, CScriptSection *toApply, std::string sect
Console.Warning( oldstrutil::format( "Invalid data found in AMOUNT tag inside item script [%s]", sectionId.c_str() ));
}
break;
case DFNTAG_DURABILITYHPBONUS: applyTo->SetDurabilityHpBonus( static_cast<SI16>( ndata )); break;
case DFNTAG_DAMAGE:
case DFNTAG_ATT:
if( ndata >= 0 )
Expand Down
1 change: 1 addition & 0 deletions source/ssection.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ enum DFNTAGS
DFNTAG_CREATOR,
DFNTAG_CUSTOMSTRINGTAG,
DFNTAG_CUSTOMINTTAG,
DFNTAG_DURABILITYHPBONUS,
DFNTAG_DAMAGE,
DFNTAG_DAMAGEABLE,
DFNTAG_DECAY,
Expand Down

0 comments on commit c1f2a79

Please sign in to comment.