Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Poison Spell!
Author Message
Lazarus
Master
**

Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1

Hybris Ultima Online

Post: #1
Poison Spell!
Anyone can create me a quicly poison spell that uses Magery, eval, inscription and Poisoning skill to bonus the dmg? Shock
or modify the original spell it's better!

Just to know how to modify a spell damage and others things!

Thanks!

[Image: 2hy9q0y.png]
(This post was last modified: 09-25-2012 01:48 AM by Lazarus.)
09-25-2012 01:47 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,140
Likes Given: 217
Likes Received: 89 in 76 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #2
RE: Poison Spell!
Want us to make you a new shard too?
Come on man..

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
09-25-2012 03:05 AM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #3
RE: Poison Spell!
Here is the original spell from sphere_spells.scp

Code:
[Spell 20]
// NOTE: Does poison need a duration or are they stuck with it until cured ??
DEFNAME=s_poison
NAME=Poison
SOUND=snd_SPELL_POISON
RUNES=IN
CAST_TIME=3.0
RESOURCES=i_reag_nightshade
RUNE_ITEM=i_rune_POISON
SCROLL_ITEM=i_scroll_POISON
FLAGS=SPELLFLAG_TARG_CHAR | SPELLFLAG_DIR_ANIM | SPELLFLAG_HARM | SPELLFLAG_FX_TARG| SPELLFLAG_RESIST
EFFECT_ID=i_fx_curse
EFFECT=0    // 100,750
DURATION=1.0,15.0
MANAUSE=9
SKILLREQ=MAGERY 30.0
INTERRUPT=100.0,100.0

Here is a page in the wiki about @SpellEffect: http://wiki.sphere.torfo.org/index.php/@SpellEffect

From here it's a short hop to looking at the magery, eval int & poisoning skill of the person who cast the spell and changing the damage accordingly.

I guarantee that if someone writes this script for you that the end result, while it may work, will not change the damage done exactly as you want.

[Image: 2nis46r.jpg]
09-25-2012 03:39 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Lazarus
Master
**

Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1

Hybris Ultima Online

Post: #4
RE: Poison Spell!
(09-25-2012 03:05 AM)Extreme Wrote:  Want us to make you a new shard too?
Come on man..

I just want to know how change the damage of a spell, I don't want a new shard for me. or... if you put in that way... yes? I want it! were you are? come at me and tell me all you know! and let's do a new server! what's de problem? you and me are here to learn, help, and ask-answer.

Just asking for a simple script and then! PUM! that question! I don't wanna mind how new scripters can learn somehow.

Thanks anyways Extreme. I will no post in this forum anymore, maybe this is the real problem of sphere ^_^ the anti-newbies community.

That is why anyone wants know and learn SPHERE. ^_^ I don't wanna be a scripter, but my server needs me because nobody wants scripting. So... I m doing the better can possible.
Just saying. Take a breathe, think and then, you can tell me that HORRIBLE question to somehow wants to learn.

EDIT: oh I forget, if you want take a look in the Run UO forums, there are newbies, rly newbies! and the people helps then and shares him's scripts! If my scripts works fine (I have main thread errors) I have posted it so long time ago in the submission part ^_^

See ya!


---


Thanks Mordaunt; I will try it. I will take some scripts for community, cloud_Br and others and see what he does.



Lazarus, The noob.

[Image: 2hy9q0y.png]
(This post was last modified: 09-25-2012 04:55 AM by Lazarus.)
09-25-2012 04:47 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,140
Likes Given: 217
Likes Received: 89 in 76 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #5
RE: Poison Spell!
Look where you create your thread, maybe you posted in wrong section.
Maybe it should be created on General Help or Script Help.

A hint for you: stop being a victimn.
Ask and wait for answer.
Don't force us to help, we are there because we love sphere.
We were waiting for development help and now we have them.
So ask, wait, read wiki and be happy.

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
(This post was last modified: 09-25-2012 08:05 AM by Extreme.)
09-25-2012 08:02 AM
Find all posts by this user Like Post Quote this message in a reply
Lazarus
Master
**

Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1

Hybris Ultima Online

Post: #6
RE: Poison Spell!
(09-25-2012 08:02 AM)Extreme Wrote:  Look where you create your thread, maybe you posted in wrong section.
Maybe it should be created on General Help or Script Help.

