Re: [Circle] Wiz Command

From: Joshua Mentzer (galion@bga.com)
Date: 07/31/96


> I thought it might be nice to have a command called "Flux". When the wiz uses it, it restores all PC's 
> hps/mana/moves to their max. Might be a cool idea, I just wondering what other people thought, and how I would 
> go about doing it.

  Well, pretty simple, here is some psuedo code..

for (i = personinworld; <while still people>; i = next person in world) {
  i's hp = max hp
  i's mana = max mana
  i's moves = max moves
}

then do a 'gecho' of "You have been fluxed by <imm who did it>"


 -josh

+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/07/00 PST