Wizards Grimoire Blasts by carl_os

Related: Magery

Description: Just some simple timers to match wizards grimoire

1@setvar! castFireball 1
2@setvar! cdFireball 40000
3
4@setvar! castLightning 1
5@setvar! cdLightning 20000
6
7@setvar! castHarm 1
8@setvar! cdHarm 20000
9
10if not timerexists 'fireballTimer'
11    createtimer 'fireballTimer'
12    settimer 'fireballTimer' cdFireball
13endif
14
15if not timerexists 'lightningTimer'
16    createtimer 'lightningTimer'
17    settimer 'lightningTimer' cdLightning
18endif
19
20if not timerexists 'harmTimer'
21    createtimer 'harmTimer'
22    settimer 'harmTimer' cdHarm
23endif
24
25if pvpMode = 1
26    cast 'energy bolt'
27elseif castFireball = 1 and timer 'fireballTimer' >= cdFireball
28    cast 'fireball'
29    settimer 'fireballTimer' 0
30elseif castLightning = 1 and timer 'lightningTimer' >= cdLightning
31    cast 'lightning'
32    settimer 'lightningTimer' 0
33elseif castHarm = 1 and timer 'harmTimer' >= cdHarm
34    cast 'harm'
35    settimer 'harmTimer' 0
36else
37    cast 'energy bolt'
38endif
39wft 200
40
41// Check if pvpMode and lasttarget is hostile? Then target again?
42@setvar! myKillTarget lasttarget
43
44// hotkey "Play Script: Loop"