Second
[1.5]
Сервер: Черный Шрам
Рейтинг поля боя: 576
2х2: 1584
|
0
Re: For every disc priest.
Чтобы шок исправить надо айди спелла использовать не 8042, а 57994
local spellids = {[47476] = 120, [6552] = 10, [2139] = 24, [19647] = 24, [1766] = 10, [47528] = 10, [96231] = 10, [34490] = 20, [15487] = 45, [6789] = 120, [23920] = 10, [408] = 20, [80965] = 10, [57994] = 6} for spellid,time in pairs(spellids) do local name,_,spellicon = GetSpellInfo(spellid) abilities[name] = { icon = spellicon, duration = time } end local order = {6552, 2139, 47528, 19647, 80965, 1766, 15487, 96231, 34490, 47476, 57994} for k,v in ipairs(order) do order[k] = GetSpellInfo(v) end
|