The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Meditation
Author Message
Andragh'on
Apprentice
*

Posts: 14
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Mar 2017
Reputation: 0



Post: #1
Meditation
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.
03-07-2017 10:30 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Meditation
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.
03-08-2017 02:49 AM
Find all posts by this user Like Post Quote this message in a reply
Andragh'on
Apprentice
*

Posts: 14
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Mar 2017
Reputation: 0



Post: #3
RE: Meditation
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
03-08-2017 03:01 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #4
RE: Meditation
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.
03-08-2017 08:57 PM
Find all posts by this user Like Post Quote this message in a reply
Andragh'on
Apprentice
*

Posts: 14
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Mar 2017
Reputation: 0



Post: #5
RE: Meditation
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
(This post was last modified: 03-08-2017 10:32 PM by Andragh'on.)
03-08-2017 10:31 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)