Fixed a crash when Slim Pitcher is cast (due to one unconverted piece of code)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11796 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
cd3307a4bc
commit
a0f115351a
@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
|
|||||||
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
||||||
|
|
||||||
2007/11/24
|
2007/11/24
|
||||||
|
* Fixed a crash when Slim Pitcher is cast
|
||||||
* Fixed a crash when a taekwon hits a wall while Sprinting (bugreport:483)
|
* Fixed a crash when a taekwon hits a wall while Sprinting (bugreport:483)
|
||||||
* Added support for latest official client/server packet changes [ultramage]
|
* Added support for latest official client/server packet changes [ultramage]
|
||||||
- enable by setting PACKETVER to 9; note that this breaks older clients
|
- enable by setting PACKETVER to 9; note that this breaks older clients
|
||||||
|
@ -4726,7 +4726,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
|
|||||||
if (sp)
|
if (sp)
|
||||||
sp = sp * (100 + pc_checkskill(dstsd,MG_SRECOVERY)*10)/100;
|
sp = sp * (100 + pc_checkskill(dstsd,MG_SRECOVERY)*10)/100;
|
||||||
}
|
}
|
||||||
if (tsc && tsc->data[SC_CRITICALWOUND]->timer!=-1)
|
if (tsc && tsc->data[SC_CRITICALWOUND])
|
||||||
{
|
{
|
||||||
hp -= hp * tsc->data[SC_CRITICALWOUND]->val2 / 100;
|
hp -= hp * tsc->data[SC_CRITICALWOUND]->val2 / 100;
|
||||||
sp -= sp * tsc->data[SC_CRITICALWOUND]->val2 / 100;
|
sp -= sp * tsc->data[SC_CRITICALWOUND]->val2 / 100;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user