#recover
Ok, got tired of my 100 monk always killing his stamina wasting monstas, so I have taking bits and pieces and some of my own ideas to create a new command. I looked at the #mana command and saw it wasnt always refilling mana all the way, but i kept looking and found there is already an alg. to calc how much your max mana is, so i inserted it into the set mana command, that way you always get your max mana returned to you. the #heal command is now blended in, and i added a line of code to cast invigor on yourself thus refilling your stamina. All of this in one easy to use command :)
else if (strcasecmp(sep.arg[0], "#recover") == 0 && (admin >=10)) { if (target == 0) { this->SetMana(CalcMaxMana()); this->Heal(); SpellFinished(222, 0, 10, 0); } else { target->SetMana(CalcMaxMana()); target->Heal(); SpellFinished(222, target->GetID(), 10, 0); } } |
cool :D
|
this will most likely not be merged
|
oh ok :(
|
can always compile it in yourself though :cool:
|
not meant to be harsh, but I think image has already decided when luc tried to get in #buff that there will not be a general BUFF to god like command =p
|
Once I have completed my spdat editor there will be no need for a command, could create the spell, guahaha! ;)
|
Lol sounds great Baron!!!
|
YOU WILL be banned on the spot if you distrubte spdat FILES. editor is fine.
|
Thanks for the information Yoda. :cool:
|
hehehe, hurry up with that spdat editor!
*creates 50000 HP/AC BUFF* hmm GM Spell events in which you can give out special spells for winning, like summon 2x mage pets if a mage were to win an event. |
Yoda, My code isnt a god-like command, it just takes all of your commands + the invigorate spell and just makes a HP/Mana/Sta refiller. It doesnt buff your stats up super high.
|
The real reason is more for gm's, its nice to be able to have seperate commands so if someone were to have their mana restored, the gm can do just that and not more... If your too lazy to type them seperately, too bad...
|
can always make ingame socials with them :D
|
ah true
|
All times are GMT -4. The time now is 01:23 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.