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
Force Spelleffect?
Author Message
Shamino
Noob Scripter
*

Posts: 57
Likes Given: 5
Likes Received: 15 in 11 posts
Joined: Mar 2012
Reputation: 0

Exilio UO

Post: #1
Force Spelleffect?
Hi everyone!

Have a problem with Spelleffect, the player resist, how can force yes or yes this spelleffect?, like a DAM_GOD damage.

SPELLEFFECT s_feeblemind,1000,<SRC>

Players can resist :/

¿Equip feeblemind rune maybe?
THX!

"My world is hell for the infidels. My blood pleasure of the immortals"
[Image: 2ec003662b15c61da117767a59bb99bao.jpg]
(This post was last modified: 10-11-2012 07:08 AM by Shamino.)
10-11-2012 07:07 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Shaklaban
Master
**

Posts: 378
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 8

DOT

Post: #2
RE: Force Spelleffect?
Code:
[SKILL 26]
DEFNAME=Skill_MagicResist
KEY=MagicResistance
TITLE=Resistor
PROMPT_MSG=
EFFECT=0.0,90.0
STAT_STR=40
STAT_INT=100
STAT_DEX=40
BONUS_STR=0
BONUS_DEX=0
BONUS_INT=100
BONUS_STATS=50
ADV_RATE=10.0,200.0,800.0

on=@start
if <tag0.noresist> = 1
    return 1
endif

[function resist_test]
tag.noresist=1
SPELLEFFECT s_feeblemind,1000,<SRC>
tag.noresist=

if not works you can also use @usequick trigger like @start. but i disable default resist on my shard with only @start and it works.
(This post was last modified: 10-11-2012 09:51 AM by Shaklaban.)
10-11-2012 09:51 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Barnabus
Journeyman
*

Posts: 124
Likes Given: 0
Likes Received: 3 in 2 posts
Joined: Apr 2012
Reputation: 1



Post: #3
RE: Force Spelleffect?
lol well done Shaklaban !
I cant even read the guys post because of the image at the bottom of it.
Every time I try the only thing that comes to my mind is this looped statment ::

"Shes hot, sorry what was the question again"
10-12-2012 01:56 AM
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: #4
RE: Force Spelleffect?
Nice shoes lol... The question was to override any chance to resist. There should be a way if you use your 'own' system of magic resist, if you don't we'll I'd have to think about how it normally works. By chance, is <src.uid> same as <i>? If so, maybe the problem is you don't have the spell flag spells hurt self in sphere.ini? Try enabling it, see what happens after using your script.

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

Marchadium :: http://www.marchadium.ca/ :: Join us!
10-12-2012 03:01 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Shamino
Noob Scripter
*

Posts: 57
Likes Given: 5
Likes Received: 15 in 11 posts
Joined: Mar 2012
Reputation: 0

Exilio UO

Post: #5
RE: Force Spelleffect?
Thanks Shaklaban, works.

"My world is hell for the infidels. My blood pleasure of the immortals"
[Image: 2ec003662b15c61da117767a59bb99bao.jpg]
10-13-2012 01:36 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)