I am looking to see if someone has successfully combined HoneyBadgers's Alter Tokens (v1.1) with any of the autodeath/bloodied scripts out there... currently I am working with this one (author unknown --- Sorry) on("change:graphic", function(obj) {
if(obj.get("bar1_max") === "") return;
if(obj.get("bar1_value") <= obj.get("bar1_max") / 2) {
obj.set({
status_redmarker: true
});
}
else{
obj.set({
status_redmarker: false
});
}
if(obj.get("bar1_value") <= 0) {
obj.set({
status_dead: true
});
}
else {
obj.set({
status_dead: false
});
}
});