Does anyone know for certain what properties of items are maintained when you SWAP something for something else?
For example, if I do a ACTION_SWAP_TILE and change one monster to another, do any of its properties get copied to the converted monster (eg, current hit points), or is the new monster completely new and will only have its base properties?
I understand that ACTION_SWAP_GLOBAL will copy properties over, but this is no good as you can't target an individual monster.
Clarifying SWAPS?
Moderator: George Gilbert
Forum rules
Please read the Forum rules and policies before posting.
Please read the Forum rules and policies before posting.
- Lord_BoNes
- Jack of all trades
- Posts: 1064
- Joined: Mon Dec 01, 2008 12:36 pm
- Location: Ararat, Australia.
Re: Clarifying SWAPS?
As I understand it, it seems that only SWAP_GLOBAL & SWAP_GLOBAL_FAST copy properties over... the easiest way to check what conversions kill the properties is to use a chest with an item in it. If the item survives the conversion inside a chest... then a monster's hp, inventory, etc would also survive it.
1 death is a tragedy,
10,000,000 deaths is a statistic.
- Joseph Stalin
Check out my Return to Chaos dungeon launcher
And my Dungeon Master Clone