Jump to content
  • 0
Sign in to follow this  
Sunlight

Dano do Asura limitado a 6k SP

Question

Andei percebendo que o asura do meu servidor não está sendo limitado a 6k de SP como deveria ser, alguém pode me ajudar, pois quanto mais SP o Monk possui mais Dano está tirando no asura, queria limitar a 6k de sp o dano máximo do asura.

battle.c:

				case MO_EXTREMITYFIST:
	#ifndef RENEWAL
					{
						//Overflow check. [Skotlex]
						unsigned int ratio = skillratio + 80*(8 + st->sp/35);
						//You'd need something like 6K SP to reach this max, so should be fine for most purposes.
						if (ratio > 60000) ratio = 60000; //We leave some room here in case skillratio gets further increased.
						skillratio = (unsigned short)ratio;
						status->set_sp(src, 0, 0);
					}

 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Só um detalhe, você esta usando o emulador em qual modo? Pre ou Renovação? Porque esta verificação só é feita quando o emulador esta rodando em renovação. Observer que esta verificação esta entre as tags

#ifndef RENEWAL

#endif

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.