Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Spells
Author Message
DeatH CoiL
Apprentice
*

Posts: 9
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: May 2014
Reputation: 0



Post: #1
Spells
Guys, Good Night

I have two questions,

• How is it used the command LOCAL.FIELDWIDTH in spell Paralyze Field?
• How do i exit Paralyze with self Magic Arrow?

Thanks.
(This post was last modified: 05-07-2014 11:18 AM by DeatH CoiL.)
05-07-2014 11:13 AM
Find all posts by this user Like Post Quote this message in a reply
Avatar
Journeyman
*

Posts: 172
Likes Given: 6
Likes Received: 27 in 12 posts
Joined: Apr 2012
Reputation: 5

The North Shield

Post: #2
RE: Spells
Refer to http://wiki.sphere.torfo.org/index.php/@SpellSuccess

You can manage what you want with @SpellSuccess trigger like ;

Code:
[events e_generic_player]

on=@SpellSucesss
if <argn1> == xxx spell
      LOCAL.FIELDWIDTH xxx
endif

For paralyze issue, I can tell you what came in my mind first. For instance you can use @spelleffect trigger and check spell if <argn1>== 5 then check if <src.uid> == <uid>. After that you can change your flag and release yourself. There could be many approach on this.
(This post was last modified: 05-07-2014 12:35 PM by Avatar.)
05-07-2014 12:27 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
DeatH CoiL
Apprentice
*

Posts: 9
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: May 2014
Reputation: 0



Post: #3
RE: Spells
Avatar, Good Morning

Firstly thank you .

In both cases, i tried the following and it still fails.

Code:
[Events e_kills]
ON=@SpellSucess
IF <ARGN1> == 47
    SRC.LOCAL.FIELDWIDTH 5
ENDIF

ON=@SpellEffect
IF (<ARGN1> == 5 && <SRC.UID> == <UID>)
SRC.FLAGS -= statf_freeze
endif

Is something wrong?

Thanks.
(This post was last modified: 05-07-2014 09:45 PM by DeatH CoiL.)
05-07-2014 09:43 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

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



Post: #4
RE: Spells
the if in @spelleffect have to be written like this

if (<argn1> == 5) && (<src.uid> == <uid>)
src.flags = <src.flags> &~statf_freeze
endif

also local.fieldwidth and no src.local.fieldwidth
(This post was last modified: 05-07-2014 09:59 PM by darksun84.)
05-07-2014 09:58 PM
Find all posts by this user Like Post Quote this message in a reply
DeatH CoiL
Apprentice
*

Posts: 9
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: May 2014
Reputation: 0



Post: #5
RE: Spells
Related to the ON code = @ SpellEffect, I got it, thanks.

But even using the LOCAL.WIDTH ON = @ SpellSucess Paralyze the field, it did not work.

The code is well:

Code:
ON=@SpellSucess
IF <ARGN1> == 47
    LOCAL.FIELDWIDTH 5
ENDIF

Thanks
05-07-2014 10:10 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

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



Post: #6
RE: Spells
@spellsuccess not @spellsucess Tongue
(This post was last modified: 05-07-2014 10:15 PM by darksun84.)
05-07-2014 10:14 PM
Find all posts by this user Like Post Quote this message in a reply
DeatH CoiL
Apprentice
*

Posts: 9
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: May 2014
Reputation: 0



Post: #7
RE: Spells
no too ;/
(This post was last modified: 05-07-2014 10:16 PM by DeatH CoiL.)
05-07-2014 10:16 PM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #8
RE: Spells
Code:
[Spell 5]
DEFNAME=s_magic_arrow
...

ON=@Effect
IF (<SRC>==<UID>)
DAMAGE 1 //the damage will temp remove the paralyze field effect
ENDIF

and

Code:
[Spell 47]
DEFNAME=s_paralyzation_field
...

ON=@Success
LOCAL.FieldWidth=3
05-08-2014 01:24 AM
Find all posts by this user Like Post Quote this message in a reply
DeatH CoiL
Apprentice
*

Posts: 9
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: May 2014
Reputation: 0



Post: #9
RE: Spells
Coruja,

Existe alguma configuração no Sphere.ini para habilitar esse tamanho dos tiles do PF? Coloquei desta mesma forma que você postou e ainda sim esta com 7 tiles.

Sad
05-08-2014 02:49 AM
Find all posts by this user Like Post Quote this message in a reply
Feeh
Sphere Developer
*****

Posts: 156
Likes Given: 6
Likes Received: 40 in 29 posts
Joined: Sep 2012
Reputation: 4



Post: #10
RE: Spells
No INI option to enable/disable FieldWidth, it is always there. What is your sphere version? Anything older than 13-jul-2008 does not accept this override

Feeh/Epila - Nightly releases / SphereWiki / Github Issues / Sphere's GitHub
05-09-2014 02:29 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)