// ##############################################################################################################################
// #
// #    SPHERE by : Menasoft ©1997-2000
// #    HomePage: http://www.sphereserver.com
// #
// #    This file is copyright Jons Collasius alias 496®, Lady Aglarthiel
// #    This file may not be used or distributed in whole or in part, in any format
// #    without express written permission from Jons Collasius.
// #
// #    ShardOwner @ Terra Mystica - Traene des Phoenix ( TM-TDP )
// #    Contact:  mailto:webmaster@metastasis.de
// #    HomePage: http://www.ultimaonline-freeshard.com | http://www.ultimaonline-freeshard.org
// #              http://www.ultimaonline-freeshard.net | http://www.ultimaonline-freeshard.de
// #              http://www.freeshard.org
// #    Boards:   http://www.vBulletin.ultimaonline-freeshard.com
// #
// ##############################################################################################################################
VERSION=0.54

[FUNCTION f_e_player_skillstart_provocation]
 IF ((<region.guarded>) || (<targ.region.guarded>))
   MESSAGE You can't provoke in a guarded area
   RETURN 1
 IF ((<region.safe>) || (<targ.region.safe>))
   MESSAGE You can't provoke in a save area
   RETURN 1
 ELSEIF ((<str>+<dex>+<int>) < (<targ.str>+<targ.dex>+<targ.int>))
   MESSAGE This creature is beyond your skill to provoke.
   RETURN 1
 ELSE
   IF ((<restest 1 i_harp_large>) || (<restest 1 i_tambourine_tas>) || (<restest 1 i_lute>) || (<restest 1 i_drum>) || (<restest 1 i_tambourine>) || (<restest 1 i_lyre>))
     RETURN 0
   ELSE
     SYSMESSAGE You need an instrument to use this fool.
     ACTION=-1
     RETURN 1
   ENDIF
 ENDIF
 RETURN 0

[FUNCTION f_e_player_skillstart_taming]
 IF (<TAMING> < <TARG.TAMING>)
   SYSMESSAGE They are too wild for you to tame them!
   RETURN 1
 ELSEIF (<TARG.FLAGS> & statf_war)
   SYSMESSAGE You can't do that while they're fighting!
   RETURN 1
 ENDIF
 RETURN 0

[FUNCTION FIXACTION]
  RETURN (<ACTION>|0D2000000)

[EOF]