Time Nick Message 00:51 cy1 yo celeron55. no way in Lua scripts to get armor groups, or otherwise calculate damage to be inflicted! 00:53 cy1 no way in the C++ to get the armor groups either! This has got to be my misunderstanding... 00:55 cy1 ok it's an itemgrouplist and the punch in tools has to access it somehow... 00:57 cy1 ok, so you can punch a LuaEntitySAO, and that's the... only way to get punch damage? 01:00 cy1 ok I think I got it figured out 01:00 cy1 sorry 01:11 cy1 yeah, use player:punch to damage a player, is the only way to take into effect armor. player:set_hp ain't cuttin it 01:25 cy1 ... 01:26 cy1 scriptapi.cpp:2539 01:26 cy1 puncher->punch(dir, &toolcap, puncher, time_from_last_punch); 01:26 cy1 puncher gets punched by puncher? 01:26 cy1 should be co->punch(... 01:27 cy1 and punch should be named "getPunchedBy" or something 01:28 cy1 or "onPunch" 05:26 cornernote can we please have a forum section for Games ?