Sorry for post on english, but i don't speak br.
I added the distance effect "glooth spear". You can add it following this:
Go to const.h
After (I added the comma):
CONST_ANI_ENVENOMEDARROW = 51,
Paste:
//52 is empty
CONST_ANI_GLOOTHSPEAR = 53,
Go to luascript.cpp and register the enum
registerEnum(CONST_ANI_GLOOTHSPEAR)
Go to tools.cpp
After (I added the comma):
{"envenomedarrow", CONST_ANI_ENVENOMEDARROW},
Paste:
{ "gloothspear", CONST_ANI_GLOOTHSPEAR }
Now change the distanceffect for glooth spear in items.xml:
<item id="23522" article="a" name="glooth spear">
<attribute key="attack" value="55" />
<attribute key="weaponType" value="distance" />
<attribute key="shootType" value="gloothspear" />
<attribute key="range" value="4" />
<attribute key="weight" value="2600" />
</item>