def Trig_Culling_Blade_A ctions udg_CB_Target_unit_l oc GetUnitLoc Get

 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
def Trig_Culling_Blade_Actions():
udg_CB_Target_unit_loc = GetUnitLoc(GetSpellTargetUnit())
if Trig_Culling_Blade_Func002001():
udg_CB_Damage = 50
else:
if Trig_Culling_Blade_Func002003001():
udg_CB_Damage = 100
else:
if Trig_Culling_Blade_Func002003003001():
udg_CB_Damage = 150
else:
if Trig_Culling_Blade_Func002003003003001():
udg_CB_Damage = 200
else:
if Trig_Culling_Blade_Func002003003003003001():
udg_CB_Damage = 250
else:
DoNothing()
if Trig_Culling_Blade_Func003001():
udg_CB_Target_life = 350
else:
if Trig_Culling_Blade_Func003003001():
udg_CB_Target_life = 425
else:
if Trig_Culling_Blade_Func003003003001():
udg_CB_Target_life = 500
else:
if Trig_Culling_Blade_Func003003003003001():
udg_CB_Target_life = 575
else:
if Trig_Culling_Blade_Func003003003003003001():
udg_CB_Target_life = 650
else:
DoNothing()
if Trig_Culling_Blade_Func004001():
UnitDamageTargetBJ(GetTriggerUnit(),GetSpellTargetUnit(),1000000000.00,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_NORMAL)
else:
if Trig_Culling_Blade_Func004003001():
UnitDamageTargetBJ(GetTriggerUnit(),GetSpellTargetUnit(),I2R(udg_CB_Damage),ATTACK_TYPE_NORMAL,DAMAGE_TYPE_NORMAL)
else:
DoNothing()
if Trig_Culling_Blade_Func005001():
AddSpecialEffectLocBJ(GetSpellTargetLoc(),"Units\\Creeps\\HeroFlameLord\\HeroFlameLord.mdl")
else:
DoNothing()
DestroyEffectBJ(GetLastCreatedEffectBJ())
RemoveLocation(udg_CB_Target_unit_loc)