para los entendidos en el tema de desarrollo, dropeara cualquier item que coloquen en forma de lluvia como verán en el ejemplo.
les sera util a los GM para hacer eventos
Código:
int section = this->GetNumber(arg,0); int type = this->GetNumber(arg,1);
int level = this->GetNumber(arg,2);
int skill = this->GetNumber(arg,3);
int luck = this->GetNumber(arg,4);
int option = this->GetNumber(arg,5);
int exc = this->GetNumber(arg,6);
int set = this->GetNumber(arg,7);
for(int n=0;n < 15;n++)
{
GDCreateItemSend(lpObj->Index,lpObj->Map,(lpObj->X+(((GetLargeRand()%5)*2)-4)),(lpObj->Y+(((GetLargeRand()%5)*2)-4)),GET_ITEM(section,type),level,0,skill,luck,option,-1,exc,set,0,0,0,0xFF,0);
}
[Somente membros podem ver os links. ]
Nota
| cualquier mejora en el código se agradece
PD: basado en Emu,xteam | |
Creditos:
MinatoRx