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
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: #1
Question 56b - some problems ....
Hi, I need some help.

1) With MagicReflection: not working Sad

It's from sphere_spells.scp
PHP Code:
[Spell 36]
DEFNAME=s_magic_reflection
NAME
=Magic Reflect
SOUND
=snd_SPELL_MAGIC_REFLECTION
RUNES
=IJS
CAST_TIME
=3.0
RESOURCES
=i_reag_garlic,i_reag_mandrake_root,i_reag_spider_silk
RUNE_ITEM
=i_rune_MAGIC_REFLECTION
SCROLL_ITEM
=i_scroll_MAGIC_REFLECTION
FLAGS
=SPELLFLAG_FX_TARG SPELLFLAG_GOOD SPELLFLAG_TARG_OBJ SPELLFLAG_TARG_CHAR SPELLFLAG_GOOD
EFFECT_ID
=i_fx_BLESS_EFFECT 
EFFECT
=0
DURATION
=3*60.0,4*60.0
MANAUSE
=14
SKILLREQ
=MAGERY 10.0
INTERRUPT
=100.0,100.0 

My Event:
PHP Code:
[EVENTS e_combat]

On=@SpellEffect
if ( <SERV.SPELL(<argn1> ).FLAGS> & SPELLFLAG_HARM )
    if (<
flags>&statf_reflection
    
effect 3,i_fx_glow,1,15,16
    flags 
&= ~statf_reflection
    FINDID
.i_rune_magic_reflection.remove
    
return 1
    
endif
endif 

Where is problem ? ะพ_0


2) I'm find one script: hide helm

PHP Code:
On=@Equip
    src
.findlayer(6).tag0.dispid = <src.findlayer(6).dispid>
    
src.findlayer(6).dispid i_memory
    src
.findlayer(6).color = <src.findlayer(6).color

On=@UnEquip
    src
.findlayer(6).dispid = <src.findlayer(6).tag0.dispid>
    
src.findlayer(6).color = <src.findlayer(6).color>
    
src.findlayer(6).tag0.dispid 

The problem is ... when i change the helmet .... in pack drops this:

[Image: 6bb247567698.jpg]


3) I'm wonna mod. this event ...
PHP Code:
[EVENTS e_no_curse]
On=@Spelleffect
    
if (<argn>=8)
        
effect=3,i_fx_glow,5,15,0
        
return 1
    
else
        return 
0
    
endif 

How make this magic to reflected on enemy ... who attack you ...
02-19-2013 05:22 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: 3 Guest(s)