Author: Aeros (aeros@chyrellos.co.za) May 29, 2006. (With help from MuadDib)
Version: 1.0
Core: 096
Bugs: None
Combat Book Packethook [0xD7]
Moderator: POL Developer
Combat Book Packethook [0xD7]
- Attachments
-
- combatBook.zip
- The combat book packet hook. Please see the readme.txt for more information.
- (3.33 KiB) Downloaded 659 times
Please note that I did not add code to check whether the ability may be activated (in case you want to limit it somehow, we dont limit that on our shard, and neither does OSI), or the code to actually use these abilities. All I gave you in that package was the basic hook to actually make those abilities work.
You'll notice that I'm setting a CProp in the hook. You will use this CProp in your combat code (in the hitscripts, most likely) to actually use the ability. No further changes should be necessary in the hook code, though.
You'll notice that I'm setting a CProp in the hook. You will use this CProp in your combat code (in the hitscripts, most likely) to actually use the ability. No further changes should be necessary in the hook code, though.
Re: Combat Book Packethook [0xD7]
Somebody tell me please, how it works?
I read that there is a CProp.
Is someone have an example of code? I'll be very thankful!
With best regards!
I read that there is a CProp.
Is someone have an example of code? I'll be very thankful!
With best regards!
Re: Combat Book Packethook [0xD7]
This code really doesn't do anything other than setting a prop with the ability ID number. You have to change your own hitscripts to read the ID number, act on it however you want to, then delete the prop which the inc file has the function to do.