• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Spell variations. Possible? [TFS 1.1]

Ramirow

Veteran OT User
Joined
Aug 22, 2009
Messages
584
Solutions
15
Reaction score
301
Location
Argentina
YouTube
ramirogrant
I started looking into the mechanics for the spells used in TFS..
A quick question came to my mind..
As most of you know, the file: "Spells.xml" contains some sort of..Blueprint of all the spells? (I don't how to technically call it sorry :p) Anyways, most of the terms used in there seems to give the server different values for different aspects of the spell system used in tibia such as: Mana costs, Rune charges, etc.

My question is:
Can I create a rune spell without a fixed value for, say, Mana Cost and/or Rune Charges?

Two quick examples:
If I'm magic level 20, casting "Heavy Magic Missile Rune" spell will create a rune with 5 charges. BUT if I'm magic level 30 or greater, it will give me 7 charges.

If I'm level 45, casting "Sudden Death Rune" spell will cost me 1500 mana. BUT if I'm level 90 or higher it will cost me 1400 mana.

Thanks in advance! :D
 
Back
Top