fr00z
Members-
Posts
4 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
fr00z's Achievements
Newbie (1/3)
0
Reputation
-
BUMP please!
-
More exactly .... ? Chat.cpp, chat.h, chathandler.cpp... ?
-
Hello, i would like to ask for your help at building a patch having these options: a player <= level 15 can not speak on any channel, for avoiding the WTS, WTT messages, etc. //Characters from level 1-10 are not affected by resurrection sickness. //Characters from level 11-19 will suffer from one minute of sickness //for each level they are above 10. //Characters level 20 and up suffer from ten minutes of sickness. int32 startLevel = sWorld.getConfig(CONFIG_INT32_DEATH_SICKNESS_LEVEL); if(int32(getLevel()) >= startLevel) { // set resurrection sickness CastSpell(this,SPELL_ID_PASSIVE_RESURRECTION_SICKNESS,true); // not full duration if(int32(getLevel()) < startLevel+9) { int32 delta = (int32(getLevel()) - startLevel + 1)*MINUTE; for(int i = 0; i < MAX_EFFECT_INDEX; ++i) { if(Aura* Aur = GetAura(SPELL_ID_PASSIVE_RESURRECTION_SICKNESS,SpellEffectIndex(i))) { Aur->SetAuraDuration(delta*IN_MILISECONDS); Aur->SendAuraUpdate(false); } } } } } The upper text is similiar to this patch, for lvl 1-10 no sickness, etc (just that i want 1-15 no speaking in global ) This code can be a good example for building this patch, do u guys can help me? Might be the problem in mangosd.conf?
-
This patch works only for 3.2.2a, do u have any clue what needs to be changed to work on 3.3.0.a ?
Contact Us
To contact us
click here
You can also email us at [email protected]
Privacy Policy | Terms & Conditions
You can also email us at [email protected]
Privacy Policy | Terms & Conditions
Copyright © getMaNGOS. All rights Reserved.
This website is in no way associated with or endorsed by Blizzard Entertainment®
This website is in no way associated with or endorsed by Blizzard Entertainment®