Shrapnel weapons don't seem to respect Range < 1 anymore

Bug #1023223 reported by WoRmINaToR
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ares
Triaged
Low
Unassigned

Bug Description

Since time immemorial, I have used the shrapnel logic to enable weapons to apply multiple effects on a target unit that, if put on the same warhead, would conflict or behave in an undesirable way (for instance: a weapon that both EMPs and ICs the target. Since IC gets applied first, EMP is ignored-- however if the first warhead applies EMP and the second (shrapnel) warhead applies IC it works fine).

Essentially if the shrapnel weapon had Range = 0 it would detonate at exactly the same location as its parent warhead detonated. For some reason, however, any range below 1 now seems to just get rounded up to 1, that is, at range 0-0.9 the shrapnel weapon can still go out a full cell away from its parent warhead's detonation site. I don't know how or why this ended up being changed (or if it was on accident or on purpose) but it would be incredible if this (hopefully) small bugfix could make it into 0.2

Revision history for this message
DCoder DCoder (dcoder1337) wrote :

Would it be possible to narrow down the timeframe/actual revision when this started happening? I'm sure I didn't add anything like that intentionally...

Changed in ares:
importance: Undecided → Low
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.