Don't know how to set.
pingju555 opened this issue · 6 comments
actually
target.hurt(user.damageSources().playerAttack(player), damage);
Seems they just use a normal player attack. Copy what swords do
Originally posted by @RobertSkalko in #103 (comment)
Np, but no need for any special compat from them, you just didn't setup the datapack correctly.. Anyway closing
content in datapack added,damage type also changed , still doesn't work,seeing this place,don't know to set.
1.mmorpg_base_gear_types,mmorpg_gear_slot,mmorpg_prophecy_modifier,mmorpg_weapon_type Both had the gun.json added.
2.sever config in saves ,weapon compatibility added Tacz:kenitc_gun as gun.
3.Copied damage type in Tacz,added to this_mod.jar also in damage type, bullet.json is like this
{
"exhaustion": 0.05,
"message_id": "tacz.",
"scaling": "never"
}
Those are done,
in game,
gun is added correct gear souls,but still doesn't deal any damage to mob.