Thread: Skulling [PI]

Results 1 to 6 of 6
  1. #1 Skulling [PI] 
    Registered Member
    Join Date
    Dec 2011
    Posts
    706
    Thanks given
    9
    Thanks received
    3
    Rep Power
    30
    Hey guys,
    When I attack someone in the wilderness first, the skull appears, but then becomes invincible. How do I fix this?
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Dec 2011
    Posts
    706
    Thanks given
    9
    Thanks received
    3
    Rep Power
    30
    Skulling Code Implemented:
    Code:
    if (!BountyHunter.inBH(c) && !c.attackedPlayers.contains(c.playerIndex)
    						&& !PlayerHandler.players[c.playerIndex].attackedPlayers
    						.contains(c.playerId)) {
    					c.attackedPlayers.add(c.playerIndex);
    					c.isSkulled = true;
    					c.skullTimer = Config.SKULL_TIMER;
    					if(c.isPVPActive) {
    					c.headIconPk = 4;
    					c.getPA().requestUpdates();
    					} else {
    						c.headIconPk = 0;
    						c.getPA().requestUpdates();
    					}
    				}
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Dec 2011
    Posts
    706
    Thanks given
    9
    Thanks received
    3
    Rep Power
    30
    Bump
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Sep 2014
    Posts
    19
    Thanks given
    1
    Thanks received
    1
    Rep Power
    11
    if (player && attacking.skulledBy != c.playerName) {
    c.lastSkull = System.currentTimeMillis();
    c.isSkulled = true;
    c.skulledBy = attacking.playerName;
    c.getHead();
    }
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Dec 2011
    Posts
    706
    Thanks given
    9
    Thanks received
    3
    Rep Power
    30
    Im not sure how to implement that? Another code?
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Dec 2011
    Posts
    706
    Thanks given
    9
    Thanks received
    3
    Rep Power
    30
    There is PVP on this server that used to show other icons instead of the skull. But I got rid of the PVP system and now this keeps occuring.
    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

Similar Threads

  1. [PI] Vecna Skull
    By Moronic in forum Snippets
    Replies: 13
    Last Post: 04-06-2011, 08:23 AM
  2. PI Project Item + 3 Item keep with no skull
    By PrataKosong in forum Help
    Replies: 2
    Last Post: 11-01-2010, 03:03 PM
  3. veng skull [PI]
    By Analed in forum Help
    Replies: 19
    Last Post: 06-04-2010, 04:25 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •