List of deprecated script commands and Hercules features (2017)
misceffect()
specialeffect2()
pow()
useatcmd()
v2018.06.03
pcblockmove()
v2019.03.10
UDT_MAPIDXY and UDT_WALKTOXY constant
v2019.04.07
petstat()
v2019.05.05
debugmes()
v2019.11.17
getguildname()
getguildmaster()
getguildmasterid()
Future deprecations:
⚠️ Please avoid using those
As of June 3rd, the pow() command has been superseded by the exponentiation operator (**). You can still use pow() but it will trigger a warning every time, as this command will be removed in the future.
The exponentiation operator has higher precedence than any other operator.
This means (a * b ** c) is equivalent to (a * (b ** c)) and not ((a * b) ** c)
Here's how to migrate your scripts:
pow(a, b) ➜ (a ** b)
In combinat