Is it possible to set up "Boss" specific abilities. IE: Uber Diablo and Uber Baal. I found in the NTAttack.ntl the code
Code:
if(target.classid == 704 && NTConfig_AttackSkill[7] > 0)
NTC_PutSkill(NTConfig_AttackSkill[7], NTC_HAND_RIGHT);
else if(NTConfig_AttackSkill[index + 1] > 0)
NTC_PutSkill(NTConfig_AttackSkill[index + 1], NTC_HAND_RIGHT);
return NTC_CastSkill(NTConfig_AttackSkill[index], _NTA_SkillHand[index], target);
Would it be possible put this after the Mephisto code?
Code:
//UDia if(target.classid == 705 && NTConfig_AttackSkill[10] > 0)
//UDia NTC_PutSkill(NTConfig_AttackSkill[10], NTC_HAND_LEFT);
//UDia else if(NTConfig_AttackSkill[index + 1] > 0)
//UDia NTC_PutSkill(NTConfig_AttackSkill[index + 1], NTC_HAND_LEFT);
//UDia return NTC_CastSkill(NTConfig_AttackSkill[index], _NTA_SkillHand[index], target);
//UDia
//UDia if(target.classid == 705 && NTConfig_AttackSkill[11] > 0)
//UDia NTC_PutSkill(NTConfig_AttackSkill[11], NTC_HAND_RIGHT);
//UDia else if(NTConfig_AttackSkill[index + 1] > 0)
//UDia NTC_PutSkill(NTConfig_AttackSkill[index + 1], NTC_HAND_RIGHT);
//UDia return NTC_CastSkill(NTConfig_AttackSkill[index], _NTA_SkillHand[index], target);
//
//UBaal if(target.classid == 709 && NTConfig_AttackSkill[12] > 0)
//UBaal NTC_PutSkill(NTConfig_AttackSkill[12], NTC_HAND_LEFT);
//UBaal else if(NTConfig_AttackSkill[index + 1] > 0)
//UBaal NTC_PutSkill(NTConfig_AttackSkill[index + 1], NTC_HAND_LEFT);
//UBaal return NTC_CastSkill(NTConfig_AttackSkill[index], _NTA_SkillHand[index], target);
//UBaal
//UBaal if(target.classid == 709 && NTConfig_AttackSkill[13] > 0)
//UBaal NTC_PutSkill(NTConfig_AttackSkill[13], NTC_HAND_RIGHT);
//UBaal else if(NTConfig_AttackSkill[index + 1] > 0)
//UBaal NTC_PutSkill(NTConfig_AttackSkill[index + 1], NTC_HAND_RIGHT);
//UBaal return NTC_CastSkill(NTConfig_AttackSkill[index], _NTA_SkillHand[index], target);
*Mind the // Comments. I have those in so it doesn't mess with my file.
What I'm trying to do is set up an ability in the left and right hands (IE: I play a 1 point smiter/hammerdin. I'd like to ONLY use Smite on the Ubers and Hammers on all else.
Edit by Muddy:
Update on Boss specific attacks:
Code:
/*
if(target.classid == 704 || 705 || 706 || 707 || 708 || 709 && NTConfig_AttackSkill[10] > 0)
NTC_PutSkill(NTConfig_AttackSkill[10], NTC_HAND_LEFT);
else if(NTConfig_AttackSkill[index + 1] > 0)
NTC_PutSkill(NTConfig_AttackSkill[index + 1], NTC_HAND_LEFT);
return NTC_CastSkill(NTConfig_AttackSkill[index], _NTA_SkillHand[index], target);
if(target.classid == 705 || 706 || 707 || 708 || 709 && NTConfig_AttackSkill[11] > 0)
NTC_PutSkill(NTConfig_AttackSkill[11], NTC_HAND_RIGHT);
else if(NTConfig_AttackSkill[index + 1] > 0)
NTC_PutSkill(NTConfig_AttackSkill[index + 1], NTC_HAND_RIGHT);
return NTC_CastSkill(NTConfig_AttackSkill[index], _NTA_SkillHand[index], target);
*/
Placed before:
Code:
if(target.classid == 704 && NTConfig_AttackSkill[7] > 0)
NTC_PutSkill(NTConfig_AttackSkill[7], NTC_HAND_RIGHT);
else if(NTConfig_AttackSkill[index + 1] > 0)
NTC_PutSkill(NTConfig_AttackSkill[index + 1], NTC_HAND_RIGHT);
return NTC_CastSkill(NTConfig_AttackSkill[index], _NTA_SkillHand[index], target);
Any Ideas? What this should do is set an attack for each of the Ubers (in left hand) and put up a specific aura for all Ubers but Mephisto.