mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-11-01 04:16:24 +01:00
8.0 spells from nostalrius
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
local area = {
|
||||
{1}
|
||||
}
|
||||
|
||||
local combat = Combat()
|
||||
combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
|
||||
combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA)
|
||||
combat:setParameter(COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_DEATH)
|
||||
combat:setArea(createCombatArea(area))
|
||||
|
||||
function onGetFormulaValues(player, level, maglevel)
|
||||
local base = 150
|
||||
local base = 160
|
||||
local variation = 20
|
||||
|
||||
local formula = 3 * maglevel + (2 * level)
|
||||
|
||||
Reference in New Issue
Block a user