Quote:
Originally Posted by m0oni9
Quote:
Originally Posted by Cisyouc
Also,
Quote:
Originally Posted by Deimos
if($hppercent) and or if($hpamount)
|
could be easily written. I just came back from a party so I dont have the energy to go through it and write it, but its easily possible.
|
sandy was doing something with HP events a while back. At a glance, it looks like there is an EVENT_HP event. There is also a variable named $hpratio. I think that you have to call setnexthpevent(hp) in your perl script (in EVENT_SPAWN maybe?), and that will call EVENT_HP at the specified hp ratio. Not sure on this. Maybe it is in the docs.
|
If Im not mistaken thats for the mobs hps not the clients.
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
|