View Single Post
  #1  
Old 07-19-2009, 04:34 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default Adding qglobal point

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");
  }
 }
Reply With Quote