The Empire
The Empire
The Empire
Would you like to react to this message? Create an account in a few clicks or log in to continue.

The Empire


 
HomeLatest imagesSearchRegisterLog in
~~~http://www.empire-uw.com NEW OFFICIAL WEBSITE http://www.empire-uw.com~~~
~~~http://www.empire-uw.com NEW OFFICIAL WEBSITE http://www.empire-uw.com~~~

 

 Ray script

Go down 
2 posters
AuthorMessage
flaming
Officer
Officer



Posts : 1
Join date : 2011-01-21

Ray script Empty
PostSubject: Ray script   Ray script I_icon_minitimeSat Aug 11, 2012 2:25 pm

;//////////////////////////////////////////////////
;//Ray Variables///////////////////////////////////
;//////////////////////////////////////////////////


GlobalReady = True


UnholyReady = True
ImpaleReady = True
DragonReady = True
InsectReady = True
FrostReady = True
LightningReady = True
PotReady = True

;//////////////////////////////////////////////////
;//Ray Timers//////////////////////////////////////
;//////////////////////////////////////////////////

GlobalTimer := -1250
SleepTimer :=25

UnholyTimer := -14000
ImpaleTimer := -6500
DragonTimer := -14000
InsectTimer := -13100
LightningTimer := -9000
FrostTimer := -9000

;//////////////////////////////////////////////////
;//Ray Ready///////////////////////////////////////
;//////////////////////////////////////////////////

Global:
{
GlobalReady = True
Return
}
Impale:
{
ImpaleReady = True
Return
}
Dragon:
{
DragonReady = True
Return
}
Frost:
{
FrostReady = True
Return
}
Lightning:
{
LightningReady = True
Return
}
Unholy:
{
UnholyReady = True
Return
}
Insect:
{
InsectReady = True
Return
}

;//////////////////////////////////////////////////
;//Ray Macro///////////////////////////////////////
;//////////////////////////////////////////////////

~E::
{
If GlobalReady = True
{
;;;;;;;;;1st Priority;;;;;;;;;
If ImpaleReady = True
{
ImpaleReady = False
GlobalReady = False
SetTimer, Impale, %ImpaleTimer%
SetTimer, Global, %GlobalTimer%
Send o ;Impale hotkey
Sleep, %SleepTimer%
Click
Return
}
;;;;;;;;;2nd Priority;;;;;;;;;
If UnholyReady = True
{
UnholyReady = False
GlobalReady = False
SetTimer, Unholy, %UnholyTimer%
SetTimer, Global, %GlobalTimer%
Send p ;Unholy hotkey
Sleep, %SleepTimer%
Click
Return
}
;;;;;;;;;3rd Priority;;;;;;;;;;;
If DragonReady = True
{
DragonReady = False
GlobalReady = False
SetTimer, Dragon, %DragonTimer%
SetTimer, Global, %GlobalTimer%
Send l ;Dragon hotkey
Sleep, %SleepTimer%
Click
Return
}
;;;;;;;;;4th Priority;;;;;;;;;
If FrostReady = True
{
FrostReady = False
GlobalReady = False
SetTimer, Frost, %FrostTimer%
SetTimer, Global, %GlobalTimer%
Send ' ;Frost hotkey
Sleep, %SleepTimer%
Click
Return
}
;;;;;;;;;5th Priority;;;;;;;;;
If InsectReady = True
{
InsectReady = False
GlobalReady = False
SetTimer, Insect, %InsectTimer%
SetTimer, Global, %GlobalTimer%
Send {;} ;Insect hotkey
Sleep, %SleepTimer%
Click
Return
}
Return
}
Return
}
;;;;;;;;;6th Priority;;;;;;;;;
If LightningReady = True
{
LightningReady = False
GlobalReady = False
SetTimer, Lightning, %LightningTimer%
SetTimer, Global, %GlobalTimer%
Send i ;Lightning hotkey
Sleep, %SleepTimer%
Click
Return
}
Back to top Go down
Zaraki
Supreme General
Supreme General
Zaraki


Posts : 13
Join date : 2010-12-20
Age : 104

Ray script Empty
PostSubject: Re: Ray script   Ray script I_icon_minitimeSat Aug 11, 2012 2:51 pm

;Define Cooldowns
; Witch Craft
WitchCraft_InsectSwarm_Cooldown = 12000
; Air Magic
AirMagic_LightningBolt_Cooldown = 10000
; Earth Magic
EarthMagic_Impale_Cooldown = 6000
; Fire Magic
FireMagic_Dragonbreath_Cooldown = 15000
; Water Magic
WaterMagic_Frostbite_Cooldown = 9000
; Necromancy Magic
NecromancyMagic_UnholyCaress_Cooldown = 14000


