ZaneDubya / UltimaXNA

Ultima Online client in C#/XNA
GNU General Public License v3.0
142 stars 73 forks source link

Dragon (and may be other NPCs) has a spellbook anim #118

Closed robertdeclaux closed 9 years ago

robertdeclaux commented 9 years ago

Minor error that occurs on sphereserver. ekran alintisi

ZaneDubya commented 9 years ago

Haha, what's going on there? Does the Dragon have a spellbook equipped?

robertdeclaux commented 9 years ago

yes sphere handles it that epic way :)

ZaneDubya commented 9 years ago

This should be an easy fix: only draw equipped items for body ids that equate to humanoid mobiles.

Are humans 400 and 401? What are the other body ids?

fdsprod commented 9 years ago

mobile.IsHuman should be enough

public bool IsHuman { get { return m_BodyId == 400 || m_BodyId == 401; } }

robertdeclaux commented 9 years ago

I will check id tomorrow but gm body id needed too.

robertdeclaux commented 9 years ago

987 is the gm bodyid

ZaneDubya commented 9 years ago

What about elves and gargoyles? Not that gargoyles would work, because we don't support SA, but still ;)

fdsprod commented 9 years ago

https://github.com/runuo/runuo/blob/master/Server/Body.cs Heres everything you need ;)

EDIT: oh and this https://github.com/runuo/runuo/blob/master/Data/bodyTable.cfg

ZaneDubya commented 9 years ago

Nice! Thanks!

-Zane

On Apr 15, 2015, at 5:01 PM, Jeff Boulanger notifications@github.com wrote:

https://github.com/runuo/runuo/blob/master/Server/Body.cs Heres everything you need ;)

— Reply to this email directly or view it on GitHub.

ZaneDubya commented 9 years ago

Should be fixed! Merged into master. @robertdeclaux let me know if it's still not working.

robertdeclaux commented 9 years ago

It's working good.