(I'm short on sleep. Sorry if I misunderstand or miss the point.)
Um, okay.
If all the damtypes are the same, why check them? This is the simplest addition to the gives to do the damage bit, but doesn't check for "burn" damage type:
Code:
=+$indexedvalue(me::level,1d-1,1d+1,1d+3) to owner::damage$
If the item could have non-"burn" modes, then things get more complicated. I can't get some functions to work right, either, but try this version:
Code:
=+$/if( @sametext( $modetag(damtype), "burn" ) then $indexedvalue( me::level,1d-1,1d+1,1d+3 ) ) to owner::damage$