Thread: Vencillio venenatis

Results 1 to 4 of 4
  1. #1 Vencillio venenatis 
    Solid Owner & Developer
    idyte's Avatar
    Join Date
    Jun 2013
    Posts
    70
    Thanks given
    2
    Thanks received
    0
    Rep Power
    33
    Hay!
    Any got the attack/mob for venenatis in Vencillio?

    Code:
    package com.vencillio.rs2.entity.mob.impl.wild;
    
    import com.vencillio.rs2.entity.Location;
    import com.vencillio.rs2.entity.mob.Mob;
    
    /**
     * Handles the Venenatis boss
     * @author Daniel
     *
     */
    public class Venenatis extends Mob {
    	
    	public Venenatis() {
    		super(6610, true, new Location(3295, 3851, 0));
    	}
    
    }
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Apr 2016
    Posts
    357
    Thanks given
    65
    Thanks received
    16
    Rep Power
    0
    Quote Originally Posted by idyte View Post
    Hay!
    Any got the attack/mob for venenatis in Vencillio?

    Code:
    package com.vencillio.rs2.entity.mob.impl.wild;
    
    import com.vencillio.rs2.entity.Location;
    import com.vencillio.rs2.entity.mob.Mob;
    
    /**
     * Handles the Venenatis boss
     * @author Daniel
     *
     */
    public class Venenatis extends Mob {
    	
    	public Venenatis() {
    		super(6610, true, new Location(3295, 3851, 0));
    	}
    
    }
    Just code it...

    Code:
     public class Venenatis extends Mob {
    	
    	public Venenatis() {
    		super(6610, true, new Location(3295, 3851, 0));
    	}
    	
    	@Override
    	public void doAliveMobProcessing() {
    		if (getCombat().getAttacking() != null) {
    			Player player = (Player) getCombat().getAttacking();
    			if (Utility.randomNumber(30) == 0) {
    				player.getUpdateFlags().sendGraphic(new Graphic(333, true));
    				player.hit(new Hit(Utility.randomNumber(40) + 10));
    			} else if (Utility.randomNumber(20) == 0) {
    				World.sendProjectile(new Projectile(140, 1, 0, 75, 43, 31, 16), this, player);
    				player.poison(Utility.randomNumber(5) + 3);
    				player.getPrayer().drain(Utility.randomNumber(10) + 10);
    			}
    		}
    	}
    
    }
    Reply With Quote  
     

  3. #3  
    Solid Owner & Developer
    idyte's Avatar
    Join Date
    Jun 2013
    Posts
    70
    Thanks given
    2
    Thanks received
    0
    Rep Power
    33
    Quote Originally Posted by TA TA View Post
    Just code it...

    Code:
     public class Venenatis extends Mob {
    	
    	public Venenatis() {
    		super(6610, true, new Location(3295, 3851, 0));
    	}
    	
    	@Override
    	public void doAliveMobProcessing() {
    		if (getCombat().getAttacking() != null) {
    			Player player = (Player) getCombat().getAttacking();
    			if (Utility.randomNumber(30) == 0) {
    				player.getUpdateFlags().sendGraphic(new Graphic(333, true));
    				player.hit(new Hit(Utility.randomNumber(40) + 10));
    			} else if (Utility.randomNumber(20) == 0) {
    				World.sendProjectile(new Projectile(140, 1, 0, 75, 43, 31, 16), this, player);
    				player.poison(Utility.randomNumber(5) + 3);
    				player.getPrayer().drain(Utility.randomNumber(10) + 10);
    			}
    		}
    	}
    
    }
    Thanks, You got the NpcCombatDefination to?
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Dec 2015
    Posts
    123
    Thanks given
    44
    Thanks received
    13
    Rep Power
    0
    NpcCombatDefination for you dude

    Code:
    <NpcCombatDefinition>
    		<!-- Venenatis -->
    		<id>6610</id>
    		<combatType>RANGED_AND_MAGIC</combatType>
    		<respawnTime>30</respawnTime>
    		<block>
    			<id>5328</id>
    			<delay>2</delay>
    		</block>
    		<death>
    			<id>5329</id>
    			<delay>3</delay>
    		</death><skills>
    			<skill>
    				<id>6</id>
    				<level>90</level>
    			</skill>
    			<skill>
    				<id>1</id>
    				<level>135</level>
    			</skill>
    			<skill>
    				<id>3</id>
    				<level>225</level>
    			</skill>
    			<skill>
    				<id>4</id>
    				<level>125</level>
    			</skill>
    			<skill>
    				<id>6</id>
    				<level>125</level>
    			</skill>
    		</skills>
    		<bonuses>
    			<int>100</int>
    			<int>100</int>
    			<int>100</int>
    			<int>100</int>
    			<int>100</int>
    			<int>100</int>
    			<int>100</int>
    			<int>100</int>
    			<int>100</int>
    			<int>100</int>
    			<int>100</int>
    			<int>100</int>
    		</bonuses>
    		<magic>
    			<magic>
    				<attack>
    					<hitDelay>3</hitDelay>
    					<attackDelay>6</attackDelay>
    				</attack>
    				<animation>
    					<id>5327</id>
    					<delay>3</delay>
    				</animation>
    				<projectile>
    					<id>165</id>
    					<size>1</size>
    					<delay>50</delay>
    					<duration>100</duration>
    					<startHeight>35</startHeight>
    					<endHeight>31</endHeight>
    					<curve>10</curve>
    				</projectile>				
    				<max>15</max>
    			</magic>
    		</magic>
    		<ranged>
    			<ranged>
    				<attack>
    					<hitDelay>3</hitDelay>
    					<attackDelay>7</attackDelay>
    				</attack>
    				<animation>
    					<id>7193</id>
    					<delay>0</delay>
    				</animation>
    				<projectile>
    					<id>1291</id>
    					<size>1</size>
    					<delay>50</delay>
    					<duration>75</duration>
    					<startHeight>43</startHeight>
    					<endHeight>31</endHeight>
    					<curve>16</curve>
    				</projectile>
    				<max>15</max>
    			</ranged>
    		</ranged>		
    	</NpcCombatDefinition>	
    		<NpcCombatDefinition>
    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. Vencillio - Who needs a slogan? (We're back)
    By Ashpire in forum Projects
    Replies: 82
    Last Post: 12-28-2018, 08:24 AM
  2. Replies: 505
    Last Post: 06-02-2016, 05:26 PM
  3. Replies: 310
    Last Post: 04-30-2016, 07:26 AM
  4. OSRS Venenatis webs
    By The Reverse in forum Requests
    Replies: 0
    Last Post: 08-18-2015, 03:58 PM
  5. Vencillio - Who needs a slogan?
    By Ashpire in forum Projects
    Replies: 244
    Last Post: 06-25-2015, 10:08 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •