It's basically King of the Hill with flavor. If you defeat the old king, you leave a copy of yourself on the hill for other people to challenge.
So quests are just a thing now! I can write quests that do anything. This particular quest makes use of the building-block combat functions to make the combat conform to a script. In this case, it adds both the player and the clone into a fresh combat and starts the battle. Expect more of this, but the way the quest code is written, anything is possible.
Man, this is so much fun.
Oh hey, I discovered something new today. var_export is a PHP function that serves as var_dump (a wonderful debugging tool) but returns it as a string, which allows me to print out debug information even when using AJAX hits. This is very, very useful. Up to now I've been playing comment-minesweeper, trying to narrow down which line or lines caused the 500 Server Error.
Anecdote: Once it was two independent lines. |