Jump to content

CLERIC_ALL


Meira

Recommended Posts

According to IESDP CLERIC_ALL should catch dual classed clerics:

 

204 CLERIC_ALL

Detects clerics, including single class, kits, multi-class, and dual-class.

 

Yet I have a player reporting that the only reply option he/she gets out of this block, with character who's ranger dualled to cleric, is the last reply option.

 

IF ~Global("M#AmberTalk","Locals",65)
Global("M#AmberMatch","GLOBAL",1)
!StateCheck(Player1,STATE_HELPLESS)
!StateCheck(Player1,STATE_STUNNED)
!StateCheck(Player1,STATE_SLEEPING)
!StateCheck(Player1,STATE_SILENCED)~ THEN BEGIN LT8Begin
 SAY @6794 
 IF ~!Class(Player1,CLERIC_ALL)~ THEN REPLY @6795 GOTO LT8NotCleric
 IF ~Class(Player1,CLERIC_ALL)
  !Kit(Player1,GODTALOS)
  !Kit(Player1,GODHELM)
  !Kit(Player1,GODLATHANDER)~ THEN REPLY @6795 GOTO LT8General
 IF ~Class(Player1,CLERIC_ALL)
  Kit(Player1,GODTALOS)~ THEN REPLY @6795 GOTO LT8Talos
 IF ~Class(Player1,CLERIC_ALL)
  Kit(Player1,GODHELM)~ THEN REPLY @6795 GOTO LT8Helm
 IF ~Class(Player1,CLERIC_ALL)
  Kit(Player1,GODLATHANDER)~ THEN REPLY @6795 GOTO LT8Lathander	
 IF ~~ THEN REPLY @6796 GOTO LT8Out 
END

 

Maybe I should think of this after I've got some sleep, but it doesn't seem to make any sense. ???

Link to comment

If CLERIC_ALL check returns false, he should be getting at least 2 options including this:

 IF ~!Class(Player1,CLERIC_ALL)~ THEN REPLY @6795 GOTO LT8NotCleric

 

Are you fixing KIT.IDS in your TP2 file? Original KIT.IDS is broken and may not work with some or all kit checks.

Link to comment
If CLERIC_ALL check returns false, he should be getting at least 2 options including this:

 IF ~!Class(Player1,CLERIC_ALL)~ THEN REPLY @6795 GOTO LT8NotCleric

 

I know! It's crazy! ???

 

Are you fixing KIT.IDS in your TP2 file? Original KIT.IDS is broken and may not work with some or all kit checks.

 

Yes, I'm fixing kit.ids, if fixpack or another mod didn't already fix it. And, yes Amber won't even install if the player doesn't have ToB installed.

Link to comment

Okay this is the players kit.ids - it looks all good to me. The class.ids is not in his override folder, so that remains unchanged from the original game.

 

IDS
0x4000 TRUECLASS					
0x4001 BERSERKER					
0x4002 WIZARDSLAYER				 
0x4003 KENSAI					   
0x4004 CAVALIER					 
0x4005 INQUISITOR				   
0x4006 UNDEADHUNTER				 
0x0040 MAGESCHOOL_ABJURER		   
0x0080 MAGESCHOOL_CONJURER		  
0x0100 MAGESCHOOL_DIVINER		   
0x0200 MAGESCHOOL_ENCHANTER		 
0x0400 MAGESCHOOL_ILLUSIONIST	   
0x0800 MAGESCHOOL_INVOKER		   
0x1000 MAGESCHOOL_NECROMANCER	   
0x2000 MAGESCHOOL_TRANSMUTER		
0x0000 WILDMAGE		
0x4007 FERALAN					  
0x4008 STALKER					  
0x4009 BEASTMASTER				  
0x400A ASSASIN					  
0x400B BOUNTYHUNTER				 
0x400C SWASHBUCKLER				 
0x400D BLADE						
0x400E JESTER					   
0x400F SKALD						
0x4013 GODTALOS					 
0x4014 GODHELM					  
0x4015 GODLATHANDER				 
0x4010 TOTEMIC					  
0x4011 SHAPESHIFTER				 
0x4012 BEASTFRIEND				  
0x0000 BARBARIAN					
0x4020 m#ambkit

 

I also checked his version of Amber's dialogue file and all conditions for the reply seem to be intact and unchanged. There's nothing suspicious in the weidu.log either.

Link to comment

It has been tested by a beta tester with a cleric dual-classed to a mage; there was a bug because I had used CLERIC instead of CLERIC_ALL.

 

Personally I haven tested it with a cleric, but I have asked a savegame from the player who reported this issue. If the save works in my gamer, then there's something out of place in his install. If it doesn't work then I must assume that CLERIC_ALL doesn't cover all angles of dual classing.

 

EDIT: The conversation has been tested by a beta tester with multiclass cleric/ranger too.

Link to comment

I am a fool. ???

 

The player reporting the issue was playing the friendship track, not the romance (of which the above dialog block was from) like I assumed. The talk in question is virtually same for both tracks. As you might guess there's a critical typo in the block of the friendship track.

 

IF ~Global("M#AmberTalk","Locals",23)

!StateCheck(Player1,STATE_HELPLESS)

!StateCheck(Player1,STATE_STUNNED)

!StateCheck(Player1,STATE_SLEEPING)

!StateCheck(Player1,STATE_SILENCED)~ THEN BEGIN FST2Begin

SAY @7213

IF ~!Class(Player1,CLERIC_ALL)~ THEN REPLY @6795 GOTO FST2NotCleric

IF ~Class(Player1,CLERIC_ALL)

Kit(Player1,GODTALOS)

Kit(Player1,GODHELM)

Kit(Player1,GODLATHANDER)~ THEN REPLY @6795 GOTO FST2General

IF ~Class(Player1,CLERIC_ALL)

Kit(Player1,GODTALOS)~ THEN REPLY @6795 GOTO FST2Talos

IF ~Class(Player1,CLERIC_ALL)

Kit(Player1,GODHELM)~ THEN REPLY @6795 GOTO FST2Helm

IF ~Class(Player1,CLERIC_ALL)

Kit(Player1,GODLATHANDER)~ THEN REPLY @6795 GOTO FST2Lathander

IF ~~ THEN REPLY @6796 GOTO FST2Out

END

 

Carry on, nothing to see here...

Link to comment

Archived

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

×
×
  • Create New...