Thread: Is there a way to make a restore special pot? [DELTA]

Results 1 to 5 of 5
  1. #1 Is there a way to make a restore special pot? [DELTA] 
    Proud User
    Join Date
    Feb 2011
    Posts
    530
    Thanks given
    69
    Thanks received
    28
    Rep Power
    29
    Base: Delta (Airscape)
    Problem: How to make a restore special potion for delta
    Errors(Compiling Errors):
    Other Information/Media(Pictures, etc):
    Reply With Quote  
     

  2. #2  
    Boom Boom

    Kakapo's Avatar
    Join Date
    Aug 2010
    Posts
    1,030
    Thanks given
    358
    Thanks received
    218
    Rep Power
    365
    Code:
    			case 3024:
    				if (System.currentTimeMillis() -c.potionDelay < 2000)
    				return;
    				c.foodDelay = System.currentTimeMillis();
    				c.potionDelay = System.currentTimeMillis();
    				c.setAnimation(0x33D);
    				
    				c.sM("You drink some of the restore potion.");
    				c.sM("You have 3 doses of the potion left.");
    c.deleteItem(3024, slot, 1);
    c.spec =+ 50;
    c.addItem(3026, 1);
    break;
    Thats the restore code, you gotta change it up a it


    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Proud User
    Join Date
    Feb 2011
    Posts
    530
    Thanks given
    69
    Thanks received
    28
    Rep Power
    29
    holy fuck thanks!
    Reply With Quote  
     

  5. #4  
    Community Veteran

    Dexter Morgan's Avatar
    Join Date
    Nov 2008
    Age
    28
    Posts
    4,419
    Thanks given
    1,184
    Thanks received
    757
    Rep Power
    3098
    Code:
    			case 3024:
    				if (System.currentTimeMillis() -c.potionDelay < 2000) {
    					return;
    				}
    				c.foodDelay = System.currentTimeMillis();
    				c.potionDelay = System.currentTimeMillis();
    
    				c.setAnimation(0x33D);
    				c.sM("You drink some of the restore potion.");
    				c.sM("You have 3 doses of the potion left.");
    				c.deleteItem(3024, slot, 1);
    				c.spec =+ 50;
    				if(c.spec > 100) {
    					c.spec = 100;
    				}
    				c.addItem(3026, 1);
    				break;
    Stops it from going above 100%.
    Reply With Quote  
     

  6. #5  
    Proud User
    Join Date
    Feb 2011
    Posts
    530
    Thanks given
    69
    Thanks received
    28
    Rep Power
    29
    thanks
    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. [614] Special Restore Pots
    By Sir Tom in forum Snippets
    Replies: 11
    Last Post: 08-31-2011, 08:53 PM
  2. {PI} Restore Special Potion
    By I'm A Jerk in forum Help
    Replies: 9
    Last Post: 02-15-2011, 04:14 AM
  3. Restore special attack
    By Dem0n in forum Help
    Replies: 6
    Last Post: 09-07-2010, 07:57 PM
  4. Special restore pots [562]
    By Juggalo Family in forum Tutorials
    Replies: 8
    Last Post: 08-21-2010, 12:05 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
  •