~armagetronad-ap/armagetronad/BattleMania

« back to all changes in this revision

Viewing changes to src/engine/team.php

  • Committer: zodiacsohma1 at gmail
  • Date: 2013-12-20 06:57:24 UTC
  • Revision ID: zodiacsohma1@gmail.com-20131220065724-orc5l03scly1zc1n
Added ladderlog.txt for testing.
Added test.php for offline testing purposes.
Added new records to /data/*
Added learnAttack()  and level program to -stats.

Removed update_active_data() since there is no use in keeping it around.
Started making an attack manager so users can learn/change/remove their learnt attacks.
Updated game config settings.

Fixed spawnObject() in zone.php.
Fixed PLAYER_MESSAGE by adding slashes to the message string.
Fixed records output and input of attack names they learnt.

Show diffs side-by-side

added added

removed removed

Lines of Context:
186
186
 
187
187
            debugExecute("0xff99ffRenamed Team... 0x00ffff".$oldName." 0xffdd00to 0x00ffff".$team);
188
188
        }
189
 
        else
190
 
        {
191
 
            MyErrorHandler(E_CORE_ERROR, "Team, ".$BASE->pieces[1]." was not found", __FILE__, 165);
192
 
        }
193
 
    }
194
 
    else
195
 
    {
196
 
        MyErrorHandler(E_CORE_ERROR, "Team, ".$BASE->pieces[1]." was not found", __FILE__, 162);
197
189
    }
198
190
}
199
191
 
208
200
        debugExecute("0xff9922Destroyed Team... 0x00ffff".$team);
209
201
        removeTeam($team);
210
202
    }
211
 
    else
212
 
    {
213
 
        MyErrorHandler(E_CORE_ERROR, "Team, ".$BASE->pieces[1]." was not found", __FILE__, 204);
214
 
    }
215
203
}
216
204
 
217
205
//!< Team added player
228
216
 
229
217
        debugExecute("0xff99ffAdded Player 0x00ffff".$player." 0xffdd00to 0xff99ffTeam 0x00ffff".$team);
230
218
    }
231
 
    else
232
 
    {
233
 
        MyErrorHandler(E_CORE_ERROR, "Team, ".$BASE->pieces[1].", or Player, ".$BASE->pieces[2]." were not found", __FILE__, 224);
234
 
    }
235
219
}
236
220
?>
 
 
b'\\ No newline at end of file'