OpenClonk Bugtracker - OpenClonk
View Issue Details
0001993OpenClonkObjectspublic2018-02-11 01:452018-03-11 14:05
ReporterClonkonaut 
Assigned ToZapper 
PrioritynormalSeverityminorReproducibilityN/A
StatusresolvedResolutionfixed 
PlatformPCOSWindowsOS Version10
Product Version 
Target Version9.0Fixed in Version 
Summary0001993: Club ingores no friendly fire rule
DescriptionTitle says it all.
I'm just opening this bug in order to task if this is in any way intended or has just been overlooked.
TagsNo tags attached.
Attached Files

Notes
(0006121)
Maikel   
2018-02-11 07:08   
This is not intended and friendly fire should block it.

It is because the the rule does block it over the shield factor, which has not been implemented for the club. For me the real question is should the shield block the strike by a club? Zapper?
(0006122)
Maikel   
2018-02-11 07:08   

Reminder sent to: Zapper

(0006152)
occ   
2018-03-11 14:05   
Hi! There's been a check-in that references this bug. For more information you can visit the repository browser at this address:
https://git.openclonk.org/openclonk.git/commitdiff/29a1a21526741e6928a73649e4f59b3fb89970b7

Changeset 29a1a21 by David Dormagen <czapper@gmx.de>
club respects Rule_NoFriendFire and IsProjectileTarget (0001993)

Not recommended for 8.1, because there are semantic changes: The club can now also hit targets (IsProjectileTarget) while before it could only hit OCF_Alive and C4D_Object. It's similar to the sword now.
Oh, and before it could also not hit livings that were stuck.


Issue History
2018-02-11 01:45ClonkonautNew Issue
2018-02-11 07:08MaikelNote Added: 0006121
2018-02-11 07:08MaikelNote Added: 0006122
2018-02-11 13:21ZapperAssigned To => Zapper
2018-02-11 13:21ZapperStatusnew => assigned
2018-02-11 13:59ClonkonautTarget Version => git master
2018-03-11 14:05occNote Added: 0006152
2018-03-11 14:05ZapperStatusassigned => resolved
2018-03-11 14:05ZapperResolutionopen => fixed
2018-03-11 14:05ZapperTarget Versiongit master => 9.0