18 lines
340 B
Plaintext
18 lines
340 B
Plaintext
|
/////// // /// //
|
||
|
#include "jw_wolf_script"
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
object oDM=GetPCSpeaker();
|
||
|
object oTarget=GetLocalObject(oDM,"norestarget");
|
||
|
SetLocalInt(oTarget,"iswolf",0);
|
||
|
object oWolf=GetItemPossessedBy(oTarget,"jw_wolf_item");
|
||
|
if (GetIsObjectValid(oWolf))
|
||
|
{
|
||
|
DestroyObject(oWolf);
|
||
|
}
|
||
|
removewolf(oTarget);
|
||
|
|
||
|
|
||
|
}
|