;Define Hotkeys
; Witch Craft
WitchCraft_InsectSwarm_HotKey = {LAlt Down}{Numpad9}{LAlt Up}
; Air Magic
AirMagic_LightningBolt_HotKey = {LAlt Down}{Numpad7}{LAlt Up}
; Earth Magic
EarthMagic_Impale_HotKey = {LAlt Down}{Numpad6}{LAlt Up}
; Fire Magic
FireMagic_Dragonbreath_HotKey = {LAlt Down}{RCtrl Down}{Numpad1}{RCtrl Up}{LAlt Up}
; Water Magic
WaterMagic_Frostbite_HotKey = {LAlt Down}{RCtrl Down}{Numpad3}{RCtrl Up}{LAlt Up}
; Necromancy Magic
NecromancyMagic_UnholyCaress_HotKey =
;Define Availability
; Witch Craft
WitchCraft_InsectSwarm_Availability = 0
; Air Magic
AirMagic_LightningBolt_Availability = 0
; Earth Magic
EarthMagic_Impale_Availability = 0
; Fire Magic
FireMagic_Dragonbreath_Availability = 0
; Water Magic
WaterMagic_Frostbite_Availability = 0
; Necromancy Magic

NecromancyMagic_UnholyCaress_Availability = 0
; Shared Cooldowns
; Rays
EarthMagic_Impale_SharedCooldown := "EarthMagic_Impale,EarthMagic_PungentMist,WitchCraft_InsectSwarm,NecromancyMagic_UnholyCaress,FireMagic_Dragonbreath,WaterMagic_Frostbite,AirMagic_LightningBolt"
EarthMagic_Impale_SharedCooldownType := "Ray"
EarthMagic_PungentMist_SharedCooldown := "EarthMagic_Impale,EarthMagic_PungentMist,WitchCraft_InsectSwarm,NecromancyMagic_UnholyCaress,FireMagic_Dragonbreath,WaterMagic_Frostbite,AirMagic_LightningBolt"
EarthMagic_PungentMist_SharedCooldownType := "Ray"
Witchcraft_InsectSwarm_SharedCooldown := "EarthMagic_Impale,EarthMagic_PungentMist,WitchCraft_InsectSwarm,NecromancyMagic_UnholyCaress,FireMagic_Dragonbreath,WaterMagic_Frostbite,AirMagic_LightningBolt"
Witchcraft_InsectSwarm_SharedCooldownType := "Ray"
NecromancyMagic_UnholyCaress_SharedCooldown := "EarthMagic_Impale,EarthMagic_PungentMist,WitchCraft_InsectSwarm,NecromancyMagic_UnholyCaress,FireMagic_Dragonbreath,WaterMagic_Frostbite,AirMagic_LightningBolt"
NecromancyMagic_UnholyCaress_SharedCooldownType := "Ray"
FireMagic_Dragonbreath_SharedCooldown := "EarthMagic_Impale,EarthMagic_PungentMist,WitchCraft_InsectSwarm,NecromancyMagic_UnholyCaress,FireMagic_Dragonbreath,WaterMagic_Frostbite,AirMagic_LightningBolt"
FireMagic_Dragonbreath_SharedCooldownType := "Ray"
WaterMagic_Frostbite_SharedCooldown := "EarthMagic_Impale,EarthMagic_PungentMist,WitchCraft_InsectSwarm,NecromancyMagic_UnholyCaress,FireMagic_Dragonbreath,WaterMagic_Frostbite,AirMagic_LightningBolt"
WaterMagic_Frostbite_SharedCooldownType := "Ray"
AirMagic_LightningBolt_SharedCooldown := "EarthMagic_Impale,EarthMagic_PungentMist,WitchCraft_InsectSwarm,NecromancyMagic_UnholyCaress,FireMagic_Dragonbreath,WaterMagic_Frostbite,AirMagic_LightningBolt"
AirMagic_LightningBolt_SharedCooldownType := "Ray"

; Rays
Ray_List := "EarthMagic_Impale,NecromancyMagic_UnholyCaress,WitchCraft_InsectSwarm,AirMagic_LightningBolt,WaterMagic_Frostbite,FireMagic_Dragonbreath"


;Define Cycles
Ray_Cycle := "EarthMagic_Impale,NecromancyMagic_UnholyCaress,FireMagic_Dragonbreath,WitchCraft_InsectSwarm,AirMagic_LightningBolt,WaterMagic_Frostbite"
Return

~e::
if(A_Cursor = "Unknown") {
Cycle(Ray_Cycle, "Cooldown", "Continue", "Click")

}

return
Back to top Go down
https://the-empire-dfo.board-directory.net
 
Ray script
Back to top 
Page 1 of 1
 Similar topics
-
» Zaraki's Script
» Darkfall QuickLooter script for AutoIT

Permissions in this forum:You cannot reply to topics in this forum
The Empire :: Empire Members :: Guides-
Jump to: