Opened 14 years ago
Closed 14 years ago
#203 closed bug (fixed)
Equipment OnRemove bug
Reported by: | tehtmi | Owned by: | epyon |
---|---|---|---|
Priority: | minor | Milestone: | 0.9.9.5 |
Component: | engine | Version: | 0.9.9.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
"When armor or boots is destroyed, the OnRemove? hook is supposed to be called. In fact, it is called, but the attacking being is passed to the hook instead of the being wearing the armor."
From http://forum.chaosforge.org/index.php/topic,4466.0.html
Change History (3)
comment:1 Changed 14 years ago by tehtmi
comment:2 Changed 14 years ago by epyon
- Milestone changed from 0.9.9.4 to 0.9.9.5
- Status changed from new to assigned
Note: See
TracTickets for help on using
tickets.
The active being is passed to the hook. It seems the inventory and equipment don't currently keep track of the being they belong to, so this is slightly non-trivial.