Thread: dragon claws emote?

Results 1 to 4 of 4
  1. #1 dragon claws emote? 
    Registered Member

    Join Date
    Oct 2009
    Posts
    203
    Thanks given
    1
    Thanks received
    1
    Rep Power
    90
    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
    Reply With Quote  
     

  2. #2  
    Mr. Rave
    Guest
    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, 6000);
    //hitDiff = misc.random(playerMaxHit) + misc.random(StrPrayer) + misc.random(13) + misc.random(voidmelee);
    specOn = false;
    lastSpecial = System.currentTimeMillis();
    dclawhit();
    }
    }
    
    
    if(specOn == true){
    if(playerEquipment[playerWeapon] == 8002 && specialAmount > 49){
    specialAtkNPC(true, 50, -1, 6000);
    DCdown = 4;
    DCDamg = true;
    npcDamage(8);
    }
    }
    There, easy dude
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Oct 2009
    Posts
    203
    Thanks given
    1
    Thanks received
    1
    Rep Power
    90
    Quote Originally Posted by Mr. Rave View Post
    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, 6000);
    //hitDiff = misc.random(playerMaxHit) + misc.random(StrPrayer) + misc.random(13) + misc.random(voidmelee);
    specOn = false;
    lastSpecial = System.currentTimeMillis();
    dclawhit();
    }
    }
    
    
    if(specOn == true){
    if(playerEquipment[playerWeapon] == 8002 && specialAmount > 49){
    specialAtkNPC(true, 50, -1, 6000);
    DCdown = 4;
    DCDamg = true;
    npcDamage(8);
    }
    }
    There, easy dude
    its weird. It starts to do the correct spec emote. Then gets overrun by the non spec emote . Thanks for taking notice though
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Oct 2009
    Posts
    203
    Thanks given
    1
    Thanks received
    1
    Rep Power
    90
    omg please help someone
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •