Okay, I read over the code on this and I found out the following. You can freeze another person of the same level and you can only use the thaw command if you are an imm and acroding to circlemud 3.0 pl14 imms who are frozen arena't really frozen, they just have the flag but whenever they try to do something it works even when frozen...... So it really doesn't matter, the if check I would take that out because it's saying that you can't thaw yourself but another person of the same level can. And there is really no point in freezeing a imm. If you want to do something to a immort or something use the jail commands and setup no magic and if you made a genaric function of recall put in a no recall flag, and some strat room parmaters. Invincibill wrote: > > i dont have the code in front of me at the moment, but i'm pretty sure > that a character with the frozen flag set cannot perform any commands at > all. so you dont need the ifcheck there. it doesnt matter who froze > them, because the function will never get called. unless changes have > been made since pl12 to change that. > > you might want to look at that. > > Modem Burn wrote: > > > > No offence but that code from what I know is useless because unless you > > change SCMD_FREEZE you cannot freeze a imm of the same level. So only a > > person of higher level can unfreeze wich means you couldn't that yourself > > anyways. And also I don't think freezeing imms actually works. I've tried it > > on mine and it did nothin. > > > > >Here's a real quick fix I made up for bpl14... It doesn't allow a > > >character to thaw themselves, useful if you freeze a person of the same > > >level... Just add the if (ch == vict) chunk below and it should prevent > > >that from happening. > > > > > > case SCMD_THAW: > > > if (!PLR_FLAGGED(vict, PLR_FROZEN)) { > > > send_to_char("Sorry, your victim is not morbidly encased in ice > > >at the moment.\r\n", ch); > > > return; > > > } > > > if (ch == vict){ > > > send_to_char("Hah! Nice try....", ch); > > > return; > > > } > > > > > >-Phillip > > > > > > > +------------------------------------------------------------+ > > | Ensure that you have read the CircleMUD Mailing List FAQ: | > > | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | > > +------------------------------------------------------------+ +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST