Fixes an example for script command makeitem3 (#5827)

* Fixes #5796.
* Fixes a small typo in the documentation for script command makeitem3.
Thanks to @jaBote!
Co-authored-by: Vincent Stumpf <vincents.995@gmail.com>
This commit is contained in:
Aleos 2021-04-05 13:30:59 -04:00 committed by GitHub
parent 980136e6d6
commit 3db223f4ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4900,7 +4900,7 @@ Example to get Crimson Weapon with Ghost property:
// with Neutral Resistance +10% and 5% damage reduction from Demi-Human or Player
// when Valkyrie Randgris killed
OnNPCKillEvent:
if (killedrid == 1751 && rand(0,1000) > 950) { // Valkyrie Randgris
if (killedrid == 1751 && rand(0,10000) > 9950) { // Valkyrie Randgris
getmapxy(.@map$,.@x,.@y,BL_PC);
setarray .@OptID[0],RDMOPT_ATTR_TOLERACE_NOTHING,RDMOPT_RACE_TOLERACE_HUMAN;
setarray .@OptVal[0],10,5;