Jump to content

Dark Theme was set as default for all members. Please report any issues here.

  • 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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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