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
56b - some problems ....
Author Message
an0n!m0use
Journeyman
*

Posts: 56
Likes Given: 16
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 0



Post: #3
Question RE: 56b - some problems ....
2Shaklaban
Thx Veryhappy

Can you help me with scripts Rolleyes

I very need:
1) With critical damage, enemy has been poisoned and weaken (lost strength at 24-35 points)
( duration of the effect 15 seconds)



2) With critical damage has dismount (from mounts) an enemy, if enemy don't have mounts, just paralyze ...

PHP Code:
On=@Damage
    
if rand(3)=1
    serv
.newitem i_paralyze
    
new.timer 1
    
new.cont=<src.uid>
    
src.sfx snd_spell_paralyze
    Dismount
    
endif

[function 
Dismount]
if (<
src.findlayer.25.uid> )
    
spelleffect 38,1000
    src
.act=<src.findlayer.25.more2>
    
src.act.p=<p>
    
src.findlayer.25.remove
    src
.flags=<src.flags>&~080000000
    update
    region
.allclients fix
endif 



3) I have a ring, and need this effect: Every third paralyze has no effect on owner of the ring, but paralyzing attacker.

PHP Code:
[EVENTS e_anti_paralyze_reflect
On=@SpellEffect
    
if rand(3)==1
        
if (<argn> == 38) || (<argn> == 47)
            
effect=3,i_fx_glow,5,15,0
            src
.spelleffect 38 1000 <uid>
            return 
1
        
endif
    endif 
(This post was last modified: 02-20-2013 09:34 AM by an0n!m0use.)
02-20-2013 08:29 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
56b - some problems .... - an0n!m0use - 02-19-2013, 05:22 AM
RE: 56b - some problems .... - Shaklaban - 02-19-2013, 08:18 AM
RE: 56b - some problems .... - an0n!m0use - 02-20-2013 08:29 AM
RE: 56b - some problems .... - an0n!m0use - 02-25-2013, 03:07 AM
RE: 56b - some problems .... - Crusader - 03-13-2013, 07:23 AM

Forum Jump:


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