| 1 |
<?php |
<?php |
| 2 |
// $Id: rpg_mudslinger.module,v 1.4 2008/02/10 03:32:08 aaron Exp $ |
// $Id: rpg_mudslinger.module,v 1.6 2008/03/08 00:31:04 aaron Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 178 |
'who' => $pc, |
'who' => $pc, |
| 179 |
'target' => $target, |
'target' => $target, |
| 180 |
'what' => $what, |
'what' => $what, |
| 181 |
);drupal_set_message('result: ' . $result); |
); |
| 182 |
|
// TODO: allow variable or access to see results maybe, and build into dice probably |
| 183 |
|
if (user_access('administer rpg')) { |
| 184 |
|
drupal_set_message('result: ' . $result); |
| 185 |
|
} |
| 186 |
rpg_message($message); |
rpg_message($message); |
| 187 |
return $result; |
return $result; |
| 188 |
} |
} |