Jump to content

  •  

Crown The Empire

Member Since 22 Mar 2013
Offline Last Active Oct 28 2018 10:52 PM
-----

Topics I've Started

Chance de Congelamento

28 August 2013 - 02:43 PM

Eu desfiz essa alteração na src, para voltar a formula do congelamento...

 

https://github.com/H...df29c68e261204d

 

Deu certo, porém a unica coisa que está estranha é o tempo, pois o jogador com 190 de LUK ainda fica congelado bastante tempo, era pra

descongelar rápido...

Onde posso ajustar?


Armadilha, ajuda!

25 August 2013 - 05:20 PM

A skill "Armadilha" não está funcionando corretamente!

 

[color=rgb(255,0,0);]Acontece o seguinte:[/color]

O jogador passa por cima tira a maioria das armadilhas e trava só depois em uma célula que sequer tem armadilha.

 

case UNT_ANKLESNARE:case UNT_MANHOLE:if( sg->val2 == 0 && tsc && (sg->unit_id == UNT_ANKLESNARE || bl->id != sg->src_id) ) {int sec = skill->get_time2(sg->skill_id,sg->skill_lv);if( status_change_start(bl,type,10000,sg->skill_lv,sg->group_id,0,0,sec, 8) ) {const struct TimerData* td = tsc->data[type]?iTimer->get_timer(tsc->data[type]->timer):NULL;if( td )sec = DIFF_TICK(td->tick, tick);if( sg->unit_id == UNT_MANHOLE || battle_config.skill_trap_type || !map_flag_gvg(src->bl.m) ) {unit_movepos(bl, src->bl.x, src->bl.y, 0, 0);clif->fixpos(bl);}sg->val2 = bl->id;} elsesec = 3000; //Couldn't trap it?if( sg->unit_id == UNT_ANKLESNARE ) {clif->skillunit_update(&src->bl);/*** If you're snared from a trap that was invisible this makes the trap be* visible again -- being you stepped on it (w/o this the trap remains invisible and you go "WTF WHY I CANT MOVE")* bugreport:3961**/clif->changetraplook(&src->bl, UNT_ANKLESNARE);}sg->limit = DIFF_TICK(tick,sg->tick)+sec;sg->interval = -1;src->range = 0;}break;