-
Notifications
You must be signed in to change notification settings - Fork 0
Home
pushreset edited this page May 30, 2011
·
3 revisions
Welcome to the CyCore wiki!
Procédures pour tests
//initialize currentTime
var currentTime = new TimeObject(dayOfWeek, hourOfDay);
//initialize mission
var domains= {magic: 3, combat:4, hacking: 2, contact: 2};
var mission = new MissionObject(domains);
mission.SetTimeOut(2,8);
mission.SetTimeEvent(1,4,rollDice);
mission.SetTimeEvent(1,12,rollDice);
//initialize team
var team = new TeamObject();
team.addMember('the magot', 4, 1, 0, 3,10);
team.addMember('the warrior', 0, 5, 0, 2,10);
team.addMember('the face', 0, 2, 2, 4,10);
team.addMember('the hacker', 0, 0, 6, 2,10);