Felipe93
Ghost Member
lets begin
at const.h search for
below that code add
in items.cpp search for
below that add
in player.cpp after
add
in the same file after
add
weapons.cpp after
add this
and in the same file after
add
at items xml and movements you have to do editions too.
the attribute that you should add for fist weapons is this
Enjoy it !!!
at const.h search for
Code:
WEAPON_AMMO = 7,
Code:
WEAPON_FIST = 8,
in items.cpp search for
Code:
}
else if(asLowerCaseString(strValue) == "ammunition"){
it.weaponType = WEAPON_AMMO;
Code:
}
else if(asLowerCaseString(strValue) == "fist"){
it.weaponType = WEAPON_FIST;
Code:
case WEAPON_WAND:
Code:
case WEAPON_FIST:
in the same file after
Code:
case WEAPON_AXE:
{
attackSkill = getSkill(SKILL_AXE, SKILL_LEVEL);
break;
}
Code:
case WEAPON_FIST:
{
attackSkill = getSkill(SKILL_FIST, SKILL_LEVEL);
break;
}
weapons.cpp after
Code:
case WEAPON_AXE:
{
skill = SKILL_AXE;
return true;
break;
}
add this
Code:
case WEAPON_FIST:
{
skill = SKILL_FIST;
return true;
break;
}
Code:
case WEAPON_CLUB:
add
Code:
case WEAPON_FIST:
at items xml and movements you have to do editions too.
the attribute that you should add for fist weapons is this
Code:
<attribute key="weaponType" value="fist"/>
Enjoy it !!!
Last edited by a moderator: