Signup Now
Results 1 to 1 of 1
  1. #1
    Free User
    Join Date
    Mar 2016
    Posts
    17
    Reputation
    10
    Rep Power
    0

    Wildgrowth with ava/sd rune

    Code:
    init start
    	local WildGrowth = 2130 -- id of rush wood
    	local shootPosx = $posx -- This is east 
    	local shootPosy = $posy+1 -- This is north
    init end 
    
    auto(200)
    if topitem(shootPosx, shootPosy, $posz).id ~= WildGrowth and itemcount("wild growth rune") > 0 then
    setsetting('Persistent/Scripts/Runeshooter/Enabled', 'no') 
    	useitemon("Wild Growth Rune", 0, ground(shootPosx, shootPosy, $posz))
    	wait(300,500)
    else
    setsetting('Persistent/Scripts/Runeshooter/Enabled', 'yes')
    end
    Will this work? The idea is to stop use avalanche rune if the item south from you isn't a wildgrowth
    Last edited by Makkann; 03-25-2016 at 10:29 PM.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •