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 someone pls help me get this weapon with effect working right
Author Message
Admin Drew
Apprentice
*

Posts: 48
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jun 2013
Reputation: 0



Post: #1
Can someone pls help me get this weapon with effect working right
Hi all.. it's been a little while since I scripted and am using sphere 51a now versus TUS 48e so the scripting is a little different. I am just trying to make a magic weapon that will make a spell effect when it attacks a monster and also send a sys message when equipped. I am guessing I got the trigger tags or something wrong and don't even know if ONTRIGGER=Attack is a correct tag, so pls give me a hand with this script if you can. I would really appreciate it!! Also, if I wanted the effect to add a little more damage how would it look?
Here it is and try not to laugh too hard lol(=
Thanks guys!!

Magic Sword With Effect & Message- Not Working
[XXXX]
ID=29bb
TYPE=13
DAM=15-30
COLOR=00
HITPOINTS=31-90
SPEED=40
SKILL=Swordsmanship
REQSTR=10
TWOHANDS=N
ONTRIGGER=EQUIP
SRC.SYSMESSAGE You Feel Magic In The Blade
ONTRIGGER=ATTACK
SRC.EFFECT=3,03728,6,15,1
(This post was last modified: 06-24-2013 07:36 PM by Admin Drew.)
06-24-2013 07:34 PM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Can someone pls help me get this weapon with effect working right
This is the wrong board... moving to 51a

[Image: 2nis46r.jpg]
06-24-2013 09:15 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Mulambo
Apprentice
*

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

Dark Paradise

Post: #3
RE: Can someone pls help me get this weapon with effect working right
1) ontrigger=damage
2) u have to add some dmg like SRC.DAMAGE=20-30

so

Code:
ONTRIGGER=DAMAGE
    SRC.EFFECT=your_effect
    SRC.DAMAGE=20-30 // or anything you want (might be event SRC.DAMAGE=(<CONT.STR>/3)

Wars come and go, but my soldiers stay ethernal.

I broke the dam

Czech Shard Dark Paradise
06-25-2013 07:52 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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