Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AMCD(do_user_actions)
- {
- char arg1[256];
- one_argument(argument, arg1, sizeof(arg1));
- if (*arg1)
- {
- switch(LOWER(*arg1))
- {
- case 'p': // poly
- {
- if (!(ch->IsPolymorphed()))
- return;
- ch->SetPolymorph(0);
- ch->RemoveAffect(AFFECT_POLYMORPH);
- }
- break;
- case 'e': // exp
- {
- }
- break;
- default;
- ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("±×·± ¸í·Éľî´Â ľř˝Ŕ´Ď´Ů"));
- break;
- }
- }
- else
- ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("±×·± ¸í·Éľî´Â ľř˝Ŕ´Ď´Ů"));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement