Prototype of event-based skill/spell engine