PROP_LIFE_DEC doesn't work.

  • powder_is_epic
    8th May Member 0 Permalink

    Here is my code for a element which i have already made the rest of:

     

    elem.property(elem.QMPR_PT_QMPR, "Properties", elem.PROP_LIFE_DEC)

    elem.property(elem.QMPR_PT_QMPR, "Properties", elem.PROP_CONDUCTS)
     
    For some reason when i spark it i cant spark it again, and the life stays at 4, even though i have added PROP_LIFE_DEC. I dont know why and the rest of the element works flawlessly, no errors. But this just doesn't work, and it doesn't even throw a error.
  • LBPHacker
    8th May Developer 0 Permalink
    You're assigning two different values to Properties in sequence. You want to assign elem.PROP_LIFE_DEC + elem.PROP_CONDUCTS once instead, as explained here https://powdertoy.co.uk/Wiki/W/Element_Properties.html
  • powder_is_epic
    8th May Member 0 Permalink

    OHH thank you i didnt realise lol.