Thread: Project Insanity 2h

Results 1 to 4 of 4
  1. #1 Project Insanity 2h 
    Banned
    Join Date
    Jul 2010
    Age
    26
    Posts
    1,144
    Thanks given
    7
    Thanks received
    48
    Rep Power
    0
    Yes my chaotic maul wields with shields how would I make it not be able to wield like a 2h with a shield any help is rep++
    Reply With Quote  
     

  2. #2  
    Registered Member Satan666's Avatar
    Join Date
    May 2010
    Posts
    449
    Thanks given
    65
    Thanks received
    100
    Rep Power
    15
    try: public boolean wearing2h() { in player.java
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Jul 2010
    Age
    26
    Posts
    1,144
    Thanks given
    7
    Thanks received
    48
    Rep Power
    0
    Ill try that nice to talk to you again Satan hope to see more in your server bro good luck

    Edit: this is what I find in player.java

    Code:
    	public boolean wearing2h() {
    		Client c = (Client)this;
    		String s = c.getItems().getItemName(c.playerEquipment[c.playerWeapon]);
    		if (s.contains("2h"))
    			return true;
    		else if (s.contains("godsword"))
    			return true;
    		return false;	
    	}
    Do i need to add this under godsword

    Code:
    		else if (s.contains("chaotic maul"))
    Yeah its not working.
    Reply With Quote  
     

  4. #4  
    Member

    Join Date
    Aug 2008
    Posts
    455
    Thanks given
    2
    Thanks received
    19
    Rep Power
    0
    Code:
    public boolean wearing2h() {
    		Client c = (Client)this;
    		String s = c.getItems().getItemName(c.playerEquipment[c.playerWeapon]);
    		if (s.contains("2h"))
    			return true;
    		else if (s.contains("godsword"))
    			return true;
                    else if (s.contains("chaotic maul"))	
                            return true;
                    return false;
    	}
    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
  •