Spell 8.60 TFS 0.4 spellpack with correct damages

Marcus

User.postCount++;
Joined
Nov 14, 2015
Messages
1,074
Best answers
10
Reaction score
326
Location
Sweden
I made this spellpack a while ago and their damage s accurate to 8.60 damages!

Example, Energy Strike:
PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYAREA)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY)

function onGetFormulaValues(cid, level, maglevel)
    min = -(level * 0.28 + maglevel * 1.48)
    max = -(level * 0.34 + maglevel * 2.34)
    return min, max
end

setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues")

function onCastSpell(cid, var)
    return doCombat(cid, combat, var)
end
Enjoy them!

Download: http://***************/?dl=4158ea8c7af963aa0bcef6fbfed4b7be
 

arti1194

Member
Joined
Jun 6, 2009
Messages
96
Best answers
0
Reaction score
3
Example from this thread working fine but I don't know what is in this pack.
Edit: Now I testing it but allmost spells working.
 
Last edited:
OP
Marcus

Marcus

User.postCount++;
Joined
Nov 14, 2015
Messages
1,074
Best answers
10
Reaction score
326
Location
Sweden
Example from this thread working fine but I don't know what is in this pack.
it's a spellpack, a folder named "spells" that you put in your server folder that contains all the spells for a 8.6 server :p
 

sowber

Member
Joined
Sep 30, 2016
Messages
35
Best answers
0
Reaction score
0
does anyone have it? link's broken
 

Phemus

Intermediate OT User
Joined
Jun 16, 2012
Messages
133
Best answers
0
Reaction score
3
Can someone re-upload please
 

M0ustafa

Î Àm ŁĕğẹňĎ
Support Team
Joined
Mar 4, 2017
Messages
1,034
Best answers
113
Reaction score
363
Location
Egypt
Would be great if someone upload, If it is same as Tibia real formulas/damage.
 
Top