Anonymous | Login | Signup for a new account | 19-04-25 20:08 CEST | ![]() |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||
ID | Project | Category | View Status | Date Submitted | Last Update | |
0001852 | SphereServer | executable - generic | public | 13-11-10 18:08 | 14-11-10 17:35 | |
Reporter | Coruja | |||||
Assigned To | MrSugarCube | |||||
Priority | normal | Severity | major | Reproducibility | always | |
Status | closed | Resolution | no change required | |||
Platform | OS | OS Version | ||||
Product Version | 20-09-2009, 0.56b Prerelease | |||||
Target Version | Fixed in Version | |||||
Summary | 0001852: Mind Blast spell doesnt works | |||||
Description | If you cast the spell with an GM account (gm=1, plevel > 1, etc) it works fine. But if you cast using an player account, the spell always switch the target to yourself, so the spell doesnt work because it doesnt take damage to the real target. Casting against monster it works fine. [Spell 37] DEFNAME=s_mind_blast NAME=Mind Blast SOUND=snd_SPELL_MIND_BLAST RUNES=PCW CAST_TIME=3.0 RESOURCES=i_reag_black_pearl,i_reag_mandrake_root,i_reag_nightshade,i_reag_sulfur_ash RUNE_ITEM=i_rune_MIND_BLAST SCROLL_ITEM=i_scroll_MIND_BLAST FLAGS=SPELLFLAG_TARG_CHAR|SPELLFLAG_DIR_ANIM| SPELLFLAG_HARM EFFECT_ID=i_fx_curse EFFECT=8,9 DURATION=0.0 MANAUSE=14 SKILLREQ=MAGERY 38.0 INTERRUPT=0.0,0.0 ON=@Effect serv.b effect <name> | |||||
Tags | No tags attached. | |||||
Nightly Version | Not Available | |||||
Experimental Flags | None | |||||
Option Flags | None | |||||
Internal Build Number | ||||||
Attached Files | ||||||
![]() |
|
(0000754) Coruja (developer) 13-11-10 18:23 |
I dont know, but maybe some internal code is calling @Effect on the wrong char |
(0000755) MrSugarCube (administrator) 14-11-10 17:35 |
If the target has more intelligence than the caster, then the hardcoded behaviour is for the spell to 'backfire'. In this case, the caster receives the damage instead of the target. If you don't want this behaviour then the easiest way to stop it will be to add SPELLFLAG_SCRIPTED to the mind blast spell's flags. |
![]() |
|||
Date Modified | Username | Field | Change |
13-11-10 18:08 | Coruja | New Issue | |
13-11-10 18:23 | Coruja | Note Added: 0000754 | |
14-11-10 17:35 | MrSugarCube | Note Added: 0000755 | |
14-11-10 17:35 | MrSugarCube | Status | new => closed |
14-11-10 17:35 | MrSugarCube | Assigned To | => MrSugarCube |
14-11-10 17:35 | MrSugarCube | Resolution | open => no change required |
Copyright © 2000 - 2010 MantisBT Group |