Changed folder name.
Changed folder name.
This commit is contained in:
26
_module/nss/aq_ssring.nss
Normal file
26
_module/nss/aq_ssring.nss
Normal file
@@ -0,0 +1,26 @@
|
||||
object oTarget;
|
||||
|
||||
#include "nw_i0_tool"
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetModuleItemAcquiredBy();
|
||||
|
||||
object oItem;
|
||||
oItem = GetModuleItemAcquired();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
if (GetItemPossessedBy(oPC, "guildstone")== OBJECT_INVALID)
|
||||
{
|
||||
oTarget = GetObjectByTag("ssring");
|
||||
object oSelf = OBJECT_SELF;
|
||||
DestroyObject(oTarget, 0.0);
|
||||
DestroyObject(oSelf, 0.0);
|
||||
|
||||
RewardPartyGP(3330000, oPC, FALSE);
|
||||
|
||||
CreateItemOnObject("ssbook", oPC, 1);
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user