servuo/Scripts/Quests/ATangledWeb.cs
Dexter eb5e96c146 - Added missing rewards to Fountain of Fortune
- Added Blackthorn wearables to tokuno pigment List
- Fixed Abyss Reaver, per EA
- Added Void Evolution abilities to Void Creatures
- Added Bloodworm anemic ability
- Added Buff Icons for bloodworm and rotworm abilities
- Champions will be teleported back to the alter if they go over 250 tiles from the alter
- fixed condiut crash
- fixed shadowguard boss crash
- shadowguard party members must now coplete each room to do the roof
2017-02-02 20:57:50 -07:00

104 lines
No EOL
3.1 KiB
C#
Raw Permalink Blame History

using System;
using Server.Items;
using Server.Mobiles;
namespace Server.Engines.Quests
{
public class ATangledWeb : BaseQuest
{
public ATangledWeb()
: base()
{
this.AddObjective(new BloodCreaturesObjective(typeof(IBloodCreature), "blood creatures", 12));
this.AddReward(new BaseReward(typeof(LargeTreasureBag), 1072706));
}
/*A Tangled Web*/
public override object Title
{
get
{
return 1095032;
}
}
/*Kill Bloodworms and Blood Elementals to fill Jaacar's barrel.
Return to Jaacar with the filled barrel for your reward
Will friend help Jaacar with small errand for big friend?
Jaacar need big barrel full of blood. Can friend do that?
Best place to get blood is blood elementals and bloodworms nearby.
If you do, Jaacar give to you special present! More special than favorite recipe!*/
public override object Description
{
get
{
return 1095034;
}
}
/*Filling barrel not gross! Filling barrel helps friend! You think and then come back and help. Yes, friend is big help!*/
public override object Refuse
{
get
{
return 1095035;
}
}
/*Jaacar need barrel filled all the way to the top! Good friend, go fill the barrel for Jaacar.*/
public override object Uncomplete
{
get
{
return 1095036;
}
}
public override void OnCompleted()
{
this.Owner.SendLocalizedMessage(1095038, null, 0x23); // Jaacar's barrel is completely full. Return to Jaacar for your reward.
this.Owner.PlaySound(this.CompleteSound);
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write((int)0); // version
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
private class BloodCreaturesObjective : SlayObjective
{
public BloodCreaturesObjective(Type creature, string name, int amount)
: base(creature, name, amount)
{
}
public override void OnKill(Mobile killed)
{
base.OnKill(killed);
if (!this.Completed)
this.Quest.Owner.SendLocalizedMessage(1095037); // Blood from the creature goes into Jaacar<61>s barrel.
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write((int)0); // version
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}
}