• 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 Attributes, health/mana regeneration and runes healing amount.

  • Thread starter Thread starter varhlak
  • Start date Start date
V

varhlak

Guest
Hello there.
I have a lot to ask today so .. here we go :

1)
I am looking for a file or a list with every single
LUA:
<attribute key="xxx" value="xxx"/>
Is there a file in the distro? It's 8.6 TFS.

-----------------------------------------------------------------------

2)
I'd also like to ask about those attributes :
LUA:
<attribute key="increasemagicpercent" value="10"/>
I wanted to make it to give +10% of magic damage, but when I equip the item, I hit like.. 5? And when I take it off, I hit lets say 300.
So rather than add, it takes away the additional magic %?

-----------------------------------------------------------------------

3)
I'd like to ask how do those work :
LUA:
<attribute key="manaTicks" value="25"/>
Is this 2.5 seconds, or is 1 second a 1000. Also got this in vocations.XML
LUA:
gainhpticks="12" gainhpamount="1" gainmanaticks="3" gainmanaamount="2"
And when I eat food, it gives me mana and hp enormously fast.. like.. rapidly.
And i'd like to set them to :

Item: every 2.5 seconds,
Vocations: 1 HP each 5 seconds and 1 MP each 10 seconds.

-----------------------------------------------------------------------

Last thing :
For the rune, I'd like to get the UH rune, healing PERCENTAGES of MAX HP when used so lets say, when I'm using a UH it does that for ex.
Having 1000 HP, some kind of bad-ass monster hits me for 900
I have 100 HP left, when I use the UH, it heals exactly (may be ranges) 60-65% of my health HP.
So in this case it would be 600-650 health per each use.

Thanks for help in advance..
-Varhlak
 
Found some of the attributes info :
LUA:
type
				* Items
					description/desc
					count/fluidtype/charges
					action/actionid/aid
					unique/uniqueid/uid
					duration
					writer
					text
					name
					pluralname
					article
					attack
					extraattack
					defense
					extradefense
					armor
					attackspeed
					hitchance
					shootrange
					depot/depotid
					destination/position/pos/destpos

But that's not even half of them...
 
2)
I'd also like to ask about those attributes :
LUA:
<attribute key="increasemagicpercent" value="10"/>
I wanted to make it to give +10% of magic damage, but when I equip the item, I hit like.. 5? And when I take it off, I hit lets say 300.
So rather than add, it takes away the additional magic %?

Hey, i solved this as well. If you want it to add 10%, it has to be set to :

LUA:
<attribute key="increasemagicpercent" value="110"/>
As it reads the % is HAS to hit (100% and adds the value you add to 100, 10% in this case).
 
Back
Top