Lelwyr
Initiate
- ServUO Version
- Publish 58
- Ultima Expansion
- Endless Journey
Hello there!
I've read a few older posts about this problem but between reading them and just trying for myself I am stumped. I have been trying to add a secondary reward to the trainer quests in New Haven for the Gargoyle race. I've added the following code and it compiles but the quest giver no longer gives the quest. You can still train and buy from them but the quest is broken. Any help would be greatly appreciated.
I've read a few older posts about this problem but between reading them and just trying for myself I am stumped. I have been trying to add a secondary reward to the trainer quests in New Haven for the Gargoyle race. I've added the following code and it compiles but the quest giver no longer gives the quest. You can still train and buy from them but the quest is broken. Any help would be greatly appreciated.
Race condition reward:
PlayerMobile m = Owner as PlayerMobile;
if (m.Race==Race.Gargoyle)
AddReward(new BaseReward(typeof(GargishBulwarkLeggings), "Gargish Bulwark Leggings"));
else
AddReward(new BaseReward(typeof(BulwarkLeggings), 1077727));