mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-12 16:58:39 +00:00
Fix and tune things, add tool "recharge" animation, add dummyball
This commit is contained in:
parent
6b7d6c27ee
commit
989aba1966
10 changed files with 460 additions and 50 deletions
|
@ -563,11 +563,11 @@ int LuaEntitySAO::punch(v3f dir,
|
|||
|
||||
if(result.did_punch)
|
||||
{
|
||||
setHP(getHP() - result.damage);
|
||||
|
||||
actionstream<<getDescription()<<" punched by "
|
||||
<<puncher->getDescription()<<", damage "<<result.damage
|
||||
<<" HP"<<std::endl;
|
||||
|
||||
setHP(getHP() - result.damage);
|
||||
<<" hp, health now "<<getHP()<<" hp"<<std::endl;
|
||||
|
||||
{
|
||||
std::ostringstream os(std::ios::binary);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue