OWWWW You are soo, like we say here in my country, good people guys! more than other game forums.
Note: Good people means: cool, or friendly people.
But I already do my enchanting system! It very nice! This is my first map stays so cool!
Hey did you know if there is an action to set mana -number ?
like this?
-
Unit - Set mana of (Triggering unit) to 888.00
this modify the mana but not the max mana, so if max mana is 1000 then with this u cant give more but u can give any mana between 0-1000.
for modify the max mana/hp u must use item permanent hp/mp ability (like on my map), or use tomes for increase it, abilities, but if u want do with items like in my map then best way is the useing ability trick, i also made buff what increase with x% max hp then after buff expired decrease to original and item also can give hp and its stacking with buff , so if u pick up a item what must give 1000 hp and buff increase 30% hp then its give + 300 hp.
if u use alot item its long work, not hard but u must declare every stat to items
i do this way:
-i use item level like a unique id, so each equipment got different item level (hold shift+left click then u can type any level)
so lowest level armor got level 100 item level, next armor is lv 101
then i use alot variables
i give a example if i use armor what is lv100 item
item_hp[100] = 500
item_mp[100] = 100
item_crit[100] = 2
item_critdmg[100] = 25
item_eva[100] = 200
item_lifesteal[100] = 15
item_agi[100] = 5
etc etc etc, depend how much stat i want give with that item
when i equip the item i check each variable, so
add to unit + 500hp, + 100mp, +2% crit etc
if already was 1 equiped item then i do this
x = item_hp[new item level] - item_hp[old item level]
add x hp to unit
same with other stats