Hello,
I made an Item System which increases the ability when you buy an item. Example: I buy the Shield and get the armor ability Level 1, Buy shield again -> I get Shield Item Level 2 and armor ability is increased to level 2.
But when I do this with the agi,int,str,mana and lifepoints ability (all item abilities) they increase correctly -> so on level 5 item i got level 5 ability, but the effect only counts for level 1. So i have the ability on level 5, but only the effect of level 1.
Anyone knows the problem or a solution?
Don´t want to use BonusMod, because WEX Editor has no Object Merger.
I checked the ability levels after the trigger and they showed the correct level.
call DisplayTextToForce(GetPlayersAll(), "ManaReg" + I2S(GetUnitAbilityLevel(u, 'A04C')))
call DisplayTextToForce(GetPlayersAll(), "LebenReg" + I2S(GetUnitAbilityLevel(u, 'A00X')))
call DisplayTextToForce(GetPlayersAll(), "AS" + I2S(GetUnitAbilityLevel(u, 'I00X')))
call DisplayTextToForce(GetPlayersAll(), "DMG" + I2S(GetUnitAbilityLevel(u, 'A07P')))
call DisplayTextToForce(GetPlayersAll(), "Armor" + I2S(GetUnitAbilityLevel(u, 'A04G')))
call DisplayTextToForce(GetPlayersAll(), "AGI" + I2S(GetUnitAbilityLevel(u, 'A013')))
call DisplayTextToForce(GetPlayersAll(), "INT" + I2S(GetUnitAbilityLevel(u, 'A010')))
call DisplayTextToForce(GetPlayersAll(), "STR" + I2S(GetUnitAbilityLevel(u, 'A00Z')))
I made an Item System which increases the ability when you buy an item. Example: I buy the Shield and get the armor ability Level 1, Buy shield again -> I get Shield Item Level 2 and armor ability is increased to level 2.
But when I do this with the agi,int,str,mana and lifepoints ability (all item abilities) they increase correctly -> so on level 5 item i got level 5 ability, but the effect only counts for level 1. So i have the ability on level 5, but only the effect of level 1.
Anyone knows the problem or a solution?
Don´t want to use BonusMod, because WEX Editor has no Object Merger.
I checked the ability levels after the trigger and they showed the correct level.
call DisplayTextToForce(GetPlayersAll(), "Mana" + I2S(GetUnitAbilityLevel(u, 'A04D')))
call DisplayTextToForce(GetPlayersAll(), "Leben" + I2S(GetUnitAbilityLevel(u, 'A07S')))call DisplayTextToForce(GetPlayersAll(), "ManaReg" + I2S(GetUnitAbilityLevel(u, 'A04C')))
call DisplayTextToForce(GetPlayersAll(), "LebenReg" + I2S(GetUnitAbilityLevel(u, 'A00X')))
call DisplayTextToForce(GetPlayersAll(), "AS" + I2S(GetUnitAbilityLevel(u, 'I00X')))
call DisplayTextToForce(GetPlayersAll(), "DMG" + I2S(GetUnitAbilityLevel(u, 'A07P')))
call DisplayTextToForce(GetPlayersAll(), "Armor" + I2S(GetUnitAbilityLevel(u, 'A04G')))
call DisplayTextToForce(GetPlayersAll(), "AGI" + I2S(GetUnitAbilityLevel(u, 'A013')))
call DisplayTextToForce(GetPlayersAll(), "INT" + I2S(GetUnitAbilityLevel(u, 'A010')))
call DisplayTextToForce(GetPlayersAll(), "STR" + I2S(GetUnitAbilityLevel(u, 'A00Z')))