• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

add health

tnecniiv

scripter to be
Joined
Jan 6, 2012
Messages
298
Solutions
3
Reaction score
25
is it possible to add health to my character through an amulet
 
im using tfs o.2 and i put the
<attribute key="maxhealthpoints" value="500"/>
in my items.xml under the amulet when i started the server it said failed to recognize attribute maxhealthpoints

[23/01/2014 06:48:04] >> Loading config
[23/01/2014 06:48:04] >> Loading database driver... MySQL 6.0.0
[23/01/2014 06:48:04] >> Running database manager
[23/01/2014 06:48:04] > No tables were optimized.
[23/01/2014 06:48:04] >> Loading bans
[23/01/2014 06:48:04] >> Loading vocations
[23/01/2014 06:48:04] >> Loading commands
[23/01/2014 06:48:04] >> Loading items
[23/01/2014 06:48:04] Warning: [Items::loadFromXml] Unknown key value maxhealthpoints
[23/01/2014 06:48:04] >> Loading script systems
[23/01/2014 06:48:05] >> Loading monsters
[23/01/2014 06:48:05] >> Loading outfits
[23/01/2014 06:48:05] >> Loading admin protocol config
[23/01/2014 06:48:05] >> Loading experience stages
 
Last edited by a moderator:
If I am not misstaken you can do this with movements/move events aswell? I remember some script that used onEquip, I think colandus made it for a weapon(not sure). It had alot of effects depending on your swordskill
Ofcourse it'd be alot easier with the maxhealthpoints/maxhitpoints attribute, just thinking if he doesen't have it, and don't have sources.
 
Back
Top