combat hook

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 096.
Note: Core 096 is no longer officially supported.

Moderator: POL Developer

Post Reply
degree

combat hook

Post by degree »

i need to write new combat system - i want to set many things, for example chance to hit, amount of attacks during given time etc... how to do it? can somebody show me example of hook? i've tried to read about that, but i dont know every word in english and its really hard to understand, so I hope, that somebody can show me example of as short as it necessary script

respects
User avatar
tekproxy
Forum Regular
Posts: 352
Joined: Thu Apr 06, 2006 5:11 pm
Location: Nederland, Texas

Post by tekproxy »

There is an example in the distro of a combat hook. It's a system hook, and it needs to be as lean as possible since it's going to be called many times. It's quite a pain to handle everything yourself, have fun!
User avatar
Austin
Former Developer
Posts: 621
Joined: Wed Jan 25, 2006 2:30 am

Post by Austin »

^-- What Tekproxy said

You can find an example of a combat hook script here
http://svn.sourceforge.net/viewvc/pol-d ... iew=markup


It isnt finished but the general idea is there and it does work.
Post Reply