-
Notifications
You must be signed in to change notification settings - Fork 31
/
bassiladd.ssl
59 lines (49 loc) · 979 Bytes
/
bassiladd.ssl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
BEGIN_ACTION_DEFINITION
Name(EasyUndead)
TRIGGER
OR(2)
Global("DMWWBassilUndead","GLOBAL",2)
Dead("bassilus")
ACTION
RESPONSE #100
Kill(Myself)
END
BEGIN_ACTION_DEFINITION
Name(HardUndead)
TRIGGER
OR(2)
!GlobalTimerNotExpired("BassilUndeadTimer","LOCALS")
Dead("bassilus")
OR(2)
Global("DMWWBassilUndead","GLOBAL",2)
Dead("bassilus")
ACTION
RESPONSE #200
Kill(Myself)
RESPONSE #100
SetGlobalTimer("BassilUndeadTimer","LOCALS",4)
RESPONSE #100
SetGlobalTimer("BassilUndeadTimer","LOCALS",8)
END
IF
Global("DMWWBassilUndead","GLOBAL",1)
!Allegiance(Myself,ENEMY)
THEN
RESPONSE #100
Enemy()
END
IF TRIGGER
Global("DW#Bassilus_Override","GLOBAL",1)
THEN DO
Action(EasyUndead)
END
IF TRIGGER
TriggerBlock(CoreMinus)
THEN DO
Action(EasyUndead)
END
IF TRIGGER
TriggerBlock(HardPlus)
THEN DO
Action(HardUndead)
END