| 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 |
--------------------- |
--------------------- |
| 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 |