Thread: 100% Perfect Ice barrage

Page 1 of 4 123 ... LastLast
Results 1 to 10 of 35
  1. #1 100% Perfect Ice barrage 
    Kozack
    Guest
    This has full timing, (You don't cast instantly, you wait about .2 seconds per step)

    It calculates the hit from a real bonus.

    You cannot keep somebody frozen forever. (Impossible to refreeze somebody while in frozen, if they are frozen for 20 seconds then you have to wait 22 seconds to refreeze. (Still damages)

    This is just a sample, I will release full 100% both ancients and normal magic .

    Post if anything is missing, thanks.



    Open up client.java

    First, declare these methods,

    Code:
    public int IceBarrageC = playerLevel[6] * playerBonus[4] / 400;
    public int IceBarrage(){
    if (IceBarrageC > 30){
    IceBarrageC = 30;}
    return misc.random(IceBarrageC);}
    Under boolean process(), add:

    Code:
    if(IceTimer > 0){
    	IceTimer -= 1;}
    Replace your Ice Barrage spell with this:

    Code:
    if(spellID == 12891) // ice barrage (lvl 94 spell)
    {
    int timerb = misc.random(40);
    int hitD = 0;
    if(IceTimer < 1){
    castOnPlayer.LogoutDelay = timerb;
    IceTimer = timerb += 4;
    castOnPlayer.sendMessage("You have been frozen!");
    sendMessage("You freeze the enemy!");  }
    try{
    if(playerLevel[6] > 93)
    {
    Thread.sleep(200L);
    startAnimation(1979);
    Thread.sleep(200L);
    hitD = IceBarrage();
    attackPlayersWithin(369, hitD, 4);
    castOnPlayer.inCombat();
    inCombat();
    PkingDelay = 15;
    teleportToX = absX;
    teleportToY = absY;
    }
    else if(playerLevel[6] <= 93)
    {
    sendMessage("You need a magic level of 94 to cast this spell.");
    }
    }catch(InterruptedException){}
    }
    Post any errors (shouldn't get any, I am 99% sure I used all the methods that are in the common servers.)'


    EDIT: changed the way that the damage shows up, should be more accurate.

    Enjoy
     

  2. #2  
    Banned

    Join Date
    Dec 2006
    Age
    25
    Posts
    2,196
    Thanks given
    5
    Thanks received
    23
    Rep Power
    0
    looks great I might test tomorow but this isn't very begginer friendly maybe when u release all mage u sohuld make easier
     

  3. #3  
    Kozack
    Guest
    I'll explain more detail when I do the whole spell books.
     

  4. #4  
    Respected Donator
    Jordan's Avatar
    Join Date
    Mar 2007
    Age
    26
    Posts
    260
    Thanks given
    0
    Thanks received
    0
    Rep Power
    59
    Good job, this deserves some rep+.
    ~FireRider
     

  5. #5  
    ernisx
    Guest
    Yeah,very nice,rep+.
     

  6. #6  
    unrealwolf
    Guest
    nice gonna try this rep+
     

  7. #7  
    Crazy Cam10
    Guest
    Gfx Doesn't Hit Before Showing Hit lol :\
    So It's Not Full But W/E

    Rep++
     

  8. #8  
    Hippy
    Guest
    nice, im using this,
     

  9. #9  
    Registered Member
    Join Date
    Jul 2007
    Posts
    358
    Thanks given
    0
    Thanks received
    0
    Rep Power
    26
    Thankyou worked well rep++
    ~Violated Removed
     

  10. #10  
    Fallen Azn SinZ
    Guest
    Nice job Kozack.
     

Page 1 of 4 123 ... LastLast

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
  •