View Single Post
  #1  
Old 07-17-2015, 09:20 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default Controlling how quickly a skill refreshes

I am trying to adjust how often you can click on the sense heading button. I think I have everything correct except one part. In ptimer.h, what is the significance to the value in the enum? Do they have to match something in the client? If so then how to I get that value for sense heading? I have made my other changes in client_packet.cpp and features.h where I have my refresh time.

Here is a snippet of what I am referring to.

Code:
enum {	//values for pTimerType
	pTimerStartAdventureTimer = 1,
	pTimerSurnameChange = 2,
	pTimerFeignDeath = 3,
	pTimerSneak = 4,
	pTimerHide = 5,
	pTimerTaunt = 6,
	pTimerInstillDoubt = 7,
	pTimerFishing = 8,
	pTimerForaging = 9,
	pTimerMend = 10,
	pTimerTracking = 11,
	pTimerSenseTraps = 12,
	pTimerDisarmTraps = 13,
	pTimerDisciplineReuseStart = 14,
	pTimerDisciplineReuseEnd = 24,
	pTimerCombatAbility = 25,
	pTimerBeggingPickPocket = 26,
Reply With Quote