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-nmm6 (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-nmm6 (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-nmm6 (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
Bolt Grenade
Author Message
Jonaleth
Apprentice
*

Posts: 42
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Apr 2012
Reputation: 0



Post: #1
Bolt Grenade
Hello!

I've tried to create AOE effects on some items, or abilities without success. I know that there are some real talented people here that hopefully are kind enough to help Smile

I am trying to create a bomb/grenade that works similar to the pink explosion bottle BUT instead of just having that explosion effect, I want it to fire bolts/arrows on all nearby targets (lets say within a distance of 4).

So basicly, you dclick on this item, target a location, the item is then thrown at that location, and almost instantly will explode (perhaps a timer at 1 sec), and when it explodes it will fire arrows on all nearby targets dealing damage (about the same damage as a crossbow).

Is this possible to create?
05-27-2015 10:07 AM
Find all posts by this user Like Post Quote this message in a reply
Jonaleth
Apprentice
*

Posts: 42
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Apr 2012
Reputation: 0



Post: #2
RE: Bolt Grenade
Well, I guess I "kind of" figured it out.

I'll show you how I did, and perhaps you can make it look even better or just give feedback of how I could do it;
Code:
[itemdef i_witchhunter_grenade_bolt]
ID=i_virtstone_1
type=t_normal
weight=1
NAME=Bolt Grenade

ON=@DCLICK
TARGETG Where will you throw <name>?
return 1

ON=@TARGON_GROUND
serv.allclients sendpacket 0c0 00 D0 D0 Wi_virtstone_1 W<src.p.x> W<src.p.y> B<eval(<src.p.z>+15)> W<eval(<src.targp.x>)> W<eval(<src.targp.y>)> B<eval(<src.targp.z>+5)> B02 B32 00 00 00 B0 D0 D0
src.newitem i_grenade_bolt_timer
new.timer=1
new.p=<src.targp>
new.attr=010
new.link=<src.uid>
return 1

[itemdef i_grenade_bolt_timer]
id=i_virtstone_1
type=t_normal
weight=1
NAME=Bolt Grenade

ON=@TIMER
sound=1309
effect=2,i_fx_smoke,15,15,0
var.boltbombUID=<link.uid>
    FORCHARS 5
    f_bolt_bomb_damage
    ENDFOR
e_bolt_bomb
REMOVE
RETURN 1

[function f_bolt_bomb_damage]
IF !(<uid> == <var.boltbombUID>)
damage <eval {18 26}>,dam_physical,<var.boltbombUID>
ENDIF

[function e_bolt_bomb]
serv.allclients sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<p.x> W<p.y> B<eval(<p.z>+5)> W<eval(<p.x>+5)> W<eval(<p.y>)> B<eval(<p.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
serv.allclients sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<p.x> W<p.y> B<eval(<p.z>+5)> W<eval(<p.x>+4)> W<eval(<p.y>+1)> B<eval(<p.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
serv.allclients sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<p.x> W<p.y> B<eval(<p.z>+5)> W<eval(<p.x>+3)> W<eval(<p.y>+2)> B<eval(<p.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
serv.allclients sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<p.x> W<p.y> B<eval(<p.z>+5)> W<eval(<p.x>+2)> W<eval(<p.y>+3)> B<eval(<p.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
serv.allclients sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<p.x> W<p.y> B<eval(<p.z>+5)> W<eval(<p.x>+1)> W<eval(<p.y>+4)> B<eval(<p.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
serv.allclients sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<p.x> W<p.y> B<eval(<p.z>+5)> W<eval(<p.x>)> W<eval(<p.y>+5)> B<eval(<p.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0

serv.allclients sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<p.x> W<p.y> B<eval(<p.z>+5)> W<eval(<p.x>-5)> W<eval(<p.y>)> B<eval(<p.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
serv.allclients sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<p.x> W<p.y> B<eval(<p.z>+5)> W<eval(<p.x>-4)> W<eval(<p.y>-1)> B<eval(<p.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
serv.allclients sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<p.x> W<p.y> B<eval(<p.z>+5)> W<eval(<p.x>-3)> W<eval(<p.y>-2)> B<eval(<p.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
serv.allclients sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<p.x> W<p.y> B<eval(<p.z>+5)> W<eval(<p.x>-2)> W<eval(<p.y>-3)> B<eval(<p.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
serv.allclients sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<p.x> W<p.y> B<eval(<p.z>+5)> W<eval(<p.x>-1)> W<eval(<p.y>-4)> B<eval(<p.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
serv.allclients sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<p.x> W<p.y> B<eval(<p.z>+5)> W<eval(<p.x>)> W<eval(<p.y>-5)> B<eval(<p.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0

serv.allclients sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<p.x> W<p.y> B<eval(<p.z>+5)> W<eval(<p.x>-5)> W<eval(<p.y>)> B<eval(<p.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
serv.allclients sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<p.x> W<p.y> B<eval(<p.z>+5)> W<eval(<p.x>-4)> W<eval(<p.y>+1)> B<eval(<p.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
serv.allclients sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<p.x> W<p.y> B<eval(<p.z>+5)> W<eval(<p.x>-3)> W<eval(<p.y>+2)> B<eval(<p.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
serv.allclients sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<p.x> W<p.y> B<eval(<p.z>+5)> W<eval(<p.x>-2)> W<eval(<p.y>+3)> B<eval(<p.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
serv.allclients sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<p.x> W<p.y> B<eval(<p.z>+5)> W<eval(<p.x>-1)> W<eval(<p.y>+4)> B<eval(<p.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
serv.allclients sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<p.x> W<p.y> B<eval(<p.z>+5)> W<eval(<p.x>)> W<eval(<p.y>+5)> B<eval(<p.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0

serv.allclients sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<p.x> W<p.y> B<eval(<p.z>+5)> W<eval(<p.x>+5)> W<eval(<p.y>)> B<eval(<p.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
serv.allclients sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<p.x> W<p.y> B<eval(<p.z>+5)> W<eval(<p.x>+4)> W<eval(<p.y>-1)> B<eval(<p.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
serv.allclients sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<p.x> W<p.y> B<eval(<p.z>+5)> W<eval(<p.x>+3)> W<eval(<p.y>-2)> B<eval(<p.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
serv.allclients sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<p.x> W<p.y> B<eval(<p.z>+5)> W<eval(<p.x>+2)> W<eval(<p.y>-3)> B<eval(<p.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
serv.allclients sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<p.x> W<p.y> B<eval(<p.z>+5)> W<eval(<p.x>+1> W<eval(<p.y>-4)> B<eval(<p.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
serv.allclients sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<p.x> W<p.y> B<eval(<p.z>+5)> W<eval(<p.x>)> W<eval(<p.y>-5)> B<eval(<p.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
05-28-2015 09:48 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Jonaleth's post
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #3
RE: Bolt Grenade
Woow really cool the animation effect !
05-28-2015 05:20 PM
Find all posts by this user Like Post Quote this message in a reply
amonvangrell
Banned

Posts: 337
Likes Given: 17
Likes Received: 32 in 20 posts
Joined: Aug 2012

britannia shard

Post: #4
RE: Bolt Grenade
nice...
05-30-2015 01:19 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #5
RE: Bolt Grenade
Calling the function on allclients is a bit expensive, since not all clients must be on the same screen ... leading to not needed packet sends, something like this would do it a little better:

Code:
local.x=<p.x>
local.y=<p.y>
local.z=<p.z>
forclients 18
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>+5)> W<eval(<local.y>)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>+4)> W<eval(<local.y>+1)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>+3)> W<eval(<local.y>+2)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>+2)> W<eval(<local.y>+3)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>+1)> W<eval(<local.y>+4)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>)> W<eval(<local.y>+5)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0

    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>-4)> W<eval(<local.y>-1)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>-3)> W<eval(<local.y>-2)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>-2)> W<eval(<local.y>-3)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>-1)> W<eval(<local.y>-4)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>)> W<eval(<local.y>-5)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0

    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>-5)> W<eval(<local.y>)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>-4)> W<eval(<local.y>+1)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>-3)> W<eval(<local.y>+2)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>-2)> W<eval(<local.y>+3)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>-1)> W<eval(<local.y>+4)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>)> W<eval(<local.y>+5)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0

    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>+5)> W<eval(<local.y>)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>+4)> W<eval(<local.y>-1)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>+3)> W<eval(<local.y>-2)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>+2)> W<eval(<local.y>-3)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>+1> W<eval(<local.y>-4)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>)> W<eval(<local.y>-5)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
endfor
05-30-2015 05:41 PM
Find all posts by this user Like Post Quote this message in a reply
Jonaleth
Apprentice
*

Posts: 42
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Apr 2012
Reputation: 0



Post: #6
RE: Bolt Grenade
thank you for the feedback! Smile
05-30-2015 06:13 PM
Find all posts by this user Like Post Quote this message in a reply
escribano
Journeyman
*

Posts: 170
Likes Given: 16
Likes Received: 32 in 23 posts
Joined: Nov 2012
Reputation: 2

Dragon Shard

Post: #7
RE: Bolt Grenade
Jonaleth, i've made some changes on your script for better working! Thanks for sharing!

Code:
[itemdef i_bolt_granade]
ID=i_virtstone_1
type=t_normal
weight=1
NAME=Bolt Grenade

ON=@DCLICK
    TARGETG Where will you throw <name>?
    return 1

ON=@TARGON_GROUND
    if (<src.distance <src.targp>> > 10)
        src.sysmessage The target are too far away!
        return 1
    endif

    forclients 25
        sendpacket 0c0 00 D0 D0 Wi_virtstone_1 W<src.p.x> W<src.p.y> B<eval(<src.p.z>+15)> W<eval(<src.targp.x>)> W<eval(<src.targp.y>)> B<eval(<src.targp.z>+5)> B02 B32 00 00 00 B0 D0 D0
    endfor

    src.newitem i_bolt_granade_timer
    new.timer=1
    new.p=<src.targp>
    new.attr=010
    new.link=<src.uid>

    return 1

[itemdef i_bolt_granade_timer]
id=i_virtstone_1
type=t_normal
weight=1
NAME=Bolt Grenade

ON=@CREATE
    attr=attr_invis

ON=@TIMER
    sound=1309
    effect=2,i_fx_smoke,15,15,0
    var.boltbombUID=<link.uid>
    FORCHARS 5
        f_bolt_bomb_damage
    ENDFOR
    
    e_bolt_bomb
    REMOVE

    RETURN 1

[function f_bolt_bomb_damage]
IF !(<uid> == <var.boltbombUID>)
    damage <eval {18 26}>,dam_physical,<var.boltbombUID>
ENDIF

[function e_bolt_bomb]
local.x=<p.x>
local.y=<p.y>
local.z=<p.z>

forclients 25
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>+5)> W<eval(<local.y>)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>+4)> W<eval(<local.y>+1)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>+3)> W<eval(<local.y>+2)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>+2)> W<eval(<local.y>+3)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>+1)> W<eval(<local.y>+4)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>)> W<eval(<local.y>+5)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0

    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>-4)> W<eval(<local.y>-1)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>-3)> W<eval(<local.y>-2)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>-2)> W<eval(<local.y>-3)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>-1)> W<eval(<local.y>-4)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>)> W<eval(<local.y>-5)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0

    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>-5)> W<eval(<local.y>)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>-4)> W<eval(<local.y>+1)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>-3)> W<eval(<local.y>+2)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>-2)> W<eval(<local.y>+3)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>-1)> W<eval(<local.y>+4)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>)> W<eval(<local.y>+5)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0

    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>+5)> W<eval(<local.y>)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>+4)> W<eval(<local.y>-1)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>+3)> W<eval(<local.y>-2)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>+2)> W<eval(<local.y>-3)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>+1> W<eval(<local.y>-4)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
    sendpacket 0c0 00 D0 D0 Wi_xbolt_x W<dlocal.x> W<dlocal.y> B<eval(<local.z>+5)> W<eval(<local.x>)> W<eval(<local.y>-5)> B<eval(<local.z>+5+{1 5})> B01 B16 00 00 00 B0 D0 D0
endfor

UltimaPHP - OpenSource Ultima Online Server v0.1-pre-alpha under development, we need help!
06-21-2015 07:57 AM
Find all posts by this user Like Post Quote this message in a reply
Diathim
Apprentice
*

Posts: 10
Likes Given: 13
Likes Received: 1 in 1 posts
Joined: Oct 2015
Reputation: -3



Post: #8
RE: Bolt Grenade
Remove the VAR and use a TAG or REFx. VARs are global and can get overwritten. Smile
10-21-2015 01:57 AM
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)