I am just trying to make something where if a monster dies and that person's qglobals are in the right range, it will increase it by 1. I check to make sure the monster has qglobals set to 1. This quest doesn't seem to do anything as the value just stays the same
Code:
sub EVENT_KILLED_MERIT{
if ($qglobals{mmed} >=3 && $qglobals{mmed}) <=6){
quest::setglobal("mmed", $qglobals{mmed}+1, 5, "F");
}
}