PDA

View Full Version : Controlling how quickly a skill refreshes


provocating
07-17-2015, 09:20 PM
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.

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,

Noport
07-17-2015, 10:41 PM
I made a hot key sense heading evertime i used the forward button :) enchanters had a spell called true north.

provocating
07-17-2015, 10:45 PM
Oh yeah I know. But when you fail, you can spam it because the button has no refresh time.

Noport
07-17-2015, 11:44 PM
modifier, (value * modifier //Check the disc timer pTimerType DiscTimer , SE_SkillSenseHeading=200