var/obj/at = new()
at.icon = 'AuraT.dmi'
at.pixel_x += 32
at.layer = MOB_LAYER + 5
mob/var/AuraT = at
mob/var/AuraB = 'AuraB.dmi'
obj/Techs/AONtech/verb/Aura_On()
set category = "Techniques"
if(usr.AuraS == 0)
usr.underlays += usr.AuraT
usr.underlays += usr.AuraB
usr.AuraS = 1
obj/Techs/AONtech/verb/Aura_Off()
set category = "Techniques"
if(usr.AuraS == 1)
usr.underlays += usr.AuraT
usr.underlays += usr.AuraB
usr.AuraS = 0
NOTE:Code is simlified
Ok,heres whats what:
AuraT:Customized auras top part
AuraB:Customized auras bottom part
AuraS:Aura active or not
My problem is if the user log out with the aura on,then relogs and presses Aura off,only the bottom half vanishes......any clues as to why?
-Mystic