Jump to content

Why is this code destroying the Shapeshifter's HLAs?


subtledoctor

Recommended Posts

Posted

My mod adds one HLA each to Trueclass druids, and Shapeshifters - powerful shapechange forms that replace the Elemental Transformation spell (which is restricted to Avengers).

 

Avengers can take the normal HLA. Truclass druids can take the new Shambling Mound shapechange HLA. But Shapeshifters lose the ability to take any HLAs at all. They just keep leveling up, and the "Abilities" button never activates. I can't for the life of me figure out why.

 

I set the 3 druid kits to use LUDR2, LUDR3, and LUDR4.2da, to match the values used by Refinements. (The Shapeshifter is using LUDR3.) And LUABBR gets patched correctly, so that's not the problem. I don't know what the problem is. Does anything jump out at anyone here? I'm getting very frustrated by this...

 

 

 

BEGIN ~2a Druid shapeshifting revisions~ 

//EDIT DRUID KIT 2DA FILES___________________________________________________________
//
COPY_EXISTING ~CLABDR01.2da~ ~override~
	REPLACE_TEXTUALLY ~GA_SPCL611~ ~****      ~
	REPLACE_TEXTUALLY ~GA_SPCL612~ ~****      ~
	REPLACE_TEXTUALLY ~GA_SPCL613~ ~****      ~
	APPEND_FILE ~SoB/druid/drushap.txt~
	BUT_ONLY

COPY_EXISTING ~CLABDR03.2da~ ~override~
	REPLACE_TEXTUALLY ~GA_SPCL643~ ~****      ~
	REPLACE_TEXTUALLY ~GA_SPCL644~ ~****      ~
	APPEND_FILE ~SoB/druid/lycshap.txt~
	BUT_ONLY
	
COPY_EXISTING ~KITLIST.2da~ ~override~
	SET_2DA_ENTRY 20 7 1 ~0x20000000 ~
	BUT_ONLY

COPY_EXISTING ~CLABDR04.2da~ ~override~
	REPLACE_TEXTUALLY ~GA_SPCL611~ ~****      ~
	REPLACE_TEXTUALLY ~GA_SPCL612~ ~****      ~
	REPLACE_TEXTUALLY ~GA_SPCL613~ ~****      ~
	REPLACE_TEXTUALLY ~GA_SPCL632~ ~****      ~
	REPLACE_TEXTUALLY ~GA_SPCL633~ ~****      ~
	REPLACE_TEXTUALLY ~GA_SPCL634~ ~****      ~
	APPEND_FILE ~SoB/druid/aveshap.txt~
	BUT_ONLY

COPY_EXISTING ~LUABBR.2da~ ~override~
	SET_2DA_ENTRY 44 1 1 ~Dr2~
	SET_2DA_ENTRY 45 1 1 ~Dr3~
	SET_2DA_ENTRY 46 1 1 ~Dr4~		
	BUT_ONLY

ACTION_IF NOT FILE_EXISTS_IN_GAME ~LUDR4.2da~ THEN BEGIN
	COPY ~SoB/druid/LUDR4.2da~ ~override~
	END
	
ACTION_IF FILE_EXISTS_IN_GAME ~LUDR0.2da~ THEN BEGIN
	COPY_EXISTING ~LUDR0.2da~ ~override~
		REPLACE_TEXTUALLY ~GA_SPPR731 ~ ~GA_D5_PSHAM~
		REPLACE_TEXTUALLY ~GA_SPPR732 ~ ~GA_D5_PSHAM~
		REPLACE_TEXTUALLY ~99         22 ~ ~99         2  ~
		REPLACE_TEXTUALLY ~40         22 ~ ~40         2  ~
		REPLACE_TEXTUALLY ~99         2 ~ ~99         2 ~
		REPLACE_TEXTUALLY ~40         2 ~ ~40         2 ~
		BUT_ONLY
	COPY_EXISTING ~LUDR3.2da~ ~override~
		REPLACE_TEXTUALLY ~GA_SPPR731 ~ ~GA_D5_PWW3 ~
		REPLACE_TEXTUALLY ~GA_SPPR732 ~ ~GA_D5_PWW3 ~
		REPLACE_TEXTUALLY ~99         22 ~ ~99         2  ~
		REPLACE_TEXTUALLY ~40         22 ~ ~40         2  ~
		REPLACE_TEXTUALLY ~99         2 ~ ~99         2 ~
		REPLACE_TEXTUALLY ~40         2 ~ ~40         2 ~
		BUT_ONLY
	END

ACTION_IF FILE_EXISTS_IN_GAME ~TG#BLON.spl~ THEN BEGIN // check for Refinements
	COPY_EXISTING ~LUDR0.2da~ ~override~
		SET_2DA_ENTRY 8 1 1 ~GA_D5_PSHAM ~
		SET_2DA_ENTRY 8 6 1 ~4~
		BUT_ONLY	
	COPY_EXISTING ~LUDR3.2da~ ~override~
		SET_2DA_ENTRY 8 1 1 ~GA_D5_PWW3 ~
		SET_2DA_ENTRY 8 6 1 ~4~
		BUT_ONLY	
	END
//__________________________________________________________________________________

 

 

Archived

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

×
×
  • Create New...