version 1.1 | | version 1.2 |
---|
| | |
| | |
if(sk_index<0) { /* bye,bye. We didn't request a valid skill */ | | if(sk_index<0) { /* bye,bye. We didn't request a valid skill */ |
#if 0 | | #if 0 |
/* this is confusing to players, get when you unweild a weapon! */ | | /* this is confusing to players, get when you unwield a weapon! */ |
new_draw_info(NDI_UNIQUE, 0,pl,"You can't use an non-existent skill!"); | | new_draw_info(NDI_UNIQUE, 0,pl,"You can't use an non-existent skill!"); |
#endif | | #endif |
return 0; | | return 0; |
| | |
CLEAR_FLAG(pl,FLAG_READY_WEAPON); | | CLEAR_FLAG(pl,FLAG_READY_WEAPON); |
fix_player(pl); | | fix_player(pl); |
if(pl->type==PLAYER) { | | if(pl->type==PLAYER) { |
new_draw_info(NDI_UNIQUE, 0,pl,"You unweild your weapon in order to attack."); | | new_draw_info(NDI_UNIQUE, 0,pl,"You unwield your weapon in order to attack."); |
esrv_update_item(UPD_FLAGS, pl, weapon); | | esrv_update_item(UPD_FLAGS, pl, weapon); |
} | | } |
break; | | break; |