From 3db223f4ae4fd333319be09f2d72fbe9249d6015 Mon Sep 17 00:00:00 2001 From: Aleos Date: Mon, 5 Apr 2021 13:30:59 -0400 Subject: [PATCH] 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 --- doc/script_commands.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 4773516910..c32028b328 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -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;