Mercenaries

All Helbreath Server Source Discussion here.
Post Reply
Jukkis
noob
Posts: 10
Joined: Sun Oct 19, 2003 2:51 pm

Post by Jukkis »

Help! You know that those mercenaries you can summon YB,YY,... have always weapons from dagger to flam and all shields. So is that thing determined in Client's sources or in hgserver's sources ? I checked both but couldn't find it :/
I was hoping to find that code so someone/I could make them wield different weapons and maybe armors. Thank you. :ph34r:
snoopy81
Loyal fan
Posts: 338
Joined: Mon Jul 12, 2004 7:13 pm

Post by snoopy81 »

Look bCreateNewNpc()
    m_pNpcList->m_sAppr2 = (short) 0xF000;
    m_pNpcList->m_sAppr2 = m_pNpcList->m_sAppr2 | ((rand() % 13) << 4);
    m_pNpcList->m_sAppr2 = m_pNpcList->m_sAppr2 | (rand() % 9);

...
_\_ _<br> / , \__/ . \ Admin of Equilibrium Project<br> II\ \___ . O<br> III \_/ \ _ / <a href='http://www.equiprojet.com' target='_blank'>http://www.equiprojet.com</a><br> II I¯I
Post Reply