CODE |
GIVE/<questholder/NAME/Kill da wabbit/notestring/it is wabbit season, the wabbit must die!/objective1/KILLNAMED,wabbit,1/autoreward/TRUE/rewardstring/@bag/ADD/Gold,5/> |
QUOTE |
STEP 2: (recommended but not required) To take advantage of the XmlQuestToken killtask keywords KILL and KILLNAMED, one line must be added to the OnDeath method in BaseCreature.cs as described below (note, you dont have to make this mod if you dont want to, the spawner and other items will work just fine without it, the KILL and KILLNAMED features simply wont do anything) around line 4172 of basecreature.cs change Titles.AwardKarma( ds.m_Mobile, totalKarma, true ); to Titles.AwardKarma( ds.m_Mobile, totalKarma, true ); // modification to support XmlQuest Killtasks XmlQuest.RegisterKill( this, ds.m_Mobile); |