/[drupal]/contributions/modules/rpg/rulesets/rpg_mudslinger/rpg_mudslinger.module
ViewVC logotype

Diff of /contributions/modules/rpg/rulesets/rpg_mudslinger/rpg_mudslinger.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.6, Sat Mar 8 00:31:04 2008 UTC revision 1.7, Sat Apr 26 01:03:25 2008 UTC
# Line 1  Line 1 
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
# Line 178  function _rpg_mudslinger_attack($pc, $ta Line 178  function _rpg_mudslinger_attack($pc, $ta
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  }  }

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.2