Extended Costs – MaNGOS stuff

Kategorie: MaNGOS, Tutorials     Autor: lin0x     Datum: Freitag 24 April 2009     Uhrzeit: 22:20          

When you add an item to a vendor (we are talking about MaNGOS here, an OpenSource World of Warcraft server software ), you can specify some paramters. One of them is called “extended costs” and can be used for additional requirements.

For example, you can define that a player needs some honor and arena points in order to be able to buy the item. Unfortunately you can not just insert a numeric value for the “extended costs”, in fact you need to to insert a sort of template id.  For example, if you use “2559″ the item costs 49600 honor points. Until today I did not find any table within the database where I can view those “extended costs templates” … so I started to guess some numbers in order to find some honor only values.

This is what I found:

2570 (value for extended cost) = 50 000 honor points

2569 = 60 000 points

2561 = 38 000 points

2560 = 31600 points

2559 = 49 600 points

 

So if you add an item with .npc additem <maxcount> <incrtime> <extended costs> (or within a webinterface) make sure you do it like this: .npc additem 0 0 2559 (e.g.)


Keine Kommentare »

Noch keine Kommentare.

RSS-Feed für Kommentare zu diesem Artikel. TrackBack URI

Einen Kommentar hinterlassen

You must be logged in to post a comment.

Copyright © 2010 geekdiscussions.org. WP Theme created by Web Top.