SphereCommunity
Meditation - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Meditation (/Thread-Meditation)



Meditation - Andragh'on - 03-07-2017 10:30 PM

Greetings,

Any of you guys know why this original script below aint working as it should be?
I mean i get the sound that i start to meditate, exept my mana wont raise faster then normal.

I've set the most working skills like focus, magery, meditation and evel to Gm skill to be sure that aint the problem.



RE: Meditation - darksun84 - 03-08-2017 02:49 AM

That script doesn't seem to increasemana, you can use the RegenMana (how many seconds until your mana regenerates) and RegenValMana (how much mana you gain) properties.


RE: Meditation - Andragh'on - 03-08-2017 03:01 AM

Any chance your able to point out where i should put that?

I assume it should be standing by the following lines

ON=@success
if <mana> >= <maxmana>
f_skill_delay <getargv 1 <def.skill.46.waittime>>
RemoveBuff <DEF.bufficon_activemeditation>
tag.meditation.active
endif


RE: Meditation - darksun84 - 03-08-2017 08:57 PM

Yes you should put them in that trigger, but also reset the values of RegenMana and RegenValMana (set them to 0) when the action is aborted.


RE: Meditation - Andragh'on - 03-08-2017 10:31 PM

Any way your able to help out what to put where?

tried it myself yesterday but i kept on failing Sad

My intention is that %of meditation/10 is gain per second
So if you had like 56 meditation your gaining 5 mana per second