refactor(Script/Command): modify mount & dismount (#7413)

* refactor(Script/Command): modify mount

* oopsies

* Update rev_1629233438552386300.sql

* codestyle

* Update src/server/scripts/Commands/cs_modify.cpp

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>

* Update src/server/scripts/Commands/cs_modify.cpp

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>

* Update src/server/scripts/Commands/cs_modify.cpp

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>

* some improvements

* When using .dismount also update speed to 100%

* remove atoul

* Update cs_modify.cpp

* test

Co-authored-by: Kargatum <dowlandtop@yandex.com>

* Update cs_modify.cpp

* fix tyop

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
Co-authored-by: Kargatum <dowlandtop@yandex.com>
This commit is contained in:
Kitzunu
2021-08-29 10:45:43 +02:00
committed by GitHub
parent 8388578cec
commit 6978d62482
3 changed files with 96 additions and 239 deletions

View File

@@ -0,0 +1,3 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1629233438552386300');
UPDATE `command` SET `help` = 'Syntax: .modify mount #id #speed\nSet CreatureDisplayID as #id and set speed to #speed value between 0.1 - 50.0' WHERE `name` = 'modify mount';