Thread: Magic attack delay's

Results 1 to 5 of 5
  1. #1 Magic attack delay's 
    Registered Member
    Join Date
    Dec 2009
    Posts
    253
    Thanks given
    5
    Thanks received
    0
    Rep Power
    3
    Hey could someone give me correct Magic attack delays for all spells ?

    base source: Emulous

    Code:
    public int getAttackDelay(String weaponName) {
    Code:
    if(c.usingMagic) {
    			switch(c.MAGIC_SPELLS[c.spellId][0]) {
    				case 12871: // ice blitz
    				case 13023: // shadow barrage
    				case 12891: // ice barrage
    				return 10;
    				
    				default:
    				return 6;
    			}
    By the way those 3 ancient spell delays is wrong i think...
    Reply With Quote  
     

  2. #2  
    Registered Member
    Chiief's Avatar
    Join Date
    Jun 2010
    Posts
    1,546
    Thanks given
    69
    Thanks received
    238
    Rep Power
    611
    Code:
    		if(c.usingMagic) {
    			switch(c.MAGIC_SPELLS[c.spellId][0]) {
    				case 12871: // ice blitz
    				case 13023: // shadow barrage
    				case 12891: // ice barrage
    				return 5;
    				
    				default:
    				return 5;
    			}
    		}
    Default means anything else would also be 5.

    (every magic spell is the same delay)
    Reply With Quote  
     

  3. #3  
    Respected Member


    Luke132's Avatar
    Join Date
    Dec 2007
    Age
    32
    Posts
    12,549
    Thanks given
    177
    Thanks received
    5,784
    Discord
    View profile
    Rep Power
    5000
    Quote Originally Posted by Chief View Post
    Code:
    		if(c.usingMagic) {
    			switch(c.MAGIC_SPELLS[c.spellId][0]) {
    				case 12871: // ice blitz
    				case 13023: // shadow barrage
    				case 12891: // ice barrage
    				return 5;
    				
    				default:
    				return 5;
    			}
    		}
    Default means anything else would also be 5.

    (every magic spell is the same delay)
    No they aren't.

    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Dec 2009
    Posts
    253
    Thanks given
    5
    Thanks received
    0
    Rep Power
    3
    Quote Originally Posted by Chief View Post
    Code:
    		if(c.usingMagic) {
    			switch(c.MAGIC_SPELLS[c.spellId][0]) {
    				case 12871: // ice blitz
    				case 13023: // shadow barrage
    				case 12891: // ice barrage
    				return 5;
    				
    				default:
    				return 5;
    			}
    		}
    Default means anything else would also be 5.

    (every magic spell is the same delay)
    Quote Originally Posted by Luke132 View Post
    No they aren't.
    Thats why I need correct ones
    Reply With Quote  
     

  5. #5  
    Banned

    Join Date
    Jan 2009
    Age
    28
    Posts
    2,662
    Thanks given
    66
    Thanks received
    207
    Rep Power
    0
    Um Projectiles are 3 cycles.
    Cast Spell is 1 cycle.

    some spells like entangle differ.
    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. Magic after last attack
    By DDS-PKZ in forum Requests
    Replies: 6
    Last Post: 12-06-2009, 06:49 PM
  2. Npc attack with a magic spell?
    By djordyn in forum Help
    Replies: 4
    Last Post: 11-08-2009, 02:13 AM
  3. Replies: 6
    Last Post: 01-16-2008, 04:53 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
  •