{"push_id":921491084,"size":1,"distinct_size":1,"ref":"refs/heads/update2-spells","head":"67a27cd0d8cd0e634937708a1700c3e3f99789b5","before":"c55e9a6a93b289d19a8d28f198b724d15c69a013","commits":[{"sha":"67a27cd0d8cd0e634937708a1700c3e3f99789b5","author":{"email":"fa7454f93bd13b01d9c67fbda98d779e7d601895@hotmail.com","name":"raymondtfr"},"message":"Update spells 2\n\nRenamed for all spells \"var\" to \"variant\" in onCastSpell() to avoid ambiguities.\nRenamed \"1\" to \"true\" in some boolean condition parameters.\nRenamed some conditions starting with the word \"exhaust\" -- cause it isn't related to the exhaustion, but to the cooldown.\nAdded missing isHotkey parameter in onCastSpell() to Paralyze Rune.\nAdded a bool to the spell \"mass healing\":\n* healMonsters = false\n\nUpdated spell formulas of the following spells:\n* Ethereal Spear\n* Strong Ethereal Spear\nI've removed the arithmetics around \"attack\", since it only considers the player's distance skill -- Also simplified their formulas.\n\nRearranged some boolean parameters:\n*\tCOMBAT_PARAM_TARGETCASTERORTOPMOST\n*\tCOMBAT_PARAM_AGGRESSIVE\n*\tCONDITION_PARAM_BUFF_SPELL\n*\tCONDITION_PARAM_SUBID\nin some healing/support spells to the last line of parameters.\n\nUpdated knight attack spells -- defines local min, max -- uses two less variables.\n\nUpdated spell \"heal friend\" (based on vanilla) to send green shimmer effect on target and a blue shimmer effect on the caster simultaneously (or a blue shimmer on the caster when healing himself) -- making it easy to identify the healer.\n\nUpdated some support \"haste\" based spell formulas.\nSince they launched the flash client, it is now possible to effectively check your character's speed by looking at your character profile ingame. Now the formulas for the following spells: Haste, Charge, Swift Foot -- now gives *exactly* the same speed changes as vanilla. I'll update the remaining ones in the future.\n\nUpdated the spell \"food\". It is now very similar to vanilla, even though it might look redundant to use addItem() twice.\n\nRemoved some unnecessary checks, most of them were there because of monster spells, but they aren't used in monsters -- only soulfire does (which can later be changed for another soulfire spell within scripts/monster).\n\nFixed the spells \"Blood Rage\" and \"Sharpshooter\" -- they didn't have the proper value \"-100\" to null the Shielding Skill.\n\nRemoved unused condition from the spell \"Protector\":\n*\tCondition(CONDITION_EXHAUST_COMBAT)\nwhere the correct condition should be:\n*\tCondition(CONDITION_PACIFIED)\nAlso removed incorrect condition:\n*\tCondition(CONDITION_EXHAUST_HEAL)\nThe correct conditions should only prevent the player from attacking (pacified) or casting attack spells (cooldownAttackGroup) at the target.\n\nSmall code cleanups/re-arrangements.\n\nAdd boolean support for combat:setParameter(key, value)\n\nupd\n\nupde","distinct":true,"url":"https://api.github.com/repos/raymondtfr/forgottenserver/commits/67a27cd0d8cd0e634937708a1700c3e3f99789b5"}]}