Jump to content
Sign in to follow this  
Jackson Zani

[Critical Hit] 100% Code 7.9 ou 7.92

Recommended Posts

GodShiryu    0
GodShiryu

Galera, eu consegui por o critical...

mais nao aparece nada, qdo o critical sai...

n tem como por pra aparecer escrito, e um efeito nao?

?

vlw

alguem me ajudaaa :)

Share this post


Link to post
leandro27    0
leandro27

Era pra aparecer o texto animado "Critical" quando ocorrer o critical hit.

você deve ter feito algo errado...

 

ve se tem algum erro no codigo e se vc recompilo tudo certinhu. . e ve se coloco a chance do critical no Config.lua tbm

Share this post


Link to post
diogo uzeda    0
diogo uzeda

Pow desculpa ai a noobsse, ja baixei o Dev-c++ mais nem sei por onde começar alguem pode me dar uma força ai, abraços!

Share this post


Link to post
diogo uzeda    0
diogo uzeda

Gostaria de saber como faço pra abrir as souces do server, esse tal weapons.cpp ai . se puder ajudar agraço, abbraço

Share this post


Link to post
teutibiano    0
teutibiano

aew cara nao tem critical hit para a versão 8.10 não???

 

vlw

Share this post


Link to post
teutibiano    0
teutibiano

aew mano se tiver me passa aew plxxxxxxx

 

 

vlw

Share this post


Link to post
IagoOTs    0
IagoOTs

POR FAVOR ALGUEM ME AJUDA AI!!

 

PUTS EU N SEI FAZER AKELA PARADA LA

REBUILD

E TALZ N ENTENDO DE CODIGOS MAIS QUERIA COLOKAR CRITICAL NO MEU SERV!!

 

ALGUEM HELP AIII

 

[email protected]

 

E aonde q eu axo um compilador?

Edited by IagoOTs

Share this post


Link to post
Ruquan    2
Ruquan

legal ^^

Share this post


Link to post
Raphael Carnaúba    1
Raphael Carnaúba

Ainda funciona nos OTServs mais novos,

 

#ifdef __CRITICAL_HIT__
if(random_range(0,100) < g_config.getNumber(ConfigManager::CRITICAL_HIT)){
   maxDamage *= (attackSkill > 60 ? 2 : (attackSkill > 30 ? 3 : 4)); 
   g_game.addAnimatedText(player->getPosition(), 906, "Critical!");
}
#endif

 

Raphael.

Share this post


Link to post
Guest
This topic is now closed to further replies.
Sign in to follow this  
  • Recently Browsing   0 members

    No registered users viewing this page.

×