ive added the real dragon claws spec emote, with the emote being 6000. What i have tried is to make it only do that emote when you use the special. Here is the code for the attack emotes:
Code:
if(id == 8002 && specOn == false) // dragon claws no spec
{
return 2068;
}
else if(id == 8002 && specOn == true) //dragon claws spec
{
return 6000;
}
here is also my dragon claws spec on players:
Code:
if(specOn == true && AttackingOn2.currentHealth > 0 && (((GoodDistance(EnemyX, EnemyY, absX, absY, 1) && !isMoving) || (GoodDistance(EnemyX, EnemyY, absX, absY, 3) && isMoving))&& !UseBow && !UseCrossBow && !UseRing)){//players
if(playerEquipment[playerWeapon] == 8002 && specialAmount > 49){
specialAmount -= 50;
specialAtk(true, 50, -1, 2068);
//hitDiff = misc.random(playerMaxHit) + misc.random(StrPrayer) + misc.random(13) + misc.random(voidmelee);
specOn = false;
lastSpecial = System.currentTimeMillis();
dclawhit();
}
}
and my dragon claws spec emote on npc's:
Code:
if(specOn == true){
if(playerEquipment[playerWeapon] == 8002 && specialAmount > 49){
specialAtkNPC(true, 50, -1, 2068);
DCdown = 4;
DCDamg = true;
npcDamage(8);
}
}
When i add that it doesnt do the real d claws spec emote when im specing, It does the normal dragon claws attack emote. Please help me fix