• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

Item bonus rate

callmephil

Respected Member
Hey guys so here a "simple" script done for a request on another forum

Basicly you define an item to be a stats modifier like Heirlooms Or WoW's 8th Anniversary.
That Mean you can modify XP Gain (Quest & Mobs),Honor Gain, Reputation Gain. SOON Currency Gain
Everything can be modified by worldconfig.

Link :
https://gist.github.com/callmephil/9475266
Please Follow The Instruction.

Add this in Worldserver.conf :
Code:
###################################################################################################
#
#    	 Custom.Rate.ItemID
#		 Description : Define an item who's adding bonus in percentage for Reputation/Xp/Honor Gain 
#        Default:     6948 - (Hearthstone)
#

Rate.Custom.ItemID = 6948

#    Rate.Custom.Item : Value 
#    Default: 	   0 - (NULL)   
#	 Description : Every float is in percentage, That mean each 1 = 10 % 
#	 if value = 0 there is no modification.
#	 

Rate.Custom.Item.Honor = 0
Rate.Custom.Item.Rep = 0
Rate.Custom.Item.Xp = 0
#

Enjoy and say thanks(Comment).

PS : Can be probably be done in another way (Unused Spell buff or with Premium account) But atm it's a simple code for a simple use.
 
Top