roll.txt

来自「Lachesis an IRCRPG combat engine written」· 文本 代码 · 共 25 行

TXT
25
字号
Dice roller moduleThis module is part of RPGServ.void Cmd_roll_Init();	Lachesis only: this is the function used by modinit.lst when this		       module is part of the build - calls Cmd_Allocvoid Cmd_Roll_Root(void *, int, const char *);	Handler for the roll command. In RPGServ, if ALLOW_ANY_TO_ROLL is	defined, this may be invoked with a tracking ticket (i.e.	auth == CMD_AUTH_NONE)	Format is ROLL <count>d<sides>[+/-<value>]	Examples: 4d6 generates and totals 4 numbers from 1 to 6		  1d20+5 generates a number from 6 to 25		  1d5-1 generates a number from 0 to 4void Cmd_WRoll_Root(void *, int, const char *);	Handler for the wroll command. In RPGServ, if ALLOW_ANY_TO_ROLL is	defined, this may be invoked with a tracking ticket (i.e.	auth == CMD_AUTH_NONE)	Format is WROLL <count>-<threshold>	Examples: 6-4 rolls 6 with a difficulty of 4		  3-8 rolls 3 with a difficulty of 8@(#) $Id: roll.txt,v 1.1.1.1 2004/01/16 07:28:15 lachesis Exp $

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?