Jump to content

Colocar montadas a atacar pela source


Requiem
 Share

Recommended Posts

Source do Servidor:

 

 

game > pvp.cpp

Procurar:

 


switch(pkChr->GetMountVnum()){           
	case 0:
 

 

Adicionar: (os números aqui postos são exemplos, devem mudar para o vnum que deram à montada) - devem manter o case:0

 


switch(pkChr->GetMountVnum()){           
  case 0:           
  case 19000:           
  case 19001:           
  case 19002:           
  case 19003:
 

 

 

Source do Cliente:

 

 

UserInterface > InstanceBase.cpp

Procurar:

 


UINT CInstanceBase::SHORSE::GetLevel(){   
  if (m_pkActor){       
    DWORD mount = m_pkActor->GetRace();       
    switch (mount){
 

 

Adicionar:

 


UINT CInstanceBase::SHORSE::GetLevel(){   
  if (m_pkActor){       
    DWORD mount = m_pkActor->GetRace();       
    switch (mount){
    case 19001:           
    case 19002:           
    case 19003:               
    return 3;
 

 

return 1;= atacar

return 2; = skills

return 3; = atacar e skills

 

Fonte: Metin2Dev (yagokurt)

Link to comment
Share on other sites

  • 5 months later...
  • 9 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...