Page 1 of 1

how to get current skill level

Posted: 10.12.2013 12:20
by mixers
getskillvalue('resisting spells')
it's can get real skill level.
the skill value 100, now cast spell "protection", current skill value 66, if use getskillvalue, the value still keep 100.

Re: how to get current skill level

Posted: 10.12.2013 21:09
by Vizit0r
i think, change not real value :)

Re: how to get current skill level

Posted: 18.12.2013 8:11
by Crome696
mixers wrote:getskillvalue('resisting spells')
it's can get real skill level.
the skill value 100, now cast spell "protection", current skill value 66, if use getskillvalue, the value still keep 100.

Use Buff\Debuff Event => http://stealth.od.ua/Doc:Manual/Reference/Events

Whenever you activate a buff wich reduce your skills write it toa global variable within your program.
Whenever you deactivate a buff wich reduce your skills , reset the global variable.
Whenever Checking Skills wich could be affected reduce the cumulative realskill by the value of the global variable.
If value is 0 then as sample you have 100 - 0 = 100, if its 24 then you have 100 -24 = 76.

You can do same on Equipment. Scan Eqipment for the Cliloc for Magicweapon and write value to variable.Then same method to check but use the other variable.


Hope it helps..