Last active
January 18, 2023 05:29
-
-
Save nazwadi/6b7e7bd2acdb74c20d8c7af34d168445 to your computer and use it in GitHub Desktop.
Create soulbound keys (EQEMU scripts)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# place this script in quests/global/global_player.pl | |
sub EVENT_DEATH_COMPLETE { | |
@keyIds = (20883); | |
my $corpse = $entity_list->GetCorpseByOwner($client); | |
foreach(@keyIds) { | |
if ($corpse->HasItem($_)) { | |
$corpse->RemoveItemByID($_); | |
quest::summonitem($_); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment