Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rateSpellCriticalTab = {
- [0] = 1.04, -- {name = "Glove"},
- [1] = 1.20, -- {name = "Wave"},
- [2] = 1.2, -- {name = "Distanse"},
- [3] = 1.4, -- {name = "Area"},
- [4] = 1.4, -- {name = "Area_one"}, -- attack to see pos
- [5] = 1.0,-- {name = "Blast"}, -- sp/ki blast / makanskosappo
- [6] = 1.2, -- {name = "Runes"}, -- Spells
- [7] = 1.0, -- {name = "Bolt"}, -- bolt ammo
- [8] = 1.0, -- {name = "Sword"}, -- sword
- [9] = 1.0, -- = {name = "Distanse"}, -- Distanse_ mana absrob
- }
- skillConfigTab = { -- rateSkill = 70.0
- --[sID] = {rate, baseSkill, maxLevel} ~= baseSkill skill change only reset!!
- [0] = {1.0, 50, 150}, -- rateSkill_glove
- [2] = {1.0, 50, 150}, -- rateSkill_sword
- [4] = {1.0, 50, 150}, -- rateSkill_distance
- [1] = {1.0, 50, 60}, -- rateSkill_speed
- [9] = {1.0, 500, 75}, -- rateSkill_fattack
- [7] = {1.0, 1000, 10}, -- rateSkill_critical
- [8] = {1.0, 1000, 20}, -- rateSkill_criticalspell
- [5] = {1.0, 450, 100}, -- rateSkill_shield rateSkillDef = 0.5 --only defense/shield skill
- [6] = {1.0, 50, 100}, -- rateSkill_fish
- [10] = {1.0, 400, 100}, -- rateSkill_magic -- rateMagic = 27.0
- [11] = {14.0, 0, 100}, -- rateSkill_experience rateExperience == 14
- [12] = {1.0, 0, 1000}, -- SKILL__HELLLEVEL
- -- unsles
- [3] = {1.0, 1, 100}, -- rateSkill_ypower
- }
- galobalevent start.lua?
- przed: : function onStartup()
- local skillConfigTab = getConfigValue('skillConfigTab')
- local rateSpellCriticalTab = getConfigValue('rateSpellCriticalTab')
- po function onStartup()
- if skillConfigTab and type(skillConfigTab) == 'table' then
- print('>>>>>> skillConfigTab')
- for skill, data in pairs(skillConfigTab) do
- setServerRate(skill, data[1], data[2], data[3])
- end
- end
- if rateSpellCriticalTab and type(rateSpellCriticalTab) == 'table' then
- print('>>>>>> rateSpellCriticalTab')
- for skillId, data in pairs(rateSpellCriticalTab) do
- doSetRateCriticaSpell(skillId, data)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement