Animera
* * * * *
Sorry i forgot i received the notification but forgot to reply onto it.I wanted to use the system, without having anything to do with the areas, I am only interested in the increase in damage per spell
I was trying to add to the strikes
exori flam
exori vis
exori gran con
exori gran ico
and others with area
exori
exori gran
exori san
how can i add it to exori vis?
i try but dont works:
Lua:local spellname, effect, area, damagetype = "Energy Strike", CONST_ME_ENERGYAREA, "CONST_ANI_ENERGY", COMBAT_ENERGYDAMAGE function onCastSpell(creature, variant) local level, maglevel = creature:getLevel(), creature:getMagicLevel() local min = (level / 5) + (maglevel * 1.403) + 8 local max = (level / 5) + (maglevel * 2.203) + 13 return creature:doLevelCombat(variant, spellname, effect, area, damagetype, min, max) end
I will update the script soon, i remember there was some forum feature was messing with my script.
You should add this in the SPELLS_LEVEL_LIST table:
["Energy Strike"] = {lvlstorage = 1001, dmgmultiplier = 1.5, increaseSize = false, maxlvl = 100},