@@ -192,6 +192,28 @@ IF ~GlobalGT("Chapter","GLOBAL",7)
192
192
END
193
193
END
194
194
195
+ //Tersus (Bandit Camp) should hand out the number of leather armor according to party size
196
+ //Workaround for difference in scripting behavior between BGEE and BG2EE
197
+ ADD_TRANS_TRIGGER ~tersus ~ 3 ~NumInPartyGT (5 )~
198
+ REPLACE_TRANS_ACTION ~tersus ~ BEGIN 3 END BEGIN END ~\bPlayer [1 - 6 ]\b ~ ~\0F ill ~
199
+ EXTEND_BOTTOM ~tersus ~ 3
200
+ IF ~NumInParty (5 )~ DO ~GiveItemCreate ("LEAT01" ,Player1Fill ,0 ,0 ,0 )
201
+ GiveItemCreate ("LEAT01" ,Player2Fill ,0 ,0 ,0 )
202
+ GiveItemCreate ("LEAT01" ,Player3Fill ,0 ,0 ,0 )
203
+ GiveItemCreate ("LEAT01" ,Player4Fill ,0 ,0 ,0 )
204
+ GiveItemCreate ("LEAT01" ,Player5Fill ,0 ,0 ,0 )~ EXIT
205
+ IF ~NumInParty (4 )~ DO ~GiveItemCreate ("LEAT01" ,Player1Fill ,0 ,0 ,0 )
206
+ GiveItemCreate ("LEAT01" ,Player2Fill ,0 ,0 ,0 )
207
+ GiveItemCreate ("LEAT01" ,Player3Fill ,0 ,0 ,0 )
208
+ GiveItemCreate ("LEAT01" ,Player4Fill ,0 ,0 ,0 )~ EXIT
209
+ IF ~NumInParty (3 )~ DO ~GiveItemCreate ("LEAT01" ,Player1Fill ,0 ,0 ,0 )
210
+ GiveItemCreate ("LEAT01" ,Player2Fill ,0 ,0 ,0 )
211
+ GiveItemCreate ("LEAT01" ,Player3Fill ,0 ,0 ,0 )~ EXIT
212
+ IF ~NumInParty (2 )~ DO ~GiveItemCreate ("LEAT01" ,Player1Fill ,0 ,0 ,0 )
213
+ GiveItemCreate ("LEAT01" ,Player2Fill ,0 ,0 ,0 )~ EXIT
214
+ IF ~NumInParty (1 )~ DO ~GiveItemCreate ("LEAT01" ,Player1Fill ,0 ,0 ,0 )~ EXIT
215
+ END
216
+
195
217
//STO
196
218
REPLACE_STATE_TRIGGER RBALDU 0 ~Global ("Chapter" ,"GLOBAL" ,7 )~ 1 2 3 4 10 13 16 17
197
219
REPLACE_STATE_TRIGGER RBALDU 6 ~GlobalLT ("Chapter" ,"GLOBAL" ,8 )~ 7 8 11 12 18
0 commit comments