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
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Weapon using mana + magic animation
Author Message
GHelmet
Apprentice
*

Posts: 11
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2014
Reputation: 0



Post: #1
Weapon using mana + magic animation
Hello, ive been working on a magic scepter that works like a bow but use mana. After i have created a new skills and placed it on him this is where i am.

[ITEMDEF i_test_scepter]
ID=i_scepter
NAME=Fire Scepter
//TYPE=t_weapon_xbow
TYPE=t_weapon_sword
RANGE=1,10
DAMFIRE=10
//SKILL=Archery
SKILL=Magic
TWOHANDS=N
WEIGHT=8
SPEED=20
VALUE=190
TAG.OVERRIDE.SOUND_HIT=snd_SPELL_FIREBALL
TAG.OVERRIDE.SOUND_MISS=snd_SPELL_FIREBALL


CATEGORY=Desolation - Test Mages
SUBSECTION=Fire
DESCRIPTION=Fire Scepter

ON=@CREATE
HITPOINTS={36 48}

From there, sound works and animation works, fighting works. Where i am struck is that i cant use TDATA 3 and 4 to make it fire magic arrow, already tryed and i dont know how to make it check your mana, and drain it on use. With a fail. If anyone got an idea for me i am all open.
(This post was last modified: 03-08-2014 02:50 AM by GHelmet.)
03-08-2014 02:50 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Weapon using mana + magic animation - GHelmet - 03-08-2014 02:50 AM

Forum Jump:


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