summaryrefslogblamecommitdiff
path: root/world/map/npc/functions/global_event_handler.txt
blob: 0b691e45630b164a560f01c96843fa8329952cf8 (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                          
                                    


        
               



                              
                                                                              


                

                                                                       


                                                                  
                                                                    

        
// This is the global event dispatcher
// Do not add code to this file. Please only add callfuncs
//
// Author: meko

017-9,0,0,0|script|#GlobalHandler|-1
{
    end;

OnPCLoginEvent:
    callfunc "ClearVariables";
    end;

OnPCKillEvent:
    callfunc "elanore_decrease_exp"; // decrease heal exp for doing bad things
    end;

OnPCKilledEvent:
    callfunc "fightclub_event_killed"; // this is used by the 1v1 arena
    end;

OnPCDieEvent:
    callfunc "fightclub_GoBack"; // this used by the battle master
    callfunc "fightclub_event_die"; // this is used by the 1v1 arena
    end;
}