A hint for you: stop being a victimn.
Ask and wait for answer.
Don't force us to help, we are there because we love sphere.
We were waiting for development help and now we have them.
So ask, wait, read wiki and be happy.

No is the wrong question. If I ask for this in script help maybe someone can believe that I m asking for a complete script. Im just asking for the new damages variables and others things that i don't know. Because that, i m asking for a simple spell default with new damages.

Im not in victimn. Im not interested in that, you are putting me there.
Im asking and waiting. You answer that to me, not me.

I don't force you too. You can get in my post or not, It's your desicion. I'm not your father, you can do what you want.
Everytime I ask something I say thank you, and Im very thank with all the community, but when I get someone like this, how can be my reaction?

Like everytime: Thanks for reading.

Lazarus.

[Image: 2hy9q0y.png]
09-25-2012 08:56 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Skul
Master
**

Posts: 413
Likes Given: 0
Likes Received: 19 in 15 posts
Joined: Jun 2012
Reputation: 9



Post: #7
RE: Poison Spell!
If you look at [itemdef i_rune_poison] and [itemdef i_rune_poison_field] you can find some more information as to how the spell works. To what I have gathered, the rune object is equipped on the character after being poisoned, a timer is set to 6 which is triggered to give a 'poison' effect, there are some values on the rune object that represent the strength of poison, I'm pretty sure that is stored in <morey> on the rune object. If you run some tests you can probably find more information than I have posted. Good luck - godspeed (all signs point to nowhere).

"I ask a question to the answer I already know."

Marchadium :: http://www.marchadium.ca/ :: Join us!
09-25-2012 09:01 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #8
RE: Poison Spell!
Another example you can look at is the "poison strike" necromancy spell: http://code.google.com/p/sphere-communit...omancy.scp
09-25-2012 09:31 AM
Find all posts by this user Like Post Quote this message in a reply
Lazarus
Master
**

Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1

Hybris Ultima Online

Post: #9
RE: Poison Spell!
(09-25-2012 09:01 AM)Skul Wrote:  If you look at [itemdef i_rune_poison] and [itemdef i_rune_poison_field] you can find some more information as to how the spell works. To what I have gathered, the rune object is equipped on the character after being poisoned, a timer is set to 6 which is triggered to give a 'poison' effect, there are some values on the rune object that represent the strength of poison, I'm pretty sure that is stored in <morey> on the rune object. If you run some tests you can probably find more information than I have posted. Good luck - godspeed (all signs point to nowhere).

Oh thanks!
Im serching that with Windows Greg 2.3 Tongue

The i_Rune_poison not have nothing... but.
The i_Scroll_poison yep

Code:
[ITEMDEF 01f40]
DEFNAME=i_scroll_poison
RESOURCES=i_scroll_blank, i_reag_nightshade
SKILLMAKE=INSCRIPTION 30.0, MAGERY 20.0
VALUE=40
TYPE=T_SCROLL
WEIGHT=1
//CIRCLE=3
CATEGORY=Provisions - Alchemy & Magic
SUBSECTION=Scrolls - 3rd Circle
DESCRIPTION=Poison Scroll

ON=@Create
    ATTR=ATTR_MAGIC
    MOREX=s_poison
    MOREY={30 70}


that can be the morey that what you say?


Thanks!

[Image: 2hy9q0y.png]
09-25-2012 09:35 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Skul
Master
**

Posts: 413
Likes Given: 0
Likes Received: 19 in 15 posts
Joined: Jun 2012
Reputation: 9



Post: #10
RE: Poison Spell!
i_rune_poison and i_rune_poison_field will have <morey> set only when created in game by sphere's default behaviour. If you cast s_poison on your character and use .edit you will be able to retrieve information from i_rune_poison. Try it out.

in reply to your chat message, serv.equippedcast
Code:
on=@spellselect
if !(<serv.equippedcast>)
  if (<findlayer.1>)
    if !(<findlayer.1.type>==t_spellbook) && !(<findlayer.1.type>==t_spellbook_necro) && !(<findlayer.1.type>==t_wand)
      sysmessage You can not cast while equipped.
      return 1
    endif
  elseif (<findlayer.2>)
    sysmessage You can not cast while equipped.
    return 1
  endif
endif

"I ask a question to the answer I already know."

Marchadium :: http://www.marchadium.ca/ :: Join us!
(This post was last modified: 09-25-2012 10:30 AM by Skul.)
09-25-2012 10:24 AM
Visit this user's website 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)