Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 034-1.gat,118,59,0|script|#Ambush0|45,1,1,{
- set $@AmbushVictimID, getcharid(3);
- donpcevent "#Ambush1::OnAmbush";
- end;
- }
- 034-1.gat,119,60,0|script|#Ambush1|45,{
- end;
- OnAmbush:
- attachrid($@AmbushVictimID);
- set @wolvern_amount, 10; // has to be same value as in birrod.txt
- set @Wolvern_Spawn, 4;
- set $@Wolvern_Global_Amount, $@Wolvern_Global_Amount + @Wolvern_Spawn;
- message strcharinfo(0), "You feel nervous.";
- areamonster "034-1.gat", 113, 55, 122, 63, "", 1089, @Wolvern_Spawn, "#Ambush1::OnWolvernDeath";
- end;
- OnWolvernDeath:
- set @MobID, 1089; // TODO: adapt
- set wolvern_count, wolvern_count + 1;
- message strcharinfo(0), "wolvern_count" + wolvern_count;
- if (wolvern_count >= @wolvern_amount)
- message strcharinfo(0), "You've hunted down a lot of Wolverns. Maybe you should talk to Birrod?";
- end;
- }
Add Comment
Please, Sign In to add comment