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
Changing Life Mana Stam Regen *solved*
Author Message
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #16
Re: RE: Changing Life Regen
(09-14-2013 11:56 AM)AmpereJoule Wrote:  @Portuguese
ô doidcho! Agora que tu fala que é br doidcho! Vlw doidcho!

(09-14-2013 10:05 AM)Extreme Wrote:  @Portuguese
Cara, eu te mandei a parada do jeito que você queria, daí você pega e muda e pergunta se tá igual.
Não, não tá igual!

Max X,Y vai retornar o maior valor, logo, se você tem 200 de STR, vai retornar 2 ao invés de 1.
Se você tiver 80 de STR, vai retornar 1 porque 80/100 = 0 para o Sphere.
Pois é, seu código ficou confuso pra mim! Não saquei nada daqueles ARGV.

Não, DEX não afeta o Life Regen, e onde você tirou isso?
foi o cara que falou ali em cima doidcho.

Outra coisa, se você quer o valor de algo tem que colocar <> exemplo <HEALING>
Se você quer fazer cálculos, tem que usar <EVAL >
Exemplo: <EVAL <HEALING>/50>
Se você tem operações matemáticas complexas tem que usar () pra dar preferência no quê deve ser calculado primeiro.
OPA! VLW!! Mas pode me explicar aqueles IF com os ARGV? Pode ser por PM!

Bom, esse último código que você botou aí não tem NADA a ver com o que você quer... vai entender...
A sim, é que depois do que o Ben falou, eu percebi que seria mais simples colocar o Regen0 = 210, daí era só eu fazer o TAG.OVERRIDE.REGEN_0 ser 20 no maximo, que daí ficaria 21-20=1[segundo]

hey, it is not healing --', I am testing using my ADMIN Account.

My sphere.ini is:
PHP Code:
...
//Events related to all players
EventsPlayer=e_meu_regen
... 

My "spheretables.scp":
PHP Code:
...
scripts/sphere_events_human.scp
... 

And I added these lines ot my "sphere_events_human.scp":
PHP Code:
[EVENTS e_meu_regen]
ON=@SKILLCHANGE
TAG
.OVERRIDE.REGEN_0 <EVAL (<HEALING>/50)> //Regen0 = 210, formula eh Regen0/10 - OVERRIDE.REGEN_0 e as skills sao 1000, por isso o div por 50
ON=@STATCHANGE
TAG
.OVERRIDE.REGENVAL_0 <EVAL + (<STR>/10)> 

ps: my healing is 1000 and my str is 500

Its right now,but you want to regen 6 hits per second?

Sent from my MB860 using Tapatalk 2

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
09-14-2013 02:17 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Changing Life Regen - RanXerox - 09-13-2013, 06:55 AM
RE: Changing Life Regen - AmpereJoule - 09-13-2013, 10:04 AM
RE: Changing Life Regen - Extreme - 09-13-2013, 12:41 PM
RE: Changing Life Regen - AmpereJoule - 09-13-2013, 01:07 PM
RE: Changing Life Regen - Extreme - 09-13-2013, 01:24 PM
RE: Changing Life Regen - AmpereJoule - 09-13-2013, 01:33 PM
RE: Changing Life Regen - AmpereJoule - 09-14-2013, 04:41 AM
RE: Changing Life Regen - Extreme - 09-14-2013, 04:54 AM
RE: Changing Life Regen - AmpereJoule - 09-14-2013, 05:58 AM
RE: Changing Life Regen - Ben - 09-14-2013, 08:20 AM
RE: Changing Life Regen - AmpereJoule - 09-14-2013, 08:35 AM
RE: Changing Life Regen - Extreme - 09-14-2013, 10:05 AM
RE: Changing Life Regen - AmpereJoule - 09-14-2013, 11:56 AM
RE: Changing Life Regen - Ben - 09-14-2013, 10:22 AM
Re: RE: Changing Life Regen - Extreme - 09-14-2013 02:17 PM
RE: Changing Life Regen - AmpereJoule - 09-14-2013, 02:49 PM
RE: Changing Life Regen - Ben - 09-14-2013, 10:38 PM
RE: Changing Life Regen - AmpereJoule - 05-06-2015, 11:09 PM

Forum Jump:


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