Posted as picture because text was weird
APIv2 - attacklog hiding item if stealth attack
Started by Unnamed199cz [2783125] on in Bugs & Issues.
About this thread
Posts archived: 4 / 4 posts (100%) · the total is Torn's reply count + the opening post at the last fetch
Counted by TornLife from the archived posts.
- Archived posts
- 4
- Discussion span
- →
- People posting
- 3
- Likes on archived posts
- 1
- Posts by staff, officers and moderators
- 3
- Authority score
- 55 / 100
- Historical score
- 37 / 100
- Story score
- 35 / 100
- Engagement score
- 41 / 100
Most-liked replies
- splent [2088243] Admin
· 1 likes ·
Hey, Thanks for the report. So what you added should actually go into the "attacker" object which is null, because the attacker is stealthed. I don't think it makes sense to add this item to the "defender" object because the …
Passing along to Mauro. Thanks..!!
Hey,
Thanks for the report.
So what you added should actually go into the "attacker" object which is null, because the attacker is stealthed.
I don't think it makes sense to add this item to the "defender" object because the item didn't belong to them.
I will likely add a new, non-required field "attacker_temporary_item" which is populated only for temporary weapons, so we don't break the attacker schema now.
I hope that makes sense?
This is now added.
There's now 'attacker_item' available in 'torn' -> 'attacklog' selection in API v2 if the attacker is stealthed and they used a temporary weapon or booster.
Thanks!