Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Trials Script - Dread
- sub EVENT_COMBAT
- {
- if ($combat_state == 1)
- {
- quest::emote("Enraged Dread begins to channel healing energy.");
- quest::settimer("life",20);
- }
- if ($combat_state == 0)
- {
- quest::stoptimer("life");
- }
- }
- sub EVENT_TIMER
- {
- if ($timer eq "life")
- {
- my $cazic = $entity_list->GetMobByNpcID(304022);
- if ($cazic)
- {
- my $cazichp = $cazic->GetHP();
- $cazic->SetHP($cazichp + 100000);
- }
- }
- }
- sub EVENT_KILLED_MERIT
- {
- $client->AddCrystals(0, 5);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement