Arx Libertatis Bug Tracker
star_faded.png
Please log in to bookmark issues
bug_report_small.png
CLOSED  Bug report #615  -  Confuse spell doesn't work
Posted Mar 02, 2014 - updated Jun 01, 2014   Shortlink: http://arx.vg/615
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
icon_info.png This issue has been closed with status "Fixed" and resolution "RESOLVED".
Issue details
  • Type of issue
    Bug report
  • Status
     
    Fixed
  • Assigned to
    Not assigned to anyone
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     Daniel Scharrer
  • Owned by
    Not owned by anyone
  • Estimated time
    Not estimated
  • Category
    Gameplay
  • Resolution
    RESOLVED
  • Priority
    Regression
  • Reproducability
    Always
  • Severity
    Not determined
  • Targetted for
    icon_milestones.png 1.2
  • OS
    icon_customdatatype.png Not determined
  • Architecture
    icon_customdatatype.png Not determined
  • Fixed in
    icon_customdatatype.png Arx Libertatis 1.2-dev
Issue description
The Confuse spell immediately ends after targeting an NPC.
Steps to reproduce this issue
  1. Cast Confuse
  2. Select a target
  3. Spell immediately ends even if you have enough mana

#5
icon_reply.pngReply
Comment posted by
 Dimoks
Mar 02, 13:04
Should be 5 seconds for default, perhaps...
in CConfuse::CConfuse(LPDIRECT3DDEVICE7 m_pd3dDevice):
SetDuration(5000);
#6
icon_reply.pngReply
Comment posted by
 Dimoks
Mar 02, 13:18
Now duration is 100 milliseconds.
  1. void CSpellFx::SetDuration(const unsigned long ulaDuration) {
  2. ulDuration = ulaDuration;
  3.  
  4. if(ulDuration <= 0)
  5. ulDuration = 100;
  6.  
  7. fOneOnDuration = 1.f / (float)(ulDuration);
  8.  
  9. ulCurrentTime = 0;
  10. }
For work of spell level of magic should be:

Goblin — 3rd level.
Goblin Lord — 4th level.
Goblin King — 5th level.
Human Male — 4th level.
Human Female — 3th level.
Human Child (Shany) — 2th level.
Human Guard — 5th level.
Human Ylside — 7th level.
Human King (Lunshire) — 6th level.
Human Priest — 6th level.
Human High Priest — 7th level.
Felnor — 8th level.
Ghost — 8th level.
Ratman — 5th level.
Snake Woman — 7th level.
Troll — 2nd level.
Undead Zombie — 5th level.
Undead Mummy — 6th level.
Undead Lich — 9th level.
#7
icon_reply.pngReply
Comment posted by
 Dimoks
Mar 02, 17:56
My fix is here.
#8
icon_reply.pngReply
Comment posted by
 Daniel Scharrer
Jun 01, 06:20
Dimoks' fix has been merged to master. It still seems like a pretty weak/short spell though.

The issue was updated with the following change(s):
  • This issue has been closed
  • The status has been updated, from Confirmed to Closed.
  • The resolution has been updated, from Not determined to RESOLVED.
  • This issue's progression has been updated to 100 percent completed.