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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
black_list_mister_magicka = {}
for i = 1, 32 do
black_list_mister_magicka[i] = 0
end
function black_list_mister_magicka.ADD(id) --<<use these functions if you want to make the player unable to use magic
black_list_mister_magicka[id] = 1
end
function black_list_mister_magicka.REMOVE(id)--<<
black_list_mister_magicka[id] = 0
end
MAGICS_LIST = {}
function AddMagic(func,tabl)
MAGICS_LIST[#MAGICS_LIST+1] = {func,tabl}
end
--===================================================
------------------------------
BOT_CAN_MAGICKS = 1 -- 1 bots can use magic. 0 no
AGGRESSIVE_MAGIC_BOTS = 50 -- How often do bots use magic (0 rarely. 100 or more often)
--------------------------------
--create a function with your script
function Exzample(id) --gives only player id
parse('explosion '..player(id,'x')..' '..player(id,'y')..' 96 100 '..id)
damage_system(id,0,9,99999,0)
end
------------------------------
--then use AddMagic
--The first parameter is a function, the second parameter is a combination to activate this function
AddMagic(Exzample,{1,1,5,1,1}) -- -- 1 fire 2 water 3 cold 4 lightning 5 arcane 6 life 7 earth 8 shield 9 steam 10 ice 11 poison
------------------------------
--=======================================================
MAGICA_ON_NOW = 1 -- 1 on 0 off magicka
FrenndlyFaer = 1 -- friendly damage
controlMouse = 0 -- when using spells, if the player changes fov or moves, the spell is automatically canceled
Experement_klav = 1 -- keyboard shortcuts bind. The default is: 1 2 3 4 R F G H. If 0 then the menu appears on the ctrl key
new_damage = 1 -- Intercept normal damage and convert it to physical damage. cancels damage. 0 disables
Sheld_blokator = 0 -- if 1 then the spell of the outer shield will be under the restriction for a certain time. 0 off
Sheld_times = 300 -- External shield time limit in fps (5 sec)
--
GAME_MODE_MAGICKA = 1 -- 0 is a sandbox mod no restrictions on the use of spells. 1 includes restriction.
Times_blockers = {} -- 1 fire 2 water 3 cold 4 lightning 5 arcane 6 life 7 earth 8 shield 9 steam 10 ice 11 poison
Times_blockers[1] = 60 -- each ball one second (60 fps) to element
Times_blockers[2] = 60
Times_blockers[3] = 60
Times_blockers[4] = 60
Times_blockers[5] = 60
Times_blockers[6] = 60
Times_blockers[7] = 60
Times_blockers[8] = 300
Times_blockers[9] = 60
Times_blockers[10] = 60
Times_blockers[11] = 60
key1 = "mouse2"
key2 = "mouse3"
key3 = "leftshift"
key4 = "space" -- activation Special spells
key5 = "leftctrl" -- Menu (If Experement_klav disabled)
K_key1 = "1"
K_key2 = "2"
K_key3 = "3"
K_key4 = "4"
K_key5 = "R"
K_key6 = "F"
K_key7 = "G"
K_key8 = "H"
hudtxtid_magicka1 = 0 -- The only hud
----
addbind(key1)
addbind(key2)
addbind(key3)
addbind(key4)
addbind(key5)
parse('mp_hudscale 1')
if FrenndlyFaer == 1 then
parse('mp_teamkillpenalty 0')
end
if Experement_klav == 1 then
addbind(K_key1)
addbind(K_key2)
addbind(K_key3)
addbind(K_key4)
addbind(K_key5)
addbind(K_key6)
addbind(K_key7)
addbind(K_key8)
end