1 | /* |
1 | /* |
2 | * static char *rcsid_skills_c = |
2 | * static char *rcsid_skills_c = |
3 | * "$Id: skills.C,v 1.4 2006/08/27 15:24:22 root Exp $"; |
3 | * "$Id: skills.C,v 1.5 2006/08/29 05:03:55 root Exp $"; |
4 | */ |
4 | */ |
5 | /* |
5 | /* |
6 | CrossFire, A Multiplayer game for X-windows |
6 | CrossFire, A Multiplayer game for X-windows |
7 | |
7 | |
8 | Copyright (C) 2003 Mark Wedel & Crossfire Development Team |
8 | Copyright (C) 2003 Mark Wedel & Crossfire Development Team |
… | |
… | |
1692 | #if 0 |
1692 | #if 0 |
1693 | /* need to put in a good sound for this */ |
1693 | /* need to put in a good sound for this */ |
1694 | play_sound_map(op->map, op->x, op->y, SOUND_THROW_OBJ); |
1694 | play_sound_map(op->map, op->x, op->y, SOUND_THROW_OBJ); |
1695 | #endif |
1695 | #endif |
1696 | /* Lauwenmark - Now we can call the associated script_throw event (if any) */ |
1696 | /* Lauwenmark - Now we can call the associated script_throw event (if any) */ |
1697 | execute_event(throw_ob, EVENT_THROW,op,NULL,NULL,SCRIPT_FIX_ACTIVATOR); |
1697 | INVOKE_OBJECT (THROW, throw_ob, ARG_OBJECT (op)); |
1698 | #ifdef DEBUG_THROW |
1698 | #ifdef DEBUG_THROW |
1699 | LOG(llevDebug," pause_f=%d \n",pause_f); |
1699 | LOG(llevDebug," pause_f=%d \n",pause_f); |
1700 | LOG(llevDebug," %s stats: wc=%d dam=%d dist=%d spd=%f break=%d\n", |
1700 | LOG(llevDebug," %s stats: wc=%d dam=%d dist=%d spd=%f break=%d\n", |
1701 | throw_ob->name,throw_ob->stats.wc,throw_ob->stats.dam, |
1701 | throw_ob->name,throw_ob->stats.wc,throw_ob->stats.dam, |
1702 | throw_ob->last_sp,throw_ob->speed,throw_ob->stats.food); |
1702 | throw_ob->last_sp,throw_ob->speed,throw_ob->stats.food); |