Someone on IRC today requested that it be possible to make a ROM or a device that would allow ones weapon to have a certain percentage of its damage pass through it's targets shields. The only suggestion I could come up with would involve having a copy of every weapon possible with the event handling hard coded in. Obviously, not a good solution.
I suggest that enhancer devices allow the <Event> tag. Then we could have a device that added an OnDamageShields (or OnFireWeapon!) to all applicable weapons. I think that would be very cool.
If this sounds good, and is the easiest solution, I will add it as a ticket to trac.
George: Weapon events on enhancer devices
- digdug
- Fleet Admiral
- Posts: 2620
- Joined: Mon Oct 29, 2007 9:23 pm
- Location: Decoding hieroglyphics on Tan-Ru-Dorem
an idea that came up in IRC as a solution to this is a function that would work as objSetEventHandler for items, so itmSetEventHandler.
So that devices and weapons could inherit all sort of events and behaviours to dynamically affect them.
So that devices and weapons could inherit all sort of events and behaviours to dynamically affect them.
- alterecco
- Fleet Officer
- Posts: 1658
- Joined: Wed Jan 14, 2009 3:08 am
- Location: Previously enslaved by the Iocrym
While that is also a nice idea, it does not really pertain to this thread. It would more be adding a new enhancement type to the game, not the method of applying the enhancement. I suggest you open a new thread with this suggestion (or this should be split)muffildy wrote:another idea that would use this function is to apply an effect to weapons that would make the weapon decay the resistances of the enemy armor progressively with each hit.