Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
DragonSlayer62 committed Jan 15, 2025
1 parent b82b9dc commit 481f716
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/items.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ auto ApplyItemSection( CItem *applyTo, CScriptSection *toApply, std::string sect
case DFNTAG_RAIN: applyTo->SetWeatherDamage( RAIN, ndata != 0 ); break;
case DFNTAG_SECTIONID: applyTo->SetSectionId( cdata ); break;
case DFNTAG_SK_MADE: applyTo->SetMadeWith( static_cast<SI08>( ndata )); break;
case DFNTAG_SPEEDINCREASE: applyTo->SetSwingSpeedIncrease( static_cast<SI16>( ndata )); break;
case DFNTAG_SWINGSPEEDINCREASE: applyTo->SetSwingSpeedIncrease( static_cast<SI16>( ndata )); break;
case DFNTAG_SPD: applyTo->SetSpeed( static_cast<UI08>( ndata )); break;
case DFNTAG_STRENGTH: applyTo->SetStrength( static_cast<SI16>( ndata )); break;
case DFNTAG_STRADD: applyTo->SetStrength2( static_cast<SI16>( ndata )); break;
Expand Down
1 change: 1 addition & 0 deletions source/npcs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1583,6 +1583,7 @@ auto CCharStuff::ApplyNpcSection( CChar *applyTo, CScriptSection *NpcCreation, s
case DFNTAG_PEACEMAKING: skillToSet = PEACEMAKING; break;
case DFNTAG_PROVOCATION: skillToSet = PROVOCATION; break;
case DFNTAG_POISONING: skillToSet = POISONING; break;
case DFNTAG_SWINGSPEEDINCREASE: applyTo->SetSwingSpeedIncrease( static_cast<SI16>( ndata )); break;
case DFNTAG_RESISTFIRE:
if( ndata >= 0 )
{
Expand Down
2 changes: 1 addition & 1 deletion source/ssection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ const std::map<std::string, DFNTAGS> strToDFNTag
{"SPAWNOBJLIST"s, DFNTAG_SPAWNOBJLIST},
{"SPD"s, DFNTAG_SPD},
{"SPEED"s, DFNTAG_SPD},
{"SPEEDINCREASE"s, DFNTAG_SPEEDINCREASE},
{"SWINGSPEEDINCREASE"s, DFNTAG_SWINGSPEEDINCREASE},
{"SPELLS"s, DFNTAG_SPELLS},
{"SPELLWEAVING"s, DFNTAG_SPELLWEAVING},
{"SPIRITSPEAK"s, DFNTAG_SPIRITSPEAK},
Expand Down
2 changes: 1 addition & 1 deletion source/ssection.h
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ enum DFNTAGS
DFNTAG_SPATTACK,
DFNTAG_SPAWNOBJ,
DFNTAG_SPAWNOBJLIST,
DFNTAG_SPEEDINCREASE,
DFNTAG_SWINGSPEEDINCREASE,
DFNTAG_SPD,
DFNTAG_SPELLS,
DFNTAG_SPELLWEAVING,
Expand Down

0 comments on commit 481f716

Please sign in to comment.