Initial upload
Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
This commit is contained in:
17
_module/nss/jw_remove_wolf.nss
Normal file
17
_module/nss/jw_remove_wolf.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
/////// // /// //
|
||||
#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);
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user