Remade Dungeon Level One: Central
Remade Dungeon Level One: Central. Added Didiamus' creature overrides. Full compile.
This commit is contained in:
16
_module/nss/at_gotplaycards.nss
Normal file
16
_module/nss/at_gotplaycards.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
void main()
|
||||
{
|
||||
object oSelf = OBJECT_SELF;
|
||||
|
||||
// Get the PC who is in this conversation.
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
effect eDeath = EffectDeath(FALSE, FALSE);
|
||||
|
||||
// Give 50 experience to the PC.
|
||||
GiveXPToCreature(oPC, 50);
|
||||
CreateItemOnObject("itm_deckofcards", oPC);
|
||||
|
||||
// Destroy an object (not fully effective until this script ends).
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT, eDeath, oSelf, 0.0f);
|
||||
}
|
Reference in New Issue
Block a user