Skip to content

Commit

Permalink
- fixed incorrect application of ability bonuses by tomes
Browse files Browse the repository at this point in the history
  • Loading branch information
Holic75 committed May 13, 2019
1 parent 26bf32c commit a500f66
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
3 changes: 0 additions & 3 deletions 2.16.4changes.txt

This file was deleted.

1 change: 1 addition & 0 deletions 2.16.5changes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- fixed incorrect application of ability bonuses by tomes
2 changes: 1 addition & 1 deletion 3ed/3ed.tp2
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

BACKUP ~3ed/backup~
AUTHOR [email protected]~
VERSION ~v2.16.4~
VERSION ~v2.16.5~


ALWAYS
Expand Down
3 changes: 2 additions & 1 deletion 3ed/Component3/ReplaceStatBonusEffects.tps
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ END
COPY_EXISTING_REGEXP GLOB ~.+\.itm~ ~override~
PHP_EACH stat_opcode AS stat => code BEGIN
LPF GET_SPELL_EFFECT_VALUES INT_VAR match_opcode = code
RET found = found_match val = parameter1 type = parameter2 found_timing = timing END
RET found = found_match val = parameter1 type = parameter2 found_timing = timing END
SET found = found AND (found_timing != 1) AND (found_timing != 9) //exclude permanent bonuses
PATCH_IF (found AND (~%SOURCE_RES%~ STRING_MATCHES_REGEXP ~WP_.+~)) BEGIN //exclude new polymorph weapons
PATCH_IF (type == 1 AND val >= 16) BEGIN //set
SET new_val = val - 16
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@



# Baldurs-gate-dnd-3.5 v2.16.4
# Baldurs-gate-dnd-3.5 v2.16.5
This is a WeiDu mod for BG:Enhanced edition and BG2:Enhanced edition that changes 2ed ADnD rules to DnD 3.5 with some elements taken from Pathfinder.
It changes game mechanics (i.e. classes, spells, abilities, etc...) to that of 3.5 edition (to the extent that game engine allows).

Expand Down

0 comments on commit a500f66

Please sign in to comment.