Thread: Projectile for dfs spec.

Results 1 to 3 of 3
  1. #1 Projectile for dfs spec. 
    Registered Member
    Purple's Avatar
    Join Date
    Feb 2010
    Age
    29
    Posts
    2,799
    Thanks given
    467
    Thanks received
    260
    Rep Power
    312


    go to 0:22, you'll see that the 2nd gfx is a projectile, i was wondering if someone could help me fix that as i've encountered many problems with it. Here's my dfs spec so far:

    Code:
    	public void handleDfs() {
    		if (System.currentTimeMillis() - c.dfsDelay > 30000) {
    			if (c.playerIndex > 0 && Server.playerHandler.players[c.playerIndex] != null) {
    				int damage = Misc.random(15) + 5;
    				c.startAnimation(6696);
    				c.gfx0(1165);
    				if (c.dfsSpec) {
    					fireProjectilePlayer();
    					
    				}
    				Server.playerHandler.players[c.playerIndex].playerLevel[3] -= damage;
    				Server.playerHandler.players[c.playerIndex].hitDiff2 = damage;
    				Server.playerHandler.players[c.playerIndex].hitUpdateRequired2 = true;
    				Server.playerHandler.players[c.playerIndex].updateRequired = true;
    				c.dfsDelay = System.currentTimeMillis();						
    			} else {
    				c.sendMessage("I should be in combat before using this.");
    			}
    		} else {
    			c.sendMessage("My shield hasn't finished recharging yet.");
    		}
    	}
    It's PI.
    Reply With Quote  
     

  2. #2  
    Officially Retired


    Join Date
    Oct 2007
    Age
    30
    Posts
    5,454
    Thanks given
    558
    Thanks received
    122
    Rep Power
    1364
    i ony know the gfx are 1165 - 1167.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Purple's Avatar
    Join Date
    Feb 2010
    Age
    29
    Posts
    2,799
    Thanks given
    467
    Thanks received
    260
    Rep Power
    312
    I already got the gfxes, but i have to make that gfx in to a projectile. That's where i get problem.
    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
  •