PK Gang
Summary:
PK Gang v1.0b
4 riders hunter-killers. One of them is leader, one warrior and two others choosen randomly and can be warrior,archer or mage.
5% chance in one second for leader to choose target player within 200 tiles (you can alter this in hkgang.cs by editing maxRange). After selecting the target, the gang trying to pursuit target. If player is killed the gang will ambush in this place. After some time the gang try to return to the home location. If the Leader dies, all the gang members will lose control. If all members of the gang is dead, the spawner-item removes self.
Tested on RC 1.0.
ps This is my first script for runuo,
feedbacks,suggestions and fixes are strongly welcomed.
History:
1.0b
* small fix according ArteGordon post in this thread
1.0
* fixed crash when [rebuildcategorization used, (thanks to the tbird !)
1.0beta
* for killing member of the gang the recent damager player awarded with justice point(s)
0.95
* removed autodispel from leader, added selective dispel ability with chance calculation.
0.9
* added Archer and Mage PK mobiles
* some mionor changes
* some changes according the posts
0.6
Small fixes according the post of MarkC777 and KillerBeeZ:
* horses now deleted when the gang member rider is killed
* make the script beta36 friendly
* changed chance to get magic weapon from the non-leader gang members to 50%
* put waypoint clear procedure at the selfremoving code to ensure waypoint always deleted.
0.5
Initial release
Installation:
Just unzip to the custom folder.
To add it type
[add hkgangspawn
or make hkgangspawn spawns from your favorite spawner.
Summary:
PK Gang v1.0b
4 riders hunter-killers. One of them is leader, one warrior and two others choosen randomly and can be warrior,archer or mage.
5% chance in one second for leader to choose target player within 200 tiles (you can alter this in hkgang.cs by editing maxRange). After selecting the target, the gang trying to pursuit target. If player is killed the gang will ambush in this place. After some time the gang try to return to the home location. If the Leader dies, all the gang members will lose control. If all members of the gang is dead, the spawner-item removes self.
Tested on RC 1.0.
ps This is my first script for runuo,
feedbacks,suggestions and fixes are strongly welcomed.
History:
1.0b
* small fix according ArteGordon post in this thread
1.0
* fixed crash when [rebuildcategorization used, (thanks to the tbird !)
1.0beta
* for killing member of the gang the recent damager player awarded with justice point(s)
0.95
* removed autodispel from leader, added selective dispel ability with chance calculation.
0.9
* added Archer and Mage PK mobiles
* some mionor changes
* some changes according the posts
0.6
Small fixes according the post of MarkC777 and KillerBeeZ:
* horses now deleted when the gang member rider is killed
* make the script beta36 friendly
* changed chance to get magic weapon from the non-leader gang members to 50%
* put waypoint clear procedure at the selfremoving code to ensure waypoint always deleted.
0.5
Initial release
Installation:
Just unzip to the custom folder.
To add it type
[add hkgangspawn
or make hkgangspawn spawns from your favorite spawner.