Jump to content

suggestion for modification of a tweak


lac

Recommended Posts

Easy Spell Learning in BG2 Tweaks has:

 

100% spell learning and

100% spell learning and no maximum cap

 

But the house rules around here, are no maximum cap, but still facing the intelligence penalty when it comes to transcribing spells.

 

Just a thought in case there are others who would like that option.

Link to comment

I am not sure how it does that, but it is probably some 2da or another, if it is, I will get it coded up for BG1Tweaks or whatever.

 

Looking at the BG1 Intmod.2da, it seems to me that the BG code would work as well here. Just Subcomponent it.

COPY_EXISTING ~intmod.2da~ ~override~
 COUNT_2DA_ROWS ~5~ "rows"
 FOR (index = 3; index < rows; index = index + 1) BEGIN
SET_2DA_ENTRY_LATER ~intmod~ index 1 ~150~
SET_2DA_ENTRY_LATER ~intmod~ index 2 ~9~
SET_2DA_ENTRY_LATER ~intmod~ index 3 ~99~
 END
 SET_2DA_ENTRIES_NOW ~intmod~ 1
 BUT_ONLY_IF_IT_CHANGES

 

Would do it, I can't see any glaring incompatibilities.

 

Icen

Link to comment

Icen's above code is the "100% learn spells & no spell caps", and it modifies the chance to learn spells, the maximum level of spells you can cast (ie. INT 13 characters cannot cast level 7 spells), and the maximum number of spells you can learn per level. If you don't want one or more of these changed, you can comment out the appropriate lines:

//SET_2DA_ENTRY_LATER ~intmod~ index 1 ~150~ // chance to learn spell

//SET_2DA_ENTRY_LATER ~intmod~ index 2 ~9~ // max spell level you can cast

SET_2DA_ENTRY_LATER ~intmod~ index 3 ~99~ // maximum # spells/level

This would keep the chance of failing to learn a spell and max spell level you can cast as default and modify the maximum # spells/level.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...