generated from Jaysyn/ModuleTemplate
18 lines
591 B
Plaintext
18 lines
591 B
Plaintext
/*****************************************************************************
|
|
PC Subdual Damage
|
|
By Rocc
|
|
Version 0.9
|
|
October 26, 2002
|
|
|
|
Allows for PC subdual in PvP combat.
|
|
******************************************************************************/
|
|
|
|
// Subdual OnClientEnter script
|
|
// If you already have an OnClientEnter script, just copy the following line
|
|
// there right below main()'s opening curly bracket.
|
|
void main()
|
|
{
|
|
if(!GetIsObjectValid(GetItemPossessedBy(GetEnteringObject(),"SubdualModeTog")))
|
|
CreateItemOnObject("subdualmodetog",GetEnteringObject());
|
|
}
|