Skip to content

Commit

Permalink
Merge pull request CleverRaven#70257 from Light-Wave/else
Browse files Browse the repository at this point in the history
spellcasting_adjustment can use caster_level
  • Loading branch information
Maleclypse authored Dec 17, 2023
2 parents a45a4fd + 4ac04e1 commit 0f8ac41
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/magic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1581,8 +1581,7 @@ void spell::set_temp_adjustment( const std::string &target_property, float adjus
{
if( target_property == "caster_level" ) {
temp_level_adjustment += adjustment;
}
if( target_property == "casting_time" ) {
} else if( target_property == "casting_time" ) {
temp_cast_time_multiplyer += adjustment;
} else if( target_property == "cost" ) {
temp_spell_cost_multiplyer += adjustment;
Expand Down

0 comments on commit 0f8ac41

Please sign in to comment.