Page 1 of 1

HP Modify

Posted: Mon Jun 27, 2011 6:05 pm
by goncafa
Hello All

Is there any command to change the amount of HP a Raid?

I need do this without restart server.

Re: HP Modify

Posted: Mon Jun 27, 2011 7:15 pm
by sam.jr
NPC reload?

Re: HP Modify

Posted: Mon Jun 27, 2011 7:17 pm
by Flashy
sam.jr wrote:NPC reload?

better use //heal for full recover hp

Re: HP Modify

Posted: Mon Jun 27, 2011 10:21 pm
by goncafa
Flashy wrote:
sam.jr wrote:NPC reload?

better use //heal for full recover hp
But i need set one Raid with less HP becouse last nigth we have a problem while players were killing raid an i need set raid with HP amount like after the problem.

Re: HP Modify

Posted: Mon Jun 27, 2011 11:12 pm
by MELERIX
you can use smt like...

UPDATE `raidboss_spawnlist` SET currentHp=(currentHp*XX) WHERE boss_id=XXXX;

so in XX you can use values like...

0.9 = raidboss with 90% of his HP
0.8 = raidboss with 80% of his HP
etc

and for XXXX the id of the raid you want to update.

and ofc you need to do this with server offline :P