Commit graph

12 commits

Author SHA1 Message Date
Simon Jarrett
e91df41c8e more conversions to weak pointers 2018-06-21 23:32:21 +01:00
Simon Jarrett
0b1397574a fixes to shared pointers 2018-05-24 22:28:15 +01:00
Simon Jarrett
9ea163be50 changed all pointers to CPhysicsObj to shared pointers (and thus all weenies, etc.) 2018-05-23 13:45:22 +01:00
Simon Jarrett
b33ea80a44 Added PK timer for vulns/debuffs and projectile spells 2018-05-20 17:53:49 +01:00
LikeableLime
9df8c97598 fix for crash when no source for spell projectile 2018-05-14 18:33:58 -05:00
Simon Jarrett
f74fc45436 Merge branch 'MinorFixes' into ScribbleTestServer
# Conflicts:
#	Source/SpellProjectile.cpp
2018-05-12 21:27:40 +01:00
Simon Jarrett
ba774b0512 Moved the reduction in hp/stam/mana for life projectiles outside of the projectile code so it doesn't trigger multiple times 2018-05-11 19:55:42 +01:00
Simon Jarrett
72c77e7390 Disabled Tick() when m_bDestroyMe is true, and used the pre-existing variable for initial position rather than creating a new one. 2018-05-11 01:37:36 +01:00
Simon Jarrett
af6fc9db45 Reduced timer for projectiles to 30s and added a range check to destroy the projectile after it goes too far. 2018-05-10 22:15:27 +01:00
Simon Jarrett
b446b8fe15 Health bars for targets will now update.
A "0x01C0: Combat_QueryHealthResponse" message will be sent for the last creature the player received a health request for when:
1) The player deals melee damage
2) The player deals spell damage
3) Every PLAYER_HEALTH_POLL_INTERVAL seconds otherwise (currently set to 5)
2018-05-06 02:15:58 +01:00
Peanuts420
768037f5ac -Fixed Death Item System (Hopefully)
- Missile weapon damage now takes into account the weapon damage bonus and elemental damage bonus.

- Spell damage now takes into account the weapon's elemental damage mod.

- Ammunition is no longer enchantable.

- Shields were only working after the first server restart after their creation, added workaround to get them to work from creation while I figure out why.
2018-04-01 15:03:58 -04:00
Peanuts420
da80d1ab2a Initial Commit 2018-03-29 17:01:57 -04:00