/[drupal]/contributions/modules/game/README.txt
ViewVC logotype

Diff of /contributions/modules/game/README.txt

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

revision 1.6.2.5, Sat Nov 29 03:30:39 2008 UTC revision 1.6.2.6, Mon Dec 1 00:41:11 2008 UTC
# Line 1  Line 1 
1  // $Id: README.txt,v 1.6.2.4 2008/11/25 13:59:11 morbus Exp $  // $Id: README.txt,v 1.6.2.5 2008/11/29 03:30:39 morbus Exp $
2    
3  CONTENTS OF THIS FILE  CONTENTS OF THIS FILE
4  ---------------------  ---------------------
# Line 73  The following API hooks return informati Line 73  The following API hooks return informati
73    
74  The following API hooks receive the entire game $state by reference:  The following API hooks receive the entire game $state by reference:
75    
76      hook_game_battle_attack_start_alter(&$state):
77        The attacking mob has been chosen, but no attack roll has been made yet.
78        In Game core, this is where the AI kicks in to determine target user,
79        target mob, and the attacker's attack action.
80    
81    hook_game_battle_attack_roll_alter(&$state):    hook_game_battle_attack_roll_alter(&$state):
82      Invoked after an attack roll was made, but before any hit determination.      Invoked after an attack roll was made, but before any hit determination.
83      Primarily allows modules to influence the attack roll value before any      Primarily allows modules to influence the attack roll value before any

Legend:
Removed from v.1.6.2.5  
changed lines
  Added in v.1.6.2.6

  ViewVC Help
Powered by ViewVC 1.1.2