The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't use skills or attacking
Author Message
dagger4k
Journeyman
*

Posts: 194
Likes Given: 1
Likes Received: 12 in 12 posts
Joined: Mar 2012
Reputation: 0



Post: #4
RE: Can't use skills or attacking
this is from the original

Code:
[itemdef i_et_ridgeback]
name = Ethereal Ridgeback
id = 01964
tdata3 = c_ridge
type = T_EQ_HORSE
layer = 25

on=@create
    color = 0ffff

on=@equip
    link = <src.uid>
    IF (0<TAG.color>)
        COLOR = <TAG.color>
    ENDIF

on=@dclick
    remove
    src.findid.i_et_el.remove

    return 1

on=@unequip
    obj = <src.tag.uid_Ethereal>
    obj.color = <QVAL (0<obj.TAG.color>) ? <obj.TAG.color> : 0481>
    obj.cont = <src.findlayer(layer_pack).uid>
    obj.update

on=@timer
    timer = 255

[chardef c_ridge]
id = c_ridgeback

on=@create
    color=0ffff

    str = 100
    dex = 100
    int = 100
    FLAGS = 08

on=@click
    remove
    return 1

on=@npcrestock
    remove
    return 1

on=@skillstart
    remove
    return 1

[itemdef i_et_ridg]
name = Ethereal Ridgeback
id = i_pet_ridgeback
type = t_normal

on=@create
    color = 0481
    attr = 14


on=@dclick
    if ( <src.f_isdonator> )
        if (<src.flags>&statf_polymorph)
            src.sysmessage You cannot ride this while polymorped.
            return 1
        elseif (<src.isevent.e_duel>)
            src.sysmessage You can't use this during a duel!
            return 1
        endif

        if !(<src.findlayer.25.uid>)
            src.newitem i_et_ridgeback
            src.act.more1=c_ridge
            src.act.more2= <SRC.UID>
            src.act.timer = -1
            src.act.equip
            src.update

            src.tag.uid_Ethereal = <uid>
            color = 079c
            cont = 0400091bf
            update
            return 1
        else
            src.sysmessage You are already mounted!
            return 1
        endif
    else
        src.sysmessage Your donations have run out.

        return 1
    endif
01-09-2014 10:37 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Can't use skills or attacking - Oxtar - 01-09-2014, 01:33 PM
RE: Can't use skills or attacking - Oxtar - 01-09-2014, 10:00 PM
RE: Can't use skills or attacking - dagger4k - 01-09-2014 10:37 PM
RE: Can't use skills or attacking - Oxtar - 01-10-2014, 12:18 PM
RE: Can't use skills or attacking - Oxtar - 01-10-2014, 10:10 PM
RE: Can't use skills or attacking - Oxtar - 01-11-2014, 09:15 AM
RE: Can't use skills or attacking - Ben - 01-12-2014, 02:43 AM
RE: Can't use skills or attacking - XuN - 01-12-2014, 03:37 AM

Forum Jump:


User(s) browsing this thread: 5 Guest(s)