Commit graph

10 commits

Author SHA1 Message Date
gmriggs
bc09da25df
fixes for previous checkins (#3926)
* Revert "Adjust calculation of Max Range for Spells (#3924)"

This reverts commit d1278dd31a.

* VerifySpellRange

* updating comment
2022-11-28 14:54:42 -05:00
Ty Conner
d1278dd31a
Adjust calculation of Max Range for Spells (#3924)
* Adjust calculation of Max Range for Spells

based on client calculation found in             CACQualities::InqSkillLevel

Thanks to @nwg5817 for finding the bug and resolution

Co-Authored-By: JMAilan <12468698+nwg5817@users.noreply.github.com>
Co-Authored-By: gmriggs <8909245+gmriggs@users.noreply.github.com>

* Further adjustments

Co-Authored-By: JMAilan <12468698+nwg5817@users.noreply.github.com>
Co-Authored-By: gmriggs <8909245+gmriggs@users.noreply.github.com>

* Update Player_Magic.cs

* Update Player_Magic.cs

Co-authored-by: JMAilan <12468698+nwg5817@users.noreply.github.com>
Co-authored-by: gmriggs <8909245+gmriggs@users.noreply.github.com>
2022-11-24 12:52:47 -05:00
Ty Conner
f51929ef62
Adjust UseWithTarget to support SourceContained spell casting (#3835)
* Adjust UseWithTarget to support SourceContained spell casting

* Update Player_Magic.cs

* Update RecipeManager.cs

* Update CastQueue.cs

* Update CastSpellParams.cs

* Update MagicState.cs

* Update WindupParams.cs

* Update Player_Magic.cs

* Update Player_Use.cs
2022-05-07 14:23:37 -04:00
gmriggs
528040563f
improve responsiveness of first turn after cast gesture (#2800) 2020-03-09 19:36:21 -04:00
gmriggs
0a6cc84183
re-implement spellcast_recoil_queue server option (#2781) 2020-03-07 02:27:24 -05:00
gmriggs
3080a1bbed
fix minor sync issue in TurnToHeading, rework TurnTo during magic casting to allow for player manual control (#2774)
* improved target tracking for pk casting

* fix minor sync issue in TurnToHeading

* wip

* backporting LastCombatMode

* updating IsMovingOrAnimating for new TurnTo logic flow
2020-03-06 22:24:56 -05:00
gmriggs
f9cb6d59e9
preliminary merge of branches (#2546)
* preliminary merge of branches

* adding Player_Move2

* adding spellcast_max_angle server config option

* adding fizzle if player exits combat stance during casting

* improvements

* wip for command-interp2 merger

* fixing fastcasting lockup bug

* removing debug lines
2019-12-30 22:18:09 -05:00
gmriggs
6e0e691f2a
continued porting of 1991 to master branch (#2545)
* continuing to pull functions out of 1991 while retaining existing functionality

* adding command descriptions

* moving /debugcast and /recordcast to Developer commands
2019-12-17 09:21:07 -05:00
gmriggs
57b014a49d
adding post-windup range check to spellcasting (#2455) 2019-11-22 19:35:58 -05:00
gmriggs
362b1e408e
backporting Player_Magic refactoring from 1991 (#2404)
* backporting Player_Magic refactoring from 1991

* fixing gap with untargeted void spells

* adding isWeaponSpell check to HasComponents

* adding null check to OnAttackMonster

* .

* adding /debugbusy temporary debugging command for ce

* temporarily revert chaining to old version

* more revert to exact original functionality + new architecture

* adding null checks

* IsBusyCompleted

* adding /castlog for debugging DM

* limiting CurrentMotionState thrashing from EnqueueMotion

* temp fix until concurrent dictionary

* removing debug code

* .
2019-11-15 21:46:05 -05:00